A device configuration method and apparatus, an electronic device, and a storage medium

By automating the acquisition and classification of device environment information and generating adaptive configuration schemes, the accuracy and efficiency of IoT device configuration in various scenarios are solved, enabling devices to adapt efficiently under different conditions.

CN116668488BActive Publication Date: 2026-03-31HANGZHOU HIKVISION SYST TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

The performance of IoT devices is affected by different weather and lighting conditions, resulting in the need for manual configuration, which is costly and has a high error rate, making it difficult to adapt to device configuration in various scenarios.

Method used

By acquiring the environmental information of the device to be configured, the system automatically classifies the scenario information and determines the target scenario category using a preset correspondence, and generates a corresponding configuration scheme based on the target scenario category to automatically configure the device.

Benefits of technology

It improves the accuracy and efficiency of equipment configuration, reduces labor costs, and ensures that the equipment performs well in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116668488B_ABST
    Figure CN116668488B_ABST
Patent Text Reader

Abstract

The application provides a device configuration method and device, electronic equipment and storage medium, relates to the technical field of automation, and is used for automatically configuring a device to be configured. The method comprises the following steps: acquiring first scene information of an environment in which the device to be configured is located at a first time, wherein the first scene information comprises a plurality of first environment parameters; determining a target scene category corresponding to the first scene information based on a first preset correspondence relationship; determining a target configuration scheme corresponding to the target scene category based on a second preset correspondence relationship; the second preset correspondence relationship represents a preset configuration scheme corresponding to each scene category in the first preset correspondence relationship; and configuring the device to be configured based on the target configuration scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automation technology, and in particular to a device configuration method, apparatus, electronic device, and storage medium. Background Technology

[0002] The Internet of Things (IoT) refers to the use of various information sensors, radio frequency identification (RFID) technology, global positioning systems (GPS), infrared sensors, laser scanners, and other devices and technologies to collect real-time information on any object or process that needs to be monitored, connected, or interacted with. This information includes sound, light, heat, electricity, mechanics, chemistry, biology, location, and other necessary data. Through various possible network access methods, it enables ubiquitous connectivity between things and between things and people, achieving intelligent perception, identification, and management of objects and processes.

[0003] In related technologies, IoT devices are susceptible to the influence of usage scenarios (such as weather conditions and lighting conditions), which can alter the accuracy of the final results obtained. For example, vibration fiber optic devices can identify interference and intrusion behaviors based on characteristics such as vibration amplitude and frequency, but they are prone to false alarms due to strong winds. Similarly, infrared thermal imaging devices can identify targets based on their infrared thermal radiation. While they maintain high accuracy in rainy or foggy weather, their performance and effective range significantly decrease under high temperatures or extreme rainstorms. Therefore, to optimize the performance of detection devices, their configurations are adjusted according to the usage scenario. For instance, in windy conditions, the sensitivity of vibration fiber optic devices is reduced to minimize false alarms.

[0004] In IoT systems, to detect comprehensive multi-dimensional information within a scenario, multiple types of IoT devices are typically used within a given scenario. However, different types of IoT devices may be affected differently by weather and lighting conditions in the usage scenario. Therefore, even under the same weather and lighting conditions, the configuration requirements for different types of IoT devices may vary. This results in configuring different types of IoT devices in the IoT system according to various conditions in the usage scenario, such as the aforementioned weather and lighting conditions, which requires significant manual labor and has a high error rate.

[0005] Therefore, for various IoT devices that are affected by different conditions in different scenarios, how to configure these IoT devices to adapt to different environmental scenarios, maintain good performance of IoT devices, and realize their respective device functions has become an urgent technical problem to be solved. Summary of the Invention

[0006] This application provides a device configuration method, apparatus, electronic device, and storage medium for automated device configuration.

[0007] In a first aspect, this application provides a device configuration method, the method comprising: acquiring first scenario information of the environment in which the device to be configured is located at a first moment, the first scenario information including multiple first environmental parameters; determining a target scenario category corresponding to the first scenario information based on a first preset correspondence relationship; the first preset correspondence relationship is obtained by classifying multiple scenario information, the first preset correspondence relationship characterizing the scenario category corresponding to each scenario information, the first scenario information being one of multiple scenario information, the scenario information including at least one environmental parameter selected from multiple environmental parameters, the multiple first environmental parameters being contained within the multiple environmental parameters; determining a target configuration scheme corresponding to the target scenario category based on a second preset correspondence relationship; the second preset correspondence relationship characterizing a preset configuration scheme corresponding to each scenario category in the first preset correspondence relationship; and configuring the device to be configured based on the target configuration scheme.

[0008] As can be seen from the above technical solutions, different environmental parameters constitute various scenario information. However, when the scenario information is different, different configurations are required for the device to be configured in order to adapt the device to the scenario corresponding to its environment. Based on this, the device configuration method provided in this application first obtains the first scenario information of the environment where the device to be configured is located at a first moment; then, based on a first preset correspondence, determines the target scenario category corresponding to the first scenario information; then, based on a second preset correspondence, determines the target configuration scheme corresponding to the target scenario category; and finally, based on the target configuration scheme, configures the device to be configured. Since the first preset correspondence is obtained by classifying multiple scenario information, the first preset correspondence represents the scenario category corresponding to each scenario information. The first scenario information is one of multiple scenario information. Therefore, the target scenario category determined based on the first preset correspondence is the scenario category that matches the first scenario information. Furthermore, since the second preset correspondence represents the preset configuration scheme corresponding to each scenario category in the first preset correspondence, the target configuration scheme determined based on the second preset correspondence and corresponding to the target scenario category is the configuration scheme that matches the first scenario information. In summary, based on the device configuration method provided in this application, after the device to be configured is configured, it can adapt to the scenario corresponding to its environment, thereby exhibiting better device performance.

[0009] Optionally, the first preset correspondence includes the correspondence between the first scenario category and the second scenario information, and between the first scenario category and the third scenario information. The configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overriding relationship, and the configuration scheme corresponding to the first scenario category includes the configuration scheme of the overriding party in the overriding relationship.

