[go: up one dir, main page]

WO2025026008A1 - Method for determining layout information of sensing device, and electronic device - Google Patents

Method for determining layout information of sensing device, and electronic device Download PDF

Info

Publication number
WO2025026008A1
WO2025026008A1 PCT/CN2024/104504 CN2024104504W WO2025026008A1 WO 2025026008 A1 WO2025026008 A1 WO 2025026008A1 CN 2024104504 W CN2024104504 W CN 2024104504W WO 2025026008 A1 WO2025026008 A1 WO 2025026008A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensing device
candidate
information
area
layout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/104504
Other languages
French (fr)
Chinese (zh)
Inventor
樊鲁斌
吴岳
叶杰平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Cloud Computing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Cloud Computing Ltd filed Critical Alibaba Cloud Computing Ltd
Publication of WO2025026008A1 publication Critical patent/WO2025026008A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the present disclosure relates to the field of computers, and in particular to a method for determining layout information of a sensing device and an electronic device.
  • IOT sensors can provide various services such as uninterrupted automatic perception, data recording, and alarm reminders. Since the perception effect of IOT sensors is closely related to their own perception range, in order to achieve better perception effects, multiple IOT sensors are usually deployed in a given area to achieve all-round perception in the given area.
  • the layout information of the area where the IOT sensors are deployed mostly relies on manual experience, and the perception effect and perception range after the IOT sensors are installed according to the layout information are also closely related to manual experience.
  • the layout of IOT sensors based on manual experience there will be poor adaptability of different IOT sensors and low accuracy of layout information. Therefore, there is still a technical problem of low efficiency in determining the layout information of the target sensing device.
  • the embodiments of the present disclosure provide a method for determining layout information of a sensing device and an electronic device, so as to at least solve the technical problem of low efficiency in determining layout information of a target sensing device.
  • a method for determining layout information of a sensing device may include: collecting an area where sensing devices are to be laid out, wherein the area where sensing devices are to be laid out includes: at least one candidate layout position, and the candidate layout position is set to be at least one candidate sensing device to be laid out; obtaining a candidate sensing device set corresponding to the area where sensing devices are to be laid out, wherein the candidate sensing device set at least includes a candidate sensing device located at the candidate layout position; determining constraint information for laying out sensing devices based on the area where sensing devices are to be laid out and the candidate sensing device set, wherein the constraint information is set to represent the requirement information for laying out at least one candidate sensing device in the candidate sensing device set in the area where sensing devices are to be laid out; performing integer programming processing on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the
  • a method for arranging a sensing device comprises: collecting areas of sensing devices to be arranged within the coverage of the Internet of Things; obtaining layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing devices to be arranged, and is obtained by integer programming processing of the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of the sensing devices to be arranged, the constraint information is set to represent the requirement information of arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be arranged, and is determined based on the area of the sensing devices to be arranged and the candidate sensing device set; and the target sensing device is arranged in the area of the sensing devices to
  • a method for layout of sensing devices may include: displaying an area of sensing devices to be laid out on an operation interface; in response to a layout operation instruction set as an action on the operation interface, displaying layout information of at least one target sensing device in the area on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of sensing devices to be laid out, and is obtained by integer programming processing of the candidate sensing device set and constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of sensing devices to be laid out, the constraint information is set to represent the requirement information for laying out at least one candidate sensing device in the candidate sensing device set in the area of sensing devices to be laid out, and is determined based on the area of sensing devices to be laid out and the candidate sensing device set.
  • an electronic device may include a memory and a processor: the memory is configured to store computer-executable instructions, and the processor is configured to execute computer-executable instructions.
  • the above-mentioned computer-executable instructions are executed by the processor, any one of the above-mentioned methods for determining layout information of a sensing device is implemented.
  • a processor is further provided.
  • the processor is configured to run a program, wherein any one of the above methods for determining layout information of a sensing device is executed when the program is running.
  • a computer-readable storage medium including a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute any one of the above-mentioned methods for determining layout information of a sensing device.
  • the area where the sensing devices are to be arranged is collected, wherein the area where the sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is set as at least one candidate sensing device to be arranged; the candidate sensing device set corresponding to the area where the sensing devices are to be arranged is obtained, wherein the candidate sensing device set at least includes the candidate sensing devices located at the candidate arrangement position; based on the area where the sensing devices are to be arranged and the candidate sensing device set, constraint information for the arrangement of the sensing devices is determined, wherein the constraint information is set to indicate the requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be arranged; integer programming is performed on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and the layout information in the area where the target sensing device is located is output.
  • the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be deployed in the area can be determined
  • the candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint information of the sensing device set
  • the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and the layout information for deploying the target sensing device in the area can be determined.
  • the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.
  • FIG1 is a schematic diagram of an application scenario of a method for determining layout information of a sensing device according to an embodiment of the present disclosure
  • FIG. 2 is a structural block diagram of a computing environment of a method for determining layout information of a sensing device according to an embodiment of the present disclosure
  • FIG. 3 is a flow chart of a method for determining layout information of a sensing device according to an embodiment of the present disclosure
  • FIG4 is a flow chart of a method for arranging a sensing device according to an embodiment of the present disclosure
  • FIG5 is a flow chart of another method for arranging a sensing device according to an embodiment of the present disclosure.
  • FIG6 is a flow chart of a method for placing IOT sensors based on 0-1 integer programming according to an embodiment of the present disclosure
  • FIG7 is a schematic diagram of a region where sensing devices are to be arranged according to an embodiment of the present disclosure
  • FIG8 is a schematic diagram of attribute information of a sensing device according to an embodiment of the present disclosure.
  • FIG9 is a schematic diagram of a given layout space according to an embodiment of the present disclosure.
  • FIG10 is a schematic diagram of a layout solution of a sensing device according to an embodiment of the present disclosure.
  • FIG11 is a schematic diagram of a device for determining layout information of a sensing device according to an embodiment of the present disclosure
  • FIG12 is a schematic diagram of a data query device according to an embodiment of the present disclosure.
  • FIG13 is a schematic diagram of another layout device of a sensing device according to an embodiment of the present disclosure.
  • FIG14 is a structural block diagram of a computer terminal according to an embodiment of the present disclosure.
  • FIG. 15 is an electronic device of a method for determining layout information of a sensing device according to an embodiment of the present disclosure. block diagram
  • 16 is a hardware structure block diagram of a computer terminal (or mobile device) configured to implement a method for determining layout information of a sensing device according to an embodiment of the present disclosure
  • IOT sensors are devices that connect to the Internet of Things to detect and respond to environmental changes. They input data from various sources, such as light, temperature, and motion, and output valuable information. By connecting to the Internet of Things, data can be shared with other devices and management systems.
  • the sensing range is the area that the sensor can effectively sense, which can usually be enlarged in polygonal, sectoral and circular shapes.
  • the sensing range of the sensor is expressed in a sector consisting of the sensing direction, sensing angle and sensing depth of the IOT sensor;
  • Sensor layout given a layout area and a set of sensor types, can use algorithms to place instances of different sensor types into the layout area according to certain layout requirements;
  • the layout cost is the sum of the costs of the sensors used in the layout.
  • the cost of each sensor may include hardware cost, installation cost, and operation and maintenance cost.
  • a method for determining layout information of a sensing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps can be performed in a different order than that shown here. The steps shown or described are performed in sequence.
  • FIG. 1 is a schematic diagram of an application scenario of a method for determining layout information of a sensing device according to an embodiment of the present disclosure.
  • a terminal device 102 may, but is not limited to, communicate with a server 106 through a network 104, and the server 106 may, but is not limited to, perform operations on a database 108, such as write data operations or read data operations.
  • the terminal device 102 may, but is not limited to, include a human-computer interaction screen, a processor, and a memory.
  • the human-computer interaction screen may, but is not limited to, be used to display the area, sensing device set, constraint information, and layout information of the sensing device to be laid out on the terminal device 102.
  • the processor may, but is not limited to, be used to respond to the human-computer interaction operation, perform a corresponding operation, or generate a corresponding instruction, and send the generated instruction to the server 106.
  • the memory is used to store relevant processing data, such as the area, sensing device set, constraint information, target sensing device, and layout information of the sensing device to be laid out.
  • Step S102 collecting the area where the sensing device is to be laid out, wherein the area where the sensing device is to be laid out includes: at least one candidate layout position, and the candidate layout position is set as the at least one candidate sensing device to be laid out;
  • Step S104 acquiring a candidate sensing device set corresponding to the area where the sensing device is to be laid out, wherein the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position;
  • Step S106 determining constraint condition information for laying out the sensing device based on the area where the sensing device is to be laid out and the candidate sensing device set;
  • Step S108 performing integer programming processing on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and outputting the layout information in the area where the target sensing device is located.
  • the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be deployed in the area can be determined, and the candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set.
  • the target sensing devices to be deployed in the area are screened out from all the candidate sensing devices, and the layout information for deploying the target sensing devices in the area can be determined, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing devices and solving the technical problem of low efficiency in determining the layout information of the target sensing devices.
  • FIG2 is a block diagram of a computing environment for a method for determining layout information of a sensing device according to an embodiment of the present disclosure.
  • a computing environment 201 includes multiple computing nodes (such as servers) running on a distributed network (shown in the figure as 210-1, 210-2, ).
  • the computing nodes all contain local processing and memory resources, and the end user 202 can remotely run applications or store data in the computing environment 201.
  • the application can be provided as multiple services 220-1, 220-2, 220-3 and 220-4 in the computing environment 201, representing services "A", "D", "E” and "H” respectively.
  • the end user 202 can provide and access services through a web browser or other software application on the client, and in some embodiments, the end user 202's provision and/or request can be provided to the entry gateway 230.
  • the entry gateway 230 can include a corresponding agent to handle the provision and/or request for the service (one or more services provided in the computing environment 201).
  • Services are provided or deployed based on various virtualization technologies supported by the computing environment 201.
  • services can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and/or similar methods.
  • Virtual machine-based virtualization can be to simulate a real computer by initializing a virtual machine to execute programs and applications without directly contacting any actual hardware resources. While the virtual machine virtualizes the machine, according to container-based virtualization, a container can be started to virtualize the entire operating system (OS) so that multiple workloads can run on a single operating system instance.
  • OS operating system
  • a service 220-2 can be equipped with one or more Pods 240-1, 240-2, ..., 240-N (collectively referred to as Pods).
  • a Pod can include a proxy 245 and one or more containers 242-1, 242-2, ..., 242-M (collectively referred to as containers).
  • One or more containers in a Pod process requests related to one or more corresponding functions of the service, and the proxy 245 typically controls network functions related to the service, such as routing, load balancing, etc.
  • Other services can also be equipped with Pods similar to Pods.
  • executing a user request from the end user 202 may require invoking one or more services in the computing environment 201, and executing one or more functions of one service may require invoking one or more functions of another service.
  • service “A” 220-1 receives a user request from the end user 202 from the ingress gateway 230, service “A” 220-1 may call service “D” 220-2, and service “D” 220-2 may request service “E” 220-3 to execute one or more functions.
  • the computing environment described above can be a cloud computing environment, where the allocation of resources is managed by the cloud service provider, allowing the development of functions without considering the implementation, adjustment or expansion of servers.
  • the computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be divided into a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential loads.
  • FIG3 is a flow chart of a method for determining the layout information of the sensing device according to an embodiment of the present disclosure. As shown in FIG3, the method may include the following steps:
  • Step S302 collecting an area where sensing devices are to be arranged, wherein the area where sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is set as at least one candidate sensing device to be arranged.
  • the area of the sensing device to be deployed and the candidate layout positions of the sensing device to be deployed in the area can be collected, wherein the sensing device can be a sensor set to automatically sense, record data and alarm, such as an IOT sensor.
  • the area can be called a layout area.
  • the area of the local sensing device may include at least one candidate layout position, and an area where the sensing device does not need to be deployed, that is, an area other than the candidate layout position, wherein the area where the sensing device does not need to be deployed may be an outdoor building, an indoor column or other obstacle area, and no specific restrictions are made here.
  • the candidate layout position can be set as at least one candidate sensing device to be deployed, and can be a location where the sensing device is deployed in the area, that is, the sensing device can be deployed at the candidate layout position.
  • the area can be determined first, and the areas where all obstacles where sensing devices cannot be deployed are detected, so as to determine the candidate layout positions where sensing devices can be deployed in the area. Since it can be determined that sensing devices cannot be deployed in the area to be sensed, such areas can be eliminated when the sensing devices are deployed later, thereby achieving the technical effect of improving the efficiency and accuracy of deploying sensing devices.
  • Step S304 obtaining a candidate sensing device set corresponding to the area where the sensing device is to be arranged, wherein the candidate sensing device set at least includes candidate sensing devices located at candidate arrangement positions.
  • a candidate sensing device set corresponding to the area where the sensing devices are to be laid out can be obtained, wherein the candidate sensing device set can be set to at least include candidate sensing devices located at candidate layout positions, which can be called a sensor candidate set.
  • the attribute information of the sensing devices may be determined in advance, for example, the deployment location of the sensing devices in the area, the sensing direction angle, the sensing angle, the minimum and maximum depth of the sensing device, the sensing decay factor, the use cost, and other attribute information may be determined. It should be noted that the attribute information of the sensing devices described above is for illustrative purposes only and is not specifically limited here.
  • the type of each sensing device may be determined, so that the set of types of all sensing devices may be summarized as a type set of sensing devices, wherein the type set may be set to represent a set of types of sensing devices allowed to be used.
  • a candidate sensing device set may be constructed according to the sensing device type set and the candidate layout positions of the candidate sensing devices to be laid out, so as to select at least one target sensing device that meets the conditions from the sensing device set.
  • the sensing devices of the same type can share the perception angle, the minimum depth of perception, the maximum depth, the perception decay information and the usage cost, based on the above reasons, the sensing devices can be divided into different types according to the above different perception angles, minimum depths and maximum depths, so that different types of sensing devices can be taken into account and the sensing devices set to filter out the target sensing devices can be determined.
  • the preparation set is used to achieve the purpose of improving the adaptability to different sensing devices, and the layout information of different types of sensing devices can be determined, thereby achieving the technical effect of obtaining a layout for general sensing devices.
  • Step S306 based on the area where the sensing devices are to be arranged and the candidate sensing device set, determining constraint information for placing the sensing devices, wherein the constraint information is set to represent requirement information for placing at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be arranged.
  • the requirement information of each candidate sensing device in the sensing device set can be determined based on the area where the sensing device is to be arranged and the candidate sensing device set, so as to obtain the constraint information of the layout of the sensing device, wherein the constraint information can be set to represent the requirement information of at least one candidate sensing device in the candidate sensing device set for layout in the area where the sensing device is to be arranged, which can also be called layout constraint or constrained layout.
  • the requirement information can be set to represent the layout requirement of the sensing device.
  • layout constraints are set for the region and the set of sensing devices according to the layout requirements of the sensing devices. For example, by constraining the sensing strength at the candidate layout position where each sensing device is to be deployed, a reasonable layout of the sensing devices can be obtained and the layout indicators of the sensing devices can be directly constrained for layout, so as to obtain the constraint condition information of the sensing devices.
  • the sensing strength, selection preference and number of sensing devices of the sensing device can be constrained, and the parameters of the sensing devices in the sensing device set at each candidate layout position can be adjusted. If you are not satisfied with the parameters of a certain sensing device, but want to keep the sensing device at the candidate layout position, you can select other candidate sensing devices from the sensing device set at the candidate layout position through the device constraint information, so as to determine the target sensing device.
  • Step S308 performing integer programming processing on the candidate sensing device set and the constraint condition information, obtaining at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and outputting layout information in the area where the target sensing device is located.
  • the candidate sensing device set and the constraint information can be processed by integer programming to determine at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and the layout information in the area where the target sensing device is located can be determined and output, wherein the layout information can be referred to as a layout scheme or a layout result, and can include information such as the number of target sensing devices and the corresponding layout position of each target sensing device in the area to be deployed.
  • the layout information can be referred to as a layout scheme or a layout result, and can include information such as the number of target sensing devices and the corresponding layout position of each target sensing device in the area to be deployed.
  • each candidate sensing device in the sensing device set meets the constraint conditions. If the constraint conditions are not met, it can be said that the candidate sensing device cannot be deployed in the area where the sensing devices are to be placed. If the constraint conditions are met, the candidate sensing device can be confirmed. It is determined as the target sensing device, and it can be determined where the target sensing device should be deployed in the corresponding area to ensure that the entire area is sensed, thereby obtaining the final layout information of the target sensing device.
  • integer programming is a mathematical theory and method for studying the extreme value problem of the objective function under constraints
  • some or all variables in the planning can be restricted to integers, if in a linear model, the variables are restricted to integers.
  • the problem of determining the layout information of the target sensing device can be modeled into an integer programming problem, and the information such as the perception strength of the sensing device can be abstracted into constraint information, and it can be determined whether the candidate sensing devices in the sensing device set meet the constraint information to obtain the layout information.
  • the target sensing device and layout information can be updated by adding, deleting, and modifying the constraint information and reconstructing the integer programming problem, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensor.
  • the area where the sensing device is to be deployed and the candidate layout positions of the sensing device to be deployed in the area can be determined
  • the candidate sensing device set where the sensing device is to be deployed can be determined in the area where the sensing device is to be deployed
  • the demand information of each candidate sensing device in the sensing device set can be determined based on the area and the sensing device set, and the demand information is integrated to obtain the constraint information of the sensing device set
  • the target sensing device to be deployed in the area is screened from all candidate sensing devices by integer programming processing of the sensing device set and the constraint information
  • the layout information of the target sensing device to be deployed in the area can be determined, and the above method can be set to the layout evaluation of similar devices such as cameras, smoke sensors, wireless network signal transmitters, mobile phone base stations or drone base stations, and the layout information generation of devices.
  • the system can be used for IOT sensor users, such as urban law enforcement departments, security supervision units, park managers, families or individuals, etc. Based on the above method, the procurement and installation costs of IOT sensors can be effectively reduced, the calculation cost of intelligent analysis can be reduced, and the unit utilization rate of IOT sensors can be improved. It should be noted that the above application scenarios and application systems are for illustration only and no specific limitations are imposed herein.
  • the area of the sensing device to be arranged and the candidate layout positions of the sensing device to be deployed in the area can be determined, and the candidate sensing device set where the sensing device to be deployed is located can be determined in the area of the sensing device to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set, and the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint condition information, and the layout information for deploying the target sensing device in the area can be determined.
  • the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.
  • step S306 the candidate sensing device set and constraint information are analyzed.
  • Integer programming processing is performed to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, including: performing integer programming modeling on the candidate sensing device set and the constraint condition information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing device is to be arranged less than a cost threshold; using the target model to determine the target sensing device that satisfies the constraint condition information in the candidate sensing device set, wherein the layout cost of placing the target sensing device in the area where the sensing device is to be arranged based on the layout information is less than the cost threshold.
  • integer programming modeling can be performed on the candidate sensing device set and constraint information to obtain a target model, so that the target model can be used to determine whether the candidate sensing device satisfies the constraint information in the candidate sensing device set, and the candidate sensing device that satisfies the constraint information is used as the target sensing device, wherein the target model can be set to make the layout cost of the area where the sensing device is to be laid out less than the cost threshold, and can be a model obtained through integer programming modeling.
  • the layout cost of laying out the target sensing device in the area where the sensing device is to be laid out based on the layout information is less than the cost threshold, wherein the layout cost can also be referred to as the usage cost.
  • the cost threshold can be referred to as the minimized layout cost, which can be a pre-set value, or a value set by itself according to actual conditions. It should be noted that the above-mentioned cost threshold setting method is for example only and is not specifically limited here.
  • a reasonable sensing device layout and a direct constraint on sensor layout indicators can be obtained by constraining the sensing strength of each sensing device.
  • perception strength constraints can be supported. Based on the perception strength pre-calculated at each perception strength evaluation point, the perception strength at the i-th perception strength evaluation point can be constrained to be not less than b i . At this time, the perception strength constraint can be expressed as ⁇ j w ij x j ⁇ b j , where w ij can be set to represent the perception strength of the j-th sensing device at the i-th perception strength evaluation point.
  • can be set to the number of elements in the calculation set.
  • a sensor number constraint may be supported. Since the total number of sensing device instances used does not exceed N, the sensor number constraint may be expressed as ⁇ j x j ⁇ N.
  • the parameters of the existing sensing devices can be adjusted. If the existing sensing device parameter settings at a certain location are not satisfactory but the sensor at that location is desired to be retained, a new sensing device can be selected from other candidate sensing devices at that location by constraining the device.
  • integer programming can be used to mathematically model the layout problem of the sensing devices.
  • the goal of the layout cost in the planning problem is to minimize the layout cost.
  • , ⁇ j x j ⁇ N, ⁇ h ⁇ H x H
  • , ⁇ k ⁇ K x k 1, x j ⁇ ⁇ 0, 1 ⁇
  • the above integer programming is modeled as a standard single-objective global optimization problem, which can simultaneously achieve the layout of the sensing devices set as constraints and the minimum cost of using the layout information through the problem objectives and constraint devices. Since the process and results of determining the layout information can be optimized through integer programming, the spatial layout generation from coarse to fine is achieved, providing high-precision target sensing devices and layout information.
  • the method can integrate an evaluation system that maximizes perception coverage and minimizes construction costs, and can meet the needs of various application scenarios, such as evaluating the existing spatial layout effect, optimizing the existing layout plan, and proposing new layout suggestions, etc. It supports the automatic selection of target sensing devices from candidate sensing devices, and supports users to iteratively modify the existing layout information and evaluation criteria based on their own needs. Since this method is applicable to various common IOT sensor space layout problems, it is highly versatile and easy to implement, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device.
  • a target sensing device that satisfies constraint condition information is determined from a set of candidate sensing devices using a target model, including: solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is a target sensing device, or is not a target sensing device; and selecting a target sensing device that satisfies constraint condition information from the set of candidate sensing devices based on the target indicator information.
  • the target indicator information corresponding to the candidate sensing device can be obtained by solving the target model, and it can be determined whether the target indicator information satisfies the constraint condition information. If so, the candidate sensing device corresponding to the target indicator information can be determined as the target sensing device, wherein the target indicator information can be set to determine whether the candidate sensing device is the target sensing device or not, and can be the indicator vector of the corresponding candidate sensing device.
  • the target model can be solved to determine the target indication information of the candidate sensing device, and to determine whether the target indication information satisfies the constraint information in the target model.
  • the initial result S' of the target sensing device layout can be generated.
  • step S306 the method also includes: adjusting the constraint information; performing integer programming processing on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, including: performing integer programming processing on the candidate sensing device set and the adjusted constraint information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.
  • the constraint information may be adjusted, and integer programming may be performed on the candidate sensing device set and the adjusted constraint information to obtain a target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.
  • the problem of determining layout information can be modeled as an integer programming problem, and all layout constraint information can be abstracted through the indicator set and perception strength evaluation point of the sensing device. Therefore, after obtaining the initial result of the layout, the target model of the planning problem can be reconstructed by adding, deleting and modifying constraint conditions such as perception strength constraints, selection preference constraints, number constraints and hard constraints to update the required layout, thereby achieving the technical effect of improving the efficiency of obtaining new layout information when adjusting the layout requirements.
  • constraint conditions such as perception strength constraints, selection preference constraints, number constraints and hard constraints
  • the constraint equipment and target model solving can be repeated to obtain satisfactory results.
  • the previous results can be used as initial values for optimization, which helps to reduce the number of optimization iterations and quickly obtain the adjusted layout information.
  • integer programming is performed on the candidate sensing device set and the adjusted constraint information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint information, including: taking the target sensing device that satisfies the constraint information before adjustment as an initial value, performing integer programming on the candidate sensing device set and the adjusted constraint information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.
  • the target sensing device that satisfies the constraint information before adjustment can be used as the initial value, and integer programming processing is performed on the candidate sensing device set and the adjusted constraint information, and the target sensing device that satisfies the adjusted constraint information is determined from the candidate sensing device set, wherein the initial value can be the initial result of the target sensing device before adjustment.
  • the spatial sampling points can be further encrypted, and the constraints in the layout constraint device can be modeled as a layout energy minimization problem, so as to locally optimize and adjust the position and sensing direction of each sensing device in the initial result S', and obtain a more refined result S".
  • the problem of determining the layout information can be modeled as an integer programming problem, and all layout constraint information can be abstracted through the sensing device indicator set and the perception strength evaluation point. After obtaining the initial layout result, the constraints can be adjusted. For example, the constraints can be added, deleted, and modified, and the target model of the integer programming can be reconstructed to update the layout.
  • the steps of adjusting the constraints and reconstructing the target model can be repeated to obtain satisfactory layout information after the layout is updated. Since the result before the update can be used as the initial value for optimization when solving the target model in the updated layout, the purpose of reducing the number of optimization iterations is achieved, thereby achieving the technical effect of improving the efficiency of adjusting the layout information.
  • the method may further include: adjusting the position information and/or direction information in the layout information based on the objective function, wherein the position information is set to represent the layout position of the target sensing device in the area where the sensing devices are to be laid out, and the direction information is set to represent the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and to make the difference between the adjusted direction information and the target direction information less than a direction information threshold; and outputting the adjusted position information and/or direction information.
  • the position information and/or direction information in the layout information can be adjusted based on the objective function, and the adjusted position information and/or direction information can be output, wherein the objective function can be called an optimization objective.
  • the position information can be set to represent the local position of the target sensing device in the area where the sensing device is to be laid out, and can be the perception direction of the target sensing device in the layout information.
  • the direction information can be set to represent the orientation of the layout of the target sensing device at the layout position, and can be the layout angle of the target sensing device in the layout information.
  • the objective function can be set to make the difference between the adjusted position information and the target position information less than the position information threshold, and the difference between the adjusted direction information and the target direction information less than the direction information threshold.
  • the position information threshold and the direction information threshold can be preset values in advance, or can be values set by themselves. It should be noted that the above-mentioned setting method of the position information threshold and the direction information threshold is for example, and no specific limitation is made here.
  • the layout results obtained by spatial and parameter discretization can be optimized.
  • the (x, y, ⁇ ) in each s' can be optimized, that is, the position information and direction information of the target sensing device can be optimized, while keeping the others unchanged.
  • the objective function is as follows: min ⁇ j
  • the embodiment of the present disclosure may use a simulated annealing method to optimize the above objective function, obtain ⁇ (x j , y j , ⁇ j ) ⁇ where the difference between the position information and the target position information is less than the position information threshold, and the difference between the direction information and the target direction information is less than the direction information threshold, and generate and output the final layout information of the target sensing device.
  • a simulated annealing method to optimize the above objective function, obtain ⁇ (x j , y j , ⁇ j ) ⁇ where the difference between the position information and the target position information is less than the position information threshold, and the difference between the direction information and the target direction information is less than the direction information threshold, and generate and output the final layout information of the target sensing device.
  • adjusting the position information and/or direction information in the layout information based on the objective function includes: adjusting the discretized position information and/or the discretized direction information based on the objective function.
  • the discretized position information and/or the discretized direction information may be adjusted based on the objective function.
  • the deployment positions of the target sensing devices at the corresponding positions are consistent. Therefore, the deployment positions of the target sensing devices only need to be represented by (x, y). For target sensing devices deployed at different heights, their sensing range and sensing intensity and other information can be represented according to their projections on the specified plane. In the disclosed embodiment, the influence of physical phenomena such as reflection and diffraction of the sensing device signal on the sensing range of the sensing device is not considered.
  • the position information and direction information of the layout control and the target sensing device may be discretely sampled to simplify the problem of determining the layout information of the target sensing device, thereby achieving the technical effect of improving the efficiency of determining the layout information.
  • step S306 based on the area where the sensing devices are to be deployed and the candidate sensing device set, determines constraint information for deploying the sensing devices, including: based on the area where the sensing devices are to be deployed and the candidate sensing device set, constraining attribute information of the candidate sensing devices to obtain constraint information.
  • the attribute information of the candidate sensing devices can be constrained to obtain constraint condition information, wherein the attribute information can be set to characterize the attributes of the sensing devices, and can include the position of the sensing device in the layout area, the sensing direction angle, the sensing angle, the minimum and maximum depth of the sensing, the sensing decay factor, the use cost, etc. It should be noted that the above attribute information is for example only and is not specifically limited here.
  • a linear function may be used to characterize the perception decay of the sensing device, that is, if the perception at d n is 1.0, then the perception at a distance d from the sensing device is ⁇ *(dd n )/(d f -d n ).
  • layout constraints may be set for the spatial initialization and the sensing device candidate set according to layout requirements of the sensing devices.
  • the attribute information includes at least one of the following: perception strength, which is set to indicate the perception coverage of the candidate sensing device to the target position in the area where the sensing device is to be arranged; preference flag, which is set to indicate that the candidate sensing device is allowed to be determined as the target sensing device; layout quantity, which is set to indicate the number of candidate sensing devices allowed to be arranged in the area where the sensing device is to be arranged; layout flag, which is set to indicate that the candidate sensing device has been arranged in the area where the sensing device is to be arranged, and the candidate sensing device is allowed to be determined as the target sensing device; position flag, which is set to indicate that other candidate sensing devices except the candidate sensing device are allowed to be arranged in the position indicated by the position flag in the candidate sensing device set; indicator information, which is set to indicate that the candidate sensing device is allowed to be determined as the target sensing device, or that the candidate sensing device is not allowed to be determined as the target sensing device.
  • perception strength which is set to indicate the
  • the attribute information may include at least the following information: perception strength, which may be set to indicate the perception coverage of the target position of the candidate sensing device in the area where the sensing device is to be arranged; the preference flag may be set to indicate that the candidate sensing device is allowed to be determined as the target sensing device; the number of layouts may be set to indicate the number of candidate sensing devices allowed to be arranged in the area where the sensing device is to be arranged; the already arranged flag may be set to indicate that the candidate sensing device has been arranged in the area where the sensing device is to be arranged, and the candidate sensing device is allowed to be determined as the target sensing device; the position flag may be set to indicate that other candidate sensing devices other than the candidate sensing device in the candidate sensing device set are allowed to be arranged at the position indicated by the position flag; the index information may be set to indicate that the candidate sensing device is allowed to be determined as the target sensing device, or is not allowed to be determined as the target sensing device, wherein the perception strength may be
  • the preference flag may be a preference constraint for selecting a sensing device.
  • the number of layouts may be a constraint on the number of sensing devices.
  • the already arranged flag may be a hard constraint on an existing sensing device.
  • the position flag may be a parameter adjustment for an existing sensing device.
  • the index information may be a constraint on an index set of a sensing device.
  • the following perception strength constraint can be performed: based on the perception strength pre-calculated at each perception strength evaluation point, the perception strength at the i-th perception strength evaluation point can be constrained to be not less than b i .
  • the constraint of perception strength can be expressed as ⁇ j w ij x j ⁇ b j , where w ij can be set to represent the j-th sensing device at The perception intensity at the evaluation point of the i-th perception intensity.
  • may be set to the number of elements in the calculation set.
  • the following constraint on the number of sensing devices may be performed: Since the total number of sensing device instances used does not exceed N, the constraint on the number of sensors may be expressed as ⁇ j x j ⁇ N.
  • the following existing sensing device parameter adjustment can be performed: if you are not satisfied with the existing sensing device parameter settings at a certain location, but want to keep the sensor at that location, you can select a new sensing device from other candidate sensing devices at that location by constraining the device.
  • the method further includes: uniformly sampling the area where the sensing device is to be deployed to obtain a target position.
  • the area where the sensing device is to be deployed may be uniformly sampled to obtain the target position.
  • the layout candidate positions of the sensing devices can represent the locations where sensing equipment is deployed.
  • the point in can be set to evaluate the perception coverage of the sensing device at the point.
  • the embodiment of the present disclosure can adopt a uniform sampling method to sample area F.
  • the boundary sampling points of region F and the internal sampling points of region F can be combined as the perception intensity evaluation points.
  • the number of perception strength evaluation points can be set to m.
  • the boundary sampling points in area F can be retracted inward by 0.5 meters and merged with the internal sampling points in area F as candidate locations for sensing equipment layout.
  • the number of candidate locations for the sensing device layout may be set to n ⁇ .
  • step S304 obtaining a candidate set of sensing devices corresponding to the area where the sensing devices are to be arranged, includes: determining the candidate set of sensing devices based on a set of sensing device types allowed to be arranged at the candidate layout positions in the area where the sensing devices are to be arranged, and the candidate layout positions in the area where the sensing devices are to be arranged.
  • the candidate sensing device set may be determined based on the type set of sensing devices allowed to be placed at the candidate placement positions in the area where the sensing devices are to be placed and the candidate placement positions in the area where the sensing devices are to be placed.
  • the type set of sensing devices may be a sensor type set.
  • a candidate sensing device set S ⁇ s i ⁇ is constructed, and the final sensing device layout solution is to select a combination of sensing devices that meet the conditions from the sensing device set S, that is, target sensing devices that meet the conditions.
  • a candidate sensing device set is determined, including: at the candidate layout positions in the area where sensing devices are to be laid out, candidate direction information is collected to obtain a candidate direction set, wherein the candidate direction information is set to indicate a direction in which the candidate sensing device is laid out at the candidate layout position, and angles between multiple directions corresponding to multiple candidate direction information are the same; based on the sensing device type set, candidate sensing devices that are allowed to be laid out in directions corresponding to the candidate direction information in the candidate direction set are determined to obtain a candidate sensing device set, wherein the candidate sensing devices satisfy the sensing device types in the sensing device type set.
  • candidate direction information can be collected at a candidate layout position in an area where a sensing device is to be laid out to obtain a candidate direction set, and based on a sensing device type set, candidate sensing devices that are allowed to be laid out in directions corresponding to the candidate direction information in the candidate direction set can be determined to obtain a candidate sensing device set, wherein the candidate direction information can be set to indicate the direction in which the candidate sensing device is laid out at the candidate layout position.
  • the candidate sensing device satisfies the sensing device type in the sensing device type set.
  • the angles between the multiple directions corresponding to the multiple candidate direction information can be the same.
  • the candidate direction set can be a set of sensing direction angles of the sensing device.
  • the direction of the sensing device may be discretely sampled, for example, the sensing device may be deployed at intervals a 0.
  • a 0 60° may be set, and the discrete direction data may be set to n a .
  • the above discrete sampling interval size and direction data setting are for illustrative purposes only and are not specifically limited here.
  • the sensing devices may be enumerated, for example, at each sensing device's layout candidate position
  • the perception strength of the perception evaluation point can be pre-calculated by the following steps: based on each of the sensing devices enumerated above, the position of each corresponding perception strength evaluation point can be calculated based on the type parameter of the sensing device.
  • the perception intensity is obtained by constructing an m ⁇ n perception intensity matrix W, where the element w ij in the i-th row and j-th column of the matrix W can be expressed as the perception intensity of the j-th sensor at the i-th perception intensity evaluation point.
  • the method further includes: discretely sampling the area where the sensing device is to be placed to obtain candidate placement positions, wherein the candidate placement positions do not include boundary sampling points of the area where the sensing device is to be placed.
  • discrete sampling may be performed on the area where the sensing device is to be deployed, thereby obtaining candidate layout positions for deploying the sensing device, wherein the candidate layout positions may be boundary sampling points of the area that does not include the sensing device to be deployed.
  • an area F where sensing devices are to be deployed can be generated, and candidate deployment positions where sensing devices can be deployed can be generated by performing discrete sampling on the area, that is, a set of candidate deployment positions can be generated. It is also possible to generate evaluation points for evaluating the sensing strength of the sensing device.
  • the efficiency of evaluating and generating layout information can be improved by sampling means. Therefore, discrete sampling can be used to discretize the area of the sensing device to be arranged, and candidate layout positions can be provided for the sensing device through discrete sampling.
  • the perceptual strength evaluation points used to evaluate the rationality of the layout information are generated Among them, the candidate layout position The points in can be used to evaluate the sensing coverage of the location point by the sensing device.
  • the environmental state of the location point can be sensed by the sensing device only when the perception strength of each evaluation point exceeds a certain threshold.
  • the embodiment of the present disclosure can adopt a uniform sampling method to sample the area F where the sensing device is to be laid out, thereby achieving the technical effect of improving the generation efficiency and accuracy of the layout information.
  • the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be arranged in the area can be determined
  • the candidate sensing device set where the sensing devices to be arranged are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set
  • the target sensing device to be arranged in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint condition information, and the layout information for deploying the target sensing device in the area can be determined.
  • the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of the layout information of the sensing devices deployed in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.
  • FIG4 is a flow chart of a layout method of a sensing device according to an embodiment of the present disclosure. As shown in FIG4 , the method may include the following steps:
  • Step S402 collecting areas where sensing devices are to be deployed within the coverage area of the Internet of Things.
  • the area where the sensing equipment is to be deployed can be determined from within the coverage area of the Internet of Things.
  • the sensing device can be an IoT sensor
  • a sensing device needs to be deployed in a certain area, it can be ensured that the area is covered by the IoT. If it is not covered by the IoT, the IoT can be deployed first to cover the area. Thus, the area where the sensing device is to be deployed can be determined.
  • Step S404 obtaining layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area where the sensing device is to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area where the sensing device is to be arranged, and the constraint information is set to represent requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where the sensing device is to be arranged, and is determined based on the area where the sensing device is to be arranged and the candidate sensing device set.
  • the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area where the sensing device is to be arranged, and is obtained by performing integer programming processing on
  • the layout information of at least one target sensing device in the area can be obtained, wherein the at least one target sensing device can be a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area where the sensing device is to be deployed, and can be obtained by integer programming processing of the candidate sensing device set and the constraint information.
  • the candidate sensing device set can at least include candidate sensing devices located at candidate layout positions in the area where the sensing device is to be deployed.
  • the constraint information can be set to represent the requirement information for deploying at least one candidate sensing device in the candidate sensing device set in the area where the sensing device is to be deployed, and can be determined based on the area where the sensing device is to be deployed and the candidate sensing device set.
  • the candidate sensing device set corresponding to the area can be obtained.
  • the demand information of each candidate sensing device in the sensing device set can be determined to obtain the constraint information.
  • the sensing device set and the constraint information can be processed by integer programming to obtain the target model of integer programming, and it can be determined whether each candidate sensing device in the sensing device set meets the constraint information. If the constraint information is not met, the candidate sensing device can be eliminated. If the constraint information is met, the candidate sensing device can be determined as the target sensing device, and layout information for layout in the area where the sensing device is to be arranged through the target sensing device is generated.
  • Step S406 Layout the target sensing device in the area where the sensing device is to be laid out based on the layout information.
  • the target sensing device after obtaining the layout information of at least one target sensing device in the area in the Internet of Things, the target sensing device can be arranged in the sensing device to be arranged according to the layout information. in the area of the equipment.
  • the target sensing device can be laid out at a corresponding position in the area of the sensing device to be laid out according to the position of the target sensing device in the area where the target sensing device should be deployed in the layout information, thereby sensing the area.
  • the layout of sensing devices is based on manual experience, there will be a technical problem of low efficiency in the layout of sensing devices in the area.
  • the method itself integrates an evaluation system for maximizing perception coverage and minimizing construction costs, so as to meet the needs of various application scenarios. For example, it can evaluate the effect of existing spatial layout, optimize existing layout plans, or propose new layout suggestions, etc.
  • It can support the automatic selection of at least one target sensing device that meets the conditions from candidate sensing devices, and support users to iteratively modify existing layout information and customize evaluation criteria based on their own needs, thereby achieving the purpose of being applicable to various common IOT sensor spatial layout problems, and it is more versatile and easier to implement, thereby solving the technical problem of low efficiency in the layout of sensing devices in the area.
  • the area of the sensing devices to be arranged within the coverage of the Internet of Things is collected; the layout information of at least one target sensing device in the area of the Internet of Things is obtained, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area of the sensing devices to be arranged, and is obtained by integer programming processing of the candidate sensing device set and the constraint information, the candidate sensing device set at least includes the candidate sensing devices located at the candidate layout position in the area of the sensing devices to be arranged, the constraint information is set to represent the requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be arranged, and is determined based on the area of the sensing devices to be arranged and the candidate sensing device set; the target sensing device is arranged in the area of the sensing devices to be arranged based on the layout information,
  • FIG5 is a flow chart of another layout method of sensing devices according to an embodiment of the present disclosure. As shown in FIG5 , the method may include the following steps:
  • Step S502 displaying the area where the sensing devices are to be arranged on the operation interface.
  • the area where the sensing device is to be laid out can be displayed on the operation interface, wherein the operation interface can be an operation interface of an application or software for laying out the sensing device on a user's terminal device such as a computer, mobile phone or tablet.
  • the user can log in to the corresponding software or application for deploying the sensing device on the terminal device.
  • the area where the sensing device is to be deployed can be input or divided on the operation interface of the software or application.
  • the user can log in to the corresponding software or application for deploying the sensing device on the terminal device.
  • the operation interface displays the corresponding area where the sensing device is to be deployed, and can also display whether the area is covered by the Internet of Things.
  • Step S504 in response to the layout operation instruction acting on the operation interface, the layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area where the sensing devices are to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area where the sensing devices are to be arranged, and the constraint information is set to represent the requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be arranged, and is determined based on the area where the sensing devices are to be arranged and the candidate sensing device set.
  • the at least one target sensing device is a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area where the sensing devices
  • the layout information of at least one target sensing device in the area can be displayed on the operation interface, wherein the at least one target sensing device can be a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area of the sensing devices to be arranged, and can be obtained by integer programming processing of the candidate sensing device set and the constraint information.
  • the candidate sensing device set can at least include candidate sensing devices located at candidate layout positions in the area of the sensing devices to be arranged.
  • the constraint information can be set to represent the requirement information of at least one candidate sensing device in the candidate sensing device set to be arranged in the area of the sensing devices to be arranged, and can be determined based on the area of the sensing devices to be arranged and the candidate sensing device set.
  • the user can click the corresponding control on the operation interface to generate the layout operation instruction, for example, the user can click the "determine layout" control to obtain the layout information.
  • the terminal device can determine the candidate sensing device set where the sensing devices to be deployed are located in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set.
  • the target sensing device to be deployed in the area is screened out from all the candidate sensing devices, and the layout information for deploying the target sensing device in the area can be determined, and the layout information of the area can be displayed on the operation interface, so that the user can deploy the corresponding sensing device in the corresponding area according to the layout information.
  • the area of the sensing devices to be arranged is displayed on the operation interface; in response to the layout operation instruction acting on the operation interface, the layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint condition information in the candidate sensing device set corresponding to the area of the sensing devices to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint condition information, the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position in the area of the sensing devices to be arranged, the constraint condition information is set to represent the requirement information of arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be arranged, and is based on the constraint condition information of the sensing devices to be arranged.
  • the area of the local sensing device and the candidate sensing device set are determined, thereby
  • IOT sensors have been widely used in people's daily lives, such as cameras, smoke sensors, acoustic sensors, temperature and humidity sensors, and millimeter wave radars, etc. They provide uninterrupted automatic perception, data recording, alarm reminders and other services for people's lives, travel and urban management.
  • the perception effect of IOT sensors is closely related to their own perception range. In order to achieve better perception effects and reduce deployment costs, it is an issue that needs to be focused on at present.
  • the IOT sensors can be laid out by manual layout.
  • the installers need to perform layout design and safety on site based on manual experience, and complete the layout through continuous adjustments.
  • the disadvantage of this method is the lack of quantitative analysis, and the layout scheme obtained by splicing manual experience is not a perfect layout scheme.
  • the installers need to test repeatedly during the process, resulting in a long layout design time, high labor and time costs.
  • This method is generally suitable for small and medium-sized areas, and as the spatial area increases, the layout effect decreases significantly. Therefore, there is still a technical problem of low efficiency in determining the layout information of the target sensing device.
  • the present disclosure provides an IOT sensor layout method based on 0-1 integer programming, which solves the technical problem of low efficiency in determining layout information of target sensing devices.
  • This method is different from traditional solutions in which layout information is not determined through integer programming, avoids the problem of low accuracy of layout information when sensors are deployed in an area through artificial experience, and solves the technical problem of low efficiency in determining layout information of target sensing devices.
  • an area where sensors are to be deployed and candidate layout positions of sensors to be deployed in the area can be determined, a candidate sensor set where sensors to be deployed are located can be determined in the area where sensors are to be deployed, and based on the area and the sensor set, demand information of each candidate sensor in the sensor set can be determined, and the demand information is integrated to obtain constraint information of the sensor set.
  • target sensors to be deployed in the area are screened out from all candidate sensors, and layout information for deploying the target sensors in the area can be determined.
  • FIG6 is a flow chart of a method for placing IOT sensors based on 0-1 integer programming according to an embodiment of the present disclosure. As shown in FIG6 , the method may include the following steps:
  • Step S601 performing spatial initialization on the area to be laid out.
  • spatial initialization may be performed on the area to be laid out.
  • FIG. 7 is a schematic diagram of an area where sensors are to be arranged according to an embodiment of the present disclosure, as shown in FIG. 7
  • FIG8 is a schematic diagram of the attribute information of a sensor according to an embodiment of the present disclosure.
  • (x, y) may be set to represent the position of the sensor in the area to be deployed; ⁇ may be set to represent the sensing direction angle of the sensor; ⁇ may be set to represent the sensing angle of the sensor; (d n , d f ) may be set to represent the minimum depth and maximum depth of the sensor; ⁇ may be set to represent the sensing decay factor of the sensor; c may be set to represent the use cost of the sensor, wherein the minimum depth may also be referred to as the minimum sensing depth.
  • the maximum depth may also be referred to as the maximum sensing depth.
  • the deployment heights of the target sensors at the corresponding positions are consistent, so the deployment positions of the target sensors only need to be represented by (x, y).
  • their sensing range and sensing intensity and other information can be represented according to their projections on the specified plane.
  • the influence of physical phenomena such as reflection and diffraction of sensor signals on the sensing range of the sensor is not considered.
  • Discretized sampling can provide candidate locations for sensor layout.
  • it can generate the perceived strength evaluation points set to evaluate the rationality of the layout Among them, the layout candidate positions of the sensors
  • the points in the figure can represent the locations where sensors are deployed.
  • the point in can be set to evaluate the sensor's perception coverage of the point.
  • the embodiment of the present disclosure can adopt a uniform sampling method to sample area F.
  • the boundary sampling points of region F and the internal sampling points of region F can be combined as the perception intensity evaluation points.
  • the number of perception strength evaluation points can be set to m.
  • the boundary sampling points in area F can be retracted inward by 0.5 meters and merged with the internal sampling points in area F as candidate locations for sensor layout.
  • the number of candidate sensor layout positions may be set to n ⁇ .
  • Step S602 construct a sensor candidate set.
  • a candidate sensor set can be constructed according to the sensor type set and the candidate layout positions of the candidate sensors to be laid out, so as to select at least one target sensor that meets the conditions from the sensor set.
  • the direction of the sensor may be discretely sampled, for example, the sensor may be deployed at intervals a 0.
  • a 0 60° may be set, and the discrete direction data may be set to n a .
  • the above discrete sampling interval size and direction data setting are for illustrative purposes only and are not specifically limited here.
  • the sensors can be enumerated, for example, in the candidate locations for each sensor layout
  • the perception strength of the perception evaluation point can be pre-calculated by the following steps: based on each sensor enumerated above, the position of each corresponding perception strength evaluation point can be calculated based on the type parameter of the sensor.
  • the perception intensity is obtained by constructing an m ⁇ n perception intensity matrix W, where the element w ij in the i-th row and j-th column of the matrix W can be expressed as the perception intensity of the j-th sensor at the i-th perception intensity evaluation point.
  • Step S603 setting constraint layout.
  • layout constraints are set for regions and sensor sets according to the layout requirements of sensors. For example, by constraining the perception strength at the candidate layout position where each sensor is to be deployed, a reasonable sensor layout and a layout with direct constraints on the sensor layout indicators can be obtained, and a constrained layout of sensors can be obtained, wherein the constrained layout can also be called a constrained layout, and the constrained layout can include information such as perception strength constraints, selection preference constraints, sensor number constraints, sensor hard constraints, and sensor parameter adjustments. It should be noted that this is an example and does not impose specific restrictions on the constrained layout. .
  • the following perception intensity constraint can be performed: based on the perception intensity pre-calculated at each perception intensity evaluation point, the perception intensity at the evaluation point of the i-th perception intensity can be constrained to be no less than bi .
  • the constraint on perception intensity can be expressed as ⁇ j w ij x j ⁇ b j , where w ij can be set to represent the perception intensity of the j-th sensor at the evaluation point of the i-th perception intensity.
  • can be set to the number of elements in the calculation set.
  • the following sensor number constraint may be performed: Since the total number of sensor instances used does not exceed N, the sensor number constraint may be expressed as ⁇ j x j ⁇ N.
  • the following existing sensor parameter adjustments can be performed: if you are not satisfied with the existing sensor parameter settings at a certain location, but want to keep the sensor at that location, you can select a new sensor from other candidate sensors at that location through a constraint device.
  • Step S604 solving layout modeling.
  • the problem of determining the layout information of the target sensor can be modeled into an integer programming problem, and the sensor's perception strength and other information can be abstracted into a constraint layout, and it can be determined whether the candidate sensors in the sensor set meet the constraint layout to obtain the layout information.
  • the target sensor and layout information can be updated by adding, deleting, and modifying the constraint layout and reconstructing the integer programming problem, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device.
  • integer programming modeling can be performed on the candidate sensor set and the constraint layout to obtain a target model, so that the target model can be used to determine whether the candidate sensor satisfies the constraint layout in the candidate sensor set, and the candidate sensor that satisfies the constraint layout is used as the target sensor, wherein the target model can be set to make the layout cost of the area where the sensor is to be laid out less than a cost threshold, and can be a model obtained by integer programming modeling.
  • the layout cost of laying out the target sensor in the area where the sensor is to be laid out based on the layout information is less than the cost threshold.
  • integer programming can be used to mathematically model the sensor layout problem.
  • the goal of the layout cost in the planning problem is to minimize the layout cost.
  • , ⁇ j x j ⁇ N, ⁇ h ⁇ H x H
  • , ⁇ k ⁇ K x k 1, x j ⁇ ⁇ 0, 1 ⁇
  • the above integer programming is modeled as a standard single-objective global optimization problem, which can simultaneously achieve the layout of sensors that meet the constraints and the minimum cost of using the layout information through the problem objectives and constraint devices. Since the process and results of determining the layout information can be optimized through integer programming, the spatial layout generation from coarse to fine is achieved, providing high-precision target sensors and layout information.
  • the method can integrate an evaluation system that maximizes perception coverage and minimizes construction costs, and can meet the needs of various application scenarios, such as evaluating the existing spatial layout effect, optimizing the existing layout plan, and proposing new layout suggestions, etc. It supports the automatic selection of target sensors from candidate sensors, and supports users to iteratively modify the existing layout information and evaluation criteria based on their own needs. Since this method is applicable to various common IOT sensor spatial layout problems, it is highly versatile and easy to implement, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensor.
  • Step S605 interactive layout update.
  • step S605 of the present disclosure since the problem of determining the layout information can be modeled as an integer programming problem, and all layout constraint information can be abstracted through the indicator set and perception strength evaluation point of the sensor. Therefore, after obtaining the initial result of the layout, the target model of the planning problem can be reconstructed by adding, deleting and modifying constraints such as perception strength constraints, selection preference constraints, number constraints and hard constraints to update the required layout, thereby achieving the technical effect of improving the efficiency of obtaining new layout information when adjusting the layout requirements.
  • constraints such as perception strength constraints, selection preference constraints, number constraints and hard constraints
  • Step S606 optimizing the layout results.
  • the advantage of discretization is that the layout problem can be simplified, thereby achieving the technical effect of improving the speed of solving the layout information.
  • the layout results obtained by discretizing space and parameters can be optimized.
  • each (x, y, ⁇ ) in s' can be optimized, that is, The position and orientation information of the target sensor can be optimized while keeping the others unchanged.
  • the objective function is as follows: min ⁇ j
  • the simulated annealing method can be used to optimize the above objective function to obtain ⁇ (x j , y j , ⁇ j ) ⁇ , where the difference between the position information and the target position information is less than the position information threshold, and the difference between the direction information and the target direction information is less than the direction information threshold, to generate and output the final layout information of the target sensor.
  • Figure 9 is a schematic diagram of a given layout space according to an embodiment of the present disclosure.
  • the space to be laid out can be circled on the corresponding software or application of the user's terminal device, so that the terminal device can display the layout space as shown in Figure 9.
  • the layout space after the layout space is displayed on the operation interface, it can be detected whether the user has a layout operation instruction on the operation interface. If the user needs to layout sensors in the area where the sensors are to be laid out, the corresponding control can be clicked on the operation interface to generate a layout operation instruction, and the candidate sensor set where the sensors are to be deployed can be determined on the area where the sensors are to be laid out through the terminal device, and based on the area and the sensor set, the demand information of each candidate sensor in the sensor set can be determined, and the constraint layout of the sensor set can be obtained by integrating the demand information, and the target sensor to be deployed in the area can be screened from all candidate sensors by integer programming processing of the sensor set and the constraint layout, and the layout information for deploying the target sensor in the area can be determined, and the layout information of the area can be displayed on the operation interface for the user to deploy the corresponding sensor in the corresponding area according to the layout information.
  • Figure 10 is a schematic diagram of a sensor layout scheme according to an embodiment of the present disclosure. As shown in Figure 10, based on the above method, a layout scheme for IOT sensors in the given layout space can be generated, and the black dots in Figure 10 may be the locations where the IOT sensors are to be deployed.
  • the above method can be applied to the layout problems of different types of IOT sensors. Taking the camera of city command as an example, this method can be applied to the application scenarios of three different functional modules of point layout management to improve the unit utilization rate and overall use effect of the equipment.
  • this method can be used to quantitatively evaluate the existing IOT sensor layout schemes in urban streets, solving the problem of previous intelligent qualitative analysis of the advantages and disadvantages of layout schemes.
  • Users can customize the sensor usage cost c, and can evaluate the overall usage cost of the existing layout through ⁇ j c j x j , and can evaluate the existing layout schemes one by one through layout constraints, so as to find layout problems in the existing layout schemes and solve them in time.
  • the user information including but not limited to user device information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • the data for verification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
  • the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be deployed in the area can be determined
  • the candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint information of the sensing device set
  • the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and the layout information for deploying the target sensing device in the area can be determined.
  • the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.
  • a device for determining layout information of a sensing device configured to implement the method for determining layout information of a sensing device shown in FIG. 3 .
  • FIG11 is a schematic diagram of a device for determining layout information of a sensing device according to an embodiment of the present disclosure.
  • the device 1100 for determining layout information of a sensing device may include: a first collecting unit 1102 , a first acquiring unit 1104 , a determining unit 1106 , and a processing unit 1108 .
  • the first collecting unit 1102 is configured to collect an area where sensing devices are to be arranged, wherein the area where sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is configured to be arranged with at least one candidate sensing device.
  • the first acquisition unit 1104 is configured to acquire a candidate sensing device set corresponding to the area where the sensing devices are to be arranged, wherein the candidate sensing device set at least includes candidate sensing devices located at candidate arrangement positions.
  • the determining unit 1106 is configured to determine constraint information for placing the sensing devices based on the area where the sensing devices are to be placed and the candidate sensing device set, wherein the constraint information is configured to indicate requirement information for placing at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be placed.
  • the processing unit 1108 is configured to perform integer programming processing on the candidate sensing device set and the constraint condition information, obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and output layout information in the area where the target sensing device is located.
  • the first acquisition unit 1102, the first acquisition unit 1104, the determination unit 1106 and the processing unit 1108 correspond to steps S302 to S308 in Example 1, and the four units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1.
  • the above-mentioned units can be hardware components or software components stored in a memory (e.g., memory 1604) and processed by one or more processors (e.g., processors 1602a, 1602b..., 1602n), and the above-mentioned units can also be run in the computer terminal 160 provided in Example 6 as part of the device.
  • a layout device for a sensing device configured to implement the layout method for a sensing device shown in FIG. 4 .
  • FIG12 is a schematic diagram of a layout device of a sensing device according to an embodiment of the present disclosure.
  • the layout device 1200 of the sensing device may include: a second acquisition unit 1202 , a second acquisition unit 1204 , and a layout unit 1206 .
  • the second collecting unit 1202 is configured to collect information about the area where the sensing devices are to be deployed within the coverage area of the Internet of Things.
  • the second acquisition unit 1204 is configured to acquire layout information of at least one target sensing device in the area of the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing device to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of the sensing device to be arranged, and the constraint information is set to represent requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing device to be arranged, and is determined based on the area of the sensing device to be arranged and the candidate sensing device set.
  • the layout unit 1206 is configured to layout the target sensing device in the area where the sensing device is to be laid out based on the layout information.
  • the second acquisition unit 1202, the second acquisition unit 1204 and the layout unit 1206 correspond to steps S402 to S406 in Example 1, and the three units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1.
  • the above-mentioned units can be hardware components or software components stored in a memory (e.g., memory 1604) and processed by one or more processors (e.g., processors 1602a, 1602b..., 1602n), and the above-mentioned units can also be run in the computer terminal 160 provided in Example 6 as part of the device.
  • a layout device for a sensing device configured to implement the layout method for a sensing device shown in FIG. 5 .
  • FIG. 13 is a schematic diagram of another layout device of a sensing device according to an embodiment of the present disclosure.
  • the layout device 1300 of the sensing device may include: a first display unit 1302 and a second display unit 1304 .
  • the first display unit 1302 is configured to display the area where the sensing devices are to be arranged on the operation interface.
  • the second display unit 1304 is configured to respond to the layout operation instruction on the operation interface and display the layout information of at least one target sensing device in the area on the operation interface, wherein at least one target sensing device is to be arranged.
  • the candidate sensing devices satisfying the constraint information in the candidate sensing device set corresponding to the area of the local sensing device are obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes the candidate sensing devices located at the candidate layout positions in the area of the sensing device to be laid out, the constraint information is set to represent the requirement information of laying out at least one candidate sensing device in the candidate sensing device set in the area of the sensing device to be laid out, and is determined based on the area of the sensing device to be laid out and the candidate sensing device set.
  • first display unit 1302 and the second display unit 1304 correspond to steps S502 to S504 in Embodiment 1, and the two units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 1.
  • the above units may be hardware components or software components stored in a memory (e.g., memory 1604) and processed by one or more processors (e.g., processors 1602a, 1602b..., 1602n), and the above units may also be part of the device and run in the computer terminal 160 provided in Embodiment 6.
  • the area where the sensing device is to be arranged and the candidate layout positions of the sensing device to be deployed in the area can be determined
  • the candidate sensing device set where the sensing device to be deployed is located can be determined in the area where the sensing device is to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set
  • the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint condition information, and the layout information for deploying the target sensing device in the area can be determined.
  • the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of the layout information when deploying the sensing device in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.
  • the embodiment of the present disclosure may provide a computer terminal, which may be any computer terminal device in a computer terminal group.
  • the computer terminal may also be replaced by a terminal device such as a mobile terminal.
  • the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
  • the computer terminal can execute the following program codes of the method for determining the layout information of the sensing device: collecting the area where the sensing device is to be arranged, wherein the area where the sensing device is to be arranged includes: at least one candidate layout position, and the candidate layout position is set as the at least one candidate sensing device to be arranged; obtaining the candidate sensing device set corresponding to the area where the sensing device is to be arranged, wherein the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position; determining the constraint condition information for the layout of the sensing device based on the area where the sensing device is to be arranged and the candidate sensing device set, wherein the constraint condition information is set to indicate the constraint condition information for the layout of the sensing device.
  • the method comprises the following steps: first, obtaining demand information of at least one candidate sensing device in a candidate sensing device set for layout in an area; second, performing integer programming processing on the candidate sensing device set and constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and outputting layout information in an area where the target sensing device is located.
  • Fig. 14 is a block diagram of a computer terminal according to an embodiment of the present disclosure.
  • the computer terminal A may include: one or more (one is shown in the figure) processors 1402, a memory 1404 and a transmission device 1406.
  • the memory can be used to store software programs and modules, such as the program instructions/modules corresponding to the method for determining the layout information of the sensing device and the device in the embodiment of the present disclosure.
  • the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the above-mentioned method for determining the layout information of the sensing device is realized.
  • the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the processor can call the information and application program stored in the memory through the transmission device to execute the following steps: collect the area where the sensing device is to be arranged; obtain the candidate sensing device set corresponding to the area where the sensing device is to be arranged; determine the constraint condition information for the arrangement of the sensing device based on the area where the sensing device is to be arranged and the candidate sensing device set; perform integer programming processing on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and output the layout information in the area where the target sensing device is located.
  • the processor may also execute program code of the following steps: performing integer programming modeling on the candidate sensing device set and the constraint condition information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing device is to be laid out less than a cost threshold; using the target model to determine the target sensing device that satisfies the constraint condition information in the candidate sensing device set, wherein the layout cost of laying out the target sensing device in the area where the sensing device is to be laid out based on the layout information is less than the cost threshold.
  • the processor may also execute program code of the following steps: solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is a target sensing device, or is not a target sensing device; and selecting a target sensing device that meets the constraint condition information from the candidate sensing device set based on the target indicator information.
  • the processor may also execute program code of the following steps: adjusting constraint information; performing integer programming on the candidate sensing device set and the adjusted constraint information to obtain a target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.
  • the processor may also execute program code of the following steps: using the target sensing device that satisfies the constraint information before adjustment as an initial value, performing integer programming processing on the candidate sensing device set and the constraint information after adjustment, and obtaining the target sensing device that satisfies the constraint information after adjustment in the candidate sensing device set.
  • the processor may also execute program code of the following steps: adjusting the position information and/or direction information in the layout information based on the objective function, wherein the position information is set to represent the layout position of the target sensing device in the area of the sensing device to be laid out, and the direction information is set to represent the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and to make the difference between the adjusted direction information and the target direction information less than a direction information threshold; and outputting the adjusted position information and/or direction information.
  • the processor may further execute a program code of the following steps: adjusting the discretized position information and/or the discretized direction information based on the objective function.
  • the processor may further execute program code of the following steps: based on the area where the sensing devices are to be arranged and the candidate sensing device set, constrain the attribute information of the candidate sensing devices to obtain constraint condition information.
  • the processor may further execute program code of the following steps: uniformly sampling the area where the sensing device is to be deployed to obtain a target position.
  • the processor may further execute program code of the following steps: determining a candidate set of sensing devices based on a set of sensing device types allowed to be placed at candidate placement positions in the area where the sensing devices are to be placed and candidate placement positions in the area where the sensing devices are to be placed.
  • the processor may also execute program code of the following steps: at a candidate layout position in the area where the sensing device is to be laid out, collecting candidate direction information to obtain a candidate direction set, wherein the candidate direction information is set to indicate the orientation of the candidate sensing device at the candidate layout position, and the angles between multiple orientations corresponding to multiple candidate direction information are the same; based on the sensing device type set, determining candidate sensing devices that are allowed to be laid out in the orientations corresponding to the candidate direction information in the candidate direction set to obtain a candidate sensing device set, wherein the candidate sensing devices satisfy the sensing device types in the sensing device type set.
  • the processor may further execute program code of the following steps: discretely sampling the area where the sensing device is to be placed to obtain candidate placement positions, wherein the candidate placement positions do not include boundary sampling points of the area where the sensing device is to be placed.
  • the processor can call the information and application program stored in the memory through the transmission device to perform the following steps: collect the area of the sensing device to be arranged within the coverage of the Internet of Things; obtain the layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint condition information in the candidate sensing device set corresponding to the area of the sensing device to be arranged, and is obtained by integer programming processing of the candidate sensing device set and the constraint condition information, the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position in the area of the sensing device to be arranged, the constraint condition information is set to represent the requirement information of arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing device to be arranged, and is determined based on the area of the sensing device to be arranged and the candidate sensing device set; and the target sensing device is arranged in the area of the sensing device to
  • the processor can call the information and application stored in the memory through the transmission device to perform the following steps:
  • An area where sensing devices are to be arranged is displayed on an operation interface; in response to a layout operation instruction on the operation interface, layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area where sensing devices are to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area where sensing devices are to be arranged, and the constraint information is set to represent requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where sensing devices are to be arranged, and is determined based on the area where sensing devices are to be arranged and the candidate sensing device set.
  • a method for determining layout information of a sensing device is provided.
  • an area where sensing devices are to be arranged and candidate layout positions of sensing devices to be deployed in the area can be determined
  • a candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, demand information of each candidate sensing device in the sensing device set can be determined, and constraint information of the sensing device set can be obtained by integrating the demand information
  • the target sensing device to be deployed in the area can be screened out from all candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and layout information for deploying the target sensing device in the area can be determined, and since integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of
  • FIG. 14 is for illustration only, and the computer terminal A may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD, and other terminal devices.
  • FIG. 14 does not limit the structure of the above-mentioned computer terminal A.
  • the computer terminal A may also include more or fewer components (such as a network interface, a display device, etc.) than those shown in FIG. 14, or have a configuration different from that shown in FIG. 14.
  • a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
  • the embodiment of the present disclosure further provides a computer-readable storage medium.
  • the computer-readable storage medium may be configured to store program codes executed by the method for determining the layout information of the sensing device provided in the first embodiment.
  • the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.
  • the computer readable storage medium is configured to store the following steps: Program code: collect the area where the sensing device is to be arranged; obtain the candidate sensing device set corresponding to the area where the sensing device is to be arranged; determine the constraint information of the layout sensing device based on the area where the sensing device is to be arranged and the candidate sensing device set; perform integer programming processing on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and output the layout information in the area where the target sensing device is located.
  • the computer-readable storage medium may also execute program code for the following steps: performing integer programming modeling on the candidate sensing device set and the constraint information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing devices are to be laid out less than a cost threshold; using the target model to determine the target sensing device that satisfies the constraint information in the candidate sensing device set, wherein the layout cost of laying out the target sensing device in the area where the sensing devices are to be laid out based on the layout information is less than the cost threshold.
  • the computer-readable storage medium may also execute program code for the following steps: solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is a target sensing device, or is not a target sensing device; and selecting a target sensing device that satisfies the constraint condition information from the candidate sensing device set based on the target indicator information.
  • the computer-readable storage medium may further execute program code of the following steps: performing integer programming processing on the candidate sensing device set and the adjusted constraint condition information to obtain a target sensing device in the candidate sensing device set that satisfies the adjusted constraint condition information.
  • the computer-readable storage medium may also execute program code of the following steps: using the target sensing device that satisfies the constraint information before adjustment as an initial value, performing integer programming processing on the candidate sensing device set and the constraint information after adjustment, and obtaining the target sensing device that satisfies the constraint information after adjustment in the candidate sensing device set.
  • the computer-readable storage medium may also execute program code for the following steps: adjusting the position information and/or direction information in the layout information based on an objective function, wherein the position information is set to represent the layout position of the target sensing device in the area of the sensing device to be laid out, and the direction information is set to represent the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and to make the difference between the adjusted direction information and the target direction information less than a direction information threshold; and outputting the adjusted position information and/or direction information.
  • the computer-readable storage medium may also execute program code for the following steps: adjusting the discretized position information and/or the discretized direction information based on the objective function.
  • the computer-readable storage medium may further execute program code for the following steps: constraining attribute information of candidate sensing devices based on the area where the sensing devices are to be arranged and the candidate sensing device set to obtain constraint condition information.
  • the computer-readable storage medium may further execute program code for the following steps: uniformly sampling the area where the sensing device is to be deployed to obtain a target position.
  • the computer-readable storage medium may further include program code for executing the following steps: determining a candidate set of sensing devices based on a set of sensing device types allowed to be laid out at candidate layout positions in the area where the sensing devices are to be laid out, and candidate layout positions in the area where the sensing devices are to be laid out.
  • the computer-readable storage medium may also execute program code for the following steps: collecting candidate direction information at a candidate layout position in the area where the sensing device is to be laid out, and obtaining a candidate direction set, wherein the candidate direction information is set to indicate the orientation of the candidate sensing device at the candidate layout position, and the angles between multiple orientations corresponding to multiple candidate direction information are the same; based on the sensing device type set, determining candidate sensing devices that are allowed to be laid out in the orientations corresponding to the candidate direction information in the candidate direction set, and obtaining a candidate sensing device set, wherein the candidate sensing devices satisfy the sensing device types in the sensing device type set.
  • the computer-readable storage medium may further execute program code of the following steps: discretely sampling the area where the sensing device is to be placed to obtain candidate placement positions, wherein the candidate placement positions do not include boundary sampling points of the area where the sensing device is to be placed.
  • a computer-readable storage medium is configured to store program code for executing the following steps: collecting an area of sensing devices to be deployed within the coverage of an Internet of Things; obtaining layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing devices to be deployed, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of the sensing devices to be deployed, the constraint information is set to represent requirement information for deploying at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be deployed, and is determined based on the area of the sensing devices to be deployed and the candidate sensing device set; and the target sensing device is deployed in the area of the sensing devices to be deployed based on the layout information.
  • a computer-readable storage medium is configured to store program codes for executing the following steps: displaying an area of sensing devices to be laid out on an operation interface; and displaying layout information of at least one target sensing device in the area on the operation interface in response to a layout operation instruction applied to the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of sensing devices to be laid out, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of sensing devices to be laid out, and the constraint information is configured to represent requirement information for laying out at least one candidate sensing device in the candidate sensing device set in the area of sensing devices to be laid out, and is determined based on the area of sensing devices to be laid out and the candidate sensing device set.
  • An embodiment of the present disclosure may provide an electronic device, which may include a memory and a processor.
  • FIG15 is a block diagram of an electronic device for determining a layout information of a sensing device according to an embodiment of the present disclosure.
  • the electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers,
  • the electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are provided as examples and are not intended to limit implementations of the present disclosure described and/or claimed herein.
  • the device 1500 includes a computing unit 1501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1502 or a computer program loaded from a storage unit 1508 into a random access memory (RAM) 1503.
  • ROM read-only memory
  • RAM random access memory
  • various programs and data required for the operation of the device 1500 can also be stored.
  • the computing unit 1501, the ROM 1502, and the RAM 1503 are connected to each other via a bus 1504.
  • An input/output (I/O) interface 1505 is also connected to the bus 1504.
  • a number of components in the device 1500 are connected to the I/O interface 1505, including: an input unit 1506, such as a keyboard, a mouse, etc.; an output unit 1504, such as various types of displays, speakers, etc.; a storage unit 1508, such as a disk, an optical disk, etc.; and a communication unit 1509, such as a network card, a modem, a wireless communication transceiver, etc.
  • the communication unit 1509 allows the device 1500 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 1501 may be a variety of general and/or special processing components with processing and computing capabilities. Some examples of the computing unit 1501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc.
  • the computing unit 1501 performs the various methods and processes described above, such as a method for determining the layout information of a sensing device.
  • the method for determining the layout information of a sensing device may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1508.
  • part or all of the computer program may be loaded and/or installed on the device 1500 via the ROM 1502 and/or the communication unit 1509.
  • the computer program When the computer program is loaded into the RAM 1503 and executed by the computing unit 1501, one or more steps of the method for determining the layout information of the sensing device described above may be performed.
  • the computing unit 1501 may be configured to execute the method for determining the layout information of the sensing device in any other appropriate manner (for example, by means of firmware).
  • FIG. 16 is a hardware structure block diagram of a computer terminal (or mobile device) configured to implement a method for determining layout information of a sensing device according to an embodiment of the present disclosure.
  • the computer terminal 160 may include one or more (1602a, 1602b, ..., 1602n are used to illustrate) processors 1602 (the processor 1602 may include but is not limited to a microprocessor (Microcontroller Unit, referred to as MCU) or a programmable logic device (Field Programmable Gate Array, referred to as FPGA) and other processing devices), a memory 1604 configured to store data, and a transmission module 1606 configured to have a communication function.
  • MCU Microcontroller Unit
  • FPGA Field Programmable Gate Array
  • a computer terminal 160 may also include: a display, an input/output interface (I/O interface), a universal serial bus (Universal Serial A computer terminal 160 may include a USB port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and/or a camera. It will be appreciated by those skilled in the art that the structure shown in FIG. 16 is for illustration only and does not limit the structure of the electronic device. For example, the computer terminal 160 may include more or fewer components than those shown in FIG. 16 , or may have a configuration different from that shown in FIG. 16 .
  • Figure 16 can not only be used as an exemplary block diagram of the above-mentioned computer terminal 160 (or mobile device), but can also be used as an exemplary block diagram of the above-mentioned server.
  • Figure 2 shows a block diagram of an embodiment of using the computer terminal 160 (or mobile device) shown in the above-mentioned Figure 16 as a computing node in the computing environment 201.
  • Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs complex programmable logic devices
  • Various implementations can include: being implemented in one or more computer programs that can be executed and/or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • a programmable processor which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • the program code configured to implement the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, causes the functions/operations specified in the flow chart and/or block diagram to be implemented.
  • the program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing.
  • a more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display, monitor) configured to display information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer.
  • a display device e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display, monitor) configured to display information to the user
  • a keyboard and pointing device e.g., a mouse or trackball
  • Other types of devices may also be configured to provide interaction with the user.
  • the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
  • the systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components.
  • the components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
  • a computer system may include a client and a server.
  • the client and the server are generally remote from each other and usually interact through a communication network.
  • the relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other.
  • the server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are schematic, such as the division of units, which is a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer to
  • the computer device (which may be a personal computer, server or network device, etc.) executes all or part of the steps of the methods of the embodiments of the present disclosure.
  • the aforementioned storage medium includes: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
  • the disclosed embodiments provide a method for determining layout information of sensing devices and an electronic device, which can determine an area where sensing devices are to be arranged and candidate layout positions of sensing devices to be deployed in the area, determine a candidate sensing device set where the sensing devices to be deployed are located in the area where the sensing devices are to be arranged, and determine demand information of each candidate sensing device in the sensing device set based on the area and the sensing device set, integrate the demand information to obtain constraint information of the sensing device set, and screen out target sensing devices to be deployed in the area from all candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and determine layout information for deploying the target sensing devices in the area.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

Embodiments of the present disclosure disclose a method for determining layout information of a sensing device, and an electronic device. The method comprises: collecting an area in which a sensing device is to be laid out, said area comprising at least one candidate layout position, and the candidate layout position being configured for at least one candidate sensing device to be laid out; acquiring a candidate sensing device set corresponding to the area in which the sensing device is to be laid out, the candidate sensing device set at least comprising a candidate sensing device located at a candidate layout position; on the basis of the area in which the sensing device is to be laid out and the candidate sensing device set, determining constraint condition information for laying out a sensing device; and performing integer programming processing on the candidate sensing device set and the constraint condition information, to obtain at least one target sensing device in the candidate sensing device set which satisfies the constraint condition information, and outputting layout information in the area in which the target sensing device is located.

Description

感应设备的布局信息的确定方法和电子设备Method for determining layout information of sensing device and electronic device

交叉援引Cross-references

本公开要求于2023年08月03日提交中国专利局、申请号202310975377.8、申请名称“感应设备的布局信息的确定方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application filed with the Chinese Patent Office on August 3, 2023, with application number 202310975377.8 and application name “Method for determining layout information of a sensing device and electronic device”, the entire contents of which are incorporated by reference in this disclosure.

技术领域Technical Field

本公开涉及计算机领域,具体而言,涉及一种感应设备的布局信息的确定方法和电子设备。The present disclosure relates to the field of computers, and in particular to a method for determining layout information of a sensing device and an electronic device.