[0010] Optionally, before obtaining the first scenario information of the environment where the device to be configured is located at the first moment, the device configuration method further includes: determining multiple environmental parameters in the environment where the device to be configured is located; generating multiple scenario information based on the multiple environmental parameters, wherein there are no mutually exclusive environmental parameters in the same scenario information; for at least two mutually exclusive environmental parameters, generating at most one of the at least two environmental parameters at the same moment; performing a classification operation on the multiple scenario information to obtain the scenario category corresponding to each scenario information, so as to form a first preset correspondence.

[0011] Optionally, the multiple scenario information includes second scenario information and third scenario information, and the configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overlap relationship; the multiple scenario information are classified to obtain the scenario category corresponding to each scenario information, including: establishing a correspondence between the first scenario category and the second and third scenario information based on the overlap relationship.

[0012] Optionally, the second preset correspondence includes the configuration scheme corresponding to the first scenario category, and the configuration scheme includes the configuration scheme of the covering party in the coverage relationship.

[0013] Secondly, this application provides a device configuration apparatus, comprising: a scenario information acquisition module, configured to acquire first scenario information of the environment in which the device to be configured is located at a first moment, the first scenario information including multiple first environmental parameters; a classification result determination module, configured to determine a target scenario category corresponding to the first scenario information based on a first preset correspondence relationship; the first preset correspondence relationship is obtained by classifying multiple scenario information, the first preset correspondence relationship characterizing the scenario category corresponding to each scenario information, the first scenario information being one of multiple scenario information, the scenario information including at least one environmental parameter selected from multiple environmental parameters, the multiple first environmental parameters being contained within the multiple environmental parameters; a configuration scheme determination module, configured to determine a target configuration scheme corresponding to the target scenario category based on a second preset correspondence relationship; the second preset correspondence relationship characterizing a preset configuration scheme corresponding to each scenario category in the first preset correspondence relationship; and a configuration module, configured to configure the device to be configured based on the target configuration scheme.

[0014] Optionally, the first preset correspondence includes the correspondence between the first scenario category and the second scenario information, and between the first scenario category and the third scenario information. The configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overriding relationship, and the configuration scheme corresponding to the first scenario category includes the configuration scheme of the overriding party in the overriding relationship.

[0015] Optionally, the device configuration apparatus further includes an environmental parameter acquisition module, a scenario information generation module, and a scenario information classification module; the environmental parameter acquisition module is used to determine multiple environmental parameters in the environment where the device to be configured is located before acquiring the first scenario information of the environment at the first moment; the scenario information generation module is used to generate multiple scenario information based on the multiple environmental parameters, wherein there are no mutually exclusive environmental parameters in the same scenario information; for at least two mutually exclusive environmental parameters, at most one of the at least two environmental parameters is generated at the same time; the scenario information classification module is used to perform classification operations on the multiple scenario information to obtain the scenario category corresponding to each scenario information, so as to form a first preset correspondence.

[0016] Optionally, the multiple scenario information includes second scenario information and third scenario information, and the configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overlap relationship; the scenario information classification module is specifically used to: establish the correspondence between the first scenario category and the second and third scenario information according to the overlap relationship.

[0017] Optionally, the second preset correspondence includes the configuration scheme corresponding to the first scenario category, and the configuration scheme includes the configuration scheme of the covering party in the coverage relationship.

[0018] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code including computer instructions; wherein, when the processor executes the computer instructions, it causes the electronic device to perform a device configuration method as described in the first aspect and any of its possible design schemes.

[0019] Fourthly, this application provides a computer-readable storage medium comprising: computer software instructions; which, when executed in a device configuration apparatus, cause the device configuration apparatus to implement the method described in the first aspect.

[0020] Fifthly, this application provides a computer program product that, when run on a device configuration apparatus, causes the device configuration apparatus to perform the steps of the relevant method described in the first aspect above, so as to implement the method of the first aspect above.

[0021] The beneficial effects of the second to fifth aspects mentioned above can be referred to the corresponding description of the first aspect, and will not be repeated here. Attached Figure Description

[0022] Figure 1 A schematic diagram of the structure of a device configuration system provided in this application Figure 1 ;

[0023] Figure 2A schematic diagram of the structure of a device configuration system provided in this application Figure 2 ;

[0024] Figure 3 A flowchart illustrating a device configuration method provided in this application. Figure 1 ;

[0025] Figure 4 A flowchart illustrating a device configuration method provided in this application. Figure 2 ;

[0026] Figure 5 A schematic diagram illustrating the scenario information composed of multiple environmental parameters in a device configuration method provided in this application;

[0027] Figure 6 A schematic diagram illustrating the correspondence between scenario information and scenario category in a device configuration method provided in this application;

[0028] Figure 7 A schematic diagram of a configuration template for a configuration unit of a device to be configured, provided in this application;

[0029] Figure 8 A flowchart illustrating a device configuration method provided in this application. Figure 3 ;

[0030] Figure 9 A schematic diagram of the structure of a device configuration apparatus provided in this application Figure 1 ;

[0031] Figure 10 A schematic diagram of the structure of a device configuration apparatus provided in this application Figure 2 . Detailed Implementation

[0032] 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.

[0033] It should be noted that in the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0034] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.

[0035] With the development of network technology, more and more IoT devices are being used. For example, in the field of intelligent transportation, automatic toll collection systems at highway entrances and vehicle positioning systems are examples of IoT devices. Furthermore, in the field of public safety, surveillance equipment in public places and urban climate monitoring equipment are also widely used IoT devices.

[0036] As mentioned above, IoT devices are affected by their environment during operation, such as weather and lighting conditions. This can lead to a decrease in the performance of IoT devices (such as the accuracy of the collected information). Therefore, configuring IoT devices according to their environmental conditions (hereinafter referred to as environmental conditions) can ensure stable performance.

[0037] For example, in an IoT system, to monitor multi-dimensional information in a scene or to enable accurate interaction between IoT devices and users, the system often contains multiple IoT devices. However, different IoT devices are affected by environmental conditions differently, thus requiring different configurations. Configuring different IoT devices within an IoT system based on their environmental influences requires significant manpower. Furthermore, if the configuration process involves manually determining the appropriate configuration for each device before configuring it, especially when configuring multiple complex parameters, there may be a high error rate.