背景技术Background Art

目前,物联网(Internet of Things,简称为IOT)传感器可以提供不间断的自动感知、数据记录和告警提醒等各类服务。由于IOT传感器的感知效果与自身的感知范围密切相关,为了实现较好的感知效果,通常会在给定区域内部署多个IOT传感器,实现对给定区域内的全方位感知。At present, Internet of Things (IOT) sensors can provide various services such as uninterrupted automatic perception, data recording, and alarm reminders. Since the perception effect of IOT sensors is closely related to their own perception range, in order to achieve better perception effects, multiple IOT sensors are usually deployed in a given area to achieve all-round perception in the given area.

在相关技术中,确定部署IOT传感器所在区域的布局信息多依赖人工经验,且根据布局信息安装IOT传感器之后的感知效果和感知范围也与人工经验密切相关,然而,由于基于人工经验对IOT传感器布局,会存在不同IOT传感器的适应性差,以及布局信息的精度低的情况。因此,仍存在确定目标感应设备的布局信息的效率低的技术问题。In the related art, the layout information of the area where the IOT sensors are deployed mostly relies on manual experience, and the perception effect and perception range after the IOT sensors are installed according to the layout information are also closely related to manual experience. However, due to the layout of IOT sensors based on manual experience, there will be poor adaptability of different IOT sensors and low accuracy of layout information. Therefore, there is still a technical problem of low efficiency in determining the layout information of the target sensing device.

针对上述的问题,目前尚未提出有效的解决方案。To address the above-mentioned problems, no effective solution has been proposed yet.

发明内容Summary of the invention

本公开实施例提供了一种感应设备的布局信息的确定方法和电子设备,以至少解决确定目标感应设备的布局信息的效率低的技术问题。The embodiments of the present disclosure provide a method for determining layout information of a sensing device and an electronic device, so as to at least solve the technical problem of low efficiency in determining layout information of a target sensing device.

根据本公开实施例的一个方面,提供了一种感应设备的布局信息的确定方法。该方法可以包括:采集待布局感应设备的区域,其中,待布局感应设备的区域包括:至少一候选布局位置,候选布局位置设置为待布局至少一候选感应设备;获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集至少包括位于候选布局位置上的候选感应设备;基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息,其中,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息;对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。According to one aspect of an embodiment of the present disclosure, a method for determining layout information of a sensing device is provided. The method may include: collecting an area where sensing devices are to be laid out, wherein the area where sensing devices are to be laid out includes: at least one candidate layout position, and the candidate layout position is set to be at least one candidate sensing device to be laid out; obtaining a candidate sensing device set corresponding to the area where sensing devices are to be laid out, wherein the candidate sensing device set at least includes a candidate sensing device located at the candidate layout position; determining constraint information for laying out sensing devices based on the area where sensing devices are to be laid out and the candidate sensing device set, wherein the constraint information is set to represent the requirement information for laying out at least one candidate sensing device in the candidate sensing device set in the area where sensing devices are to be laid out; performing integer programming processing on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and outputting the layout information in the area where the target sensing device is located.

根据本公开实施例的另一个方面,提供了一种感应设备的布局方法。该方法可以 包括:采集物联网覆盖范围内的待布局感应设备的区域;获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定;基于布局信息将目标感应设备布局在待布局感应设备的区域中。According to another aspect of the embodiments of the present disclosure, a method for arranging a sensing device is provided. The method comprises: collecting areas of sensing devices to be arranged within the coverage of the Internet of Things; obtaining layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing devices to be arranged, and is obtained by integer programming processing of the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of the sensing devices to be arranged, the constraint information is set to represent the requirement information of arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be arranged, and is determined based on the area of the sensing devices to be arranged and the candidate sensing device set; and the target sensing device is arranged in the area of the sensing devices to be arranged based on the layout information.

根据本公开实施例的另一个方面,提供了一种感应设备的布局方法。该方法可以包括:在操作界面上显示待布局感应设备的区域;响应作设置为操作界面上的布局操作指令,在操作界面上显示至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。According to another aspect of the embodiments of the present disclosure, a method for layout of sensing devices is provided. The method may include: displaying an area of sensing devices to be laid out on an operation interface; in response to a layout operation instruction set as an action on the operation interface, displaying layout information of at least one target sensing device in the area on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of sensing devices to be laid out, and is obtained by integer programming processing of the candidate sensing device set and constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of sensing devices to be laid out, the constraint information is set to represent the requirement information for laying out at least one candidate sensing device in the candidate sensing device set in the area of sensing devices to be laid out, and is determined based on the area of sensing devices to be laid out and the candidate sensing device set.

根据本公开实施例的另一方面,还提供了一种电子设备,电子设备可以包括存储器和处理器:存储器设置为存储计算机可执行指令,处理器设置为执行计算机可执行指令,上述计算机可执行指令被处理器执行时,实现上述任意一项的感应设备的布局信息的确定方法。According to another aspect of an embodiment of the present disclosure, an electronic device is further provided. The electronic device may include a memory and a processor: the memory is configured to store computer-executable instructions, and the processor is configured to execute computer-executable instructions. When the above-mentioned computer-executable instructions are executed by the processor, any one of the above-mentioned methods for determining layout information of a sensing device is implemented.

根据本公开实施例的另一方面,还提供了一种处理器,处理器设置为运行程序,其中,在程序运行时执行上述任意一项的感应设备的布局信息的确定方法。According to another aspect of an embodiment of the present disclosure, a processor is further provided. The processor is configured to run a program, wherein any one of the above methods for determining layout information of a sensing device is executed when the program is running.

根据本公开实施例的另一方面,还提供了一种计算机可读存储介质,计算机可读存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述任意一项的感应设备的布局信息的确定方法。According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute any one of the above-mentioned methods for determining layout information of a sensing device.

在本公开实施例中,采集待布局感应设备的区域,其中,待布局感应设备的区域包括:至少一候选布局位置,候选布局位置设置为待布局至少一候选感应设备;获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集至少包括位于候选布局位置上的候选感应设备;基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息,其中,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息;对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。也即, 在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。In the disclosed embodiment, the area where the sensing devices are to be arranged is collected, wherein the area where the sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is set as at least one candidate sensing device to be arranged; the candidate sensing device set corresponding to the area where the sensing devices are to be arranged is obtained, wherein the candidate sensing device set at least includes the candidate sensing devices located at the candidate arrangement position; based on the area where the sensing devices are to be arranged and the candidate sensing device set, constraint information for the arrangement of the sensing devices is determined, wherein the constraint information is set to indicate the requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be arranged; integer programming is performed on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and the layout information in the area where the target sensing device is located is output. That is, In the embodiment of the present disclosure, the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be deployed in the area can be determined, the candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint information of the sensing device set, and the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and the layout information for deploying the target sensing device in the area can be determined. Since the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

容易注意到的是,上面的通用描述和后面的详细描述是为了对本公开进行举例和解释,并不构成对本公开的限定。It is easily noted that the above general description and the following detailed description are for the purpose of exemplifying and explaining the present disclosure, and are not to be construed as limiting the present disclosure.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明设置为解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are provided to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:

图1是根据本公开实施例的一种感应设备的布局信息的确定方法的应用场景的示意图;FIG1 is a schematic diagram of an application scenario of a method for determining layout information of a sensing device according to an embodiment of the present disclosure;

图2是根据本公开实施例的一种感应设备的布局信息的确定方法的计算环境的结构框图;2 is a structural block diagram of a computing environment of a method for determining layout information of a sensing device according to an embodiment of the present disclosure;

图3是根据本公开实施例的一种感应设备的布局信息的确定方法的流程图;3 is a flow chart of a method for determining layout information of a sensing device according to an embodiment of the present disclosure;

图4是根据本公开实施例的一种感应设备的布局方法的流程图;FIG4 is a flow chart of a method for arranging a sensing device according to an embodiment of the present disclosure;

图5是根据本公开实施例的另一种感应设备的布局方法的流程图;FIG5 is a flow chart of another method for arranging a sensing device according to an embodiment of the present disclosure;

图6是根据本公开实施例的一种基于0-1整数规划IOT传感器布局方法的流程图;FIG6 is a flow chart of a method for placing IOT sensors based on 0-1 integer programming according to an embodiment of the present disclosure;

图7是根据本公开实施例的一种待布局感应设备的区域的示意图;FIG7 is a schematic diagram of a region where sensing devices are to be arranged according to an embodiment of the present disclosure;

图8是根据本公开实施例的一种感应设备的属性信息的示意图;FIG8 is a schematic diagram of attribute information of a sensing device according to an embodiment of the present disclosure;

图9是根据本公开实施例的一种给定布局空间的示意图;FIG9 is a schematic diagram of a given layout space according to an embodiment of the present disclosure;

图10是根据本公开实施例的一种感应设备的布局方案的示意图;FIG10 is a schematic diagram of a layout solution of a sensing device according to an embodiment of the present disclosure;

图11是根据本公开实施例的一种感应设备的布局信息的确定装置的示意图;FIG11 is a schematic diagram of a device for determining layout information of a sensing device according to an embodiment of the present disclosure;

图12是根据本公开实施例的一种数据的查询装置的示意图;FIG12 is a schematic diagram of a data query device according to an embodiment of the present disclosure;

图13是根据本公开实施例的另一种感应设备的布局装置的示意图;FIG13 is a schematic diagram of another layout device of a sensing device according to an embodiment of the present disclosure;

图14是根据本公开实施例的一种计算机终端的结构框图;FIG14 is a structural block diagram of a computer terminal according to an embodiment of the present disclosure;

图15是根据本公开实施例的一种感应设备的布局信息的确定方法的电子设备的 框图;FIG. 15 is an electronic device of a method for determining layout information of a sensing device according to an embodiment of the present disclosure. block diagram;

图16是根据本公开实施例的一种设置为实现感应设备的布局信息的确定方法的计算机终端(或移动设备)的硬件结构框图;16 is a hardware structure block diagram of a computer terminal (or mobile device) configured to implement a method for determining layout information of a sensing device according to an embodiment of the present disclosure;

具体实施方式DETAILED DESCRIPTION

为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。In order to enable those skilled in the art to better understand the scheme of the present disclosure, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present disclosure.

需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

首先,在对本公开实施例进行描述的过程中出现的部分名词或术语适用于如下解释:First, some nouns or terms that appear in the process of describing the embodiments of the present disclosure are subject to the following explanations:

IOT传感器,为接入物联网来检测和响应环境变化的设备,通过向其输入来自各种来源,比如,光、温度和运动等,并输出有价值的信息,通过接入物联网,可以与其他连接到设备和管理系统进行数据共享;IOT sensors are devices that connect to the Internet of Things to detect and respond to environmental changes. They input data from various sources, such as light, temperature, and motion, and output valuable information. By connecting to the Internet of Things, data can be shared with other devices and management systems.

感知范围,为传感器可以有效感知的区域,通常可以以多边形、扇形和圆形进行变大,在本公开实施例中,传感器的感知范围以IOT传感器的感知方向、感知角度和感知深度构成的扇形进行表达;The sensing range is the area that the sensor can effectively sense, which can usually be enlarged in polygonal, sectoral and circular shapes. In the embodiment of the present disclosure, the sensing range of the sensor is expressed in a sector consisting of the sensing direction, sensing angle and sensing depth of the IOT sensor;

传感器布局,为给定的一个布局区域和一组传感器类型,可以通过算法将不同传感器类型的实例按照一定的布局要求布设到布局区域内;Sensor layout, given a layout area and a set of sensor types, can use algorithms to place instances of different sensor types into the layout area according to certain layout requirements;

布局区域,为空间中待布设传感器的区域F,由该区域的边界B和区域内部的障碍物O表示,即F=(B,O),其中O={Oi}可以表示区域内的障碍物集合;The layout area is the area F in the space where the sensors are to be deployed, which is represented by the boundary B of the area and the obstacles O inside the area, that is, F = (B, O), where O = {O i } can represent the set of obstacles in the area;

布局成本,为布局中应用的传感器的成本总和,每个传感器的成本可以包括硬件成本、安装成本和运维成本等。The layout cost is the sum of the costs of the sensors used in the layout. The cost of each sensor may include hardware cost, installation cost, and operation and maintenance cost.

实施例1Example 1

根据本公开实施例,提供了一种感应设备的布局信息的确定方法,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺 序执行所示出或描述的步骤。According to an embodiment of the present disclosure, a method for determining layout information of a sensing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps can be performed in a different order than that shown here. The steps shown or described are performed in sequence.

根据本公开实施例的一个方面,提供了一种感应设备的布局信息的确定方法。作为一种可选的实施方式,上述感应设备的布局信息的确定方法可以但不限于应设置为如图1所示的应用场景。图1是根据本公开实施例的一种感应设备的布局信息的确定方法的应用场景的示意图,如图1所示,在应用场景中,终端设备102可以但不限于通过网络104与服务器106进行通信,服务器106可以但不限于对数据库108执行操作,例如,写数据操作或读数据操作。上述终端设备102可以但不限包括人机交互屏幕、处理器及存储器。上述人机交互屏幕可以但不限于用于显示在终端设备102上待布局感应设备的区域、感应设备集、约束条件信息和布局信息等。上述处理器可以但不限于用于响应上述人机交互操作,执行对应的操作,或者,生成对应的指令,并将生成的指令发送给服务器106。上述存储器用于存储相关处理数据,如待布局感应设备的区域、感应设备集、约束条件信息、目标感应设备和布局信息等。According to one aspect of an embodiment of the present disclosure, a method for determining layout information of a sensing device is provided. As an optional implementation, the method for determining layout information of the sensing device may be, but is not limited to, set to an application scenario as shown in FIG. 1. FIG. 1 is a schematic diagram of an application scenario of a method for determining layout information of a sensing device according to an embodiment of the present disclosure. As shown in FIG. 1, in the application scenario, a terminal device 102 may, but is not limited to, communicate with a server 106 through a network 104, and the server 106 may, but is not limited to, perform operations on a database 108, such as write data operations or read data operations. The terminal device 102 may, but is not limited to, include a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen may, but is not limited to, be used to display the area, sensing device set, constraint information, and layout information of the sensing device to be laid out on the terminal device 102. The processor may, but is not limited to, be used to respond to the human-computer interaction operation, perform a corresponding operation, or generate a corresponding instruction, and send the generated instruction to the server 106. The memory is used to store relevant processing data, such as the area, sensing device set, constraint information, target sensing device, and layout information of the sensing device to be laid out.

作为一种可选的方式,可以在服务器106上执行感应设备的布局信息的确定方法中的以下步骤:步骤S102,采集待布局感应设备的区域,其中,待布局感应设备的区域包括:至少一候选布局位置,候选布局位置设置为待布局至少一候选感应设备;步骤S104,获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集至少包括位于候选布局位置上的候选感应设备;步骤S106,基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息;步骤S108,对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。As an optional manner, the following steps in the method for determining the layout information of the sensing device may be executed on the server 106: Step S102, collecting the area where the sensing device is to be laid out, wherein the area where the sensing device is to be laid out includes: at least one candidate layout position, and the candidate layout position is set as the at least one candidate sensing device to be laid out; Step S104, acquiring a candidate sensing device set corresponding to the area where the sensing device is to be laid out, wherein the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position; Step S106, determining constraint condition information for laying out the sensing device based on the area where the sensing device is to be laid out and the candidate sensing device set; Step S108, performing integer programming processing on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and outputting the layout information in the area where the target sensing device is located.

采用上述方式,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,从而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。By adopting the above method, the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be deployed in the area can be determined, and the candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set. By performing integer programming processing on the sensing device set and the constraint condition information, the target sensing devices to be deployed in the area are screened out from all the candidate sensing devices, and the layout information for deploying the target sensing devices in the area can be determined, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing devices and solving the technical problem of low efficiency in determining the layout information of the target sensing devices.

图2是根据本公开实施例的一种感应设备的布局信息的确定方法的计算环境的结构框图,如图2所示,计算环境201包括运行在分布式网络上的多个(图中采用210-1,210-2,…,来示出)计算节点(如服务器)。计算节点都包含本地处理和内存资源,终端用户202可以在计算环境201中远程运行应用程序或存储数据。应用程序可以作为计算环境201中的多个服务220-1,220-2,220-3和220-4进行提供,分别代表服务“A”,“D”,“E”和“H”。 FIG2 is a block diagram of a computing environment for a method for determining layout information of a sensing device according to an embodiment of the present disclosure. As shown in FIG2 , a computing environment 201 includes multiple computing nodes (such as servers) running on a distributed network (shown in the figure as 210-1, 210-2, ...). The computing nodes all contain local processing and memory resources, and the end user 202 can remotely run applications or store data in the computing environment 201. The application can be provided as multiple services 220-1, 220-2, 220-3 and 220-4 in the computing environment 201, representing services "A", "D", "E" and "H" respectively.

终端用户202可以通过客户端上的web浏览器或其它软件应用程序提供和访问服务,在一些实施例中,可以将终端用户202的供应和/或请求提供给入口网关230。入口网关230可以包括一个相应的代理来处理针对服务(计算环境201中提供的一个或多个服务)的供应和/或请求。The end user 202 can provide and access services through a web browser or other software application on the client, and in some embodiments, the end user 202's provision and/or request can be provided to the entry gateway 230. The entry gateway 230 can include a corresponding agent to handle the provision and/or request for the service (one or more services provided in the computing environment 201).

服务是根据计算环境201支持的各种虚拟化技术来提供或部署的。在一些实施例中,可以根据基于虚拟机(Virtual Machine,简称为VM)的虚拟化、基于容器的虚拟化和/或类似的方式提供服务。基于虚拟机的虚拟化可以是通过初始化虚拟机来模拟真实的计算机,在不直接接触任何实际硬件资源的情况下执行程序和应用程序。在虚拟机虚拟化机器的同时,根据基于容器的虚拟化,可以启动容器来虚拟化整个操作系统(Operating System,简称为OS),以便多个工作负载可以在单个操作系统实例上运行。Services are provided or deployed based on various virtualization technologies supported by the computing environment 201. In some embodiments, services can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and/or similar methods. Virtual machine-based virtualization can be to simulate a real computer by initializing a virtual machine to execute programs and applications without directly contacting any actual hardware resources. While the virtual machine virtualizes the machine, according to container-based virtualization, a container can be started to virtualize the entire operating system (OS) so that multiple workloads can run on a single operating system instance.

在基于容器虚拟化的一个实施例中,服务的若干容器可以被组装成一个Pod(例如,Kubernetes Pod)。举例来说,如图2所示,服务220-2可以配备一个或多个Pod240-1,240-2,…,240-N(统称为Pod)。Pod可以包括代理245和一个或多个容器242-1,242-2,…,242-M(统称为容器)。Pod中一个或多个容器处理与服务的一个或多个相应功能相关的请求,代理245通常控制与服务相关的网络功能,如路由、负载均衡等。其它服务也可以配备类似于Pod的Pod。In an embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). For example, as shown in FIG. 2 , a service 220-2 can be equipped with one or more Pods 240-1, 240-2, ..., 240-N (collectively referred to as Pods). A Pod can include a proxy 245 and one or more containers 242-1, 242-2, ..., 242-M (collectively referred to as containers). One or more containers in a Pod process requests related to one or more corresponding functions of the service, and the proxy 245 typically controls network functions related to the service, such as routing, load balancing, etc. Other services can also be equipped with Pods similar to Pods.

在操作过程中,执行来自终端用户202的用户请求可能需要调用计算环境201中的一个或多个服务,执行一个服务的一个或多个功能可能需要调用另一个服务的一个或多个功能。如图2所示,服务“A”220-1从入口网关230接收终端用户202的用户请求,服务“A”220-1可以调用服务“D”220-2,服务“D”220-2可以请求服务“E”220-3执行一个或多个功能。During operation, executing a user request from the end user 202 may require invoking one or more services in the computing environment 201, and executing one or more functions of one service may require invoking one or more functions of another service. As shown in FIG2 , service “A” 220-1 receives a user request from the end user 202 from the ingress gateway 230, service “A” 220-1 may call service “D” 220-2, and service “D” 220-2 may request service “E” 220-3 to execute one or more functions.

上述的计算环境可以是云计算环境,资源的分配由云服务提供上管理,允许功能的开发无需考虑实现、调整或扩展服务器。该计算环境允许开发人员在不构建或维护复杂基础设施的情况下执行响应事件的代码。服务可以被分割完成一组可以自动独立伸缩的功能,而不是扩展单个硬件设备来处理潜在的负载。The computing environment described above can be a cloud computing environment, where the allocation of resources is managed by the cloud service provider, allowing the development of functions without considering the implementation, adjustment or expansion of servers. The computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be divided into a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential loads.

在上述运行环境下,本公开提供了如图3所示的感应设备的布局信息的确定方法。需要说明的是,该实施例的感应设备的布局信息的确定方法可以由图1所示实施例的计算机设备执行。图3是根据本公开实施例的一种感应设备的布局信息的确定方法的流程图,如图3所示,该方法可以包括如下步骤:In the above operating environment, the present disclosure provides a method for determining the layout information of the sensing device as shown in FIG3. It should be noted that the method for determining the layout information of the sensing device of this embodiment can be executed by the computer device of the embodiment shown in FIG1. FIG3 is a flow chart of a method for determining the layout information of the sensing device according to an embodiment of the present disclosure. As shown in FIG3, the method may include the following steps:

步骤S302,采集待布局感应设备的区域,其中,待布局感应设备的区域包括:至少一候选布局位置,候选布局位置设置为待布局至少一候选感应设备。Step S302 , collecting an area where sensing devices are to be arranged, wherein the area where sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is set as at least one candidate sensing device to be arranged.

在本公开上述步骤S302提供的技术方案中,可以采集待布局感应设备的区域以及该区域内所在布局感应设备的候选布局位置,其中,感应设备可以为设置为自动感知、数据记录以及告警提醒的传感器,比如,IOT传感器。区域可以称为布局区域。待布 局感应设备的区域可以包括至少一候选布局位置,以及无需部署感应设备的区域,也即,除候选布局位置以外的区域,其中,无需部署感应设备的区域可以为室外的建筑物、室内立柱等障碍物区域,此处不做具体限制。需要说明的是,上述无需部署感应设备的区域为举例说明,此处不做具体限制。候选布局位置可以设置为待布局至少一候选感应设备,可以为在区域内部署感应设备的位置,也即,可以在候选布局位置上部署感应设备。In the technical solution provided in the above step S302 of the present disclosure, the area of the sensing device to be deployed and the candidate layout positions of the sensing device to be deployed in the area can be collected, wherein the sensing device can be a sensor set to automatically sense, record data and alarm, such as an IOT sensor. The area can be called a layout area. The area of the local sensing device may include at least one candidate layout position, and an area where the sensing device does not need to be deployed, that is, an area other than the candidate layout position, wherein the area where the sensing device does not need to be deployed may be an outdoor building, an indoor column or other obstacle area, and no specific restrictions are made here. It should be noted that the above-mentioned area where the sensing device does not need to be deployed is for example and no specific restrictions are made here. The candidate layout position can be set as at least one candidate sensing device to be deployed, and can be a location where the sensing device is deployed in the area, that is, the sensing device can be deployed at the candidate layout position.

可选地,布局区域可以为待布局感应设备的多边形的区域,该区域可以表示为F=(B,O),其中,F可以设置为表示待布局感应设备的区域;B可以设置为表示该布局区域的边界多边形的集合;O可以设置为表示该区域内所有无法部署感应设备的区域多边形的集合。Optionally, the layout area can be a polygonal area where the sensing devices are to be laid out, and the area can be expressed as F=(B, O), wherein F can be set to represent the area where the sensing devices are to be laid out; B can be set to represent a set of boundary polygons of the layout area; and O can be set to represent a set of area polygons within the area where all sensing devices cannot be deployed.

可选地,若需要对某一区域进行感知时,可以先确定出该区域,并检测出该区域中所有无法部署感应设备的障碍物的所在区域,从而该区域内部的障碍物的区域,确定出该区域内能够部署感应设备的候选布局位置,由于考虑到可以对所要感知的区域中无法部署感应设备进行确定,在之后部署感应设备时可以剔除此类区域,从而达到了提高部署感应设备的效率和准确性的技术效果。Optionally, if it is necessary to sense a certain area, the area can be determined first, and the areas where all obstacles where sensing devices cannot be deployed are detected, so as to determine the candidate layout positions where sensing devices can be deployed in the area. Since it can be determined that sensing devices cannot be deployed in the area to be sensed, such areas can be eliminated when the sensing devices are deployed later, thereby achieving the technical effect of improving the efficiency and accuracy of deploying sensing devices.

步骤S304,获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集至少包括位于候选布局位置上的候选感应设备。Step S304: obtaining a candidate sensing device set corresponding to the area where the sensing device is to be arranged, wherein the candidate sensing device set at least includes candidate sensing devices located at candidate arrangement positions.

在本公开上述步骤S304提供的技术方案中,在采集待布局感应设备的区域之后,可以获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集可以设置为至少包括位于候选布局位置上的候选感应设备,可以称为传感器候选集。In the technical solution provided in the above step S304 of the present disclosure, after collecting the area where the sensing devices are to be laid out, a candidate sensing device set corresponding to the area where the sensing devices are to be laid out can be obtained, wherein the candidate sensing device set can be set to at least include candidate sensing devices located at candidate layout positions, which can be called a sensor candidate set.

可选地,在获取候选的感应设备集之前,可以预先确定出感应设备的属性信息,比如,可以确定出感应设备在区域内的部署位置、该感应设备的感知方向角、感知角、感知的最小深度和最大深度、感知衰退因子和使用代价等属性信息。需要说明的是,上述感应设备的属性信息为举例说明,此处不做具体限制。Optionally, before obtaining the candidate set of sensing devices, the attribute information of the sensing devices may be determined in advance, for example, the deployment location of the sensing devices in the area, the sensing direction angle, the sensing angle, the minimum and maximum depth of the sensing device, the sensing decay factor, the use cost, and other attribute information may be determined. It should be noted that the attribute information of the sensing devices described above is for illustrative purposes only and is not specifically limited here.

可选地,基于感应设备的属性信息,可以确定出每个感应设备的类型,从而可以汇总所有感应设备的类型所在集合作为感应设备的类型集,其中,类型集可以设置为表示允许使用的感应设备的类型的集合。Optionally, based on the attribute information of the sensing device, the type of each sensing device may be determined, so that the set of types of all sensing devices may be summarized as a type set of sensing devices, wherein the type set may be set to represent a set of types of sensing devices allowed to be used.

可选地,可以根据感应设备的类型集和待布局候选感应设备的候选布局位置,可以构建出候选的感应设备集,便于从感应设备集中选取出满足条件的至少一目标感应设备。Optionally, a candidate sensing device set may be constructed according to the sensing device type set and the candidate layout positions of the candidate sensing devices to be laid out, so as to select at least one target sensing device that meets the conditions from the sensing device set.

在本公开实施例中,由于属于同一种类型的感应设备之间可以共享感知角、感知的最小深度、最大深度、感知衰退信息和使用代价,因此,基于上述理由,可以对感应设备按照上述不同的感知角、最小深度和最大深度等信息划分成不同的类型集中,从而可以考虑到不同类型的感应设备,并确定出设置为筛选出目标感应设备的感应设 备集,从而达到了能够提高针对不同的感应设备的适应性的目的,可以确定出不同类型的感应设备的布局信息,进而实现了可以得到面向通用的感应设备进行布局的技术效果。In the embodiment of the present disclosure, since the sensing devices of the same type can share the perception angle, the minimum depth of perception, the maximum depth, the perception decay information and the usage cost, based on the above reasons, the sensing devices can be divided into different types according to the above different perception angles, minimum depths and maximum depths, so that different types of sensing devices can be taken into account and the sensing devices set to filter out the target sensing devices can be determined. The preparation set is used to achieve the purpose of improving the adaptability to different sensing devices, and the layout information of different types of sensing devices can be determined, thereby achieving the technical effect of obtaining a layout for general sensing devices.

步骤S306,基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息,其中,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息。Step S306, based on the area where the sensing devices are to be arranged and the candidate sensing device set, determining constraint information for placing the sensing devices, wherein the constraint information is set to represent requirement information for placing at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be arranged.

在本公开上述步骤S306提供的技术方案中,在获取待布局感应设备的区域对应的候选的感应设备集之后,可以基于待布局感应设备的区域和候选的感应设备集,确定出感应设备集中每个候选感应设备的需求信息,从而得到布局感应设备的约束条件信息,其中,约束条件信息可以设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,也可以称为布局约束或约束布局。需求信息可以设置为表征感应设备的布局需求。In the technical solution provided in the above step S306 of the present disclosure, after obtaining the candidate sensing device set corresponding to the area where the sensing device is to be arranged, the requirement information of each candidate sensing device in the sensing device set can be determined based on the area where the sensing device is to be arranged and the candidate sensing device set, so as to obtain the constraint information of the layout of the sensing device, wherein the constraint information can be set to represent the requirement information of at least one candidate sensing device in the candidate sensing device set for layout in the area where the sensing device is to be arranged, which can also be called layout constraint or constrained layout. The requirement information can be set to represent the layout requirement of the sensing device.

可选地,根据感应设备的布局需求,针对区域和感应设备集,设置布局约束。比如,可以通过约束每个感应设备所要部署的候选布局位置处的感知强度,得到合理的感应设备的布局和直接约束感应设备的布局指标进行布局,可以得到感应设备的约束条件信息。Optionally, layout constraints are set for the region and the set of sensing devices according to the layout requirements of the sensing devices. For example, by constraining the sensing strength at the candidate layout position where each sensing device is to be deployed, a reasonable layout of the sensing devices can be obtained and the layout indicators of the sensing devices can be directly constrained for layout, so as to obtain the constraint condition information of the sensing devices.

举例而言,基于上述布局方法,可以对感应设备的感知强度、选用偏好和感应设备个数等进行约束,并可以对每个候选布局位置上感应设备集中的感应设备的参数进行调整。若对某一感应设备的参数设备不满意,但想要保留该候选布局位置的感应设备时,可以通过设备约束条件信息,从该候选布局位置的感应设备集中选取其他候选感应设备,便于确定出目标感应设备。For example, based on the above layout method, the sensing strength, selection preference and number of sensing devices of the sensing device can be constrained, and the parameters of the sensing devices in the sensing device set at each candidate layout position can be adjusted. If you are not satisfied with the parameters of a certain sensing device, but want to keep the sensing device at the candidate layout position, you can select other candidate sensing devices from the sensing device set at the candidate layout position through the device constraint information, so as to determine the target sensing device.

步骤S308,对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。Step S308 , performing integer programming processing on the candidate sensing device set and the constraint condition information, obtaining at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and outputting layout information in the area where the target sensing device is located.

在本公开上述步骤S308提供的技术方案中,在基于待局部感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息之后,可以对候选的感应设备集和约束条件信息进行整数规划处理,确定出候选的感应设备集中满足约束条件信息的至少一目标感应设备,可以确定并输出该目标感应设备所在区域中的布局信息,其中,布局信息可以称为布局方案,也可以称为布局结果,可以包括目标感应设备的个数以及每个目标感应设备所要部署在的区域上的相应布局位置等信息。需要说明的是,上述布局信息中包含的内容为举例说明,此处不做具体限制。In the technical solution provided in the above step S308 of the present disclosure, after determining the constraint information of the layout sensing device based on the area of the local sensing device and the candidate sensing device set, the candidate sensing device set and the constraint information can be processed by integer programming to determine at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and the layout information in the area where the target sensing device is located can be determined and output, wherein the layout information can be referred to as a layout scheme or a layout result, and can include information such as the number of target sensing devices and the corresponding layout position of each target sensing device in the area to be deployed. It should be noted that the content contained in the above layout information is for illustrative purposes only and is not specifically limited here.

可选地,在得到布局感应设备的约束条件之后,可以对感应设备集中每个候选感应设备是否满足约束条件进行判断。若不满足约束条件,则可以说明该候选感应设备无法部署到待布局感应设备的区域中。若满足约束条件,则可以将该候选感应设备确 定为目标感应设备,并可以确定出将目标感应设备应该部署到对应区域中的哪些位置上,才能保证对整个区域进行感知,从而得到最终的目标感应设备的布局信息。Optionally, after obtaining the constraint conditions for placing the sensing devices, it is possible to determine whether each candidate sensing device in the sensing device set meets the constraint conditions. If the constraint conditions are not met, it can be said that the candidate sensing device cannot be deployed in the area where the sensing devices are to be placed. If the constraint conditions are met, the candidate sensing device can be confirmed. It is determined as the target sensing device, and it can be determined where the target sensing device should be deployed in the corresponding area to ensure that the entire area is sensed, thereby obtaining the final layout information of the target sensing device.

可选地,由于整数规划为一种研究约束条件下目标函数极值问题的数学理论和方法,规划中的部分或全部变量可以限制为整数,若在线性模型中,变量限制为整数。在本公开实施例中,可以将确定目标感应设备的布局信息的问题建模形成一个整数规划问题,并可以实现通过感应设备的感知强度等信息抽象成约束条件信息,可以确定感应设备集中的候选感应设备是否满足约束条件信息,得到布局信息。可以通过添加、删除、修改约束条件信息,重新构建整数规划问题来更新目标感应设备以及布局信息,从而实现了提高确定目标传感器的布局信息的效率的技术效果。Optionally, since integer programming is a mathematical theory and method for studying the extreme value problem of the objective function under constraints, some or all variables in the planning can be restricted to integers, if in a linear model, the variables are restricted to integers. In the disclosed embodiment, the problem of determining the layout information of the target sensing device can be modeled into an integer programming problem, and the information such as the perception strength of the sensing device can be abstracted into constraint information, and it can be determined whether the candidate sensing devices in the sensing device set meet the constraint information to obtain the layout information. The target sensing device and layout information can be updated by adding, deleting, and modifying the constraint information and reconstructing the integer programming problem, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensor.

在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,可以将上述方法应设置为摄像机、烟感传感器的布设、无线网络信号发射器、手机基站或无人机基站等类似设备的布局评估和设备的布局信息生成。该系统可以为IOT传感器使用者,比如,可以为城市执法部门、安全监管单位、园区管理者、家庭或个人等。基于上述方法,可以有效地降低IOT传感器的采购、安装成本,降低智能分析的计算成本,并可以提高IOT传感器的单位使用率。需要说明的是,上述应用场景和应用系统为举例说明,此处不做具体限制。In the disclosed embodiment, the area where the sensing device is to be deployed and the candidate layout positions of the sensing device to be deployed in the area can be determined, the candidate sensing device set where the sensing device is to be deployed can be determined in the area where the sensing device is to be deployed, and the demand information of each candidate sensing device in the sensing device set can be determined based on the area and the sensing device set, and the demand information is integrated to obtain the constraint information of the sensing device set, and the target sensing device to be deployed in the area is screened from all candidate sensing devices by integer programming processing of the sensing device set and the constraint information, and the layout information of the target sensing device to be deployed in the area can be determined, and the above method can be set to the layout evaluation of similar devices such as cameras, smoke sensors, wireless network signal transmitters, mobile phone base stations or drone base stations, and the layout information generation of devices. The system can be used for IOT sensor users, such as urban law enforcement departments, security supervision units, park managers, families or individuals, etc. Based on the above method, the procurement and installation costs of IOT sensors can be effectively reduced, the calculation cost of intelligent analysis can be reduced, and the unit utilization rate of IOT sensors can be improved. It should be noted that the above application scenarios and application systems are for illustration only and no specific limitations are imposed herein.

通过本公开上述步骤S302至步骤S308,在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。Through the above steps S302 to S308 of the present disclosure, in the embodiment of the present disclosure, the area of the sensing device to be arranged and the candidate layout positions of the sensing device to be deployed in the area can be determined, and the candidate sensing device set where the sensing device to be deployed is located can be determined in the area of the sensing device to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set, and the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint condition information, and the layout information for deploying the target sensing device in the area can be determined. Since the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

下面对该实施例的上述方法进行进一步地介绍。The above method of this embodiment is further introduced below.

作为一种可选的实施方式,步骤S306,对候选的感应设备集和约束条件信息进行 整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,包括:对候选的感应设备集和约束条件信息进行整数规划建模,得到目标模型,其中,目标模型设置为使待布局感应设备的区域的布局成本小于成本阈值;使用目标模型在候选的感应设备集中确定满足约束条件信息的目标感应设备,其中,基于布局信息将目标感应设备布局在待布局感应设备的区域中的布局成本小于成本阈值。As an optional implementation, in step S306, the candidate sensing device set and constraint information are analyzed. Integer programming processing is performed to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, including: performing integer programming modeling on the candidate sensing device set and the constraint condition information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing device is to be arranged less than a cost threshold; using the target model to determine the target sensing device that satisfies the constraint condition information in the candidate sensing device set, wherein the layout cost of placing the target sensing device in the area where the sensing device is to be arranged based on the layout information is less than the cost threshold.

在该实施例中,可以对候选的感应设备集和约束条件信息进行整数规划建模,得到目标模型,从而可以使用目标模型在候选的感应设备集中确定候选感应设备是否满足约束条件信息,将满足约束条件信息的候选感应设备作为目标感应设备,其中,目标模型可以设置为使待布局感应设备的区域的布局成本小于成本阈值,可以为经过整数规划建模得到的模型。基于布局信息将目标感应设备布局在待布局感应设备的区域中的布局成本小于成本阈值,其中,布局成本也可以称为使用代价。成本阈值可以称为极小化布局成本,可以为预先设置的数值,也可以为根据实际情况自行设置的数值,需要说明的是,上述成本阈值的设置方式为举例说明,此处不做具体限制。In this embodiment, integer programming modeling can be performed on the candidate sensing device set and constraint information to obtain a target model, so that the target model can be used to determine whether the candidate sensing device satisfies the constraint information in the candidate sensing device set, and the candidate sensing device that satisfies the constraint information is used as the target sensing device, wherein the target model can be set to make the layout cost of the area where the sensing device is to be laid out less than the cost threshold, and can be a model obtained through integer programming modeling. The layout cost of laying out the target sensing device in the area where the sensing device is to be laid out based on the layout information is less than the cost threshold, wherein the layout cost can also be referred to as the usage cost. The cost threshold can be referred to as the minimized layout cost, which can be a pre-set value, or a value set by itself according to actual conditions. It should be noted that the above-mentioned cost threshold setting method is for example only and is not specifically limited here.

可选地,可以通过约束每个感应设备的感知强度,得到合理的感应设备布局和直接约束传感器布局指标。Optionally, a reasonable sensing device layout and a direct constraint on sensor layout indicators can be obtained by constraining the sensing strength of each sensing device.

可选地,基于上述布局方法,可以支持感知强度约束,可以基于在每个感知强度评估点上预计算的感知强度,约束在第i个感知强度的评估点上的感知强度不小于bi,此时,可以将感知强度的约束表示为∑jwijxj≥bj,其中,wij可以设置为表示第j个感应设备在第i个感知强度的评估点位上的感知强度。Optionally, based on the above layout method, perception strength constraints can be supported. Based on the perception strength pre-calculated at each perception strength evaluation point, the perception strength at the i-th perception strength evaluation point can be constrained to be not less than b i . At this time, the perception strength constraint can be expressed as ∑ j w ij x j ≥ b j , where w ij can be set to represent the perception strength of the j-th sensing device at the i-th perception strength evaluation point.

可选地,基于上述布局方法,可以支持传感器选用偏好约束,在候选的感应设备集中的某一个或部分候选感应设备出现在最终的布局信息中,则可以将选用偏好约束表示为∑p∈Pxp=||P||,其中,P可以设置为表示选用偏好的感应设备实例序号集;||||可以设置为计算集合中的元素的个数。Optionally, based on the above layout method, sensor selection preference constraints can be supported. If one or some of the candidate sensing devices in the candidate sensing device set appear in the final layout information, the selection preference constraint can be expressed as ∑ p∈P x p =||P||, where P can be set to a set of sensing device instance serial numbers representing the selection preference; |||| can be set to the number of elements in the calculation set.

可选地,基于上述布局方法,可以支持传感器个数约束,由于使用的感应设备实例的总数不超过N,则可以将传感器个数约束表示为∑jxj≤N。Optionally, based on the above layout method, a sensor number constraint may be supported. Since the total number of sensing device instances used does not exceed N, the sensor number constraint may be expressed as ∑ j x j ≤N.

可选地,基于上述布局方法,可以支持已有感应设备硬约束,对布局中已存在部分感应设备,且希望这些感应设备能保留在未来布局中可以将此类约束类比于感应设备选用偏高约束。假设保留的感应设备序号集合为H,此时可以将感应设备硬约束表示为∑h∈HxH=||H||。Optionally, based on the above layout method, existing hard constraints of sensing devices can be supported. For some sensing devices that already exist in the layout and are expected to be retained in future layouts, such constraints can be analogized to high constraints on the selection of sensing devices. Assuming that the set of reserved sensing device numbers is H, the hard constraints of the sensing devices can be expressed as ∑ h∈H x H =||H||.

可选地,基于上述约束,对已有的感应设备参数调整,可以对某个位置已存在的感应设备参数设置不满意,但希望保留该位置的传感器,通过约束设备,从该位置点位的其他候选感应设备中选取新的感应设备,其约束可以表示为∑k∈Kxk=1,其中,K可以设置为表示当前点位其他候选感应设备的指标集合。Optionally, based on the above constraints, the parameters of the existing sensing devices can be adjusted. If the existing sensing device parameter settings at a certain location are not satisfactory but the sensor at that location is desired to be retained, a new sensing device can be selected from other candidate sensing devices at that location by constraining the device. The constraint can be expressed as ∑ k∈K x k = 1, where K can be set to a set of indicators representing other candidate sensing devices at the current location.

可选地,可以添加对传感器指标集合X=(x1,x2,…,xn)的约束,即xj∈{0,1}, 其中,j=1,2,…,n。Optionally, a constraint on the sensor index set X = (x 1 , x 2 , ..., x n ) may be added, that is, x j ∈ {0, 1}, Among them, j = 1, 2,…, n.

可选地,基于上述的对候选感应设备的约束条件信息,可以采用整数规划对感应设备的布局问题进行数学建模,规划问题中布局成本的目标为极小化布局成本,可以对整个布局问题得到如下目标模型:
min∑jcjxj
s.t.∑jwijxj≥bi
p∈Pxp=||P||,
jxj≤N,
h∈HxH=||H||,
k∈Kxk=1,
xj∈{0,1}
Optionally, based on the constraint information of the candidate sensing devices, integer programming can be used to mathematically model the layout problem of the sensing devices. The goal of the layout cost in the planning problem is to minimize the layout cost. The following target model can be obtained for the entire layout problem:
min∑ j c j x j ,
st∑ j w ij x j ≥ b i ,
p∈P x p =||P||,
j x j ≤ N,
h∈H x H =||H||,
k∈K x k = 1,
x j ∈ {0, 1}

在本公开实施例中,上述整数规划建模为一个标准的单目标全局优化问题,可以通过问题目标和约束设备同时实现了满足设置为约束的感应设备的布局以及布局信息的使用代价最小,由于可以通过整数规划对确定布局信息的过程和结果进行优化,实现由粗到精的空间布局生成,提供高精度的目标感应设备以及布局信息。该方法可以自身集成了感知覆盖度最大化和建设成本最小化的评估体系,可以实现满足多种应用场景的需求,比如,对现有空间布局效果评估、优化现有布局方案和提出全新布局建议等,支持从候选感应设备中自动选取出目标感应设备,支持用户基于自身需求迭代修改现有的布局信息以及评价标准,由于该方法适用于常见的各类IOT传感器空间布局问题,通用性强且易于实施,进而实现了提高确定目标感应设备的布局信息的效率的技术效果。In the disclosed embodiment, the above integer programming is modeled as a standard single-objective global optimization problem, which can simultaneously achieve the layout of the sensing devices set as constraints and the minimum cost of using the layout information through the problem objectives and constraint devices. Since the process and results of determining the layout information can be optimized through integer programming, the spatial layout generation from coarse to fine is achieved, providing high-precision target sensing devices and layout information. The method can integrate an evaluation system that maximizes perception coverage and minimizes construction costs, and can meet the needs of various application scenarios, such as evaluating the existing spatial layout effect, optimizing the existing layout plan, and proposing new layout suggestions, etc. It supports the automatic selection of target sensing devices from candidate sensing devices, and supports users to iteratively modify the existing layout information and evaluation criteria based on their own needs. Since this method is applicable to various common IOT sensor space layout problems, it is highly versatile and easy to implement, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device.

作为一种可选的实施方式,使用目标模型在候选的感应设备集中确定满足约束条件信息的目标感应设备,包括:对目标模型进行求解,得到候选感应设备对应的目标指标信息,其中,目标指标信息设置为表示候选感应设备为目标感应设备,或不为目标感应设备;基于目标指标信息在候选的感应设备集中选取满足约束条件信息的目标感应设备。As an optional implementation, a target sensing device that satisfies constraint condition information is determined from a set of candidate sensing devices using a target model, including: solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is a target sensing device, or is not a target sensing device; and selecting a target sensing device that satisfies constraint condition information from the set of candidate sensing devices based on the target indicator information.

在该实施例中,可以通过对目标模型进行求解,得到候选感应设备对应的目标指标信息,并可以判断目标指标信息是否满足约束条件信息,若满足,可以将该目标指标信息对应的候选感应设备确定为目标感应设备,其中,目标指标信息可以设置为确定候选感应设备为目标感应设备或不为目标感应设备,可以为对应的候选感应设备的指标向量。In this embodiment, the target indicator information corresponding to the candidate sensing device can be obtained by solving the target model, and it can be determined whether the target indicator information satisfies the constraint condition information. If so, the candidate sensing device corresponding to the target indicator information can be determined as the target sensing device, wherein the target indicator information can be set to determine whether the candidate sensing device is the target sensing device or not, and can be the indicator vector of the corresponding candidate sensing device.

可选地,可以对上述目标模型进行求解,确定出候选感应设备的目标指示信息,并确定目标指示信息是否满足目标模型中的约束条件信息,也即,则可以确定指标向 量X=(x1,x2,…,xn)中的每个元素xi为0还是1。若xi=0,则可以说明目标指示信息不满足约束条件信息,则可以剔除此类候选感应设备。若xi=1,则可以说明目标指示信息满足约束条件信息,则可以将该候选感应设备确定为目标感应设备。由此,可以生成目标感应设备布局的初始结果S’。Optionally, the target model can be solved to determine the target indication information of the candidate sensing device, and to determine whether the target indication information satisfies the constraint information in the target model. Each element xi in the quantity X = ( x1 , x2 , ..., xn ) is 0 or 1. If xi = 0, it can be said that the target indication information does not meet the constraint information, and such candidate sensing devices can be eliminated. If xi = 1, it can be said that the target indication information meets the constraint information, and the candidate sensing device can be determined as the target sensing device. Thus, the initial result S' of the target sensing device layout can be generated.

作为一种可选的实施方式,步骤S306,该方法还包括:调整约束条件信息;对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,包括:对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。As an optional implementation, step S306, the method also includes: adjusting the constraint information; performing integer programming processing on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, including: performing integer programming processing on the candidate sensing device set and the adjusted constraint information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.

在该实施例中,可以对约束条件信息进行调整,并可以对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。In this embodiment, the constraint information may be adjusted, and integer programming may be performed on the candidate sensing device set and the adjusted constraint information to obtain a target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.

在本公开实施例中,由于可以将确定布局信息的问题建模成一个整数规划问题,并可以实现通过感应设备的指标集和感知强度评估点来抽象所有布局约束信息。因此,在得到布局的初始结果之后,可以通过添加、删除和修改感知强度约束、选用偏好约束、个数约束和硬约束等约束条件,从而可以重新构建规划问题的目标模型,来更新所需的布局,进而实现了提高在调整布局需求时,得到新的布局信息的效率的技术效果。In the disclosed embodiment, since the problem of determining layout information can be modeled as an integer programming problem, and all layout constraint information can be abstracted through the indicator set and perception strength evaluation point of the sensing device. Therefore, after obtaining the initial result of the layout, the target model of the planning problem can be reconstructed by adding, deleting and modifying constraint conditions such as perception strength constraints, selection preference constraints, number constraints and hard constraints to update the required layout, thereby achieving the technical effect of improving the efficiency of obtaining new layout information when adjusting the layout requirements.

可选地,在上述对约束条件信息进行调整,生成调整后的约束条件信息对应的目标感应设备和布局信息的过程中,可以重复进行约束条件设备以及目标模型求解,得到满意的结果,在求解新的规划问题的目标模型时,可以将之前的结果作为初始值进行优化,有助于减少优化迭代次数,快速得到调整后的布局信息。Optionally, in the process of adjusting the constraint information and generating target sensing equipment and layout information corresponding to the adjusted constraint information, the constraint equipment and target model solving can be repeated to obtain satisfactory results. When solving the target model of a new planning problem, the previous results can be used as initial values for optimization, which helps to reduce the number of optimization iterations and quickly obtain the adjusted layout information.

作为一种可选的实施方式,对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备,包括:以满足调整前的约束条件信息的目标感应设备作为初始值,对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。As an optional implementation, integer programming is performed on the candidate sensing device set and the adjusted constraint information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint information, including: taking the target sensing device that satisfies the constraint information before adjustment as an initial value, performing integer programming on the candidate sensing device set and the adjusted constraint information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.

在该实施例中,可以以满足调整前的约束条件信息的目标感应设备作为初始值,对候选的感应设备集和调整后的约束条件信息进行整数规划处理,从候选的感应设备集中确定出满足调整后的约束条件信息的目标感应设备,其中,初始值可以为调整前的目标感应设备的初始结果。In this embodiment, the target sensing device that satisfies the constraint information before adjustment can be used as the initial value, and integer programming processing is performed on the candidate sensing device set and the adjusted constraint information, and the target sensing device that satisfies the adjusted constraint information is determined from the candidate sensing device set, wherein the initial value can be the initial result of the target sensing device before adjustment.

在本公开实施例中,可以将由调整前的目标模型中确定出的满足调整前的约束条件信息的目标感应设备作为初始值,并可以由该目标感应设备的指标向量X=(x1,x2,…,xn)得到的目标感应设备的布局信息的初始结果S’中的{s’}都来自于 对布局空间和候选布局位置、方向的离散采样,离散的好处是可以对布局问题进行简化,从而实现提高求解布局信息的速度的技术效果。In the embodiment of the present disclosure, the target sensing device that satisfies the constraint condition information before adjustment determined in the target model before adjustment can be used as the initial value, and the initial result S' of the layout information of the target sensing device obtained by the indicator vector X=(x 1 , x 2 , ..., x n ) of the target sensing device is {s'} from Discrete sampling of the layout space and candidate layout positions and directions has the advantage of simplifying the layout problem, thereby achieving the technical effect of increasing the speed of solving layout information.

可选地,然而基于上述离散求解的方法,存在得到的布局信息不够精确的技术问题。因此,为了进一步提高布局信息的精度,可以对空间采样点进行进一步加密,可以将布局约束设备中的约束条件建模成最小化布局能量问题,从而对初始结果S’中每个感应设备的位置和感知方向进行局部优化调整,得到更精细的结果S”。Optionally, however, based on the above discrete solution method, there is a technical problem that the obtained layout information is not accurate enough. Therefore, in order to further improve the accuracy of the layout information, the spatial sampling points can be further encrypted, and the constraints in the layout constraint device can be modeled as a layout energy minimization problem, so as to locally optimize and adjust the position and sensing direction of each sensing device in the initial result S', and obtain a more refined result S".

在相关技术中,当需要调整布局信息时,需要重新确定目标感应设备,以及确定目标感应设备所要部署的区域中的位置,因此,仍存在调整布局信息的效率低的技术问题。然而,在本公开实施例中,由于可以将确定布局信息的问题建模成一个整数规划问题,并且实现通过感应设备指标集和感知强度评估点来抽象所有布局约束信息。在得到初始的布局结果之后,可以对约束条件进行调整,比如,可以对约束条件进行添加、删除和修改等方式,重新构建整数规划的目标模型来更新布局,并且在基于上述过程对布局进行更新的过程中,可以重复调整约束条件以及重新构建目标模型的步骤,得到更新布局后满意的布局信息。由于在更新布局中求解目标模型时,可以将更新之前的结果作为初始值进行优化,达到了减少优化迭代次数的目的,从而实现了提高调整布局信息的效率的技术效果。In the related art, when the layout information needs to be adjusted, the target sensing device needs to be re-determined, and the position of the target sensing device in the area to be deployed needs to be determined. Therefore, there is still a technical problem of low efficiency in adjusting the layout information. However, in the embodiment of the present disclosure, the problem of determining the layout information can be modeled as an integer programming problem, and all layout constraint information can be abstracted through the sensing device indicator set and the perception strength evaluation point. After obtaining the initial layout result, the constraints can be adjusted. For example, the constraints can be added, deleted, and modified, and the target model of the integer programming can be reconstructed to update the layout. In the process of updating the layout based on the above process, the steps of adjusting the constraints and reconstructing the target model can be repeated to obtain satisfactory layout information after the layout is updated. Since the result before the update can be used as the initial value for optimization when solving the target model in the updated layout, the purpose of reducing the number of optimization iterations is achieved, thereby achieving the technical effect of improving the efficiency of adjusting the layout information.

作为一种可选的实施方式,该方法还可以包括:基于目标函数对布局信息中位置信息和/或方向信息进行调整,其中,位置信息设置为表示目标感应设备在待布局感应设备的区域中的布局位置,方向信息设置为表示目标感应设备在布局位置上布局的朝向,目标函数设置为使调整后的位置信息与目标位置信息之间的差值小于位置信息阈值,且使调整后的方向信息与目标方向信息之间的差值小于方向信息阈值;输出调整后的位置信息和/或方向信息。As an optional implementation, the method may further include: adjusting the position information and/or direction information in the layout information based on the objective function, wherein the position information is set to represent the layout position of the target sensing device in the area where the sensing devices are to be laid out, and the direction information is set to represent the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and to make the difference between the adjusted direction information and the target direction information less than a direction information threshold; and outputting the adjusted position information and/or direction information.

在该实施例中,可以基于目标函数来对布局信息中的位置信息和/或方向信息进行调整,并可以输出调整后的位置信息和/或方向信息,其中,目标函数可以称为优化目标。位置信息可以设置为表示目标感应设备在待布局感应设备的区域中的局部位置,可以为布局信息中目标感应设备的感知方向。方向信息可以设置为表示目标感应设备在布局位置上布局的朝向,可以为布局信息中目标感应设备的布设角度。目标函数可以设置为使调整后的位置信息与目标位置信息之间的差值小于位置信息阈值,并且调整后的方向信息与目标方向信息之间的差值小于方向信息阈值。位置信息阈值和方向信息阈值可以为提前预设的数值,也可以为自行设置的数值。需要说明的是,上述位置信息阈值和方向信息阈值的设置方式为举例说明,此处不做具体限制。In this embodiment, the position information and/or direction information in the layout information can be adjusted based on the objective function, and the adjusted position information and/or direction information can be output, wherein the objective function can be called an optimization objective. The position information can be set to represent the local position of the target sensing device in the area where the sensing device is to be laid out, and can be the perception direction of the target sensing device in the layout information. The direction information can be set to represent the orientation of the layout of the target sensing device at the layout position, and can be the layout angle of the target sensing device in the layout information. The objective function can be set to make the difference between the adjusted position information and the target position information less than the position information threshold, and the difference between the adjusted direction information and the target direction information less than the direction information threshold. The position information threshold and the direction information threshold can be preset values in advance, or can be values set by themselves. It should be noted that the above-mentioned setting method of the position information threshold and the direction information threshold is for example, and no specific limitation is made here.