[0038] To address the aforementioned problems, this application provides a device configuration method, apparatus, electronic device, and storage medium.

[0039] In one possible embodiment, a device configuration method provided in this application can be applied to, for example... Figure 1 The device configuration system shown may include a configuration device 11, a device to be configured 12, and a device to be configured 13.

[0040] The configuration device 11 is communicatively connected to the device to be configured 12 and the device to be configured 13.

[0041] It should be noted that there is no limit to the number of devices being configured and the number of devices to be configured. Figure 1The following example illustrates the configuration process using a configuration device 11 and two devices to be configured, device 12 and device 13, located in the same environment. "In the same environment" can be understood as device 12 and device 13 being in the same geographical location, or device 12 and device 13 being in the same contextual information (i.e., the aforementioned environmental conditions).

[0042] The configuration device 11 can obtain the first scenario information of the environment where the devices 12 and 13 to be configured are located at a first moment, and determine the target scenario category corresponding to the first scenario information based on the first preset correspondence. The configuration device 11 can also determine the target configuration scheme corresponding to the target scenario category according to the second preset correspondence, and configure the devices 12 and 13 to be configured according to the target configuration scheme.

[0043] Optionally, the configuration device 11 can determine multiple environmental parameters that may occur in the environment of the devices 12 and 13 to be configured, and generate multiple scenario information based on the multiple environmental parameters, wherein the environmental parameters in each scenario information are not mutually exclusive. The configuration device 11 can also perform a classification operation on the generated multiple scenario information to obtain the scenario category corresponding to each scenario information, so as to generate a first preset correspondence.

[0044] Optionally, for the second and third scenario information among multiple scenario information, the configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overlay relationship. The configuration device 11 can establish a correspondence between the first scenario category and the second and third scenario information based on the above overlay relationship between the second and third scenario information.

[0045] In one possible implementation, such as Figure 2 As shown, the above-mentioned equipment configuration system also includes an environmental monitoring device 14, and the environmental monitoring device 14 and the configuration device 11 are connected in communication.

[0046] The environmental monitoring device 14 is used to collect first scenario information of the environment where the device to be configured 12 and the device to be configured 13 are located at a first moment, or to collect multiple first environmental parameters contained in the scenario information at the first moment, and to send the collected first scenario information or multiple first environmental parameters contained in the scenario information at the first moment to the configuration device 11.

[0047] In one possible embodiment, the environmental monitoring device 14 is integrated with the device to be configured (such as device to be configured 12 or device to be configured 13) on the same device.

[0048] The configuration device 11 in this application embodiment may be an IoT gateway device, a central platform server, a desktop computer, a tablet computer, a laptop computer, a handheld computer, a wearable electronic device, a handheld computer, an Ultra-mobile Personal Computer (UMPC), a netbook, or other electronic devices. This application embodiment does not impose any restrictions on this.

[0049] In this application embodiment, the device to be configured 12 and the device to be configured 13 can be any kind of Internet of Things device, such as a bullet camera, a PTZ camera, an access control gate, a meteorological six-element sensor, a visibility meter, a millimeter-wave radar, and a thermal imaging dual-spectrum PTZ camera. This application embodiment does not impose any restrictions on this.

[0050] The environmental monitoring device 14 in this application embodiment can be any kind of condition sensor such as a brightness sensor, a visibility meter, and a meteorological six-element sensor. This application embodiment does not impose any restrictions on this.

[0051] In one possible embodiment, Figure 3 This is a schematic flowchart illustrating a device configuration method provided in an embodiment of this application. Exemplarily, the device configuration method provided in this embodiment can be applied to... Figure 1 The device configuration system shown or Figure 2 The device configuration system shown is configured with device 11. For example... Figure 3 As shown, the device configuration method provided in this application embodiment may specifically include the following steps S301 to S304.

[0052] S301, obtain the first scenario information of the environment in which the device to be configured is located at the first moment.

[0053] The first scenario information includes multiple first environmental parameters.

[0054] It should be understood that there may be one or more devices to be configured. If there are multiple devices to be configured in the same environment, then the first context information of the environment in which each device is located at the first moment will be consistent.

[0055] In one possible implementation, the multiple first environmental parameters constituting the aforementioned first scenario information can be obtained from network information. For example, if the first scenario information includes various parameters describing the weather (first environmental parameters), the weather parameters of the environment where the device to be configured is located at the first moment can be queried through the network as the first environmental parameters, thereby determining the first scenario information.

[0056] In another possible implementation, the multiple first environmental parameters constituting the aforementioned first scenario information can also be obtained through real-time detection. For example, if the first scenario information includes various parameters of lighting conditions (first environmental parameters), a photosensitive device can be deployed in the environment where the device to be configured is located, and the various parameters of lighting conditions in the environment where the device to be configured is located can be detected in real time by the photosensitive device. Figure 2 In the device configuration system shown, the first scenario information can be collected by the environmental monitoring device 14 and sent to the configuration device 11. The configuration device 11 obtains the first scenario information of the environment of the device to be configured 12 and the device to be configured 13 at the first moment by receiving the data sent by the environmental monitoring device 14.

[0057] In one possible implementation, the aforementioned first scenario information can be detection data of the environment in which the device to be configured is located. The status of the environment can be obtained based on this data. For example, at the first moment, if the light intensity in the target environmental parameters of the environment in which the device to be configured is 30,000 Lux (classified as daytime) and the rainfall is 0 mm (classified as sunny), then based on these two first environmental parameters, the first scenario information at the first moment can be comprehensively determined as daytime and sunny.

[0058] In another possible implementation, the first context information at the first moment can be information parameters of the environment in which the device to be configured is located, which can directly characterize the state of at least one dimension of the environment in which the device to be configured is located at the first moment. For example, at the first moment, if the first environmental parameter 1 of the first context information of the environment in which the device to be configured is sunny and the first environmental parameter 2 is daytime, then the first context information at the first moment is sunny daytime.