可选地,由目标模型中感应设备的指标向量X=(x1,x2,…,xn)得到的感应设备的布局初始结果S’中的{s’}都来自于对布局空间和候选布局位置、方向的离散采样。离散采样可以简化确定布局信息的问题,求解快,然而主要的缺点就是确定出的布局 信息不够精确。为了进一步提高传感器布局质量,可以将通过空间和参数离散化得到的布局结果进行优化。针对初始结果S’,可以优化其中每个s’中的(x,y,α),也即,可以优化目标感应设备的位置信息和方向信息,而保持其他不变,目标函数如下所示:
min∑j||wij(xj,yj,αj).xj-bj||2
Optionally, the {s'} in the initial layout result S' of the sensing device obtained by the indicator vector X = ( x1 , x2 , ..., xn ) of the sensing device in the target model all comes from discrete sampling of the layout space and the candidate layout positions and directions. Discrete sampling can simplify the problem of determining layout information and is fast to solve. However, the main disadvantage is that the determined layout The information is not accurate enough. In order to further improve the quality of sensor layout, the layout results obtained by spatial and parameter discretization can be optimized. For the initial result S', the (x, y, α) in each s' can be optimized, that is, the position information and direction information of the target sensing device can be optimized, while keeping the others unchanged. The objective function is as follows:
min∑ j ||w ij (x j , y j , α j ).x j -b j || 2 .

可选地,本公开实施例可以采用模拟退火方法优化上述目标函数,得到位置信息与目标位置信息之间的差值小于位置信息阈值,且方向信息与目标方向信息之间的差值小于方向信息阈值的{(xj,yj,αj)},生成且输出最终的目标感应设备的布局信息。需要说明的是,上述优化目标函数的方法为举例说明,此处不做具体限制。Optionally, the embodiment of the present disclosure may use a simulated annealing method to optimize the above objective function, obtain {(x j , y j , α j )} where the difference between the position information and the target position information is less than the position information threshold, and the difference between the direction information and the target direction information is less than the direction information threshold, and generate and output the final layout information of the target sensing device. It should be noted that the above method for optimizing the objective function is for illustration only and is not specifically limited here.

作为一种可选的实施方式,基于目标函数对布局信息中位置信息和/或方向信息进行调整,包括:基于目标函数对离散化的位置信息和/或离散化的方向信息进行调整。As an optional implementation, adjusting the position information and/or direction information in the layout information based on the objective function includes: adjusting the discretized position information and/or the discretized direction information based on the objective function.

在该实施例中,可以基于目标函数对离散化的位置信息和/或离散化的方向信息进行调整。In this embodiment, the discretized position information and/or the discretized direction information may be adjusted based on the objective function.

在本公开实施例中,可以假设各个目标感应设备在相应位置上的部署高度是一致的,因此,目标感应设备的部署位置只需要用(x,y)表示。对于部署在不同高度的目标感应设备,可以根据其在指定平面上的投影来表示其的感知范围和感知强度等信息。且在本公开实施例中,不考虑感应设备信号的反射和衍射等物理现象对感应设备的感知范围等的影响。In the disclosed embodiment, it can be assumed that the deployment heights of the target sensing devices at the corresponding positions are consistent. Therefore, the deployment positions of the target sensing devices only need to be represented by (x, y). For target sensing devices deployed at different heights, their sensing range and sensing intensity and other information can be represented according to their projections on the specified plane. In the disclosed embodiment, the influence of physical phenomena such as reflection and diffraction of the sensing device signal on the sensing range of the sensing device is not considered.

可选地,可以对布局控件、目标感应设备的位置信息以及方向信息进行离散采样,简化确定目标感应设备的布局信息的问题,实现了提高确定布局信息的效率的技术效果。Optionally, the position information and direction information of the layout control and the target sensing device may be discretely sampled to simplify the problem of determining the layout information of the target sensing device, thereby achieving the technical effect of improving the efficiency of determining the layout information.

作为一种可选的实施方式,步骤S306,基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息,包括:基于待布局感应设备的区域和候选的感应设备集,对候选感应设备的属性信息进行约束,得到约束条件信息。As an optional implementation, step S306, based on the area where the sensing devices are to be deployed and the candidate sensing device set, determines constraint information for deploying the sensing devices, including: based on the area where the sensing devices are to be deployed and the candidate sensing device set, constraining attribute information of the candidate sensing devices to obtain constraint information.

在该实施例中,可以基于待布局感应设备得到区域和候选的感应设备集,对候选感应设备的属性信息进行约束,得到约束条件信息,其中,属性信息可以设置为表征感应设备的属性,可以包括感应设备在布局区域的位置、感知方向角、感知角、感知的最小深度和最大深度、感知衰退因子和使用代价等信息。需要说明的是,上述属性信息为举例说明,此处不做具体限制。In this embodiment, based on the area and candidate sensing device set of the sensing devices to be deployed, the attribute information of the candidate sensing devices can be constrained to obtain constraint condition information, wherein the attribute information can be set to characterize the attributes of the sensing devices, and can include the position of the sensing device in the layout area, the sensing direction angle, the sensing angle, the minimum and maximum depth of the sensing, the sensing decay factor, the use cost, etc. It should be noted that the above attribute information is for example only and is not specifically limited here.

可选地,在公开实施例中,可以采用一个七元组刻画感应设备δ的属性信息,也即,δ=(x,y,α,θ,dn,df,σ,c),其中,(x,y)可以设置为表示感应设备在待布局的区域中的位置;α可以设置为表示感应设备的感知方向角;θ可以设置为表示感应设备的感知角;(dn,df)可以设置为表示感应设备的最小深度和最大深度;σ可以设置为表示感应设备的感知衰退因子;c可以设置为表示感应设备的使用代价,其中,最小深度也可以称为最小感知深度。最大深度也可以称为最大感知深度。 Optionally, in the disclosed embodiment, a seven-tuple may be used to describe the attribute information of the sensing device δ, that is, δ=(x, y, α, θ, d n , d f , σ, c), where (x, y) may be set to represent the position of the sensing device in the area to be laid out; α may be set to represent the sensing direction angle of the sensing device; θ may be set to represent the sensing angle of the sensing device; (d n , d f ) may be set to represent the minimum depth and maximum depth of the sensing device; σ may be set to represent the sensing decay factor of the sensing device; c may be set to represent the use cost of the sensing device, where the minimum depth may also be referred to as the minimum perception depth. The maximum depth may also be referred to as the maximum perception depth.

可选地,为了更好地刻画感应设备的感知效果,可以使用线性函数对感应设备的感知衰退进行刻画,即在dn处的感知力为1.0,则在距离感应设备距离d处的感知力为σ*(d-dn)/(df-dn)。在公开实施例中,可以假设属于同一类型t的感应设备共享感应设备的感知角、最小深度、最大深度、感知衰退因子和使用代价,即t=(θ,dn,df,σ,c)。由此,δ=(x,y,α,θ,dn,df,σ,c)此时可以简化为δ=(x,y,α,t)。Optionally, in order to better characterize the perception effect of the sensing device, a linear function may be used to characterize the perception decay of the sensing device, that is, if the perception at d n is 1.0, then the perception at a distance d from the sensing device is σ*(dd n )/(d f -d n ). In the disclosed embodiment, it may be assumed that sensing devices of the same type t share the perception angle, minimum depth, maximum depth, perception decay factor and usage cost of the sensing device, that is, t = (θ, d n , d f , σ, c). Therefore, δ = (x, y, α, θ, d n , d f , σ, c) can be simplified to δ = (x, y, α, t).

可选地,可以在布局任务中允许使用的感应设备类型的集合T={ti},其中,ti可以为定义得到的感应设备类型ti=(θi,dn,i,df,i,σi,ci),感应设备类型数量可以为ntOptionally, a set of sensing device types allowed to be used in the layout task may be T={ ti }, where ti may be a defined sensing device type ti =( θi , dn ,i , df ,i , σi , ci ), and the number of sensing device types may be nt .

可选地,可以根据感应设备的布局需求,针对空间初始化和感应设备候选集设置布局约束。Optionally, layout constraints may be set for the spatial initialization and the sensing device candidate set according to layout requirements of the sensing devices.

作为一种可选的实施方式,属性信息包括以下至少之一:感知强度,设置为表示候选感应设备对待布局感应设备的区域中目标位置的感知覆盖度;偏好标识,设置为表示允许候选感应设备确定为目标感应设备;布局数量,设置为表示在待布局感应设备的区域中允许布局候选感应设备的数量;已布局标识,设置为表示候选感应设备已布局在待布局感应设备的区域中,且允许将候选感应设备确定为目标感应设备;位置标识,设置为表示允许向位置标识所表示的位置,布局候选的感应设备集中除候选感应设备之外的其它候选感应设备;指标信息,设置为表示允许将候选感应设备确定为目标感应设备,或不允许将候选感应设备确定为目标感应设备。As an optional implementation, the attribute information includes at least one of the following: perception strength, which is set to indicate the perception coverage of the candidate sensing device to the target position in the area where the sensing device is to be arranged; preference flag, which is set to indicate that the candidate sensing device is allowed to be determined as the target sensing device; layout quantity, which is set to indicate the number of candidate sensing devices allowed to be arranged in the area where the sensing device is to be arranged; layout flag, which is set to indicate that the candidate sensing device has been arranged in the area where the sensing device is to be arranged, and the candidate sensing device is allowed to be determined as the target sensing device; position flag, which is set to indicate that other candidate sensing devices except the candidate sensing device are allowed to be arranged in the position indicated by the position flag in the candidate sensing device set; indicator information, which is set to indicate that the candidate sensing device is allowed to be determined as the target sensing device, or that the candidate sensing device is not allowed to be determined as the target sensing device.

在该实施例中,上述属性信息可以至少包括如下信息:感知强度,可以设置为表示候选感应设备对待布局感应设备的区域中目标位置的感知覆盖度;偏好标识可以设置为表示允许候选感应设备确定为目标感应设备;布局数量可以设置为表示在待布局感应设备的区域中允许布局候选感应设备的数量;已布局标识可以设置为表示候选感应设备已布局在待布局感应设备的区域中,且允许将候选感应设备确定为目标感应设备;位置标识可以设置为表示允许向位置标识所表示的位置,布局候选的感应设备集中除候选感应设备之外的其他候选感应设备;指标信息可以设置为表示允许将候选感应设备确定为目标感应设备,或不允许将候选感应设备确定为目标感应设备,其中,感知强度可以为感知强度约束。偏好标识可以为感应设备选用偏好约束。布局数量可以为感应设备个数约束。已布局标识可以为已有感应设备硬约束。位置标识可以为已有感应设备参数调整。指标信息可以为对感应设备指标集的约束。In this embodiment, the attribute information may include at least the following information: perception strength, which may be set to indicate the perception coverage of the target position of the candidate sensing device in the area where the sensing device is to be arranged; the preference flag may be set to indicate that the candidate sensing device is allowed to be determined as the target sensing device; the number of layouts may be set to indicate the number of candidate sensing devices allowed to be arranged in the area where the sensing device is to be arranged; the already arranged flag may be set to indicate that the candidate sensing device has been arranged in the area where the sensing device is to be arranged, and the candidate sensing device is allowed to be determined as the target sensing device; the position flag may be set to indicate that other candidate sensing devices other than the candidate sensing device in the candidate sensing device set are allowed to be arranged at the position indicated by the position flag; the index information may be set to indicate that the candidate sensing device is allowed to be determined as the target sensing device, or is not allowed to be determined as the target sensing device, wherein the perception strength may be a perception strength constraint. The preference flag may be a preference constraint for selecting a sensing device. The number of layouts may be a constraint on the number of sensing devices. The already arranged flag may be a hard constraint on an existing sensing device. The position flag may be a parameter adjustment for an existing sensing device. The index information may be a constraint on an index set of a sensing device.

可选地,通过约束每个感应设备评估点的感知强度得到合理的布局信息和直接约束条件信息的指标,可以进行如下感知强度约束:可以基于在每个感知强度评估点上预计算的感知强度,约束在第i个感知强度的评估点上的感知强度不小于bi,此时,可以将感知强度的约束表示为∑jwijxj≥bj,其中,wij可以设置为表示第j个感应设备在 第i个感知强度的评估点位上的感知强度。Optionally, by constraining the perception strength of each sensing device evaluation point to obtain an index of reasonable layout information and direct constraint condition information, the following perception strength constraint can be performed: based on the perception strength pre-calculated at each perception strength evaluation point, the perception strength at the i-th perception strength evaluation point can be constrained to be not less than b i . In this case, the constraint of perception strength can be expressed as ∑ j w ij x j ≥ b j , where w ij can be set to represent the j-th sensing device at The perception intensity at the evaluation point of the i-th perception intensity.

可选地,可以进行如下感应设备的选用偏好约束:在候选的感应设备集中的某一个或部分候选感应设备出现在最终的布局信息中,则可以将选用偏好约束表示为∑p∈Pxp=||P||,其中,P可以设置为表示选用偏好的感应设备实例序号集;||||可以设置为计算集合中的元素的个数。Optionally, the following selection preference constraint for sensing devices may be performed: if one or some of the candidate sensing devices in the candidate sensing device set appear in the final layout information, the selection preference constraint may be expressed as ∑ p∈P x p =||P||, wherein P may be set to a set of sensing device instance serial numbers representing the selection preference; |||| may be set to the number of elements in the calculation set.

可选地,可以进行如下感应设备个数约束:由于使用的感应设备实例的总数不超过N,则可以将传感器个数约束表示为∑jxj≤N。Optionally, the following constraint on the number of sensing devices may be performed: Since the total number of sensing device instances used does not exceed N, the constraint on the number of sensors may be expressed as ∑ j x j ≤N.

可选地,可以进行如下已有感应设备硬约束:对布局中已存在部分感应设备,且希望这些感应设备能保留在未来布局中可以将此类约束类比于感应设备选用偏高约束。假设保留的感应设备序号集合为H,此时可以将感应设备硬约束表示为∑h∈HxH=||H||。Optionally, the following hard constraints on existing sensing devices can be performed: for some sensing devices that already exist in the layout and are expected to be retained in the future layout, such constraints can be analogous to the high constraints on the selection of sensing devices. Assuming that the set of reserved sensing device numbers is H, the hard constraints on the sensing devices can be expressed as ∑ h∈H x H =||H||.

可选地,可以进行如下已有的感应设备参数调整:可以对某个位置已存在的感应设备参数设置不满意,但希望保留该位置的传感器,通过约束设备,从该位置点位的其他候选感应设备中选取新的感应设备,其约束可以表示为∑k∈Kxk=1,其中,K可以设置为表示当前点位其他候选感应设备的指标集合。Optionally, the following existing sensing device parameter adjustment can be performed: if you are not satisfied with the existing sensing device parameter settings at a certain location, but want to keep the sensor at that location, you can select a new sensing device from other candidate sensing devices at that location by constraining the device. The constraint can be expressed as ∑ k∈K x k =1, where K can be set to represent a set of indicators of other candidate sensing devices at the current location.

可选地,可以添加对传感器指标集合X=(x1,x2,…,xn)的约束,即xj∈0,1,其中,j=1,2,…,n。Optionally, a constraint on the sensor indicator set X=(x 1 , x 2 , . . . , x n ) may be added, ie, x j ∈ 0, 1, where j=1, 2, . . . , n.

作为一种可选的实施方式,该方法还包括:对待布局感应设备的区域进行均匀采样,得到目标位置。As an optional implementation, the method further includes: uniformly sampling the area where the sensing device is to be deployed to obtain a target position.

在该实施例中,可以对待布局感应设备的区域进行均匀采样,得到目标位置。In this embodiment, the area where the sensing device is to be deployed may be uniformly sampled to obtain the target position.

可选地,对于给定的待布局感应设备的区域F,为了高效地对布局信息进行评估和生成,需要通过采样手段对待布局感应设备的区域进行离散化,通过离散化采样,可以为传感器布局提供候选位置同时可以生成设置为评估的布局合理性的感知强度评估点位其中,感应设备的布局候选位置中的点可以表示部署感应设备的位置。感知强度评估点位中的点可以设置为评估感应设备对该点的感知覆盖度,在一个合理的布局中,只有当每一个评估点的感知强度都超过阈值时,该评估点的环境状态才能被认识是可以被感知到的。为了得到高质量的评估点位,本公开实施例中可以采用均匀采样的方式,对区域F进行采样。Optionally, for a given area F of the sensing device to be laid out, in order to efficiently evaluate and generate layout information, it is necessary to discretize the area of the sensing device to be laid out by sampling means. Through discretization sampling, candidate positions can be provided for sensor layout. At the same time, it can generate the perceived strength evaluation points set to evaluate the rationality of the layout Among them, the layout candidate positions of the sensing devices The points in the figure can represent the locations where sensing equipment is deployed. The point in can be set to evaluate the perception coverage of the sensing device at the point. In a reasonable layout, only when the perception strength of each evaluation point exceeds the threshold, the environmental state of the evaluation point can be recognized as perceivable. In order to obtain high-quality evaluation points, the embodiment of the present disclosure can adopt a uniform sampling method to sample area F.

可选地,可以对区域F构建平面坐标系,对区域F中的多边形进行离散化采样,评估点的间隔可以为α=1.0米的均匀采样,并可以对采样点进行主成分分析,选取两个正交方向分别为x和y方向。可以对区域F沿x和y方向进行间隔为α=1.0米的均匀采样。Optionally, a plane coordinate system may be constructed for region F, and polygons in region F may be discretized and sampled, the evaluation points may be uniformly sampled at intervals of α=1.0 m, and principal component analysis may be performed on the sampling points, selecting two orthogonal directions, namely, the x and y directions. Region F may be uniformly sampled at intervals of α=1.0 m along the x and y directions.

可选地,可以将区域F的边界采样点和区域F内部采样点合并作为感知强度评估点位感知强度评估点数量可以设为m。为了确保感应设备可以有效安装,可以将区域F中的边界采样点向内缩进0.5米,与区域F中内部采样点合并作为感应设备布局候选位置可以将感应设备的布局候选位置数量设为nδOptionally, the boundary sampling points of region F and the internal sampling points of region F can be combined as the perception intensity evaluation points. The number of perception strength evaluation points can be set to m. In order to ensure that the sensing equipment can be effectively installed, the boundary sampling points in area F can be retracted inward by 0.5 meters and merged with the internal sampling points in area F as candidate locations for sensing equipment layout. The number of candidate locations for the sensing device layout may be set to n δ .

作为一种可选的实施方式,步骤S304,获取待布局感应设备的区域对应的候选的感应设备集,包括:基于待布局感应设备的区域中候选布局位置允许布局的感应设备类型集,以及待布局感应设备的区域中的候选布局位置,确定候选的感应设备集。As an optional implementation, step S304, obtaining a candidate set of sensing devices corresponding to the area where the sensing devices are to be arranged, includes: determining the candidate set of sensing devices based on a set of sensing device types allowed to be arranged at the candidate layout positions in the area where the sensing devices are to be arranged, and the candidate layout positions in the area where the sensing devices are to be arranged.

在该实施例中,可以基于待布局感应设备的区域中候选布局位置允许布局的感应设备的类型集,以及待布局感应设备的区域中的候选布局位置,确定候选的感应设备集。感应设备的类型集可以为传感器类型集。In this embodiment, the candidate sensing device set may be determined based on the type set of sensing devices allowed to be placed at the candidate placement positions in the area where the sensing devices are to be placed and the candidate placement positions in the area where the sensing devices are to be placed. The type set of sensing devices may be a sensor type set.

可选地,可以给定感应设备的类型集T={ti}和感应设备布局候选位置构建候选的感应设备集S={si},最终的感应设备布局方案即从感应设备集S中选取满足条件的感应设备的组合,也即,满足条件的目标感应设备。Optionally, a set of sensing device types T = {t i } and sensing device layout candidate locations may be given: A candidate sensing device set S = {s i } is constructed, and the final sensing device layout solution is to select a combination of sensing devices that meet the conditions from the sensing device set S, that is, target sensing devices that meet the conditions.

作为一种可选的实施方式,基于待布局感应设备的区域中候选布局位置允许布局的感应设备类型集,以及待布局感应设备的区域中的候选布局位置,确定候选的感应设备集,包括:在待布局感应设备的区域中的候选布局位置上,采集候选方向信息,得到候选方向集,其中,候选方向信息设置为表示候选感应设备在候选布局位置上布局的朝向,多个候选方向信息对应的多个朝向之间的夹角相同;基于感应设备类型集,确定允许布局在候选方向集中候选方向信息对应朝向上的候选感应设备,得到候选的感应设备集,其中,候选感应设备满足感应设备类型集中的感应设备类型。As an optional implementation, based on a set of sensing device types that are allowed to be laid out at candidate layout positions in an area where sensing devices are to be laid out, and candidate layout positions in the area where sensing devices are to be laid out, a candidate sensing device set is determined, including: at the candidate layout positions in the area where sensing devices are to be laid out, candidate direction information is collected to obtain a candidate direction set, wherein the candidate direction information is set to indicate a direction in which the candidate sensing device is laid out at the candidate layout position, and angles between multiple directions corresponding to multiple candidate direction information are the same; based on the sensing device type set, candidate sensing devices that are allowed to be laid out in directions corresponding to the candidate direction information in the candidate direction set are determined to obtain a candidate sensing device set, wherein the candidate sensing devices satisfy the sensing device types in the sensing device type set.

在该实施例中,可以在待布局感应设备的区域中的候选布局位置上,采集候选方向信息,得到候选方向集,并可以基于感应设备类型集,确定允许布局在候选方向集中候选方向信息对应朝向上的候选感应设备,得到候选的感应设备集,其中,候选方向信息可以设置为表示候选感应设备在候选布局位置上布局的朝向。候选感应设备满足感应设备类型集中的感应设备类型。多个候选方向信息对应的多个朝向之间的夹角可以相同。候选方向集可以为感应设备的感知方向角集合。In this embodiment, candidate direction information can be collected at a candidate layout position in an area where a sensing device is to be laid out to obtain a candidate direction set, and based on a sensing device type set, candidate sensing devices that are allowed to be laid out in directions corresponding to the candidate direction information in the candidate direction set can be determined to obtain a candidate sensing device set, wherein the candidate direction information can be set to indicate the direction in which the candidate sensing device is laid out at the candidate layout position. The candidate sensing device satisfies the sensing device type in the sensing device type set. The angles between the multiple directions corresponding to the multiple candidate direction information can be the same. The candidate direction set can be a set of sensing direction angles of the sensing device.

可选地,可以在每一个布局候选位置,对布设角度进行离散采样,生成感应设备可以部署的感知方向角集合{ai,j},并在每一个感知方向上,依据感应设备类型属性枚举感应设备,构建感应设备候选集S={s1,s2,…,sn}。同时,对应构建感应设备布局指标向量X={x1,x2,…,xn},其中,xi∈{0,1},当xi=1可以表示δi在该布局方案中,反之则不在该布局方案中。Optionally, the layout angles can be discretely sampled at each candidate layout position to generate a set of sensing direction angles {a i,j } where the sensing device can be deployed, and in each sensing direction, the sensing devices are enumerated according to the sensing device type attributes to construct a sensing device candidate set S = {s 1 , s 2 , ..., s n }. At the same time, a sensing device layout index vector X = {x 1 , x 2 , ..., x n } is correspondingly constructed, where x i ∈ {0, 1}, when x i = 1, it can be indicated that δ i is in the layout scheme, otherwise it is not in the layout scheme.

可选地,可以对感应设备的方向进行离散采样,比如,可以每间隔a0来部署感应设备。在本公开实施例中,为了更好地得到精确的布局信息,同时平衡计算部署感应设备的开销和效率,可以设置a0=60°,离散方向数据可以设置为na。需要说明的是,上述离散采样的间隔大小和方向数据的设置为举例说明,此处不做具体限制。Optionally, the direction of the sensing device may be discretely sampled, for example, the sensing device may be deployed at intervals a 0. In the disclosed embodiment, in order to better obtain accurate layout information and balance the cost and efficiency of calculating and deploying the sensing device, a 0 =60° may be set, and the discrete direction data may be set to n a . It should be noted that the above discrete sampling interval size and direction data setting are for illustrative purposes only and are not specifically limited here.

可选地,可以对感应设备进行枚举,比如,在每个感应设备的布局候选位置的每个感应设备方向设备所有类型的感应设备实例,从而枚举得到感应设备总数为n=nt*ns*nαOptionally, the sensing devices may be enumerated, for example, at each sensing device's layout candidate position Each sensing device direction device of all types of sensing device instances are enumerated, so that the total number of sensing devices obtained by enumeration is n=n t *n s *n α .

可选地,可以通过如下步骤对感知评估点进行感知强度预计算:可以基于上述枚举的每个感应设备,基于感应设备的类型参数计算对每个对应的感知强度评估点位的感知强度,从而构建m×n的感知强度矩阵W,其中,矩阵W中的第i行第j列的元素wij可以表示为第j个传感器在第i个感知强度评估点位上的感知强度。Optionally, the perception strength of the perception evaluation point can be pre-calculated by the following steps: based on each of the sensing devices enumerated above, the position of each corresponding perception strength evaluation point can be calculated based on the type parameter of the sensing device. The perception intensity is obtained by constructing an m×n perception intensity matrix W, where the element w ij in the i-th row and j-th column of the matrix W can be expressed as the perception intensity of the j-th sensor at the i-th perception intensity evaluation point.

作为一种可选的实施方式,该方法还包括:对待布局感应设备的区域进行离散采样,得到候选布局位置,其中,候选布局位置未包括待布局感应设备的区域的边界采样点。As an optional implementation, the method further includes: discretely sampling the area where the sensing device is to be placed to obtain candidate placement positions, wherein the candidate placement positions do not include boundary sampling points of the area where the sensing device is to be placed.

在该实施例中,可以对待布局感应设备的区域进行离散采样,从而得到部署感应设备的候选布局位置,其中,候选布局位置可以为不包括待布局感应设备的区域的边界采样点。In this embodiment, discrete sampling may be performed on the area where the sensing device is to be deployed, thereby obtaining candidate layout positions for deploying the sensing device, wherein the candidate layout positions may be boundary sampling points of the area that does not include the sensing device to be deployed.

可选地,针对所需要部署感应设备的需求,可以生成待布局感应设备的区域F,可以通过在该区域上进行离散采样,生成可以待布局感应设备的候选布局位置,也即,生成可以布局候选位置集也可以生成用来评估感应设备感知强度的评估点位 Optionally, according to the need to deploy sensing devices, an area F where sensing devices are to be deployed can be generated, and candidate deployment positions where sensing devices can be deployed can be generated by performing discrete sampling on the area, that is, a set of candidate deployment positions can be generated. It is also possible to generate evaluation points for evaluating the sensing strength of the sensing device.

在本公开实施例中,对于给定的待布局感应设备的区域F,为了高效地对布局信息进行评估和生成,可以在采样手段上来提高对布局信息进行评估和生成的效率,因此,可以采用离散采样对待布局感应设备的区域进行离散化,并可以通过离散采样,为感应设备提供候选布局位置同时生成用来评估布局信息的合理性的感知强度评估点位其中,候选布局位置中的点可以用来评估感应设备对该位置点的感知覆盖度。在一个具有较高合理性的布局信息中,只有当每一个评估点的感知强度都超过一定的阈值时,该位置点的环境状态才能够被感应设备感知到。且为了提高位置点的质量,本公开实施例可以采用均匀采样的方式,对待布局感应设备的区域F进行采样,进而实现了提高布局信息的生成效率以及准确度的技术效果。In the embodiment of the present disclosure, for a given area F of a sensing device to be arranged, in order to efficiently evaluate and generate layout information, the efficiency of evaluating and generating layout information can be improved by sampling means. Therefore, discrete sampling can be used to discretize the area of the sensing device to be arranged, and candidate layout positions can be provided for the sensing device through discrete sampling. At the same time, the perceptual strength evaluation points used to evaluate the rationality of the layout information are generated Among them, the candidate layout position The points in can be used to evaluate the sensing coverage of the location point by the sensing device. In a layout information with high rationality, the environmental state of the location point can be sensed by the sensing device only when the perception strength of each evaluation point exceeds a certain threshold. In order to improve the quality of the location point, the embodiment of the present disclosure can adopt a uniform sampling method to sample the area F where the sensing device is to be laid out, thereby achieving the technical effect of improving the generation efficiency and accuracy of the layout information.

在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技 术问题。In the embodiment of the present disclosure, the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be arranged in the area can be determined, the candidate sensing device set where the sensing devices to be arranged are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set, and the target sensing device to be arranged in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint condition information, and the layout information for deploying the target sensing device in the area can be determined. Since the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of the layout information of the sensing devices deployed in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device. Technical issues.

本公开实施例还从应用侧提供了一种感应设备的布局方法,图4是根据本公开实施例的一种感应设备的布局方法的流程图,如图4所示,该方法可以包括以下步骤:The present disclosure also provides a layout method of a sensing device from the application side. FIG4 is a flow chart of a layout method of a sensing device according to an embodiment of the present disclosure. As shown in FIG4 , the method may include the following steps:

步骤S402,采集物联网覆盖范围内的待布局感应设备的区域。Step S402: collecting areas where sensing devices are to be deployed within the coverage area of the Internet of Things.

在本公开上述步骤S402提供的技术方案中,可以从物联网覆盖范围内确定出待布局感应设备的区域。In the technical solution provided in the above step S402 of the present disclosure, the area where the sensing equipment is to be deployed can be determined from within the coverage area of the Internet of Things.

可选地,由于感应设备可以为物联网传感器,因此,若需要对某一区域部署感应设备,可以确保该区域已被物联网覆盖,若未被物联网覆盖,则可以先部署物联网对该区域进行覆盖。从而可以确定出待布局感应设备的区域。Optionally, since the sensing device can be an IoT sensor, if a sensing device needs to be deployed in a certain area, it can be ensured that the area is covered by the IoT. If it is not covered by the IoT, the IoT can be deployed first to cover the area. Thus, the area where the sensing device is to be deployed can be determined.

步骤S404,获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。Step S404, obtaining layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area where the sensing device is to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area where the sensing device is to be arranged, and the constraint information is set to represent requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where the sensing device is to be arranged, and is determined based on the area where the sensing device is to be arranged and the candidate sensing device set.

在本公开上述步骤S404提供的技术方案中,在从物联网覆盖范围内确定出待布局感应设备的区域之后,可以获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备可以为待布局感应设备的区域对应的候选感应设备集中满足约束条件信息的候选感应设备,且可以为候选的感应设备集和约束条件信息进行整数规划处理得到的。候选的感应设备集可以至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备。约束条件信息可以设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且可以为基于待布局感应设备的区域和候选的感应设备集确定得到的。In the technical solution provided in the above step S404 of the present disclosure, after determining the area where the sensing device is to be deployed from the coverage of the Internet of Things, the layout information of at least one target sensing device in the area can be obtained, wherein the at least one target sensing device can be a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area where the sensing device is to be deployed, and can be obtained by integer programming processing of the candidate sensing device set and the constraint information. The candidate sensing device set can at least include candidate sensing devices located at candidate layout positions in the area where the sensing device is to be deployed. The constraint information can be set to represent the requirement information for deploying at least one candidate sensing device in the candidate sensing device set in the area where the sensing device is to be deployed, and can be determined based on the area where the sensing device is to be deployed and the candidate sensing device set.

可选地,在得到待布局感应设备的区域之后,可以获取该区域对应的候选的感应设备集,通过感应设备集和待布局感应设备的区域,可以确定出感应设备集中每个候选感应设备的需求信息,得到约束条件信息。可以对感应设备集与约束条件信息进行整数规划处理,得到整数规划的目标模型,可以确定感应设备集中的每个候选感应设备是否满足约束条件信息,若不满足约束条件信息,则可以剔除该候选感应设备。若满足约束条件信息,则可以将该候选感应设备确定为目标感应设备,并生成通过目标感应设备在待布局感应设备的区域中进行布局的布局信息。Optionally, after obtaining the area where the sensing device is to be arranged, the candidate sensing device set corresponding to the area can be obtained. Through the sensing device set and the area where the sensing device is to be arranged, the demand information of each candidate sensing device in the sensing device set can be determined to obtain the constraint information. The sensing device set and the constraint information can be processed by integer programming to obtain the target model of integer programming, and it can be determined whether each candidate sensing device in the sensing device set meets the constraint information. If the constraint information is not met, the candidate sensing device can be eliminated. If the constraint information is met, the candidate sensing device can be determined as the target sensing device, and layout information for layout in the area where the sensing device is to be arranged through the target sensing device is generated.

步骤S406,基于布局信息将目标感应设备布局在待布局感应设备的区域中。Step S406: Layout the target sensing device in the area where the sensing device is to be laid out based on the layout information.

在本公开上述步骤S406提供的技术方案中,在获取物联网内至少一目标感应设备在区域中的布局信息之后,可以按照布局信息,对目标感应设备布局在待布局感应设 备的区域中。In the technical solution provided in the above step S406 of the present disclosure, after obtaining the layout information of at least one target sensing device in the area in the Internet of Things, the target sensing device can be arranged in the sensing device to be arranged according to the layout information. in the area of the equipment.

可选地,在确定到目标感应设备在待布局感应设备中的布局信息之后,可以按照布局信息中目标感应设备所应部署的区域中的位置,将目标感应设备布局在待布局感应设备的区域中的相应位置上,从而对该区域进行感知。Optionally, after determining the layout information of the target sensing device in the sensing device to be laid out, the target sensing device can be laid out at a corresponding position in the area of the sensing device to be laid out according to the position of the target sensing device in the area where the target sensing device should be deployed in the layout information, thereby sensing the area.

由于通过人工经验对感应设备进行布局,会存在对感应设备布局到区域中的效率低的技术问题。然而,为解决上述技术问题,在本公开实施例中,可以实现由粗到精的空间布局生成,提供高精度的感应设备的布局信息,该方法自身集成了感知覆盖度最大化和建设成本最小化的评估体系,实现满足多种应用场景的需要,比如,可以对现有空间布局效果评估、优化现有布局方案或提出全新布局建议等,可以支持从候选感应设备中自动选取至少一满足条件的目标感应设备,且支持用户基于自身需求迭代修改现有布局信息和自定义评价标准,从而达到了适用于常见的各类IOT传感器空间布局问题的目的,且通用性强更易于实施,进而解决了对感应设备布局到区域中的效率低的技术问题。Since the layout of sensing devices is based on manual experience, there will be a technical problem of low efficiency in the layout of sensing devices in the area. However, in order to solve the above technical problems, in the embodiment of the present disclosure, it is possible to achieve coarse-to-fine spatial layout generation, and provide high-precision layout information of sensing devices. The method itself integrates an evaluation system for maximizing perception coverage and minimizing construction costs, so as to meet the needs of various application scenarios. For example, it can evaluate the effect of existing spatial layout, optimize existing layout plans, or propose new layout suggestions, etc. It can support the automatic selection of at least one target sensing device that meets the conditions from candidate sensing devices, and support users to iteratively modify existing layout information and customize evaluation criteria based on their own needs, thereby achieving the purpose of being applicable to various common IOT sensor spatial layout problems, and it is more versatile and easier to implement, thereby solving the technical problem of low efficiency in the layout of sensing devices in the area.

通过本公开上述步骤S402至步骤S406,采集物联网覆盖范围内的待布局感应设备的区域;获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定;基于布局信息将目标感应设备布局在待布局感应设备的区域中,从而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。Through the above steps S402 to S406 of the present disclosure, the area of the sensing devices to be arranged within the coverage of the Internet of Things is collected; the layout information of at least one target sensing device in the area of the Internet of Things is obtained, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area of the sensing devices to be arranged, and is obtained by integer programming processing of the candidate sensing device set and the constraint information, the candidate sensing device set at least includes the candidate sensing devices located at the candidate layout position in the area of the sensing devices to be arranged, the constraint information is set to represent the requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be arranged, and is determined based on the area of the sensing devices to be arranged and the candidate sensing device set; the target sensing device is arranged in the area of the sensing devices to be arranged based on the layout information, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device, and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

本公开实施例还从人机交互侧提供了另一种感应设备的布局方法。图5是根据本公开实施例的另一种感应设备的布局方法的流程图,如图5所示,该方法可以包括以下步骤:The embodiment of the present disclosure also provides another layout method of sensing devices from the human-computer interaction side. FIG5 is a flow chart of another layout method of sensing devices according to an embodiment of the present disclosure. As shown in FIG5 , the method may include the following steps:

步骤S502,在操作界面上显示待布局感应设备的区域。Step S502: displaying the area where the sensing devices are to be arranged on the operation interface.

在本公开上述步骤S502提供的技术方案中,可以在操作界面上显示出待布局感应设备的区域,其中,操作界面可以为用户的电脑、手机或平板等终端设备上的对感应设备进行布局的应用或软件上的操作界面。In the technical solution provided in the above step S502 of the present disclosure, the area where the sensing device is to be laid out can be displayed on the operation interface, wherein the operation interface can be an operation interface of an application or software for laying out the sensing device on a user's terminal device such as a computer, mobile phone or tablet.

可选地,若用户有想要在某一区域部署感应设备的需求时,用户可以在终端设备上登录响应的布局感应设备的软件或应用。可以在该软件或应用的操作界面上输入或划分出想要部署感应设备的区域,在接收到用户输入或划分区域的操作时,可以在操 作界面上显示出响应的待布局感应设备的区域,也可以显示该区域是否被物联网覆盖。Optionally, if the user wants to deploy a sensing device in a certain area, the user can log in to the corresponding software or application for deploying the sensing device on the terminal device. The area where the sensing device is to be deployed can be input or divided on the operation interface of the software or application. When the user input or the area division operation is received, the user can log in to the corresponding software or application for deploying the sensing device on the terminal device. The operation interface displays the corresponding area where the sensing device is to be deployed, and can also display whether the area is covered by the Internet of Things.

步骤S504,响应作用于操作界面上的布局操作指令,在操作界面上显示至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。Step S504, in response to the layout operation instruction acting on the operation interface, the layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area where the sensing devices are to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area where the sensing devices are to be arranged, and the constraint information is set to represent the requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be arranged, and is determined based on the area where the sensing devices are to be arranged and the candidate sensing device set.

在本公开上述步骤S504提供的技术方案中,在操作界面上显示待布局感应设备的区域之后,当检测到操作界面上的布局操作指令时,可以在操作界面上显示出至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备可以为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且可以为对候选的感应设备集和约束条件信息进行整数规划处理得到的。候选感应设备集可以至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备。约束条件信息可以设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且可以为基于待布局感应设备的区域和候选的感应设备集确定得到的。In the technical solution provided in the above step S504 of the present disclosure, after the area of the sensing devices to be arranged is displayed on the operation interface, when the layout operation instruction on the operation interface is detected, the layout information of at least one target sensing device in the area can be displayed on the operation interface, wherein the at least one target sensing device can be a candidate sensing device that satisfies the constraint information in the candidate sensing device set corresponding to the area of the sensing devices to be arranged, and can be obtained by integer programming processing of the candidate sensing device set and the constraint information. The candidate sensing device set can at least include candidate sensing devices located at candidate layout positions in the area of the sensing devices to be arranged. The constraint information can be set to represent the requirement information of at least one candidate sensing device in the candidate sensing device set to be arranged in the area of the sensing devices to be arranged, and can be determined based on the area of the sensing devices to be arranged and the candidate sensing device set.

可选地,在操作界面上显示待布局感应设备的区域之后,可以检测用户在操作界面上是否有布局操作指令。若用户需要对该待布局感应设备的区域上布局感应设备,可以在操作界面上点击相应的控件生成布局操作指令,比如,可以点击“确定布局”的控件,来获取布局信息,当检测到上述布局操作指令时,可以通过终端设备在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,并可以将该区域的布局信息显示在操作界面上,以供用户按照该布局信息在相应的区域中部署相应的感应设备。Optionally, after the area where the sensing devices are to be arranged is displayed on the operation interface, it can be detected whether the user has a layout operation instruction on the operation interface. If the user needs to arrange the sensing devices on the area where the sensing devices are to be arranged, the user can click the corresponding control on the operation interface to generate the layout operation instruction, for example, the user can click the "determine layout" control to obtain the layout information. When the above layout operation instruction is detected, the terminal device can determine the candidate sensing device set where the sensing devices to be deployed are located in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set. By performing integer programming processing on the sensing device set and the constraint condition information, the target sensing device to be deployed in the area is screened out from all the candidate sensing devices, and the layout information for deploying the target sensing device in the area can be determined, and the layout information of the area can be displayed on the operation interface, so that the user can deploy the corresponding sensing device in the corresponding area according to the layout information.

通过本公开上述步骤S502至步骤S504,在操作界面上显示待布局感应设备的区域;响应作用于操作界面上的布局操作指令,在操作界面上显示至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布 局感应设备的区域和候选的感应设备集确定,从而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。Through the above steps S502 to S504 of the present disclosure, the area of the sensing devices to be arranged is displayed on the operation interface; in response to the layout operation instruction acting on the operation interface, the layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint condition information in the candidate sensing device set corresponding to the area of the sensing devices to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint condition information, the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position in the area of the sensing devices to be arranged, the constraint condition information is set to represent the requirement information of arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be arranged, and is based on the constraint condition information of the sensing devices to be arranged. The area of the local sensing device and the candidate sensing device set are determined, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

实施例2Example 2

目前,IOT传感器已经广泛应用于人们的日常生活中,比如,摄像头、烟感传感器、声波传感器、温湿度传感器和毫米波雷达等,它们为人们的生活、出行和城市管理等提供不间断的自动感知、数据记录和告警提醒等各类服务。IOT传感器的感知效果与其自身的感知范围密切相关。为了实现更好的感知效果且降低部署成本,是当前需要重点关注的问题。At present, IOT sensors have been widely used in people's daily lives, such as cameras, smoke sensors, acoustic sensors, temperature and humidity sensors, and millimeter wave radars, etc. They provide uninterrupted automatic perception, data recording, alarm reminders and other services for people's lives, travel and urban management. The perception effect of IOT sensors is closely related to their own perception range. In order to achieve better perception effects and reduce deployment costs, it is an issue that needs to be focused on at present.

在一种实施例中,可以通过人工布局的方式对IOT传感器进行布局,在布局过程中,需要安装人员在现场凭借人工经验进行布局设计和安全,并通过不断调整完成布局,这种方法的缺点是缺少定量分析,拼接人工经验获得的布局方案通过不是的布局方案。且在过程中需要安装人员反复测试,存在布局设计时间长、人力成本和时间成本高的情况。该方法通常适用于中小型区域,且随着空间区域的增大,布局效果显著下降,因此,仍存在确定目标感应设备的布局信息的效率低的技术问题。In one embodiment, the IOT sensors can be laid out by manual layout. During the layout process, the installers need to perform layout design and safety on site based on manual experience, and complete the layout through continuous adjustments. The disadvantage of this method is the lack of quantitative analysis, and the layout scheme obtained by splicing manual experience is not a perfect layout scheme. In addition, the installers need to test repeatedly during the process, resulting in a long layout design time, high labor and time costs. This method is generally suitable for small and medium-sized areas, and as the spatial area increases, the layout effect decreases significantly. Therefore, there is still a technical problem of low efficiency in determining the layout information of the target sensing device.

可选地,本公开提供了一种基于0-1整数规划IOT传感器布局方法,该方法解决了确定目标感应设备的布局信息的效率低的技术问题,区别于传统的解决方案中未通过整数规划确定布局信息,避免了通过人工经验在区域中部署传感器存在的布局信息的精确度低的问题,解决了确定目标感应设备的布局信息的效率低的技术问题。Optionally, the present disclosure provides an IOT sensor layout method based on 0-1 integer programming, which solves the technical problem of low efficiency in determining layout information of target sensing devices. This method is different from traditional solutions in which layout information is not determined through integer programming, avoids the problem of low accuracy of layout information when sensors are deployed in an area through artificial experience, and solves the technical problem of low efficiency in determining layout information of target sensing devices.

在本公开实施例中,可以确定出待布局传感器的区域以及该区域中所要部署传感器的候选布局位置,在待布局传感器的区域上确定出所要部署传感器所在的候选的传感器集,并可以基于该区域以及传感器集,确定出该传感器集中每个候选传感器的需求信息,将需求信息整合得到传感器集的约束条件信息,通过对传感器集和约束条件信息进行整数规划处理,从所有候选传感器中筛选出在区域中将要部署的目标传感器,并可以确定出将目标传感器部署到该区域中的布局信息,由于考虑到可以对传感器集中每个候选传感器的需求信息进行整数规划处理,从而提高了对候选传感器进行分析的全面性和准确性,避免了通过人工经验在区域中部署传感器存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。In the embodiments of the present disclosure, an area where sensors are to be deployed and candidate layout positions of sensors to be deployed in the area can be determined, a candidate sensor set where sensors to be deployed are located can be determined in the area where sensors are to be deployed, and based on the area and the sensor set, demand information of each candidate sensor in the sensor set can be determined, and the demand information is integrated to obtain constraint information of the sensor set. By performing integer programming processing on the sensor set and the constraint information, target sensors to be deployed in the area are screened out from all candidate sensors, and layout information for deploying the target sensors in the area can be determined. Considering that integer programming processing can be performed on the demand information of each candidate sensor in the sensor set, the comprehensiveness and accuracy of the analysis of the candidate sensors are improved, and the problem of low accuracy of layout information when deploying sensors in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

下面对该实施例的上述方法进行进一步的介绍。The above method of this embodiment is further introduced below.

在该实施例中,图6是根据本公开实施例的一种基于0-1整数规划IOT传感器布局方法的流程图,如图6所示,该方法可以包括如下步骤:In this embodiment, FIG6 is a flow chart of a method for placing IOT sensors based on 0-1 integer programming according to an embodiment of the present disclosure. As shown in FIG6 , the method may include the following steps:

步骤S601,对待布局区域进行空间初始化。Step S601, performing spatial initialization on the area to be laid out.

在本公开上述步骤S601提供的技术方案中,可以对待布局区域进行空间初始化。In the technical solution provided in the above step S601 of the present disclosure, spatial initialization may be performed on the area to be laid out.

可选地,图7是根据本公开实施例的一种待布局传感器的区域的示意图,如图7 所示,待布局区域可以为待布局传感器的多边形的区域,该区域可以表示为F=(B,O),其中,F可以设置为表示待布局传感器的区域;B可以设置为表示该布局区域的边界多边形的集合;O可以设置为表示该区域内所有无法部署传感器的区域多边形的集合,可以包括O1和O2两个区域。Optionally, FIG. 7 is a schematic diagram of an area where sensors are to be arranged according to an embodiment of the present disclosure, as shown in FIG. 7 As shown, the area to be deployed can be a polygonal area of the sensors to be deployed, and the area can be expressed as F=(B, O), wherein F can be set to represent the area to be deployed with sensors; B can be set to represent a set of boundary polygons of the layout area; O can be set to represent a set of polygons of all areas in the area where sensors cannot be deployed, which can include two areas O1 and O2 .

可选地,可以采用一个七元组刻画传感器δ的属性信息,也即,δ=(x,y,α,θ,dn,df,σ,c),图8是根据本公开实施例的一种传感器的属性信息的示意图,如图8所示,(x,y)可以设置为表示传感器在待布局的区域中的位置;α可以设置为表示传感器的感知方向角;θ可以设置为表示传感器的感知角;(dn,df)可以设置为表示传感器的最小深度和最大深度;σ可以设置为表示传感器的感知衰退因子;c可以设置为表示传感器的使用代价,其中,最小深度也可以称为最小感知深度。最大深度也可以称为最大感知深度。Optionally, a seven-tuple may be used to describe the attribute information of the sensor δ, that is, δ = (x, y, α, θ, d n , d f , σ, c). FIG8 is a schematic diagram of the attribute information of a sensor according to an embodiment of the present disclosure. As shown in FIG8 , (x, y) may be set to represent the position of the sensor in the area to be deployed; α may be set to represent the sensing direction angle of the sensor; θ may be set to represent the sensing angle of the sensor; (d n , d f ) may be set to represent the minimum depth and maximum depth of the sensor; σ may be set to represent the sensing decay factor of the sensor; c may be set to represent the use cost of the sensor, wherein the minimum depth may also be referred to as the minimum sensing depth. The maximum depth may also be referred to as the maximum sensing depth.

在本公开实施例中,可以假设各个目标传感器在相应位置上的部署高度是一致的,因此,目标传感器的部署位置只需要用(x,y)表示。对于部署在不同高度的目标传感器,可以根据其在指定平面上的投影来表示其的感知范围和感知强度等信息。且在本公开实施例中,不考虑传感器信号的反射和衍射等物理现象对传感器的感知范围等的影响。In the disclosed embodiment, it can be assumed that the deployment heights of the target sensors at the corresponding positions are consistent, so the deployment positions of the target sensors only need to be represented by (x, y). For target sensors deployed at different heights, their sensing range and sensing intensity and other information can be represented according to their projections on the specified plane. In the disclosed embodiment, the influence of physical phenomena such as reflection and diffraction of sensor signals on the sensing range of the sensor is not considered.

可选地,对于给定的待布局传感器的区域F,为了高效地对布局信息进行评估和生成,需要通过采样手段对待布局传感器的区域进行离散化,通过离散化采样,可以为传感器布局提供候选位置同时可以生成设置为评估的布局合理性的感知强度评估点位其中,传感器的布局候选位置中的点可以表示部署传感器的位置。感知强度评估点位中的点可以设置为评估传感器对该点的感知覆盖度,在一个合理的布局中,只有当每一个评估点的感知强度都超过阈值时,该评估点的环境状态才能被认识是可以被感知到的。为了得到高质量的评估点位,本公开实施例中可以采用均匀采样的方式,对区域F进行采样。Optionally, for a given area F where sensors are to be laid out, in order to efficiently evaluate and generate layout information, it is necessary to discretize the area where sensors are to be laid out by sampling. Discretized sampling can provide candidate locations for sensor layout. At the same time, it can generate the perceived strength evaluation points set to evaluate the rationality of the layout Among them, the layout candidate positions of the sensors The points in the figure can represent the locations where sensors are deployed. The point in can be set to evaluate the sensor's perception coverage of the point. In a reasonable layout, only when the perception strength of each evaluation point exceeds the threshold, the environmental state of the evaluation point can be recognized as perceivable. In order to obtain high-quality evaluation points, the embodiment of the present disclosure can adopt a uniform sampling method to sample area F.

可选地,可以对区域F构建平面坐标系,对区域F中的多边形进行离散化采样,评估点的间隔可以为α=1.0米的均匀采样,并可以对采样点进行主成分分析,选取两个正交方向分别为x和y方向。可以对区域F沿x和y方向进行间隔为α=1.0米的均匀采样。Optionally, a plane coordinate system may be constructed for region F, and polygons in region F may be discretized and sampled, the evaluation points may be uniformly sampled at intervals of α=1.0 m, and principal component analysis may be performed on the sampling points, selecting two orthogonal directions, namely, the x and y directions. Region F may be uniformly sampled at intervals of α=1.0 m along the x and y directions.

可选地,可以对区域F构建平面坐标系,对区域F中的多边形进行离散化采样,评估点的间隔可以为α=1.0米的均匀采样,并可以对采样点进行主成分分析,选取两个正交方向分别为x和y方向。可以对区域F沿x和y方向进行间隔为α=1.0米的均匀采样。Optionally, a plane coordinate system may be constructed for region F, and polygons in region F may be discretized and sampled, the evaluation points may be uniformly sampled at intervals of α=1.0 m, and principal component analysis may be performed on the sampling points, selecting two orthogonal directions, namely, the x and y directions. Region F may be uniformly sampled at intervals of α=1.0 m along the x and y directions.

可选地,可以将区域F的边界采样点和区域F内部采样点合并作为感知强度评估点位感知强度评估点数量可以设为m。为了确保传感器可以有效安装,可以将区域F中的边界采样点向内缩进0.5米,与区域F中内部采样点合并作为传感器布局候选位置可以将传感器的布局候选位置数量设为nδOptionally, the boundary sampling points of region F and the internal sampling points of region F can be combined as the perception intensity evaluation points. The number of perception strength evaluation points can be set to m. In order to ensure that the sensor can be effectively installed, the boundary sampling points in area F can be retracted inward by 0.5 meters and merged with the internal sampling points in area F as candidate locations for sensor layout. The number of candidate sensor layout positions may be set to n δ .

步骤S602,构建传感器候选集。Step S602: construct a sensor candidate set.

在本公开上述步骤S602提供的技术方案中,可以根据传感器的类型集和待布局候选传感器的候选布局位置,可以构建出候选的传感器集,便于从传感器集中选取出满足条件的至少一目标传感器。In the technical solution provided in the above step S602 of the present disclosure, a candidate sensor set can be constructed according to the sensor type set and the candidate layout positions of the candidate sensors to be laid out, so as to select at least one target sensor that meets the conditions from the sensor set.

可选地,可以在每一个布局候选位置,对布设角度进行离散采样,生成传感器可以部署的感知方向角集合{ai,j},并在每一个感知方向上,依据传感器类型属性枚举传感器,构建传感器候选集S={s1,s2,…,sn}。同时,对应构建传感器布局指标向量X={x1,x2,…,xn},其中,xi∈{0,1},当xi=1可以表示δi在该布局方案中,反之则不在该布局方案中。Optionally, the layout angles can be discretely sampled at each candidate layout position to generate a set of sensing direction angles {a i,j } where the sensor can be deployed, and sensors can be enumerated in each sensing direction according to sensor type attributes to construct a sensor candidate set S = {s 1 , s 2 , ..., s n }. At the same time, a corresponding sensor layout index vector X = {x 1 , x 2 , ..., x n } is constructed, where x i ∈ {0, 1}, and when x i = 1, it can be indicated that δ i is in the layout scheme, otherwise it is not in the layout scheme.

可选地,可以对传感器的方向进行离散采样,比如,可以每间隔a0来部署传感器。在本公开实施例中,为了更好地得到精确的布局信息,同时平衡计算部署传感器的开销和效率,可以设置a0=60°,离散方向数据可以设置为na。需要说明的是,上述离散采样的间隔大小和方向数据的设置为举例说明,此处不做具体限制。Optionally, the direction of the sensor may be discretely sampled, for example, the sensor may be deployed at intervals a 0. In the disclosed embodiment, in order to better obtain accurate layout information and balance the cost and efficiency of calculating the deployment of the sensor, a 0 =60° may be set, and the discrete direction data may be set to n a . It should be noted that the above discrete sampling interval size and direction data setting are for illustrative purposes only and are not specifically limited here.

可选地,可以对传感器进行枚举,比如,在每个传感器的布局候选位置的每个传感器方向设备所有类型的传感器实例,从而枚举得到传感器总数为n=nt*ns*nαOptionally, the sensors can be enumerated, for example, in the candidate locations for each sensor layout Each sensor direction device has all types of sensor instances, so the total number of sensors enumerated is n=n t *n s *n α .

可选地,可以通过如下步骤对感知评估点进行感知强度预计算:可以基于上述枚举的每个传感器,基于传感器的类型参数计算对每个对应的感知强度评估点位的感知强度,从而构建m×n的感知强度矩阵W,其中,矩阵W中的第i行第j列的元素wij可以表示为第j个传感器在第i个感知强度评估点位上的感知强度。Optionally, the perception strength of the perception evaluation point can be pre-calculated by the following steps: based on each sensor enumerated above, the position of each corresponding perception strength evaluation point can be calculated based on the type parameter of the sensor. The perception intensity is obtained by constructing an m×n perception intensity matrix W, where the element w ij in the i-th row and j-th column of the matrix W can be expressed as the perception intensity of the j-th sensor at the i-th perception intensity evaluation point.

步骤S603,设置约束布局。Step S603: setting constraint layout.

在本公开上述步骤S603提供的技术方案中,根据传感器的布局需求,针对区域和传感器集,设置布局约束。比如,可以通过约束每个传感器所要部署的候选布局位置处的感知强度,得到合理的传感器的布局和直接约束传感器的布局指标进行布局,可以得到传感器的约束布局,其中,约束布局也可以称为约束布局,约束布局可以包括感知强度约束、选用偏好约束、传感器个数约束、传感器硬约束和传感器参数调整等信息。需要说明的是,此处为举例说明,不对约束布局做具体限制。。In the technical solution provided in the above step S603 of the present disclosure, layout constraints are set for regions and sensor sets according to the layout requirements of sensors. For example, by constraining the perception strength at the candidate layout position where each sensor is to be deployed, a reasonable sensor layout and a layout with direct constraints on the sensor layout indicators can be obtained, and a constrained layout of sensors can be obtained, wherein the constrained layout can also be called a constrained layout, and the constrained layout can include information such as perception strength constraints, selection preference constraints, sensor number constraints, sensor hard constraints, and sensor parameter adjustments. It should be noted that this is an example and does not impose specific restrictions on the constrained layout. .

可选地,通过约束每个传感器评估点的感知强度得到合理的布局信息和直接约束布局的指标,可以进行如下感知强度约束:可以基于在每个感知强度评估点上预计算的感知强度,约束在第i个感知强度的评估点上的感知强度不小于bi,此时,可以将感知强度的约束表示为∑jwijxj≥bj,其中,wij可以设置为表示第j个传感器在第i个感知强度的评估点位上的感知强度。Optionally, by constraining the perception intensity of each sensor evaluation point to obtain reasonable layout information and an indicator for directly constraining the layout, the following perception intensity constraint can be performed: based on the perception intensity pre-calculated at each perception intensity evaluation point, the perception intensity at the evaluation point of the i-th perception intensity can be constrained to be no less than bi . At this time, the constraint on perception intensity can be expressed as ∑ j w ij x j ≥ b j , where w ij can be set to represent the perception intensity of the j-th sensor at the evaluation point of the i-th perception intensity.

可选地,可以进行如下传感器的选用偏好约束:在候选的传感器集中的某一个或部分候选传感器出现在最终的布局信息中,则可以将选用偏好约束表示为∑p∈Pxp= ||P||,其中,P可以设置为表示选用偏好的传感器实例序号集;||||可以设置为计算集合中的元素的个数。Optionally, the following sensor selection preference constraint may be performed: if one or part of the candidate sensors in the candidate sensor set appears in the final layout information, the selection preference constraint may be expressed as ∑ p∈P x p = ||P||, where P can be set to a set of sensor instance numbers representing a preferred selection; |||| can be set to the number of elements in the calculation set.

可选地,可以进行如下传感器个数约束:由于使用的传感器实例的总数不超过N,则可以将传感器个数约束表示为∑jxj≤N。Optionally, the following sensor number constraint may be performed: Since the total number of sensor instances used does not exceed N, the sensor number constraint may be expressed as ∑ j x j ≤N.

可选地,可以进行如下已有传感器硬约束:对布局中已存在部分传感器,且希望这些传感器能保留在未来布局中可以将此类约束类比于传感器选用偏高约束。假设保留的传感器序号集合为H,此时可以将传感器硬约束表示为∑h∈HxH=||H||。Optionally, the following existing sensor hard constraints can be performed: for some sensors that already exist in the layout and are expected to be retained in the future layout, such constraints can be analogous to the high constraint on sensor selection. Assuming that the set of reserved sensor numbers is H, the sensor hard constraint can be expressed as ∑ h∈H x H =||H||.

可选地,可以进行如下已有的传感器参数调整:可以对某个位置已存在的传感器参数设置不满意,但希望保留该位置的传感器,通过约束设备,从该位置点位的其他候选传感器中选取新的传感器,其约束可以表示为∑k∈Kxk=1,其中,K可以设置为表示当前点位其他候选传感器的指标集合。Optionally, the following existing sensor parameter adjustments can be performed: if you are not satisfied with the existing sensor parameter settings at a certain location, but want to keep the sensor at that location, you can select a new sensor from other candidate sensors at that location through a constraint device. The constraint can be expressed as ∑ k∈K x k =1, where K can be set to a set of indicators representing other candidate sensors at the current location.

可选地,可以添加对传感器指标集合X=(x1,x2,…,xn)的约束,即xj∈{0,1},其中,j=1,2,…,n。Optionally, a constraint on the sensor indicator set X=(x 1 , x 2 , . . . , x n ) may be added, ie, x j ∈ {0, 1}, where j=1, 2, . . . , n.

步骤S604,求解布局建模。Step S604, solving layout modeling.

在本公开上述步骤S604提供的技术方案中,可以将确定目标传感器的布局信息的问题建模形成一个整数规划问题,并可以实现通过传感器的感知强度等信息抽象成约束布局,可以确定传感器集中的候选传感器是否满足约束布局,得到布局信息。可以通过添加、删除、修改约束布局,重新构建整数规划问题来更新目标传感器以及布局信息,从而实现了提高确定目标感应设备的布局信息的效率的技术效果。In the technical solution provided in the above step S604 of the present disclosure, the problem of determining the layout information of the target sensor can be modeled into an integer programming problem, and the sensor's perception strength and other information can be abstracted into a constraint layout, and it can be determined whether the candidate sensors in the sensor set meet the constraint layout to obtain the layout information. The target sensor and layout information can be updated by adding, deleting, and modifying the constraint layout and reconstructing the integer programming problem, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device.

可选地,可以对候选的传感器集和约束布局进行整数规划建模,得到目标模型,从而可以使用目标模型在候选的传感器集中确定候选传感器是否满足约束布局,将满足约束布局的候选传感器作为目标传感器,其中,目标模型可以设置为使待布局传感器的区域的布局成本小于成本阈值,可以为经过整数规划建模得到的模型。基于布局信息将目标传感器布局在待布局传感器的区域中的布局成本小于成本阈值。Optionally, integer programming modeling can be performed on the candidate sensor set and the constraint layout to obtain a target model, so that the target model can be used to determine whether the candidate sensor satisfies the constraint layout in the candidate sensor set, and the candidate sensor that satisfies the constraint layout is used as the target sensor, wherein the target model can be set to make the layout cost of the area where the sensor is to be laid out less than a cost threshold, and can be a model obtained by integer programming modeling. The layout cost of laying out the target sensor in the area where the sensor is to be laid out based on the layout information is less than the cost threshold.

可选地,基于上述的对候选传感器的约束布局,可以采用整数规划对传感器的布局问题进行数学建模,规划问题中布局成本的目标为极小化布局成本,可以对整个布局问题得到如下目标模型:
min∑jcjxj
s.t.∑jwijxj≥bi
p∈Pxp=||P||,
jxj≤N,
h∈HxH=||H||,
k∈Kxk=1,
xj∈{0,1}
Optionally, based on the above-mentioned constrained layout of candidate sensors, integer programming can be used to mathematically model the sensor layout problem. The goal of the layout cost in the planning problem is to minimize the layout cost. The following target model can be obtained for the entire layout problem:
min∑ j c j x j ,
st∑ j w ij x j ≥ b i ,
p∈P x p =||P||,
j x j ≤ N,
h∈H x H =||H||,
k∈K x k = 1,
x j ∈ {0, 1}

在本公开实施例中,上述整数规划建模为一个标准的单目标全局优化问题,可以通过问题目标和约束设备同时实现了满足设置为约束的传感器的布局以及布局信息的使用代价最小,由于可以通过整数规划对确定布局信息的过程和结果进行优化,实现由粗到精的空间布局生成,提供高精度的目标传感器以及布局信息。该方法可以自身集成了感知覆盖度最大化和建设成本最小化的评估体系,可以实现满足多种应用场景的需求,比如,对现有空间布局效果评估、优化现有布局方案和提出全新布局建议等,支持从候选传感器中自动选取出目标传感器,支持用户基于自身需求迭代修改现有的布局信息以及评价标准,由于该方法适用于常见的各类IOT传感器空间布局问题,通用性强且易于实施,进而实现了提高确定目标传感器的布局信息的效率的技术效果。In the disclosed embodiment, the above integer programming is modeled as a standard single-objective global optimization problem, which can simultaneously achieve the layout of sensors that meet the constraints and the minimum cost of using the layout information through the problem objectives and constraint devices. Since the process and results of determining the layout information can be optimized through integer programming, the spatial layout generation from coarse to fine is achieved, providing high-precision target sensors and layout information. The method can integrate an evaluation system that maximizes perception coverage and minimizes construction costs, and can meet the needs of various application scenarios, such as evaluating the existing spatial layout effect, optimizing the existing layout plan, and proposing new layout suggestions, etc. It supports the automatic selection of target sensors from candidate sensors, and supports users to iteratively modify the existing layout information and evaluation criteria based on their own needs. Since this method is applicable to various common IOT sensor spatial layout problems, it is highly versatile and easy to implement, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensor.

步骤S605,布局交互更新。Step S605: interactive layout update.

在本公开上述步骤S605提供的技术方案中,由于可以将确定布局信息的问题建模成一个整数规划问题,并可以实现通过传感器的指标集和感知强度评估点来抽象所有布局约束信息。因此,在得到布局的初始结果之后,可以通过添加、删除和修改感知强度约束、选用偏好约束、个数约束和硬约束等约束条件,从而可以重新构建规划问题的目标模型,来更新所需的布局,进而实现了提高在调整布局需求时,得到新的布局信息的效率的技术效果。In the technical solution provided in the above step S605 of the present disclosure, since the problem of determining the layout information can be modeled as an integer programming problem, and all layout constraint information can be abstracted through the indicator set and perception strength evaluation point of the sensor. Therefore, after obtaining the initial result of the layout, the target model of the planning problem can be reconstructed by adding, deleting and modifying constraints such as perception strength constraints, selection preference constraints, number constraints and hard constraints to update the required layout, thereby achieving the technical effect of improving the efficiency of obtaining new layout information when adjusting the layout requirements.

步骤S606,布局结果优化。Step S606: optimizing the layout results.

在本公开上述步骤S606提供的技术方案中,可以对上述目标模型进行求解,确定出候选传感器的目标指示信息,并确定目标指示信息是否满足目标模型中的约束布局,也即,则可以确定指标向量X=(x1,x2,…,xn)中的每个元素xi为0还是1。若xi=0,则可以说明目标指示信息不满足约束布局,则可以剔除此类候选传感器。若xi=1,则可以说明目标指示信息满足约束布局,则可以将该候选传感器确定为目标传感器。由此,可以生成目标传感器布局的初始结果S’。In the technical solution provided in the above step S606 of the present disclosure, the above target model can be solved to determine the target indication information of the candidate sensor, and determine whether the target indication information satisfies the constraint layout in the target model, that is, it can be determined whether each element xi in the indicator vector X=( x1 , x2 , ..., xn ) is 0 or 1. If xi =0, it can be explained that the target indication information does not satisfy the constraint layout, and such candidate sensors can be eliminated. If xi =1, it can be explained that the target indication information satisfies the constraint layout, and the candidate sensor can be determined as the target sensor. Thus, the initial result S' of the target sensor layout can be generated.

可选地,可以将由调整前的目标模型中确定出的满足调整前的约束布局的目标传感器作为初始值,并可以由该目标传感器的指标向量X=(x1,x2,…,xn)得到的目标传感器的布局信息的初始结果S’中的{s’}都来自于对布局空间和候选布局位置、方向的离散采样,离散的好处是可以对布局问题进行简化,从而实现提高求解布局信息的速度的技术效果。Optionally, the target sensor that satisfies the constraint layout before adjustment determined in the target model before adjustment can be used as the initial value, and the initial result S' of the layout information of the target sensor obtained by the indicator vector X=( x1 , x2 , ..., xn ) of the target sensor, {s'} of which all comes from discrete sampling of the layout space and the candidate layout positions and directions. The advantage of discretization is that the layout problem can be simplified, thereby achieving the technical effect of improving the speed of solving the layout information.