[0059] Of course, depending on the application scenario, the first environmental parameter can also be other types of parameters, such as parameters that characterize whether there is an intrusion event in the environment where the device to be configured is located, and parameters that characterize whether there is a target object in the environment where the device to be configured is located, etc. The above embodiments of this application are only examples and do not constitute actual limitations on this application.

[0060] S302, based on the first preset correspondence, determine the target scenario category corresponding to the first scenario information.

[0061] The first preset correspondence is obtained by classifying multiple scenario information. The first preset correspondence represents the scenario category corresponding to each scenario information. The first scenario information is one of multiple scenario information. The scenario information includes at least one environmental parameter selected from multiple environmental parameters. The multiple first environmental parameters are contained in the multiple environmental parameters.

[0062] Generally, the environment in which the device to be configured may exist may have multiple different scenario information. In order to adapt to the different scenario information in the environment, the device to be configured needs to be configured according to the scenario information. Since the device to be configured corresponds to some different scenario information, the various environmental parameters in these different scenario information have the same impact on the device to be configured, and the corresponding configuration of the device to be configured is also the same in these different scenario information, so the scenario information can be classified. The scenario information that has the same impact on the device to be configured and whose corresponding configuration is also the same is classified into the same scenario category.

[0063] For example, consider weather conditions as scenario information. Multiple environmental parameters might include daytime, nighttime, sunny, and heavy rain. Consider scenario information A, which includes the environmental parameters daytime and heavy rain, and scenario information B, which includes the environmental parameters nighttime and heavy rain. Because the light intensity decreases during heavy rain, the daytime light intensity becomes similar to the nighttime light intensity. Therefore, the light intensity in scenario information A is similar to that in scenario information B. For the photosensitive or camera device to be configured, the impact is the same in both scenarios, and thus the configuration required for the device in both scenarios is also the same. If other devices in the configuration are also affected in the same way in scenarios A and B, and require the same configuration, then scenario information A and scenario B can be classified into the same scenario category.

[0064] As can be seen from the above embodiments, since the impact of different scenario information on the device to be configured may be the same, the configuration required by the device to adapt to the scenario information will also be the same. Classifying this scenario information facilitates subsequent configuration and improves the efficiency of automatic device configuration.

[0065] S303, based on the second preset correspondence, determine the target configuration scheme corresponding to the target scenario category.

[0066] The second preset correspondence represents the preset configuration scheme corresponding to each scenario category in the first preset correspondence.

[0067] As can be seen from the above embodiments, the target scenario category corresponding to the first scenario information can be determined based on the first preset correspondence. Since the scenario information corresponding to a scenario category has the same impact on the device to be configured as the configuration, the scenario information in the same scenario category can correspond to the same preset configuration scheme. Therefore, a second preset correspondence can be established, so that each scenario category in the first preset correspondence corresponds to a preset configuration scheme.

[0068] In one possible implementation, the first preset correspondence includes the correspondence between the first scenario category and the second scenario information, and between the first scenario category and the third scenario information. The configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overriding relationship, and the configuration scheme corresponding to the first scenario category includes the configuration scheme of the overriding party in the overriding relationship.

[0069] For example, consider weather conditions as scenario information. When a vibrating fiber optic cable is used as the device to be configured, compared to sunny weather, severe weather conditions such as strong winds and heavy rain are more likely to cause false alarms. Therefore, in strong winds and heavy rain, the sensitivity of the vibrating fiber optic cable needs to be reduced to better adapt to the surrounding environment. Since strong winds and heavy rain often occur simultaneously, the configuration scheme corresponding to the scenario information containing the environmental parameter "heavy rain" will also include the configuration scheme corresponding to the scenario information containing the environmental parameter "strong wind." For scenario information B1 containing the environmental parameters "daytime" and "strong wind," and scenario information B2 containing the environmental parameters "daytime" and "heavy rain," the configuration scheme corresponding to scenario information B2 overrides the configuration scheme corresponding to scenario information B1. Similarly, for scenario information B3 containing the environmental parameters "nighttime" and "strong wind," and scenario information B4 containing the environmental parameters "nighttime" and "heavy rain," the configuration scheme corresponding to scenario information B4 overrides the configuration scheme corresponding to scenario information B3. Furthermore, since the light intensity is weak in the environment of scenario information B2, the impact and configuration of the lighting equipment in the configuration device are the same as those in scenario information B4. Therefore, the configuration scheme corresponding to scenario information B4 covers the configuration schemes corresponding to scenario information B1, B2 and B3.

[0070] As can be seen from the above embodiments, different environmental parameters constitute various scenario information. However, when the scenario information is different, different configurations are required for the device to be configured in order to adapt the device to the scenario corresponding to its environment. Based on this, the device configuration method provided in this application first obtains the first scenario information of the environment where the device to be configured is located at a first moment; then, based on a first preset correspondence, determines the target scenario category corresponding to the first scenario information; then, based on a second preset correspondence, determines the target configuration scheme corresponding to the target scenario category; and finally, based on the target configuration scheme, configures the device to be configured. Since the first preset correspondence is obtained by classifying multiple scenario information, the first preset correspondence represents the scenario category corresponding to each scenario information. The first scenario information is one of multiple scenario information. Therefore, the target scenario category determined based on the first preset correspondence is the scenario category that matches the first scenario information. Furthermore, since the second preset correspondence represents the preset configuration scheme corresponding to each scenario category in the first preset correspondence, the target configuration scheme determined based on the second preset correspondence and corresponding to the target scenario category is the configuration scheme that matches the first scenario information. In summary, based on the device configuration method provided in this application, after the device to be configured is configured, it can adapt to the scenario corresponding to its environment, thereby exhibiting better device performance.

[0071] S304 configures the device to be configured based on the target configuration scheme.

[0072] In one possible implementation, there are multiple devices to be configured in the environment, and the target configuration scheme includes a configuration order, which is the order in which the multiple devices to be configured in the environment are configured. Based on the target configuration scheme, the devices to be configured are configured, including configuring the multiple devices to be configured in the environment according to the configuration order in the target preset configuration scheme.