可选地,由目标模型中传感器的指标向量X=(x1,x2,…,xn)得到的传感器的布局初始结果S’中的{s’}都来自于对布局空间和候选布局位置、方向的离散采样。离散采样可以简化确定布局信息的问题,求解快,然而主要的缺点就是确定出的布局信息不够精确。为了进一步提高传感器布局质量,可以将通过空间和参数离散化得到的布局结果进行优化。针对初始结果S’,可以优化其中每个s’中的(x,y,α),也即, 可以优化目标传感器的位置信息和方向信息,而保持其他不变,目标函数如下所示:
min∑j||wij(xj,yj,αj).xj-bj||2
Optionally, {s'} in the initial result S' of the sensor layout obtained by the indicator vector X = ( x1 , x2 , ..., xn ) of the sensor in the target model all comes from discrete sampling of the layout space and the candidate layout positions and directions. Discrete sampling can simplify the problem of determining layout information and is fast to solve, but its main disadvantage is that the determined layout information is not accurate enough. In order to further improve the quality of sensor layout, the layout results obtained by discretizing space and parameters can be optimized. For the initial result S', each (x, y, α) in s' can be optimized, that is, The position and orientation information of the target sensor can be optimized while keeping the others unchanged. The objective function is as follows:
min∑ j ||w ij (x j , y j , α j ).x j -b j || 2 .

可选地,可以采用模拟退火方法优化上述目标函数,得到位置信息与目标位置信息之间的差值小于位置信息阈值,且方向信息与目标方向信息之间的差值小于方向信息阈值的{(xj,yj,αj)},生成且输出最终的目标传感器的布局信息。Optionally, the simulated annealing method can be used to optimize the above objective function to obtain {(x j , y j , α j ) }, where the difference between the position information and the target position information is less than the position information threshold, and the difference between the direction information and the target direction information is less than the direction information threshold, to generate and output the final layout information of the target sensor.

举例而言,图9是根据本公开实施例的一种给定布局空间的示意图,如图9所示,当用户需要对某一空间中部署IOT传感器时,可以在用户的终端设备的相应软件或应用上圈出所要布局的空间,从而终端设备可以显示出如图9所示的布局空间。For example, Figure 9 is a schematic diagram of a given layout space according to an embodiment of the present disclosure. As shown in Figure 9, when a user needs to deploy IOT sensors in a certain space, the space to be laid out can be circled on the corresponding software or application of the user's terminal device, so that the terminal device can display the layout space as shown in Figure 9.

可选地,在操作界面上显示布局空间之后,可以检测用户在操作界面上是否有布局操作指令。若用户需要对该待布局传感器的区域上布局传感器,可以在操作界面上点击相应的控件生成布局操作指令,可以通过终端设备在待布局传感器的区域上确定出所要部署传感器所在的候选的传感器集,并可以基于该区域以及传感器集,确定出该传感器集中每个候选传感器的需求信息,将需求信息整合得到传感器集的约束布局,通过对传感器集和约束布局进行整数规划处理,从所有候选传感器中筛选出在区域中将要部署的目标传感器,并可以确定出将目标传感器部署到该区域中的布局信息,并可以将该区域的布局信息显示在操作界面上,以供用户按照该布局信息在相应的区域中部署相应的传感器。Optionally, after the layout space is displayed on the operation interface, it can be detected whether the user has a layout operation instruction on the operation interface. If the user needs to layout sensors in the area where the sensors are to be laid out, the corresponding control can be clicked on the operation interface to generate a layout operation instruction, and the candidate sensor set where the sensors are to be deployed can be determined on the area where the sensors are to be laid out through the terminal device, and based on the area and the sensor set, the demand information of each candidate sensor in the sensor set can be determined, and the constraint layout of the sensor set can be obtained by integrating the demand information, and the target sensor to be deployed in the area can be screened from all candidate sensors by integer programming processing of the sensor set and the constraint layout, and the layout information for deploying the target sensor in the area can be determined, and the layout information of the area can be displayed on the operation interface for the user to deploy the corresponding sensor in the corresponding area according to the layout information.

举例而言,图10是根据本公开实施例的一种传感器的布局方案的示意图,如图10所示,基于上述方法,可以生成对该给定布局空间布局IOT传感器的布局方案,图10中的黑点可以为IOT传感器所要部署的位置。For example, Figure 10 is a schematic diagram of a sensor layout scheme according to an embodiment of the present disclosure. As shown in Figure 10, based on the above method, a layout scheme for IOT sensors in the given layout space can be generated, and the black dots in Figure 10 may be the locations where the IOT sensors are to be deployed.

举例而言,上述方法可以应用于不同种类的IOT传感器的布局问题中,以城市指令的摄像头为例,该方法可以应用于点位布局管理的三种不同功能板块的应用场景,提高设备的单位利用率和整体使用效果。For example, the above method can be applied to the layout problems of different types of IOT sensors. Taking the camera of city command as an example, this method can be applied to the application scenarios of three different functional modules of point layout management to improve the unit utilization rate and overall use effect of the equipment.

再举例而言,对于新建的园区和城市街道,如何安装和布设摄像头显得尤为重要,使用该方法可以在满足约束布局的情况下尽量减少硬件成本,此外,在布局方案的生成过程中,可以布设结果及时进行可视化,便于施工人员和项目管理者了解布设效果,从而实现了提高布设效率的技术效果。For another example, for newly built parks and city streets, how to install and deploy cameras is particularly important. Using this method can minimize hardware costs while satisfying the layout constraints. In addition, during the generation of the layout plan, the layout results can be visualized in a timely manner, making it easier for construction personnel and project managers to understand the layout effects, thereby achieving the technical effect of improving layout efficiency.

作为一种可选的实例,对于城市街道中现有的IOT传感器布局方案,可以利用该方法进行定量评估,解决了以往智能定性分析布局方案优劣的问题。用户可以自定义传感器使用代价c,并可以通过∑jcjxj来评价现有布局的整体使用代价,并可以通过布局约束对现有的布局方案进行逐条考核,从而发现现有布局方案中的布局问题,并及时解决该问题。As an optional example, this method can be used to quantitatively evaluate the existing IOT sensor layout schemes in urban streets, solving the problem of previous intelligent qualitative analysis of the advantages and disadvantages of layout schemes. Users can customize the sensor usage cost c, and can evaluate the overall usage cost of the existing layout through ∑ j c j x j , and can evaluate the existing layout schemes one by one through layout constraints, so as to find layout problems in the existing layout schemes and solve them in time.

作为另一种可选的实例,对于存在布局问题的布局方案,可以不断对布局约束进 行调整,以及调整后的布局约束重新建模求解,对存在布局问题的布局方案进逐步修正和完善。As another optional example, for a layout solution with layout problems, you can continuously adjust the layout constraints. The layout constraints are adjusted and remodeled and solved after the adjustments, and the layout solutions with layout problems are gradually corrected and improved.

需要说明的是,本公开中所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),比如,对进行校验的数据,均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure, such as the data for verification, are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。In the embodiment of the present disclosure, the area where the sensing devices are to be arranged and the candidate layout positions of the sensing devices to be deployed in the area can be determined, the candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint information of the sensing device set, and the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and the layout information for deploying the target sensing device in the area can be determined. Since the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

实施例3Example 3

根据本公开实施例,还提供了一种设置为实施上述图3所示的感应设备的布局信息的确定方法的感应设备的布局信息的确定装置。According to an embodiment of the present disclosure, there is also provided a device for determining layout information of a sensing device configured to implement the method for determining layout information of a sensing device shown in FIG. 3 .

图11是根据本公开实施例的一种感应设备的布局信息的确定装置的示意图,如图11所示,该感应设备的布局信息的确定装置1100可以包括:第一采集单元1102、第一获取单元1104、确定单元1106和处理单元1108。FIG11 is a schematic diagram of a device for determining layout information of a sensing device according to an embodiment of the present disclosure. As shown in FIG11 , the device 1100 for determining layout information of a sensing device may include: a first collecting unit 1102 , a first acquiring unit 1104 , a determining unit 1106 , and a processing unit 1108 .

第一采集单元1102,设置为采集待布局感应设备的区域,其中,待布局感应设备的区域包括:至少一候选布局位置,候选布局位置设置为待布局至少一候选感应设备。The first collecting unit 1102 is configured to collect an area where sensing devices are to be arranged, wherein the area where sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is configured to be arranged with at least one candidate sensing device.

第一获取单元1104,设置为获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集至少包括位于候选布局位置上的候选感应设备。The first acquisition unit 1104 is configured to acquire a candidate sensing device set corresponding to the area where the sensing devices are to be arranged, wherein the candidate sensing device set at least includes candidate sensing devices located at candidate arrangement positions.

确定单元1106,设置为基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息,其中,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息。The determining unit 1106 is configured to determine constraint information for placing the sensing devices based on the area where the sensing devices are to be placed and the candidate sensing device set, wherein the constraint information is configured to indicate requirement information for placing at least one candidate sensing device in the candidate sensing device set in the area where the sensing devices are to be placed.

处理单元1108,设置为对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。 The processing unit 1108 is configured to perform integer programming processing on the candidate sensing device set and the constraint condition information, obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and output layout information in the area where the target sensing device is located.

此处上述第一采集单元1102、第一获取单元1104、确定单元1106和处理单元1108对应于实施例1中的步骤S302至步骤S308,四个单元与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例1所公开的内容。需要说明的是,上述单元可以是存储在存储器(例如,存储器1604)中并由一个或多个处理器(例如,处理器1602a,1602b……,1602n)处理的硬件组件或软件组件,上述单元也可以作为装置的一部分可以运行在实施例6提供的计算机终端160中。Here, the first acquisition unit 1102, the first acquisition unit 1104, the determination unit 1106 and the processing unit 1108 correspond to steps S302 to S308 in Example 1, and the four units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned units can be hardware components or software components stored in a memory (e.g., memory 1604) and processed by one or more processors (e.g., processors 1602a, 1602b..., 1602n), and the above-mentioned units can also be run in the computer terminal 160 provided in Example 6 as part of the device.

根据本公开实施例,还提供了一种设置为实施上述图4所示的感应设备的布局方法的感应设备的布局装置。According to an embodiment of the present disclosure, there is also provided a layout device for a sensing device configured to implement the layout method for a sensing device shown in FIG. 4 .

图12是根据本公开实施例的一种感应设备的布局装置的示意图,如图12所示,该感应设备的布局装置1200可以包括:第二采集单元1202、第二获取单元1204和布局单元1206。FIG12 is a schematic diagram of a layout device of a sensing device according to an embodiment of the present disclosure. As shown in FIG12 , the layout device 1200 of the sensing device may include: a second acquisition unit 1202 , a second acquisition unit 1204 , and a layout unit 1206 .

第二采集单元1202,设置为采集物联网覆盖范围内的待布局感应设备的区域。The second collecting unit 1202 is configured to collect information about the area where the sensing devices are to be deployed within the coverage area of the Internet of Things.

第二获取单元1204,设置为获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。The second acquisition unit 1204 is configured to acquire layout information of at least one target sensing device in the area of the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing device to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of the sensing device to be arranged, and the constraint information is set to represent requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing device to be arranged, and is determined based on the area of the sensing device to be arranged and the candidate sensing device set.

布局单元1206,设置为基于布局信息将目标感应设备布局在待布局感应设备的区域中。The layout unit 1206 is configured to layout the target sensing device in the area where the sensing device is to be laid out based on the layout information.

此处需要说明的是,上述第二采集单元1202、第二获取单元1204和布局单元1206对应于实施例1中的步骤S402至步骤S406,三个单元与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例1所公开的内容。需要说明的是,上述单元可以是存储在存储器(例如,存储器1604)中并由一个或多个处理器(例如,处理器1602a,1602b……,1602n)处理的硬件组件或软件组件,上述单元也可以作为装置的一部分可以运行在实施例6提供的计算机终端160中。It should be noted that the second acquisition unit 1202, the second acquisition unit 1204 and the layout unit 1206 correspond to steps S402 to S406 in Example 1, and the three units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned units can be hardware components or software components stored in a memory (e.g., memory 1604) and processed by one or more processors (e.g., processors 1602a, 1602b..., 1602n), and the above-mentioned units can also be run in the computer terminal 160 provided in Example 6 as part of the device.

根据本公开实施例,还提供了一种设置为实施上述图5所示的感应设备的布局方法的感应设备的布局装置。According to an embodiment of the present disclosure, there is also provided a layout device for a sensing device configured to implement the layout method for a sensing device shown in FIG. 5 .

图13是根据本公开实施例的另一种感应设备的布局装置的示意图,如图13所示,该感应设备的布局装置1300可以包括:第一显示单元1302和第二显示单元1304。FIG. 13 is a schematic diagram of another layout device of a sensing device according to an embodiment of the present disclosure. As shown in FIG. 13 , the layout device 1300 of the sensing device may include: a first display unit 1302 and a second display unit 1304 .

第一显示单元1302,设置为在操作界面上显示待布局感应设备的区域。The first display unit 1302 is configured to display the area where the sensing devices are to be arranged on the operation interface.

第二显示单元1304,设置为响应作用于操作界面上的布局操作指令,在操作界面上显示至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布 局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。The second display unit 1304 is configured to respond to the layout operation instruction on the operation interface and display the layout information of at least one target sensing device in the area on the operation interface, wherein at least one target sensing device is to be arranged. The candidate sensing devices satisfying the constraint information in the candidate sensing device set corresponding to the area of the local sensing device are obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes the candidate sensing devices located at the candidate layout positions in the area of the sensing device to be laid out, the constraint information is set to represent the requirement information of laying out at least one candidate sensing device in the candidate sensing device set in the area of the sensing device to be laid out, and is determined based on the area of the sensing device to be laid out and the candidate sensing device set.

此处需要说明的是,上述第一显示单元1302和第二显示单元1304,对应于实施例1中的步骤S502至步骤S504,两个单元与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例1所公开的内容。需要说明的是,上述单元可以是存储在存储器(例如,存储器1604)中并由一个或多个处理器(例如,处理器1602a,1602b……,1602n)处理的硬件组件或软件组件,上述单元也可以作为装置的一部分可以运行在实施例6提供的计算机终端160中。It should be noted that the first display unit 1302 and the second display unit 1304 correspond to steps S502 to S504 in Embodiment 1, and the two units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 1. It should be noted that the above units may be hardware components or software components stored in a memory (e.g., memory 1604) and processed by one or more processors (e.g., processors 1602a, 1602b..., 1602n), and the above units may also be part of the device and run in the computer terminal 160 provided in Embodiment 6.

在该感应设备的布局信息的确定装置中,在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。In the device for determining the layout information of the sensing device, in the embodiment of the present disclosure, the area where the sensing device is to be arranged and the candidate layout positions of the sensing device to be deployed in the area can be determined, the candidate sensing device set where the sensing device to be deployed is located can be determined in the area where the sensing device is to be arranged, and based on the area and the sensing device set, the demand information of each candidate sensing device in the sensing device set can be determined, and the demand information is integrated to obtain the constraint condition information of the sensing device set, and the target sensing device to be deployed in the area is screened out from all the candidate sensing devices by performing integer programming processing on the sensing device set and the constraint condition information, and the layout information for deploying the target sensing device in the area can be determined. Since the integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of the layout information when deploying the sensing device in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

实施例4Example 4

本公开的实施例可以提供一种计算机终端,该计算机终端可以是计算机终端群中的任意一个计算机终端设备。可选地,在本实施例中,上述计算机终端也可以替换为移动终端等终端设备。The embodiment of the present disclosure may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal.

可选地,在本实施例中,上述计算机终端可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.

在本实施例中,上述计算机终端可以执行感应设备的布局信息的确定方法中以下步骤的程序代码:采集待布局感应设备的区域,其中,待布局感应设备的区域包括:至少一候选布局位置,候选布局位置设置为待布局至少一候选感应设备;获取待布局感应设备的区域对应的候选的感应设备集,其中,候选的感应设备集至少包括位于候选布局位置上的候选感应设备;基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息,其中,约束条件信息设置为表示在待布局感应设备 的区域中布局候选的感应设备集中至少一候选感应设备的需求信息;对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。In this embodiment, the computer terminal can execute the following program codes of the method for determining the layout information of the sensing device: collecting the area where the sensing device is to be arranged, wherein the area where the sensing device is to be arranged includes: at least one candidate layout position, and the candidate layout position is set as the at least one candidate sensing device to be arranged; obtaining the candidate sensing device set corresponding to the area where the sensing device is to be arranged, wherein the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position; determining the constraint condition information for the layout of the sensing device based on the area where the sensing device is to be arranged and the candidate sensing device set, wherein the constraint condition information is set to indicate the constraint condition information for the layout of the sensing device. The method comprises the following steps: first, obtaining demand information of at least one candidate sensing device in a candidate sensing device set for layout in an area; second, performing integer programming processing on the candidate sensing device set and constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and outputting layout information in an area where the target sensing device is located.

可选地,图14是根据本公开实施例的一种计算机终端的结构框图。如图14所示,该计算机终端A可以包括:一个或多个(图中示出一个)处理器1402、存储器1404以及传输装置1406。Optionally, Fig. 14 is a block diagram of a computer terminal according to an embodiment of the present disclosure. As shown in Fig. 14, the computer terminal A may include: one or more (one is shown in the figure) processors 1402, a memory 1404 and a transmission device 1406.

其中,存储器可用于存储软件程序以及模块,如本公开实施例中的感应设备的布局信息的确定方法和装置对应的程序指令/模块,处理器通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的感应设备的布局信息的确定方法。存储器可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其它非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端A。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。Among them, the memory can be used to store software programs and modules, such as the program instructions/modules corresponding to the method for determining the layout information of the sensing device and the device in the embodiment of the present disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the above-mentioned method for determining the layout information of the sensing device is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:采集待布局感应设备的区域;获取待布局感应设备的区域对应的候选的感应设备集;基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息;对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: collect the area where the sensing device is to be arranged; obtain the candidate sensing device set corresponding to the area where the sensing device is to be arranged; determine the constraint condition information for the arrangement of the sensing device based on the area where the sensing device is to be arranged and the candidate sensing device set; perform integer programming processing on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and output the layout information in the area where the target sensing device is located.

可选地,上述处理器还可以执行如下步骤的程序代码:对候选的感应设备集和约束条件信息进行整数规划建模,得到目标模型,其中,目标模型设置为使待布局感应设备的区域的布局成本小于成本阈值;使用目标模型在候选的感应设备集中确定满足约束条件信息的目标感应设备,其中,基于布局信息将目标感应设备布局在待布局感应设备的区域中的布局成本小于成本阈值。Optionally, the processor may also execute program code of the following steps: performing integer programming modeling on the candidate sensing device set and the constraint condition information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing device is to be laid out less than a cost threshold; using the target model to determine the target sensing device that satisfies the constraint condition information in the candidate sensing device set, wherein the layout cost of laying out the target sensing device in the area where the sensing device is to be laid out based on the layout information is less than the cost threshold.

可选地,上述处理器还可以执行如下步骤的程序代码:对目标模型进行求解,得到候选感应设备对应的目标指标信息,其中,目标指标信息设置为表示候选感应设备为目标感应设备,或不为目标感应设备;基于目标指标信息在候选的感应设备集中选取满足约束条件信息的目标感应设备。Optionally, the processor may also execute program code of the following steps: solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is a target sensing device, or is not a target sensing device; and selecting a target sensing device that meets the constraint condition information from the candidate sensing device set based on the target indicator information.

可选地,上述处理器还可以执行如下步骤的程序代码:调整约束条件信息;对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。Optionally, the processor may also execute program code of the following steps: adjusting constraint information; performing integer programming on the candidate sensing device set and the adjusted constraint information to obtain a target sensing device in the candidate sensing device set that satisfies the adjusted constraint information.

可选地,上述处理器还可以执行如下步骤的程序代码:以满足调整前的约束条件信息的目标感应设备作为初始值,对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。 Optionally, the processor may also execute program code of the following steps: using the target sensing device that satisfies the constraint information before adjustment as an initial value, performing integer programming processing on the candidate sensing device set and the constraint information after adjustment, and obtaining the target sensing device that satisfies the constraint information after adjustment in the candidate sensing device set.

可选地,上述处理器还可以执行如下步骤的程序代码:基于目标函数对布局信息中位置信息和/或方向信息进行调整,其中,位置信息设置为表示目标感应设备在待布局感应设备的区域中的布局位置,方向信息设置为表示目标感应设备在布局位置上布局的朝向,目标函数设置为使调整后的位置信息与目标位置信息之间的差值小于位置信息阈值,且使调整后的方向信息与目标方向信息之间的差值小于方向信息阈值;输出调整后的位置信息和/或方向信息。Optionally, the processor may also execute program code of the following steps: adjusting the position information and/or direction information in the layout information based on the objective function, wherein the position information is set to represent the layout position of the target sensing device in the area of the sensing device to be laid out, and the direction information is set to represent the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and to make the difference between the adjusted direction information and the target direction information less than a direction information threshold; and outputting the adjusted position information and/or direction information.

可选地,上述处理器还可以执行如下步骤的程序代码:基于目标函数对离散化的位置信息和/或离散化的方向信息进行调整。Optionally, the processor may further execute a program code of the following steps: adjusting the discretized position information and/or the discretized direction information based on the objective function.

可选地,上述处理器还可以执行如下步骤的程序代码:基于待布局感应设备的区域和候选的感应设备集,对候选感应设备的属性信息进行约束,得到约束条件信息。Optionally, the processor may further execute program code of the following steps: based on the area where the sensing devices are to be arranged and the candidate sensing device set, constrain the attribute information of the candidate sensing devices to obtain constraint condition information.

可选地,上述处理器还可以执行如下步骤的程序代码:对待布局感应设备的区域进行均匀采样,得到目标位置。Optionally, the processor may further execute program code of the following steps: uniformly sampling the area where the sensing device is to be deployed to obtain a target position.

可选地,上述处理器还可以执行如下步骤的程序代码:基于待布局感应设备的区域中候选布局位置允许布局的感应设备类型集,以及待布局感应设备的区域中的候选布局位置,确定候选的感应设备集。Optionally, the processor may further execute program code of the following steps: determining a candidate set of sensing devices based on a set of sensing device types allowed to be placed at candidate placement positions in the area where the sensing devices are to be placed and candidate placement positions in the area where the sensing devices are to be placed.

可选地,上述处理器还可以执行如下步骤的程序代码:在待布局感应设备的区域中的候选布局位置上,采集候选方向信息,得到候选方向集,其中,候选方向信息设置为表示候选感应设备在候选布局位置上布局的朝向,多个候选方向信息对应的多个朝向之间的夹角相同;基于感应设备类型集,确定允许布局在候选方向集中候选方向信息对应朝向上的候选感应设备,得到候选的感应设备集,其中,候选感应设备满足感应设备类型集中的感应设备类型。Optionally, the processor may also execute program code of the following steps: at a candidate layout position in the area where the sensing device is to be laid out, collecting candidate direction information to obtain a candidate direction set, wherein the candidate direction information is set to indicate the orientation of the candidate sensing device at the candidate layout position, and the angles between multiple orientations corresponding to multiple candidate direction information are the same; based on the sensing device type set, determining candidate sensing devices that are allowed to be laid out in the orientations corresponding to the candidate direction information in the candidate direction set to obtain a candidate sensing device set, wherein the candidate sensing devices satisfy the sensing device types in the sensing device type set.

可选地,上述处理器还可以执行如下步骤的程序代码:对待布局感应设备的区域进行离散采样,得到候选布局位置,其中,候选布局位置未包括待布局感应设备的区域的边界采样点。Optionally, the processor may further execute program code of the following steps: discretely sampling the area where the sensing device is to be placed to obtain candidate placement positions, wherein the candidate placement positions do not include boundary sampling points of the area where the sensing device is to be placed.

处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:采集物联网覆盖范围内的待布局感应设备的区域;获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定;基于布局信息将目标感应设备布局在待布局感应设备的区域中。The processor can call the information and application program stored in the memory through the transmission device to perform the following steps: collect the area of the sensing device to be arranged within the coverage of the Internet of Things; obtain the layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies the constraint condition information in the candidate sensing device set corresponding to the area of the sensing device to be arranged, and is obtained by integer programming processing of the candidate sensing device set and the constraint condition information, the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position in the area of the sensing device to be arranged, the constraint condition information is set to represent the requirement information of arranging at least one candidate sensing device in the candidate sensing device set in the area of the sensing device to be arranged, and is determined based on the area of the sensing device to be arranged and the candidate sensing device set; and the target sensing device is arranged in the area of the sensing device to be arranged based on the layout information.

处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤: The processor can call the information and application stored in the memory through the transmission device to perform the following steps:

在操作界面上显示待布局感应设备的区域;响应作用于操作界面上的布局操作指令,在操作界面上显示至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。An area where sensing devices are to be arranged is displayed on an operation interface; in response to a layout operation instruction on the operation interface, layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area where sensing devices are to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area where sensing devices are to be arranged, and the constraint information is set to represent requirement information for arranging at least one candidate sensing device in the candidate sensing device set in the area where sensing devices are to be arranged, and is determined based on the area where sensing devices are to be arranged and the candidate sensing device set.

采用本公开实施例,提供了一种感应设备的布局信息的确定方法。在本公开实施例中,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。According to an embodiment of the present disclosure, a method for determining layout information of a sensing device is provided. In the embodiment of the present disclosure, an area where sensing devices are to be arranged and candidate layout positions of sensing devices to be deployed in the area can be determined, a candidate sensing device set where the sensing devices to be deployed are located can be determined in the area where the sensing devices are to be arranged, and based on the area and the sensing device set, demand information of each candidate sensing device in the sensing device set can be determined, and constraint information of the sensing device set can be obtained by integrating the demand information, and the target sensing device to be deployed in the area can be screened out from all candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and layout information for deploying the target sensing device in the area can be determined, and since integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing device and solving the technical problem of low efficiency in determining the layout information of the target sensing device.