[0073] Since there may be a cooperation relationship between the devices to be configured, there may be a certain configuration order among the multiple devices to be configured. Configuring according to the configuration order in the target preset configuration scheme can enable the entire system composed of the devices to be configured to better meet the system requirements.

[0074] In one possible implementation, the target configuration scheme includes a configuration order, which is the configuration order of multiple configurable parameters of at least one device to be configured. Configuring the device to be configured based on the target configuration scheme includes configuring multiple configurable parameters of the device to be configured based on the configuration order in the target preset configuration scheme.

[0075] For example, in an access control system consisting of multiple devices to be configured, such as bullet cameras, PTZ (pan / tilt / zoom) cameras (omnidirectional movement and zoom control), and a barrier gate, when the bullet camera detects the first scenario information of a target object's appearance and the first scenario information of the target object approaching the barrier gate's target area, the target scenario category corresponding to these two first scenario information is an intrusion event. The target configuration scheme corresponding to this target scenario category can be configuring the PTZ camera's control template and tracking parameter template to enable the PTZ camera to cooperate with the access control system in tracking the target object of the intrusion event. When the first scenario information indicates that the target object has reached the barrier gate's target area, the target scenario category corresponding to this first scenario information is that the intruder has entered the target area. Then, the PTZ camera's facial recognition parameters are configured to enable the PTZ camera to perform facial recognition on the intruder. If the scenario category corresponding to the scenario information is that facial recognition is successful, the barrier gate is configured with opening parameters to allow the intruder that has passed facial recognition to enter the access control area.

[0076] In the aforementioned access control system scenario, multiple devices to be configured are configured in a specific order to ensure the entire access control system functions effectively. Therefore, the configuration scheme can involve configuring multiple devices and parameters to be configured in a particular order, thereby enabling each device and the system as a whole to perform its respective function.

[0077] As can be seen from the above embodiments, different environmental parameters can form various scenario information. However, under different scenario information, in order to adapt to the environment under the scenario information, the device to be configured may correspond to the same configuration scheme. In order to enable the device to be configured to obtain a suitable configuration scheme according to the environmental parameters with minimal calling effect, the device configuration method provided in this application can determine the target scenario category corresponding to the first scenario information based on the first scenario information in the environment where the device to be configured is located, based on the first preset correspondence relationship, then determine the target configuration scheme corresponding to the device to be configured according to the target scenario category, and configure the device to be configured. It can be seen that this method can determine the target configuration scheme of the device to be configured according to the scenario information through the above method, thereby configuring the device to be configured. The above steps of this method can be automatically completed by the configuration device. Compared with manual configuration of the device to be configured, the automatic configuration of the configuration device is more accurate, thus improving the accuracy of the configuration. Furthermore, since this method is completed by the configuration device, the configuration device can configure multiple connected devices to be configured in a shorter time, thus improving the configuration efficiency of the configuration device.

[0078] In one possible implementation, before obtaining the first scenario information of the environment in which the device to be configured is located at a first moment, the device configuration method provided in this application embodiment further includes S401 to S403, such as... Figure 4 As shown.

[0079] S401, determine multiple environmental parameters in the environment where the device to be configured is located.

[0080] S402 generates multiple scenario information based on multiple environmental parameters.

[0081] In this context, there are no mutually exclusive environmental parameters in the same context information. For at least two mutually exclusive environmental parameters, at most one of the at least two environmental parameters will be generated at the same time.

[0082] It should be understood that scenario information is composed of environmental parameters. To generate comprehensive scenario information, it is necessary to first obtain multiple environmental parameters of the environment in which the device to be configured is located, and to obtain as many environmental parameters as possible. Therefore, based on these multiple environmental parameters, the generated scenario information can cover most possible scenarios that the device to be configured may encounter in its environment. Furthermore, because some environmental parameters are mutually exclusive and cannot occur simultaneously (e.g., sunny and rainy days cannot both appear in the same scenario information), when generating scenario information, the simple logic of these mutual exclusion relationships can be used to filter and generate scenario information that is truly likely to occur.

[0083] For example, in the environment, there exist environmental parameter 1, environmental parameter 2, environmental parameter 3, and environmental parameter 4. Environmental parameter 1 and environmental parameter 2 are mutually exclusive. Then, if... Figure 5 As shown, based on 4 environmental parameters, 6 scenario information can be generated, namely scenario information 1, scenario information 2, scenario information 3, scenario information 4, scenario information 5 and scenario information 6. Scenario information 1 includes environmental parameter 1 and environmental parameter 3, scenario information 2 includes environmental parameter 1 and environmental parameter 4, scenario information 3 includes environmental parameter 1, environmental parameter 3 and environmental parameter 4, scenario information 4 includes environmental parameter 2 and environmental parameter 3, scenario information 5 includes environmental parameter 2 and environmental parameter 4, and scenario information 6 includes environmental parameter 2, environmental parameter 3 and environmental parameter 4.

[0084] S403, perform classification operations on multiple scenario information to obtain the scenario category corresponding to each scenario information, so as to form a first preset correspondence relationship.

[0085] In one possible implementation, multiple scenario information includes second scenario information and third scenario information, and the configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overlap relationship; the multiple scenario information are classified to obtain the scenario category corresponding to each scenario information, including: establishing a correspondence between the first scenario category and the second and third scenario information based on the overlap relationship.

[0086] Continuing with the above example of generating six scenario information based on four environmental parameters, if the configuration schemes corresponding to scenario information 1 and scenario information 4 have an overlapping relationship, the configuration schemes corresponding to scenario information 2 and scenario information 5 have an overlapping relationship, and the configuration schemes corresponding to scenario information 3 and scenario information 6 have an overlapping relationship, then... Figure 6 As shown, the above six scenario information items can be correlated with scenario categories based on their coverage relationships, thus forming a first preset correspondence relationship. Specifically, scenario information 1 and scenario information 4 correspond to scenario category 1, scenario information 2 and scenario information 5 correspond to scenario category 2, and scenario information 3 and scenario information 6 correspond to scenario category 3. These correspondences form the first preset correspondence relationship.

[0087] For example, when considering weather conditions and day / night cycles as environmental parameters, possible environmental parameters include daytime, nighttime, clear skies, heavy rain, dense fog, and strong winds. The equipment to be configured includes vibration fiber optics, millimeter-wave radar, multi-modal integrated machines, video target displacement detection integrated machines, water level gauge spheres, thermal imaging spheres, and thermal imaging dual-spectrum spheres; each device to be configured contains at least one equipment unit.

[0088] Since the environmental parameters daytime and nighttime, clear weather and heavy rain, heavy rain and fog, and clear weather and fog cannot coexist, these pairs of environmental parameters are mutually exclusive. Furthermore, since the scenario information corresponding to daytime and heavy rain has the same impact on the device to be configured as the scenario information corresponding to nighttime and heavy rain, and the corresponding configuration schemes are the same, the scenario information corresponding to these two sets of environmental parameters is overlapping. Similarly, the scenario information corresponding to daytime and fog is also similar to that of nighttime and fog, and the corresponding configuration schemes can also be the same; therefore, the scenario information corresponding to these two sets of environmental parameters is also overlapping.

[0089] As shown above, there are eight scenario information in this example. Scenario information A contains the environmental parameters of daytime and sunny weather, scenario information B contains the environmental parameters of daytime and heavy rain, scenario information C contains the environmental parameters of daytime and dense fog, scenario information D contains the environmental parameters of daytime and strong wind, scenario information E contains the environmental parameters of nighttime and sunny weather, scenario information F contains the environmental parameters of nighttime and heavy rain, scenario information G contains the environmental parameters of nighttime and dense fog, and scenario information H contains the environmental parameters of nighttime and strong wind.

[0090] Based on the coverage and mutual exclusion relationships among the above environmental parameters, six scenario categories can be identified. According to the first preset correspondence, scenario information A corresponds to scenario category 1, scenario information B and scenario information F correspond to scenario category 2, scenario information C and scenario information G correspond to scenario category 3, scenario information D corresponds to scenario category 4, scenario information E corresponds to scenario category 5, and scenario information H corresponds to scenario category 6.

[0091] As shown in Table 1 below, according to the second preset correspondence, the configuration scheme for each scenario category can be as shown in Table 1 when the multiple devices to be configured and the multiple device units are in different scenario categories corresponding to different scenario information.

[0092] The equipment to be configured includes a vibrating fiber optic cable, a millimeter-wave radar, a visible light camera channel, a thermal imaging camera channel, and a water level gauge.

[0093] For vibrating optical fibers, which are greatly affected by mechanical vibration, it is necessary to reduce the unit detection sensitivity to a preset value M2 in severe weather conditions such as strong winds and heavy rain to reduce false alarms. In sunny weather or foggy weather, the unit detection sensitivity of the vibrating optical fiber should be appropriately increased to a preset value M1 to avoid missed alarms.

[0094] For millimeter-wave radar, its detection range is at its maximum under normal conditions. In heavy rain, the detection range is expected to decrease by 10% to 20%, while fog has relatively little impact. Millimeter-wave radar sensitivity modes include open field mode, bush mode, and expert mode. Therefore, except in heavy rain when switching to expert mode, the default mode is open field mode in other weather conditions and open monitoring scenarios. Furthermore, after switching to expert mode, it is necessary to simultaneously increase the corresponding sensitivity parameters (frame rate sensitivity, oscillation sensitivity, signal sensitivity, velocity sensitivity, anti-interference sensitivity, and target dwell time) to avoid missed detections.

[0095] For visible light camera channels, including those of dual-spectrum PTZ cameras, thermal imaging PTZ cameras, and multi-modal integrated cameras, the wipers need to be activated during heavy rain, the supplementary light needs to be activated when the brightness decreases, and the optical defogging function needs to be activated in foggy conditions. In dark, rainy, or foggy weather, the system needs to switch to the thermal imaging channel; otherwise, it needs to switch to the visible light channel (configure the polling schedule to manual and adjust the schedule to visible light). The thermal imaging channel is mainly used for mixed target detection, providing human target detection alarms.

[0096] For thermal imaging camera channels, in conditions such as darkness, heavy rain, and dense fog, devices like dual-spectrum thermal imaging PTZ cameras and integrated thermal imaging PTZ cameras need to switch to the thermal imaging channel (configure the polling plan as manual and adjust the plan to thermal imaging), ensuring scene rules are enabled, with the algorithm primarily being a region intrusion algorithm. Switching between thermal imaging and visible light channels will not affect regular functions such as preview; it's merely an algorithm switch due to limited device computing power. Furthermore, the switch is a runtime switch, taking effect immediately without requiring a device restart. When configuring the polling plan, different weather configuration schemes can be set to all-weather thermal imaging or all-weather visible light. When weather conditions are triggered, the corresponding all-weather plan will be automatically sent to the device to complete plan coverage, thus achieving the switch.

[0097] For water level gauges, the water level reporting threshold and reporting frequency are configured accordingly based on the scenario information.

[0098] Table 1

[0099]

[0100]

[0101]

[0102]

[0103]

[0104] Since the unit states and parameters in the devices to be configured may be manually changed, each configuration of the devices to be configured should be performed on all devices to be configured, so that the configuration schemes of all devices to be configured under the same scenario information and scenario category can better cooperate with each other.

[0105] Of course, the above configuration schemes for multiple devices to be configured under different scenario categories are merely examples and do not constitute any actual limitation on this application.

[0106] In one possible implementation, the second preset correspondence includes the configuration scheme corresponding to the first scenario category, and the configuration scheme includes the configuration scheme of the overriding party in the overriding relationship.

[0107] In one possible implementation, before determining the target configuration scheme corresponding to the target scenario category based on the second preset correspondence, the device configuration method further includes: receiving sub-configuration schemes set by each device to be configured for each scenario category; and establishing a correspondence between each scenario category and each sub-configuration scheme as the second preset correspondence.