本领域普通技术人员可以理解,图14所示的结构为示意,计算机终端A也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,简称为MID)、PAD等终端设备。图14其并不对上述计算机终端A的结构造成限定。例如,计算机终端A还可包括比图14中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图14所示不同的配置。Those skilled in the art will understand that the structure shown in FIG. 14 is for illustration only, and the computer terminal A may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD, and other terminal devices. FIG. 14 does not limit the structure of the above-mentioned computer terminal A. For example, the computer terminal A may also include more or fewer components (such as a network interface, a display device, etc.) than those shown in FIG. 14, or have a configuration different from that shown in FIG. 14.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取器(Random Access Memory,简称为RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

实施例5Example 5

本公开的实施例还提供了一种计算机可读存储介质。可选地,在本实施例中,上述计算机可读存储介质可以设置为保存上述实施例一所提供的感应设备的布局信息的确定方法所执行的程序代码。The embodiment of the present disclosure further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium may be configured to store program codes executed by the method for determining the layout information of the sensing device provided in the first embodiment.

可选地,在本实施例中,上述计算机可读存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.

可选地,在本实施例中,计算机可读存储介质被设置为存储用于执行以下步骤的 程序代码:采集待布局感应设备的区域;获取待布局感应设备的区域对应的候选的感应设备集;基于待布局感应设备的区域和候选的感应设备集,确定布局感应设备的约束条件信息;对候选的感应设备集和约束条件信息进行整数规划处理,得到候选的感应设备集中满足约束条件信息的至少一目标感应设备,且输出目标感应设备所在区域中的布局信息。Optionally, in this embodiment, the computer readable storage medium is configured to store the following steps: Program code: collect the area where the sensing device is to be arranged; obtain the candidate sensing device set corresponding to the area where the sensing device is to be arranged; determine the constraint information of the layout sensing device based on the area where the sensing device is to be arranged and the candidate sensing device set; perform integer programming processing on the candidate sensing device set and the constraint information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint information, and output the layout information in the area where the target sensing device is located.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:对候选的感应设备集和约束条件信息进行整数规划建模,得到目标模型,其中,目标模型设置为使待布局感应设备的区域的布局成本小于成本阈值;使用目标模型在候选的感应设备集中确定满足约束条件信息的目标感应设备,其中,基于布局信息将目标感应设备布局在待布局感应设备的区域中的布局成本小于成本阈值。Optionally, the computer-readable storage medium may also execute program code for the following steps: performing integer programming modeling on the candidate sensing device set and the constraint information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing devices are to be laid out less than a cost threshold; using the target model to determine the target sensing device that satisfies the constraint information in the candidate sensing device set, wherein the layout cost of laying out the target sensing device in the area where the sensing devices are to be laid out based on the layout information is less than the cost threshold.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:对目标模型进行求解,得到候选感应设备对应的目标指标信息,其中,目标指标信息设置为表示候选感应设备为目标感应设备,或不为目标感应设备;基于目标指标信息在候选的感应设备集中选取满足约束条件信息的目标感应设备。Optionally, the computer-readable storage medium may also execute program code for the following steps: solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is a target sensing device, or is not a target sensing device; and selecting a target sensing device that satisfies the constraint condition information from the candidate sensing device set based on the target indicator information.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。Optionally, the computer-readable storage medium may further execute program code of the following steps: performing integer programming processing on the candidate sensing device set and the adjusted constraint condition information to obtain a target sensing device in the candidate sensing device set that satisfies the adjusted constraint condition information.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:以满足调整前的约束条件信息的目标感应设备作为初始值,对候选的感应设备集和调整后的约束条件信息进行整数规划处理,得到候选的感应设备集中满足调整后的约束条件信息的目标感应设备。Optionally, the computer-readable storage medium may also execute program code of the following steps: using the target sensing device that satisfies the constraint information before adjustment as an initial value, performing integer programming processing on the candidate sensing device set and the constraint information after adjustment, and obtaining the target sensing device that satisfies the constraint information after adjustment in the candidate sensing device set.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:基于目标函数对布局信息中位置信息和/或方向信息进行调整,其中,位置信息设置为表示目标感应设备在待布局感应设备的区域中的布局位置,方向信息设置为表示目标感应设备在布局位置上布局的朝向,目标函数设置为使调整后的位置信息与目标位置信息之间的差值小于位置信息阈值,且使调整后的方向信息与目标方向信息之间的差值小于方向信息阈值;输出调整后的位置信息和/或方向信息。Optionally, the computer-readable storage medium may also execute program code for the following steps: adjusting the position information and/or direction information in the layout information based on an objective function, wherein the position information is set to represent the layout position of the target sensing device in the area of the sensing device to be laid out, and the direction information is set to represent the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and to make the difference between the adjusted direction information and the target direction information less than a direction information threshold; and outputting the adjusted position information and/or direction information.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:基于目标函数对离散化的位置信息和/或离散化的方向信息进行调整。Optionally, the computer-readable storage medium may also execute program code for the following steps: adjusting the discretized position information and/or the discretized direction information based on the objective function.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:基于待布局感应设备的区域和候选的感应设备集,对候选感应设备的属性信息进行约束,得到约束条件信息。Optionally, the computer-readable storage medium may further execute program code for the following steps: constraining attribute information of candidate sensing devices based on the area where the sensing devices are to be arranged and the candidate sensing device set to obtain constraint condition information.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:对待布局感应设备的区域进行均匀采样,得到目标位置。 Optionally, the computer-readable storage medium may further execute program code for the following steps: uniformly sampling the area where the sensing device is to be deployed to obtain a target position.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:基于待布局感应设备的区域中候选布局位置允许布局的感应设备类型集,以及待布局感应设备的区域中的候选布局位置,确定候选的感应设备集。Optionally, the computer-readable storage medium may further include program code for executing the following steps: determining a candidate set of sensing devices based on a set of sensing device types allowed to be laid out at candidate layout positions in the area where the sensing devices are to be laid out, and candidate layout positions in the area where the sensing devices are to be laid out.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:在待布局感应设备的区域中的候选布局位置上,采集候选方向信息,得到候选方向集,其中,候选方向信息设置为表示候选感应设备在候选布局位置上布局的朝向,多个候选方向信息对应的多个朝向之间的夹角相同;基于感应设备类型集,确定允许布局在候选方向集中候选方向信息对应朝向上的候选感应设备,得到候选的感应设备集,其中,候选感应设备满足感应设备类型集中的感应设备类型。Optionally, the computer-readable storage medium may also execute program code for the following steps: collecting candidate direction information at a candidate layout position in the area where the sensing device is to be laid out, and obtaining a candidate direction set, wherein the candidate direction information is set to indicate the orientation of the candidate sensing device at the candidate layout position, and the angles between multiple orientations corresponding to multiple candidate direction information are the same; based on the sensing device type set, determining candidate sensing devices that are allowed to be laid out in the orientations corresponding to the candidate direction information in the candidate direction set, and obtaining a candidate sensing device set, wherein the candidate sensing devices satisfy the sensing device types in the sensing device type set.

可选地,上述计算机可读存储介质还可以执行如下步骤的程序代码:对待布局感应设备的区域进行离散采样,得到候选布局位置,其中,候选布局位置未包括待布局感应设备的区域的边界采样点。Optionally, the computer-readable storage medium may further execute program code of the following steps: discretely sampling the area where the sensing device is to be placed to obtain candidate placement positions, wherein the candidate placement positions do not include boundary sampling points of the area where the sensing device is to be placed.

作为一种可选的示例,计算机可读存储介质被设置为存储用于执行以下步骤的程序代码:采集物联网覆盖范围内的待布局感应设备的区域;获取物联网内至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定;基于布局信息将目标感应设备布局在待布局感应设备的区域中。As an optional example, a computer-readable storage medium is configured to store program code for executing the following steps: collecting an area of sensing devices to be deployed within the coverage of an Internet of Things; obtaining layout information of at least one target sensing device in the area within the Internet of Things, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing devices to be deployed, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of the sensing devices to be deployed, the constraint information is set to represent requirement information for deploying at least one candidate sensing device in the candidate sensing device set in the area of the sensing devices to be deployed, and is determined based on the area of the sensing devices to be deployed and the candidate sensing device set; and the target sensing device is deployed in the area of the sensing devices to be deployed based on the layout information.

作为一种可选的示例,计算机可读存储介质被设置为存储用于执行以下步骤的程序代码:在操作界面上显示待布局感应设备的区域;响应作用于操作界面上的布局操作指令,在操作界面上显示至少一目标感应设备在区域中的布局信息,其中,至少一目标感应设备为待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对候选的感应设备集和约束条件信息进行整数规划处理得到,候选的感应设备集至少包括位于待布局感应设备的区域中候选布局位置上的候选感应设备,约束条件信息设置为表示在待布局感应设备的区域中布局候选的感应设备集中至少一候选感应设备的需求信息,且为基于待布局感应设备的区域和候选的感应设备集确定。As an optional example, a computer-readable storage medium is configured to store program codes for executing the following steps: displaying an area of sensing devices to be laid out on an operation interface; and displaying layout information of at least one target sensing device in the area on the operation interface in response to a layout operation instruction applied to the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of sensing devices to be laid out, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes candidate sensing devices located at candidate layout positions in the area of sensing devices to be laid out, and the constraint information is configured to represent requirement information for laying out at least one candidate sensing device in the candidate sensing device set in the area of sensing devices to be laid out, and is determined based on the area of sensing devices to be laid out and the candidate sensing device set.

实施例6Example 6

本公开的实施例可以提供一种电子设备,该电子设备可以包括存储器和处理器。An embodiment of the present disclosure may provide an electronic device, which may include a memory and a processor.

图15是根据本公开实施例的一种感应设备的布局信息的确定方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、 工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG15 is a block diagram of an electronic device for determining a layout information of a sensing device according to an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples and are not intended to limit implementations of the present disclosure described and/or claimed herein.

如图15所示,设备1500包括计算单元1501,其可以根据存储在只读存储器(ROM)1502中的计算机程序或者从存储单元1508加载到随机访问存储器(RAM)1503中的计算机程序,来执行各种适当的动作和处理。在RAM1503中,还可存储设备1500操作所需的各种程序和数据。计算单元1501、ROM1502以及RAM1503通过总线1504彼此相连。输入/输出(I/O)接口1505也连接至总线1504。As shown in FIG. 15 , the device 1500 includes a computing unit 1501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1502 or a computer program loaded from a storage unit 1508 into a random access memory (RAM) 1503. In the RAM 1503, various programs and data required for the operation of the device 1500 can also be stored. The computing unit 1501, the ROM 1502, and the RAM 1503 are connected to each other via a bus 1504. An input/output (I/O) interface 1505 is also connected to the bus 1504.

设备1500中的多个部件连接至I/O接口1505,包括:输入单元1506,例如键盘、鼠标等;输出单元1504,例如各种类型的显示器、扬声器等;存储单元1508,例如磁盘、光盘等;以及通信单元1509,例如网卡、调制解调器、无线通信收发机等。通信单元1509允许设备1500通过诸如因特网的计算机网络和/或各种电信网络与其它设备交换信息/数据。A number of components in the device 1500 are connected to the I/O interface 1505, including: an input unit 1506, such as a keyboard, a mouse, etc.; an output unit 1504, such as various types of displays, speakers, etc.; a storage unit 1508, such as a disk, an optical disk, etc.; and a communication unit 1509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1509 allows the device 1500 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.

计算单元1501可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元1501的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元1501执行上文所描述的各个方法和处理,例如感应设备的布局信息的确定方法。例如,在一些实施例中,感应设备的布局信息的确定方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元1508。在一些实施例中,计算机程序的部分或者全部可以经由ROM 1502和/或通信单元1509而被载入和/或安装到设备1500上。当计算机程序加载到RAM 1503并由计算单元1501执行时,可以执行上文描述的感应设备的布局信息的确定方法的一个或多个步骤。备选地,在其它实施例中,计算单元1501可以通过其它任何适当的方式(例如,借助于固件)而被配置为执行感应设备的布局信息的确定方法。The computing unit 1501 may be a variety of general and/or special processing components with processing and computing capabilities. Some examples of the computing unit 1501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 1501 performs the various methods and processes described above, such as a method for determining the layout information of a sensing device. For example, in some embodiments, the method for determining the layout information of a sensing device may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1508. In some embodiments, part or all of the computer program may be loaded and/or installed on the device 1500 via the ROM 1502 and/or the communication unit 1509. When the computer program is loaded into the RAM 1503 and executed by the computing unit 1501, one or more steps of the method for determining the layout information of the sensing device described above may be performed. Alternatively, in other embodiments, the computing unit 1501 may be configured to execute the method for determining the layout information of the sensing device in any other appropriate manner (for example, by means of firmware).

本公开实施例1所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。图16是根据本公开实施例的一种设置为实现感应设备的布局信息的确定方法的计算机终端(或移动设备)的硬件结构框图,如图16所示,计算机终端160(或移动设备)可以包括一个或多个(图中采用1602a、1602b,……,1602n来示出)处理器1602(处理器1602可以包括但不限于微处理器(Microcontroller Unit,简称为MCU)或可编程逻辑器件(Field Programmable Gate Array,简称为FPGA)等的处理装置)、设置为存储数据的存储器1604、以及设置为通信功能的传输模块1606。除此以外,还可以包括:显示器、输入/输出接口(I/O接口)、通用串行总线(Universal Serial  Bus,简称为USB)端口(可以作为BUS总线的端口中的一个端口被包括)、网络接口、电源和/或相机。本领域普通技术人员可以理解,图16所示的结构为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端160还可包括比图16中所示更多或者更少的组件,或者具有与图16所示不同的配置。The method embodiment provided in Embodiment 1 of the present disclosure can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 16 is a hardware structure block diagram of a computer terminal (or mobile device) configured to implement a method for determining layout information of a sensing device according to an embodiment of the present disclosure. As shown in Figure 16, the computer terminal 160 (or mobile device) may include one or more (1602a, 1602b, ..., 1602n are used to illustrate) processors 1602 (the processor 1602 may include but is not limited to a microprocessor (Microcontroller Unit, referred to as MCU) or a programmable logic device (Field Programmable Gate Array, referred to as FPGA) and other processing devices), a memory 1604 configured to store data, and a transmission module 1606 configured to have a communication function. In addition, it may also include: a display, an input/output interface (I/O interface), a universal serial bus (Universal Serial A computer terminal 160 may include a USB port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and/or a camera. It will be appreciated by those skilled in the art that the structure shown in FIG. 16 is for illustration only and does not limit the structure of the electronic device. For example, the computer terminal 160 may include more or fewer components than those shown in FIG. 16 , or may have a configuration different from that shown in FIG. 16 .

图16示出的硬件结构框图,不可以作为上述计算机终端160(或移动设备)的示例性框图,还可以作为上述服务器的示例性框图,一种可选实施例中,图2以框图示出了使用上述图16所示的计算机终端160(或移动设备)作为计算环境201中计算节点的一种实施例。The hardware structure block diagram shown in Figure 16 can not only be used as an exemplary block diagram of the above-mentioned computer terminal 160 (or mobile device), but can also be used as an exemplary block diagram of the above-mentioned server. In an optional embodiment, Figure 2 shows a block diagram of an embodiment of using the computer terminal 160 (or mobile device) shown in the above-mentioned Figure 16 as a computing node in the computing environment 201.

本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、复杂可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and/or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

设置为实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。The program code configured to implement the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, causes the functions/operations specified in the flow chart and/or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:设置为向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器、监测器);以及键盘和指向装置(例如,鼠标或者路径球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以设置为提供与用 户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display, monitor) configured to display information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices may also be configured to provide interaction with the user. user's interaction; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

需要说明的是,上述本公开实施例序号为了描述,不代表实施例的优劣。It should be noted that the serial numbers of the above-mentioned embodiments of the present disclosure are for description only and do not represent the advantages or disadvantages of the embodiments.

在本公开的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above embodiments of the present disclosure, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

在本公开所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例是示意性的,例如单元的划分,为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in the present disclosure, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are schematic, such as the division of units, which is a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台 计算机设备(可为个人计算机、服务器或者网络设备等)执行本公开各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer to The computer device (which may be a personal computer, server or network device, etc.) executes all or part of the steps of the methods of the embodiments of the present disclosure. The aforementioned storage medium includes: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

以上是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above are preferred embodiments of the present disclosure. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications should also be regarded as the protection scope of the present disclosure.

工业实用性Industrial Applicability

本公开实施例提出了一种感应设备的布局信息的确定方法和电子设备,可以确定出待布局感应设备的区域以及该区域中所要部署感应设备的候选布局位置,在待布局感应设备的区域上确定出所要部署感应设备所在的候选的感应设备集,并可以基于该区域以及感应设备集,确定出该感应设备集中每个候选感应设备的需求信息,将需求信息整合得到感应设备集的约束条件信息,通过对感应设备集和约束条件信息进行整数规划处理,从所有候选感应设备中筛选出在区域中将要部署的目标感应设备,并可以确定出将目标感应设备部署到该区域中的布局信息,由于考虑到可以对感应设备集中每个候选感应设备的需求信息进行整数规划处理,从而提高了对候选感应设备进行分析的全面性和准确性,避免了通过人工经验在区域中部署感应设备存在的布局信息的精确度低的问题,进而实现了提高确定目标感应设备的布局信息的效率的技术效果,解决了确定目标感应设备的布局信息的效率低的技术问题。 The disclosed embodiments provide a method for determining layout information of sensing devices and an electronic device, which can determine an area where sensing devices are to be arranged and candidate layout positions of sensing devices to be deployed in the area, determine a candidate sensing device set where the sensing devices to be deployed are located in the area where the sensing devices are to be arranged, and determine demand information of each candidate sensing device in the sensing device set based on the area and the sensing device set, integrate the demand information to obtain constraint information of the sensing device set, and screen out target sensing devices to be deployed in the area from all candidate sensing devices by performing integer programming processing on the sensing device set and the constraint information, and determine layout information for deploying the target sensing devices in the area. Since integer programming processing can be performed on the demand information of each candidate sensing device in the sensing device set, the comprehensiveness and accuracy of the analysis of the candidate sensing devices are improved, and the problem of low accuracy of layout information when deploying sensing devices in the area through manual experience is avoided, thereby achieving the technical effect of improving the efficiency of determining the layout information of the target sensing devices and solving the technical problem of low efficiency in determining the layout information of the target sensing devices.

Claims (16)

一种感应设备的布局信息的确定方法,包括:A method for determining layout information of a sensing device, comprising: 采集待布局感应设备的区域,其中,所述待布局感应设备的区域包括:至少一候选布局位置,所述候选布局位置设置为待布局至少一候选感应设备;Collecting an area where sensing devices are to be arranged, wherein the area where sensing devices are to be arranged includes: at least one candidate arrangement position, and the candidate arrangement position is set to be arranged with at least one candidate sensing device; 获取所述待布局感应设备的区域对应的候选的感应设备集,其中,所述候选的感应设备集至少包括位于所述候选布局位置上的所述候选感应设备;Acquire a candidate sensing device set corresponding to the area where the sensing device is to be laid out, wherein the candidate sensing device set at least includes the candidate sensing device located at the candidate layout position; 基于所述待布局感应设备的区域和所述候选的感应设备集,确定布局所述感应设备的约束条件信息,其中,所述约束条件信息设置为表示在所述待布局感应设备的区域中布局所述候选的感应设备集中至少一所述候选感应设备的需求信息;Based on the area where the sensing device is to be arranged and the candidate sensing device set, determining constraint information for arranging the sensing device, wherein the constraint information is set to represent requirement information for arranging at least one of the candidate sensing devices in the candidate sensing device set in the area where the sensing device is to be arranged; 对所述候选的感应设备集和所述约束条件信息进行整数规划处理,得到所述候选的感应设备集中满足所述约束条件信息的至少一目标感应设备,且输出所述目标感应设备在所述区域中的布局信息。Integer programming is performed on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, and layout information of the target sensing device in the area is output. 根据权利要求1所述的方法,其中,对所述候选的感应设备集和所述约束条件信息进行整数规划处理,得到所述候选的感应设备集中满足所述约束条件信息的至少一目标感应设备,包括:The method according to claim 1, wherein integer programming is performed on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, comprising: 对所述候选的感应设备集和所述约束条件信息进行整数规划建模,得到目标模型,其中,所述目标模型设置为使所述待布局感应设备的区域的布局成本小于成本阈值;Performing integer programming modeling on the candidate sensing device set and the constraint condition information to obtain a target model, wherein the target model is set to make the layout cost of the area where the sensing device is to be laid out less than a cost threshold; 使用所述目标模型在所述候选的感应设备集中确定满足所述约束条件信息的所述目标感应设备,其中,基于所述布局信息将所述目标感应设备布局在所述待布局感应设备的区域中的布局成本小于所述成本阈值。The target sensing device that satisfies the constraint condition information is determined in the candidate sensing device set using the target model, wherein a layout cost of placing the target sensing device in the area of the sensing device to be placed based on the layout information is less than the cost threshold. 根据权利要求2所述的方法,其中,使用所述目标模型在所述候选的感应设备集中确定满足所述约束条件信息的所述目标感应设备,包括:The method according to claim 2, wherein using the target model to determine the target sensing device that satisfies the constraint condition information in the candidate sensing device set comprises: 对所述目标模型进行求解,得到所述候选感应设备对应的目标指标信息,其中,所述目标指标信息设置为表示所述候选感应设备为所述目标感应设备,或不为所述目标感应设备;Solving the target model to obtain target indicator information corresponding to the candidate sensing device, wherein the target indicator information is set to indicate that the candidate sensing device is the target sensing device or is not the target sensing device; 基于所述目标指标信息在所述候选的感应设备集中选取满足所述约束条件信息的所述目标感应设备。The target sensing device that meets the constraint condition information is selected from the candidate sensing device set based on the target indicator information. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises: 调整所述约束条件信息;adjusting the constraint information; 对所述候选的感应设备集和所述约束条件信息进行整数规划处理,得到所述候选的感应设备集中满足所述约束条件信息的至少一目标感应设备,包括:对所述候选的感应设备集和调整后的所述约束条件信息进行整数规划处理,得到所述 候选的感应设备集中满足调整后的所述约束条件信息的所述目标感应设备。Performing integer programming processing on the candidate sensing device set and the constraint condition information to obtain at least one target sensing device in the candidate sensing device set that satisfies the constraint condition information, comprising: performing integer programming processing on the candidate sensing device set and the adjusted constraint condition information to obtain The candidate sensing devices are concentrated on the target sensing devices that meet the adjusted constraint condition information. 根据权利要求4所述的方法,其中,对所述候选的感应设备集和调整后的所述约束条件信息进行整数规划处理,得到所述候选的感应设备集中满足调整后的所述约束条件信息的所述目标感应设备,包括:The method according to claim 4, wherein the step of performing integer programming processing on the candidate sensing device set and the adjusted constraint condition information to obtain the target sensing device in the candidate sensing device set that satisfies the adjusted constraint condition information comprises: 以满足调整前的所述约束条件信息的所述目标感应设备作为初始值,对所述候选的感应设备集和调整后的所述约束条件信息进行整数规划处理,得到所述候选的感应设备集中满足调整后的所述约束条件信息的所述目标感应设备。The target sensing device that satisfies the constraint information before adjustment is used as an initial value, and integer programming is performed on the candidate sensing device set and the constraint information after adjustment to obtain the target sensing device that satisfies the constraint information after adjustment in the candidate sensing device set. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises: 基于目标函数对所述布局信息中位置信息和/或方向信息进行调整,其中,所述位置信息设置为表示所述目标感应设备在所述待布局感应设备的区域中的布局位置,所述方向信息设置为表示所述目标感应设备在所述布局位置上布局的朝向,所述目标函数设置为使调整后的所述位置信息与目标位置信息之间的差值小于位置信息阈值,且使调整后的所述方向信息与目标方向信息之间的差值小于方向信息阈值;Adjusting the position information and/or direction information in the layout information based on the objective function, wherein the position information is set to indicate the layout position of the target sensing device in the area of the sensing device to be arranged, and the direction information is set to indicate the orientation of the target sensing device at the layout position, and the objective function is set to make the difference between the adjusted position information and the target position information less than a position information threshold, and make the difference between the adjusted direction information and the target direction information less than a direction information threshold; 输出调整后的所述位置信息和/或所述方向信息。Output the adjusted position information and/or direction information. 根据权利要求6所述的方法,其中,基于目标函数对所述布局信息中位置信息和/或方向信息进行调整,包括:The method according to claim 6, wherein adjusting the position information and/or direction information in the layout information based on the objective function comprises: 基于所述目标函数对离散化的所述位置信息和/或离散化的所述方向信息进行调整。The discretized position information and/or the discretized direction information are adjusted based on the objective function. 根据权利要求1所述的方法,其中,基于所述待布局感应设备的区域和所述候选的感应设备集,确定布局所述感应设备的约束条件信息,包括:The method according to claim 1, wherein determining constraint condition information for placing the sensing devices based on the area where the sensing devices are to be placed and the candidate sensing device set comprises: 基于所述待布局感应设备的区域和所述候选的感应设备集,对所述候选感应设备的属性信息进行约束,得到所述约束条件信息。Based on the area where the sensing devices are to be arranged and the candidate sensing device set, the attribute information of the candidate sensing devices is constrained to obtain the constraint condition information. 根据权利要求8所述的方法,其中,所述属性信息包括以下至少之一:The method according to claim 8, wherein the attribute information includes at least one of the following: 感知强度,设置为表示所述候选感应设备对所述待布局感应设备的区域中目标位置的感知覆盖度;Perception strength, which is set to represent the perception coverage of the candidate sensing device to the target position in the area of the sensing device to be deployed; 偏好标识,设置为表示允许所述候选感应设备确定为所述目标感应设备;a preference flag, which is set to indicate that the candidate sensing device is allowed to be determined as the target sensing device; 布局数量,设置为表示在所述待布局感应设备的区域中允许布局所述候选感应设备的数量;The number of layouts is set to indicate the number of candidate sensing devices that are allowed to be placed in the area of the sensing device to be placed; 已布局标识,设置为表示所述候选感应设备已布局在所述待布局感应设备的区域中,且允许将所述候选感应设备确定为所述目标感应设备;a layout flag, which is set to indicate that the candidate sensing device has been laid out in the area of the sensing device to be laid out, and allows the candidate sensing device to be determined as the target sensing device; 位置标识,设置为表示允许向所述位置标识所表示的位置,布局所述候选的感应设备集中除所述候选感应设备之外的其它候选感应设备;A location identifier, which is set to indicate that it is allowed to arrange other candidate sensing devices in the candidate sensing device set except the candidate sensing device at the location indicated by the location identifier; 指标信息,设置为表示允许将所述候选感应设备确定为所述目标感应设备, 或不允许将所述候选感应设备确定为所述目标感应设备。indicator information, which is set to indicate that the candidate sensing device is allowed to be determined as the target sensing device, Or, the candidate sensing device is not allowed to be determined as the target sensing device. 根据权利要求9所述的方法,其中,所述方法还包括:The method according to claim 9, wherein the method further comprises: 对所述待布局感应设备的区域进行均匀采样,得到所述目标位置。The area where the sensing device is to be arranged is uniformly sampled to obtain the target position. 根据权利要求1所述的方法,其中,获取所述待布局感应设备的区域对应的候选的感应设备集,包括:The method according to claim 1, wherein obtaining the candidate sensing device set corresponding to the area where the sensing device is to be deployed comprises: 基于所述待布局感应设备的区域中所述候选布局位置允许布局的感应设备类型集,以及所述待布局感应设备的区域中的所述候选布局位置,确定所述候选的感应设备集。The candidate sensing device set is determined based on a set of sensing device types that are allowed to be placed at the candidate placement positions in the area of the sensing device to be placed and the candidate placement positions in the area of the sensing device to be placed. 根据权利要求11所述的方法,其中,基于所述待布局感应设备的区域中所述候选布局位置允许布局的感应设备类型集,以及所述待布局感应设备的区域中的所述候选布局位置,确定所述候选的感应设备集,包括:The method according to claim 11, wherein determining the candidate set of sensing devices based on a set of sensing device types that are allowed to be placed at the candidate placement positions in the area of the sensing devices to be placed and the candidate placement positions in the area of the sensing devices to be placed comprises: 在所述待布局感应设备的区域中的所述候选布局位置上,采集候选方向信息,得到候选方向集,其中,所述候选方向信息设置为表示所述候选感应设备在所述候选布局位置上布局的朝向,多个所述候选方向信息对应的多个所述朝向之间的夹角相同;At the candidate layout position in the area of the sensing device to be arranged, candidate direction information is collected to obtain a candidate direction set, wherein the candidate direction information is set to represent the orientation of the candidate sensing device arranged at the candidate layout position, and the angles between the orientations corresponding to the plurality of candidate direction information are the same; 基于所述感应设备类型集,确定允许布局在所述候选方向集中所述候选方向信息对应朝向上的所述候选感应设备,得到所述候选的感应设备集,其中,所述候选感应设备满足所述感应设备类型集中的感应设备类型。Based on the sensing device type set, the candidate sensing devices that are allowed to be arranged in the orientation corresponding to the candidate direction information in the candidate direction set are determined to obtain the candidate sensing device set, wherein the candidate sensing devices meet the sensing device types in the sensing device type set. 根据权利要求1至12中任意一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 12, wherein the method further comprises: 对所述待布局感应设备的区域进行离散采样,得到所述候选布局位置,其中,所述候选布局位置未包括所述待布局感应设备的区域的边界采样点。Discrete sampling is performed on the area where the sensing device is to be arranged to obtain the candidate arrangement positions, wherein the candidate arrangement positions do not include boundary sampling points of the area where the sensing device is to be arranged. 一种感应设备的布局方法,包括:A method for arranging a sensing device, comprising: 采集物联网覆盖范围内的待布局感应设备的区域;Collect the areas where sensing devices are to be deployed within the coverage of the Internet of Things; 获取所述物联网内至少一目标感应设备在所述区域中的布局信息,其中,所述至少一目标感应设备为所述待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对所述候选的感应设备集和所述约束条件信息进行整数规划处理得到,所述候选的感应设备集至少包括位于所述待布局感应设备的区域中候选布局位置上的所述候选感应设备,所述约束条件信息设置为表示在所述待布局感应设备的区域中布局所述候选的感应设备集中至少一所述候选感应设备的需求信息,且为基于所述待布局感应设备的区域和所述候选的感应设备集确定;Acquiring layout information of at least one target sensing device in the Internet of Things in the area, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing device to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes the candidate sensing device located at a candidate layout position in the area of the sensing device to be arranged, and the constraint information is set to represent requirement information for arranging at least one of the candidate sensing devices in the candidate sensing device set in the area of the sensing device to be arranged, and is determined based on the area of the sensing device to be arranged and the candidate sensing device set; 基于所述布局信息将所述目标感应设备布局在所述待布局感应设备的区域中。The target sensing device is placed in the area of the sensing device to be placed based on the placement information. 一种感应设备的布局方法,包括:A method for arranging a sensing device, comprising: 在操作界面上显示待布局感应设备的区域; Displaying the area where the sensing equipment is to be arranged on the operation interface; 响应作设置为所述操作界面上的布局操作指令,在所述操作界面上显示至少一目标感应设备在所述区域中的布局信息,其中,所述至少一目标感应设备为所述待布局感应设备的区域对应的候选的感应设备集中满足约束条件信息的候选感应设备,且为对所述候选的感应设备集和所述约束条件信息进行整数规划处理得到,所述候选的感应设备集至少包括位于所述待布局感应设备的区域中候选布局位置上的所述候选感应设备,所述约束条件信息设置为表示在所述待布局感应设备的区域中布局所述候选的感应设备集中至少一所述候选感应设备的需求信息,且为基于所述待布局感应设备的区域和所述候选的感应设备集确定。In response to a layout operation instruction set as an action on the operation interface, layout information of at least one target sensing device in the area is displayed on the operation interface, wherein the at least one target sensing device is a candidate sensing device that satisfies constraint information in a candidate sensing device set corresponding to the area of the sensing device to be arranged, and is obtained by performing integer programming processing on the candidate sensing device set and the constraint information, the candidate sensing device set at least includes the candidate sensing device located at a candidate layout position in the area of the sensing device to be arranged, and the constraint information is set to represent requirement information for arranging at least one of the candidate sensing devices in the candidate sensing device set in the area of the sensing device to be arranged, and is determined based on the area of the sensing device to be arranged and the candidate sensing device set. 一种电子设备,包括:存储器和处理器;所述存储器设置为存储计算机可执行指令,所述处理器设置为执行所述计算机可执行指令,该计算机可执行指令被处理器执行时实现权利要求1至15中任意一项所述方法的步骤。 An electronic device comprises: a memory and a processor; the memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions, and the computer executable instructions, when executed by the processor, implement the steps of the method described in any one of claims 1 to 15.
PCT/CN2024/104504 2023-08-03 2024-07-09 Method for determining layout information of sensing device, and electronic device Pending WO2025026008A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310975377.8A CN119442560A (en) 2023-08-03 2023-08-03 Method for determining layout information of sensing device and electronic device
CN202310975377.8 2023-08-03

Publications (1)

Publication Number Publication Date
WO2025026008A1 true WO2025026008A1 (en) 2025-02-06

Family

ID=94393281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/104504 Pending WO2025026008A1 (en) 2023-08-03 2024-07-09 Method for determining layout information of sensing device, and electronic device

Country Status (2)

Country Link
CN (1) CN119442560A (en)
WO (1) WO2025026008A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130090904A1 (en) * 2011-10-05 2013-04-11 International Business Machines Corporation Traffic Sensor Management
US20160240054A1 (en) * 2015-02-17 2016-08-18 Mengjiao Wang Device layout optimization for surveillance devices
CN112492275A (en) * 2020-11-25 2021-03-12 广州杰赛科技股份有限公司 Layout method and device of area monitoring points and storage medium
CN115002163A (en) * 2022-06-20 2022-09-02 北京北投生态环境有限公司 Environment detection method, device and equipment based on Internet of things and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130090904A1 (en) * 2011-10-05 2013-04-11 International Business Machines Corporation Traffic Sensor Management
US20160240054A1 (en) * 2015-02-17 2016-08-18 Mengjiao Wang Device layout optimization for surveillance devices
CN112492275A (en) * 2020-11-25 2021-03-12 广州杰赛科技股份有限公司 Layout method and device of area monitoring points and storage medium
CN115002163A (en) * 2022-06-20 2022-09-02 北京北投生态环境有限公司 Environment detection method, device and equipment based on Internet of things and storage medium

Also Published As

Publication number Publication date
CN119442560A (en) 2025-02-14

Similar Documents

Publication Publication Date Title
CN114491773B (en) Building scheme generation method and device, computer equipment and storage medium
US20190371055A1 (en) 3d monitoring server using 3d bim object model and 3d monitoring system comprising it
US20130061189A1 (en) Techniques for optimizing stringing of solar panel modules
US20220130004A1 (en) Interface for uncompleted homes planning
CN113393030A (en) Vehicle operation area potential site selection method, system, terminal and medium
KR102003481B1 (en) Method and apparatus for creating virtual reality contents for virtual reality-based interior consulting service
KR102269545B1 (en) Cadastral survey results inspecting system having analysis function for measurement information using numerical survey data by history information of cadastral
CN119273867B (en) Urban physical examination method, device and electronic equipment
KR102384931B1 (en) Apparatus for user-customized building plan design utilizing the latest building related laws
CN109684435B (en) Specialized multi-source heterogeneous space-time geodata is gone to integrate system and method
CN119697218A (en) Unified coding method and system for collecting park equipment assets using the Internet of Things
CN114968000A (en) Early warning management method and device for abnormal environment and computer equipment
CN120372745A (en) Building modularization combination generation method, system and medium based on three-dimensional analysis
CN109308243A (en) Data processing method, device, computer equipment and medium
WO2025026008A1 (en) Method for determining layout information of sensing device, and electronic device
CN115203812A (en) Method and device for generating room arrangement scheme
KR102792369B1 (en) System for generating construction simulation based on analysis of district-unit plan
KR102216377B1 (en) Method and computing device for managing construction information in 3d virtual space
KR102650448B1 (en) A building design system that considers trend-reflected remodeling designs
CN118690935A (en) Operation route configuration method, device, equipment, medium and product
KR102640497B1 (en) Apparatus for light weighted setting spatial data of 3d modeling data and video monitoring
CN112801620B (en) Engineering information processing method, device, equipment and storage medium
CN116188676A (en) Method and device for establishing digital twin model of digital center
CN115600732A (en) City planning method and system based on big data analysis
KR20240030494A (en) Geographic information system building polygon information-based building envelope reaching solar radiation calculation system and method for building heating and cooling energy performance evaluation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24847967

Country of ref document: EP

Kind code of ref document: A1