[0108] It should be understood that in the second preset correspondence, each sub-configuration scheme can be generated based on the relationship between the scheme to be configured and the scenario information, or it can be a sub-configuration scheme received from user input, or a sub-configuration scheme corresponding to the scenario information obtained from the network. After obtaining the sub-configuration scheme, a correspondence between the sub-configuration scheme and the scenario category can be established as the second preset correspondence.

[0109] For example, such as Figure 7 As shown, a configuration template can be provided for the wiper configuration unit in the device to be configured. This template can contain multiple configuration schemes, and each environmental parameter in the scenario information corresponds to a configuration scheme within the template. Multiple identical or similar configuration units in different devices can use the same configuration scheme from the same template when the environmental parameters are identical. Therefore, similar configuration units in multiple devices can automatically generate preset configuration schemes in this way.

[0110] In one possible implementation, the device configuration method provided in this application embodiment further includes the following steps S501 to S503, such as... Figure 8 As shown.

[0111] S501, obtain the second scenario information of the environment of the device to be configured at the second moment.

[0112] The second time point is later than the first time point, and the second scenario information at the second time point includes multiple second environmental parameters.

[0113] For example, the first moment could be the current moment, and the second moment could be a future moment. The second scenario information at the second moment could be information obtained through prediction, such as predicted weather.

[0114] For example, the first moment is the previous moment, the second moment is the current moment, and the second situational information obtained is the situational information of the current moment.

[0115] S502, based on the first preset correspondence, determine the target scenario category corresponding to the second scenario information.

[0116] S503, if the target scenario category corresponding to the second scenario information is different from the target scenario category corresponding to the first scenario information, then the target configuration scheme corresponding to the target scenario category corresponding to the second scenario information is determined based on the second preset correspondence.

[0117] Since multiple target scenario information may correspond to the same target scenario category, and the target configuration scheme only changes when the scenario category changes, it is necessary to first determine whether the target scenario category at the first moment is different from the target scenario category at the second moment. If the target scenario categories are different, then the target configuration scheme is determined. Of course, the target configuration scheme determined at this time is different from the configuration scheme currently used by the device to be configured.

[0118] S504, Configure the device to be configured based on the target configuration scheme corresponding to the target scenario category corresponding to the second scenario information.

[0119] As can be seen from the above embodiments, the device configuration scheme provided in this application can automatically modify the corresponding configuration as the context information of the environment in which the device to be configured is located changes. Therefore, the configuration of the device to be configured can always adapt to the surrounding environmental conditions, making this configuration method accurate, real-time, and timely.

[0120] like Figure 9 As shown, in some embodiments, the device configuration apparatus provided in this application may include:

[0121] The scenario information acquisition module 601 is used to acquire the first scenario information of the environment in which the device to be configured is located at the first moment. The first scenario information includes multiple first environment parameters.

[0122] The classification result determination module 602 is used to determine the target scenario category corresponding to the first scenario information based on the first preset correspondence relationship. The first preset correspondence relationship is obtained by classifying multiple scenario information. The first preset correspondence relationship represents the scenario category corresponding to each scenario information. The first scenario information is one of multiple scenario information. The scenario information includes at least one environmental parameter selected from multiple environmental parameters. The multiple first environmental parameters are contained in the multiple environmental parameters.

[0123] The configuration scheme determination module 603 determines the target configuration scheme corresponding to the target scenario category based on the second preset correspondence; the second preset correspondence represents the preset configuration scheme corresponding to each scenario category in the first preset correspondence.

[0124] Configuration module 604 configures the device to be configured based on the target configuration scheme.

[0125] Optionally, the first preset correspondence includes the correspondence between the first scenario category and the second scenario information, and between the first scenario category and the third scenario information. The configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overriding relationship, and the configuration scheme corresponding to the first scenario category includes the configuration scheme of the overriding party in the overriding relationship.

[0126] Optionally, the device configuration apparatus further includes an environmental parameter acquisition module, a scenario information generation module, and a scenario information classification module; the environmental parameter acquisition module is used to determine multiple environmental parameters in the environment where the device to be configured is located before acquiring the first scenario information of the environment at the first moment; the scenario information generation module is used to generate multiple scenario information based on the multiple environmental parameters, wherein there are no mutually exclusive environmental parameters in the same scenario information; for at least two mutually exclusive environmental parameters, at most one of the at least two environmental parameters is generated at the same time; the scenario information classification module is used to perform classification operations on the multiple scenario information to obtain the scenario category corresponding to each scenario information, so as to form a first preset correspondence.

[0127] Optionally, the multiple scenario information includes second scenario information and third scenario information, and the configuration scheme corresponding to the second scenario information and the configuration scheme corresponding to the third scenario information have an overlap relationship; the scenario information classification module is specifically used to: establish the correspondence between the first scenario category and the second and third scenario information according to the overlap relationship.

[0128] Optionally, the second preset correspondence includes the configuration scheme corresponding to the first scenario category, and the configuration scheme includes the configuration scheme of the covering party in the coverage relationship.

[0129] In the case of implementing the functions of the integrated units described above in hardware, embodiments of this application provide a schematic diagram of the hardware composition of a device configuration apparatus, such as... Figure 10 As shown, the device configuration apparatus further includes: a processor 702, a communication interface 703, and a bus 704. Optionally, the device configuration apparatus may also include a memory 701.

[0130] Processor 702 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 702 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 702 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0131] The communication interface 703 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0132] The memory 701 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0133] As one possible implementation, the memory 701 can exist independently of the processor 702. The memory 701 can be connected to the processor 702 via a bus 704 and is used to store instructions or program code. When the processor 702 calls and executes the instructions or program code stored in the memory 701, it can implement the device configuration method provided in the embodiments of this application.

[0134] In another possible implementation, the memory 701 can also be integrated with the processor 702.

[0135] The 704 bus can be an extended industry standard architecture (EISA) bus, etc. The 704 bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 10 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0136] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device configuration device can be divided into different functional modules to complete all or part of the functions described above.

[0137] This application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be executed by computer instructions instructing related hardware. The program can be stored in the computer-readable storage medium, and when executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be any of the foregoing embodiments or memory. The computer-readable storage medium can also be an external storage device of the device configuration apparatus, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the device configuration apparatus. Further, the computer-readable storage medium can include both internal storage units of the device configuration apparatus and external storage devices. The computer-readable storage medium is used to store the computer program and other programs and data required by the device configuration apparatus. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0138] This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to execute any of the device configuration methods provided in the above embodiments.

[0139] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple components. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0140] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.

[0141] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A device configuration method, characterized by, The method comprises: obtaining first scene information of an environment in which a device to be configured is located at a first time, the first scene information comprising a plurality of first environment parameters; wherein the first scene information is generated based on a plurality of environment parameters in the environment in which the device to be configured is located, and no environment parameters having a mutual exclusion relationship exist in each of the plurality of scene information; for at least two environment parameters having the mutual exclusion relationship, at most one of the at least two environment parameters is generated at the same time; determining a target scene category corresponding to the first scene information based on a first preset correspondence relationship; the first preset correspondence relationship is obtained by classifying the plurality of scene information, the first preset correspondence relationship representing a scene category corresponding to each of the plurality of scene information, the first scene information being one of the plurality of scene information, each of the plurality of scene information comprising at least one environment parameter selected from the plurality of environment parameters, and the plurality of first environment parameters being included in the plurality of environment parameters; determining a target configuration scheme corresponding to the target scene category based on a second preset correspondence relationship; the second preset correspondence relationship represents a preset configuration scheme corresponding to the scene category corresponding to each of the first preset correspondence relationship; the first preset correspondence relationship comprises a correspondence relationship between a first scene category and second scene information and a third scene information, wherein a configuration scheme corresponding to the second scene information and a configuration scheme corresponding to the third scene information have an overlapping relationship, and a configuration scheme corresponding to the first scene category comprises a configuration scheme of an overlapped party in the overlapping relationship; and the device to be configured is configured based on the target configuration scheme.

2. The device configuration method of claim 1, wherein, Before the obtaining of the first scene information of the environment in which the device to be configured is located at the first time, the method further comprises: determining the plurality of environment parameters in the environment in which the device to be configured is located; generating the plurality of scene information based on the plurality of environment parameters; classifying the plurality of scene information to obtain a scene category corresponding to each of the plurality of scene information, so as to form the first preset correspondence relationship.

3. The device configuration method according to claim 2, wherein The plurality of scene information comprises second scene information and third scene information, and a configuration scheme corresponding to the second scene information and a configuration scheme corresponding to the third scene information have an overlapping relationship; the classifying of the plurality of scene information to obtain a scene category corresponding to each of the plurality of scene information comprises: establishing a correspondence relationship between the first scene category and the second scene information and the third scene information according to the overlapping relationship.

4. The device configuration method of claim 3, wherein, The second preset correspondence relationship comprises a configuration scheme corresponding to the first scene category, and the configuration scheme corresponding to the first scene category comprises a configuration scheme of an overlapped party in the overlapping relationship.

5. An apparatus configuration device, characterized by comprising: The device comprises: a scene information acquisition module configured to obtain first scene information of an environment in which a device to be configured is located at a first time, the first scene information comprising a plurality of first environment parameters; The classification result determination module is configured to determine a target scenario category corresponding to the first scenario information based on a first preset correspondence relationship. The first preset correspondence relationship is obtained by classifying the plurality of scenario information. The first preset correspondence relationship represents a scenario category corresponding to each scenario information in the plurality of scenario information. The first scenario information is one of the plurality of scenario information. Each scenario information in the plurality of scenario information comprises at least one environment parameter selected from a plurality of environment parameters in an environment where the device to be configured is located. The plurality of first environment parameters are included in the plurality of environment parameters in the environment where the device to be configured is located. The first preset correspondence relationship comprises a correspondence relationship between a first scenario category and second scenario information and a third scenario information. The configuration scheme corresponding to the second scenario information has an overlapping relationship with the configuration scheme corresponding to the third scenario information. The configuration scheme corresponding to the first scenario category comprises a configuration scheme of an overlapped party in the overlapping relationship. The configuration scheme determination module is configured to determine a target configuration scheme corresponding to the target scenario category based on a second preset correspondence relationship. The second preset correspondence relationship represents a preset configuration scheme corresponding to the scenario category corresponding to each scenario information in the first preset correspondence relationship. The configuration module is configured to configure the device to be configured based on the target configuration scheme.

6. The device configuration apparatus according to claim 5, wherein The device configuration apparatus further comprises an environment parameter acquisition module, a scenario information generation module, and a scenario information classification module. The environment parameter acquisition module is configured to determine the plurality of environment parameters in the environment where the device to be configured is located before acquiring the first scenario information of the environment where the device to be configured is located at a first time. The scenario information generation module is configured to generate the plurality of scenario information based on the plurality of environment parameters. Each scenario information in the plurality of scenario information does not comprise environment parameters having a mutual exclusion relationship. For at least two environment parameters having the mutual exclusion relationship, at most one of the at least two environment parameters is generated at the same time. The scenario information classification module is configured to perform a classification operation on the plurality of scenario information. Each scenario information in the plurality of scenario information corresponds to a scenario category to form the first preset correspondence relationship. The plurality of scenario information comprises second scenario information and third scenario information. The configuration scheme corresponding to the second scenario information has an overlapping relationship with the configuration scheme corresponding to the third scenario information. The scenario information classification module is specifically configured to: establish a correspondence relationship between the first scenario category and the second scenario information and the third scenario information according to the overlapping relationship. The second preset correspondence relationship comprises the configuration scheme corresponding to the first scenario category. The configuration scheme corresponding to the first scenario category comprises a configuration scheme of an overlapped party in the overlapping relationship.

7. An electronic device, comprising: The computer readable storage medium comprises computer software instructions; when the computer software instructions are run in the device configuration apparatus, the device configuration apparatus implements the device configuration method according to any one of claims 1-4.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises computer software instructions; when the computer software instructions are run in the device configuration apparatus, the device configuration apparatus implements the device configuration method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Monitoring method, device and system, computer storage medium and electronic equipment

    CN114721067A