Communication scene information extraction method and device

Automated image segmentation and target recognition through deep learning models solve the problems of low efficiency and accuracy in traditional manual construction methods, achieve fast and accurate communication scene information extraction, and improve the performance of communication simulation systems.

CN118736472APending Publication Date: 2024-10-01WUHAN SHIP COMM RES INST (NO 722 RES INST OF CHINA STATE SHIPBUILDING CORP)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410838220.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The traditional communication scenario information construction method relies on manual drawing, which is time-consuming and labor-intensive. It is difficult to ensure accuracy and consistency, and it is difficult to cope with the needs of large-scale and complex scenarios, affecting the accuracy of simulation results.

Method used

Use image segmentation models (such as U-Net) and target recognition models (such as ResNet and YOLO) to obtain wall and electrical equipment information in the scene plane image through automated image segmentation and target recognition methods, and use deep learning models to perform pixel analysis Level-accurate segmentation and object detection.

Benefits of technology

It achieves rapid and accurate extraction of communication scene information, reduces human operation errors, adapts to complex and changeable simulation needs, and improves the performance and application value of the communication simulation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736472A_ABST
    Figure CN118736472A_ABST
Patent Text Reader

Abstract

The invention provides a communication scene information extraction method and device, and belongs to the technical field of image processing, and the method comprises the steps: obtaining a scene plane image in a preset communication scene; segmenting the acquired scene plane image by using a pre-trained image segmentation model to obtain an image segmentation result so as to determine a wall image area and an electrical equipment image area; performing image recognition on the wall image area by using a first target recognition model to obtain wall recognition information; performing image recognition on the electrical equipment area by using a second target recognition model to obtain electrical equipment recognition information; and constructing communication scene information according to the wall surface identification information and the electrical equipment identification information. Through the image segmentation and target identification method, various key element information including the electrical equipment such as the wall surface and the base station equipment can be rapidly and accurately extracted from the scene plane graph, and the efficiency and accuracy problems in large-scale and complex scene modeling are effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method and device for extracting communication scene information. Background Art

[0002] In the field of communication simulation, building scenario information is the basic link to simulate and test the performance of communication systems. Traditional scenario information construction methods mainly rely on manual drawing or design distribution. Although these methods can meet the simulation needs to a certain extent, they have many limitations and shortcomings.

[0003] Manually drawing or designing distribution is not only time-consuming and laborious, but also requires simulation designers to have high professional knowledge and experience. This not only increases labor costs, but also leads to inefficiency in the simulation process. In addition, it is difficult to ensure the accuracy and consistency of manually constructed scene information, and it is prone to human errors and deviations, which affect the accuracy of simulation results. With the rapid development of communication technology and the increasing complexity of application scenarios, manual construction methods are difficult to meet the needs of large-scale and complex scenarios. For example, in applications such as mobile communication network planning and intelligent transportation system design, large-scale and high-density communication environments need to be accurately modeled, and traditional methods are unable to cope with such complex scenarios. Summary of the invention

[0004] The present invention provides a communication scene information extraction method and device, which are used to solve the defect that it is difficult to extract communication scene information efficiently and accurately in the prior art.

[0005] In a first aspect, the present invention provides a method for extracting communication scene information, comprising: obtaining a scene plane image under a preset communication scene; the preset communication scene includes a wall and electrical equipment; using a pre-trained image segmentation model to segment the collected scene plane image to obtain an image segmentation result, so as to determine a wall image area and an electrical equipment image area; using a first target recognition model to perform image recognition on the wall image area to obtain wall recognition information; using a second target recognition model to perform image recognition on the electrical equipment area to obtain electrical equipment recognition information; the wall recognition information includes category information and location information of the wall, and the electrical equipment recognition information includes category information and location information of the electrical equipment; and constructing communication scene information based on the wall recognition information and the electrical equipment recognition information.

[0006] According to a communication scene information extraction method provided by the present invention, a scene plane image under a preset communication scene is obtained, including: using an image acquisition device to acquire an initial scene plane image; performing integrity judgment on the initial scene plane image, and when the initial scene plane image is complete, using the initial scene plane image as the scene plane image.

[0007] According to a communication scene information extraction method provided by the present invention, the image segmentation model is a U-Net model.

[0008] According to a communication scene information extraction method provided by the present invention, the method for obtaining a first target recognition model includes: introducing a channel attention mechanism and a spatial attention mechanism into a ResNet network to generate a first target recognition model; the channel attention mechanism optimizes the recognition result by assigning different weights to different feature channels; the spatial attention mechanism optimizes the recognition result by assigning different weights to different feature spaces.

[0009] According to a communication scene information extraction method provided by the present invention, the second target recognition model is a YOLO model that uses a bidirectional feature pyramid network to perform feature weighted fusion.

[0010] According to a communication scenario information extraction method provided by the present invention, the electrical device includes a base station.

[0011] In a second aspect, the present invention further provides a communication scene information extraction device, comprising:

[0012] An image acquisition module, used to acquire a scene plane image in a preset communication scene; the preset communication scene includes a wall and electrical equipment;

[0013] An image segmentation module is used to segment the collected scene plane image using a pre-trained image segmentation model to obtain an image segmentation result, so as to determine the wall image area and the electrical equipment image area;

[0014] The target recognition module is used to perform image recognition on the wall image area using the first target recognition model to obtain wall recognition information; and to perform image recognition on the electrical equipment area using the second target recognition model to obtain electrical equipment recognition information; the wall recognition information includes the category information and location information of the wall, and the electrical equipment recognition information includes the category information and location information of the electrical equipment;

[0015] The scene information construction module is used to construct communication scene information based on wall recognition information and electrical equipment recognition information.

[0016] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the communication scenario information extraction methods described above are implemented.

[0017] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the communication scenario information extraction methods described above.

[0018] The communication scene information extraction method and device provided by the present invention can quickly and accurately extract various key element information including walls, base station equipment and other electrical equipment from the scene plan through automated image segmentation and target recognition methods. Using a deep learning model, an improved method of segmentation and feature extraction is implemented for this scenario, effectively solving the efficiency and accuracy problems in large-scale and complex scene modeling. The automated feature extraction and recognition process not only reduces the errors caused by manual operation, but also can adapt to complex and changeable simulation requirements, greatly improving the performance and application value of the communication simulation system.

[0019] The communication scene information extraction method and device provided by the present invention adopt advanced deep learning models, such as U-Net, ResNet and YOLO, which have excellent performance in the fields of image segmentation and target recognition. By introducing these models, the present invention can achieve accurate pixel-level segmentation and target detection, ensuring the accuracy and completeness of each element information extracted from the scene plan.

[0020] In order to better meet the needs of communication simulation scene construction, the present invention has made multiple structural optimizations to the deep learning model. For example, for the ResNet model, the channel attention mechanism and the spatial attention mechanism are introduced to enhance the recognition ability of static elements such as walls; and in the YOLO model, a bidirectional feature pyramid network is used for feature weighted fusion to improve the detection accuracy of small targets such as electrical equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 It is a flow chart of the communication scene information extraction method provided by the present invention;

[0023] Figure 2 It is a schematic diagram of the process of introducing the attention mechanism provided by the present invention;

[0024] Figure 3 It is a structural schematic diagram of the feature pyramid network structure provided by the present invention;

[0025] Figure 4 It is a schematic diagram of the structure of the bidirectional feature pyramid network provided by the present invention;

[0026] Figure 5 It is a schematic diagram of the overall training process of the model provided by the present invention;

[0027] Figure 6 It is a structural schematic diagram of the communication scene information extraction device provided by the present invention;

[0028] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] It should be noted that, in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0031] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.

[0032] Combine the following Figure 1-Figure 7 The communication scenario information extraction method and device provided by the embodiments of the present invention are described.

[0033] Figure 1 is a flow chart of the communication scene information extraction method provided by the present invention, such as Figure 1As shown, including but not limited to the following steps:

[0034] Step 101: Acquire a scene plane image in a preset communication scene; wherein the preset communication scene includes a wall and electrical equipment.

[0035] This stage involves data acquisition. It is necessary to use image acquisition equipment (such as cameras) to capture or shoot plane images in preset communication scenarios. These scenarios may include but are not limited to offices, data centers, residences, etc., which contain various walls (such as load-bearing walls, partition walls) and electrical equipment (such as sockets, switches, cables, base stations). The acquired scene plane images will serve as the basis for subsequent analysis.

[0036] Step 102: using a pre-trained image segmentation model, segment the collected scene plane image to obtain an image segmentation result, so as to determine a wall image area and an electrical equipment image area.

[0037] In this step, image segmentation technology in deep learning is used. The image segmentation model can be U-Net, Mask R-CNN or other network structures suitable for such tasks. The model is trained to distinguish and mark different objects or areas in the image. For this example, the model will separate the wall and electrical equipment from the background and generate one or more mask images to clearly identify the areas of the wall and electrical equipment, that is, the wall image area and the electrical equipment image area.

[0038] Step 103: Use the first target recognition model to perform image recognition on the wall image area to obtain wall recognition information; use the second target recognition model to perform image recognition on the electrical equipment area to obtain electrical equipment recognition information.

[0039] The wall recognition information includes the category information and location information of the wall, and the electrical equipment recognition information includes the category information and location information of the electrical equipment.

[0040] This step further refines the results of the image segmentation. Two specialized object recognition models are used for classification and location of walls and electrical equipment, respectively. The first object recognition model may output the type of wall (such as concrete, gypsum board) and the specific location coordinates, while the second object recognition model provides the type of equipment (such as single-phase socket, double-control switch, base station) and its precise location. This information is crucial for understanding and planning the communication environment.

[0041] The present invention specifically designs the first target recognition model and the second target recognition model to respectively recognize a larger target wall surface and a smaller target electrical device, which has the following advantages:

[0042] (1) Optimizing model complexity: Larger targets (such as walls) usually occupy a larger pixel area in the image and have more obvious features, so a very complex model may not be required to achieve high recognition accuracy. In contrast, smaller targets (such as electrical equipment) may only occupy a small part of the image and are easily obscured by other objects or mixed into the background, requiring more sophisticated feature extraction and higher model complexity to ensure recognition accuracy.

[0043] (2) Improved recognition accuracy: The model can be specifically trained to recognize objects of a specific scale, which means it can better learn and recognize the features of those objects, reducing false positives and false negatives. For small object recognition, the model can focus on learning detailed features, while large object recognition models can focus more on overall shape and texture.

[0044] (3) Reduce computing resource consumption: Due to its simplicity, the large object recognition model may be faster in inference speed and consume less computing resources. This can balance the resource allocation of the entire system, allowing more computing power to handle the complex task of small object recognition, thereby improving the overall processing efficiency.

[0045] Step 104: construct communication scenario information based on the wall identification information and the electrical equipment identification information.

[0046] Finally, all the collected data are integrated to build a detailed communication scenario simulation model. This includes but is not limited to the material, thickness, and layout of the wall, as well as the type, quantity, and distribution of electrical equipment. The present invention can store the wall identification information and electrical equipment identification information obtained in the database, and the saved information includes location coordinates, category labels, and identification confidence. Such information can help engineers more accurately evaluate signal propagation characteristics, potential interference sources, wiring paths, etc., thereby optimizing the deployment and performance of the communication system.

[0047] The communication scene information extraction method provided by the present invention can quickly and accurately extract various key element information including electrical equipment such as walls and base station equipment from the scene plan through automated image segmentation and target recognition methods. Using a deep learning model, an improved method of segmentation and feature extraction is implemented for this scenario, effectively solving the efficiency and accuracy problems in large-scale and complex scene modeling. The automated feature extraction and recognition process not only reduces the errors caused by manual operation, but also can adapt to complex and changeable simulation requirements, greatly improving the performance and application value of the communication simulation system.

[0048] Based on the contents of the above embodiments, as an optional embodiment, the communication scene information extraction method provided by the present invention obtains a scene plane image under a preset communication scene, including: using an image acquisition device to acquire an initial scene plane image; performing integrity judgment on the initial scene plane image, and when the initial scene plane image is complete, using the initial scene plane image as the scene plane image.

[0049] Select appropriate image acquisition equipment based on the characteristics of the preset communication scenario (such as lighting conditions, scene size, image resolution requirements, etc.). This may include professional cameras, industrial cameras, camera systems carried by drones, or even smartphone cameras.

[0050] Adjust the parameters of the image acquisition device, such as exposure time, ISO sensitivity, white balance, lens focal length, etc., to ensure that the quality of the acquired image meets the requirements. Once the image is acquired, the image integrity check is required to ensure that the image is not missing key information. This may involve checking whether the image is blurry, whether there is obvious noise, whether it covers the entire preset communication scenario, etc. Use image processing techniques or algorithms to evaluate the quality of the image, such as contrast, sharpness, color saturation, etc., to ensure that the image has sufficient visual information for subsequent analysis.

[0051] If both the image integrity check and quality assessment indicate that the image meets the requirements, then this initial scene plane image can be considered a qualified scene plane image for subsequent analysis and processing. The confirmed complete scene plane image is saved in a database or file system and marked accordingly, such as shooting time, location, equipment information, etc., for later retrieval and use.

[0052] Based on the content of the above embodiment, as an optional embodiment, the communication scene information extraction method provided by the present invention, the image segmentation model is a U-Net model, and the image segmentation model is further described below.

[0053] The U-Net model is a convolutional neural network architecture that is widely used in image segmentation tasks. It is particularly suitable for medical image analysis, but also performs well in natural image segmentation, remote sensing image analysis, etc. The U-Net model is usually trained using a dataset of images with labels that indicate the category to which each pixel in the image belongs.

[0054] In the image segmentation task, the U-Net model can predict which category each pixel belongs to and generate a segmentation mask with the same size as the input image. The present invention can determine the surface image area and the electrical equipment image area according to the category label of the pixel in the segmentation result to achieve image segmentation.

[0055] Based on the contents of the above embodiments, as an optional embodiment, the method for obtaining a first target recognition model includes: introducing a channel attention mechanism and a spatial attention mechanism into a ResNet network to generate a first target recognition model; the channel attention mechanism optimizes the recognition results by assigning different weights to different feature channels; the spatial attention mechanism optimizes the recognition results by assigning different weights to different feature spaces.

[0056] The ResNet network includes convolutional layers, maximum pooling layers, batch normalization layers (BN), ReLU activation functions, basic blocks, global average pooling layers, and fully connected layers. These layers are stacked together in a specific way to form a deep neural network.

[0057] Convolution layer (Conv3x3): Use a 3x3 filter for convolution operation; Maximum pooling layer: Use a window to perform a maximum value selection operation to reduce the size of the input feature map; Batch normalization layer (BN): Standardize the data to help improve training speed and prevent overfitting; ReLU activation function: A non-linear activation function used to introduce non-linear characteristics into the model; Basic Block (BasicBlock): Contains two consecutive convolution layers and a jump connection to help solve the gradient disappearance problem; Global Avg Pooling: Take the average of all elements in the feature map and generate a vector as output; Fully connected layer (fc): Map the pooled vector to the final classification result.

[0058] In the feature extraction process, traditional ResNet pays equal attention to all features and cannot adaptively highlight important features. This causes the model to ignore some key detail features when processing images containing a lot of irrelevant or redundant information. And because traditional ResNet treats all features equally, it may lead to a waste of computing resources because some unimportant or redundant features are also processed and transmitted.

[0059] The present invention can optimize the size of the convolution layer and introduce multi-scale feature fusion and channel attention mechanism to enhance the recognition ability of static elements such as walls. Figure 2 It is a flow chart of introducing the attention mechanism provided by the present invention, such as Figure 2 As shown, given a set of input data (a scene plane image in this invention), the input data is passed to a pre-trained ResNet model. ResNet is a deep convolutional neural network whose design goal is to increase the depth of the network without sacrificing accuracy. By introducing skip connections, ResNet can effectively solve the gradient vanishing problem in deep networks.

[0060] After being processed by ResNet, the resulting feature map is further processed by the channel attention mechanism. The channel attention mechanism takes into account the relationship between different channels, and by modeling the importance of each channel, it enhances important feature information and suppresses irrelevant information. Next, the feature map is processed by the spatial attention mechanism. The spatial attention mechanism focuses on different positions of the feature map and assigns different weights to them according to the importance of each position, thereby emphasizing key areas and ignoring background noise.

[0061] The feature maps processed by the above two attention mechanisms will be merged to form a new weighted feature map. This new feature map contains the key features from the original input data, and these features have been assigned corresponding weights. Finally, this weighted feature map will be sent to a fully connected layer to perform the classification task and generate the final classification output data.

[0062] By combining the basic structure and attention mechanism of ResNet, the first object recognition model can better focus on the important information in the input data while retaining the powerful representation ability of ResNet, thereby achieving more accurate classification predictions.

[0063] Based on the content of the above embodiment, as an optional embodiment, the communication scene information extraction method provided by the present invention, the second target recognition model is a YOLO model that uses a bidirectional feature pyramid network to perform feature weighted fusion.

[0064] Figure 3 is a schematic diagram of the structure of the feature pyramid network structure provided by the present invention, such as Figure 3 As shown in the figure, the feature pyramid network structure in the YOLO model usually uses a top-down unidirectional connection, which means that features can only flow from high-level to low-level, and use fixed weights to fuse features at different levels, and cannot adaptively adjust weights according to different inputs. The unidirectional connection leads to insufficient information flow, limits the extraction effect of multi-scale features, and affects the effect of feature fusion and the detection performance of the model.

[0065] Figure 4 is a schematic diagram of the structure of the bidirectional feature pyramid network provided by the present invention, such as Figure 4 As shown in the figure, by modifying the connection mechanism of FPN, features can be transmitted bidirectionally in the network, realizing the fusion flow of low-level and high-level layers, and adopting an adaptive weighting strategy for feature fusion, introducing a learnable weight coefficient, which can realize feature fusion weight according to different input data, enhancing the flexibility of model feature extraction and the detection performance of the model. The performance of target detection and semantic segmentation tasks is improved, so that the neural network can better understand and process multi-scale information, thereby showing stronger capabilities in the task of multi-scale target recognition in communication simulation scenarios.

[0066] The present invention combines the bidirectional feature pyramid network BiFPN with the YOLO model to create an efficient target detection model that can maintain the speed advantage of YOLO while improving the multi-scale target detection capability. BiFPN provides YOLO with richer feature representation through its bidirectional feature fusion mechanism, especially for the detection of small and dense targets, with more significant performance improvements.

[0067] Figure 5 It is a schematic diagram of the overall training process of the model provided by the present invention, such as Figure 5 As shown, the following is a detailed explanation of the steps:

[0068] (1) Data preparation and preprocessing: In this step, relevant data sets need to be collected, cleaned and preprocessed for subsequent model training. Preprocessing may include operations such as image scaling, color conversion, and data enhancement.

[0069] (2) U-Net model (image segmentation task): The U-Net model performs pixel-level segmentation on the input image through multiple layers of convolution and deconvolution layers, and outputs the category label of each pixel. These category labels include structural elements such as walls, base station equipment, passages, doors and windows.

[0070] (3) ResNet model (wall recognition task): The ResNet model automatically learns image features through multiple convolutional layers. For wall recognition, the last layer of the network is usually a fully connected layer that outputs the probability of the wall's existence or the category label. If the precise location of the wall needs to be located, a bounding box regression layer can be used to predict the location coordinates of the wall.

[0071] YOLO model (base station identification task): The YOLO model divides the input image into multiple grids, each of which predicts multiple bounding boxes. Each bounding box includes the confidence of the bounding box (indicating the probability that the bounding box contains an object) and the position offset of the bounding box. Each bounding box also predicts the conditional probability of belonging to each category. Since YOLO predicts multiple overlapping bounding boxes, NMS (non-maximum suppression) is used to merge the overlapping predictions to obtain the final object location.

[0072] (4) Training the model: After preparing the data and choosing a suitable model, the training process can begin. Training usually involves the selection of a back-propagation algorithm and an optimizer to minimize the loss function and update the model parameters.

[0073] (5) Evaluation results: After training is completed, the performance of the model needs to be evaluated by checking its accuracy, recall rate and other indicators on the test data set to determine whether the model has achieved the expected results.

[0074] (6) Model tuning: If the performance of the model does not meet the requirements, it is necessary to go back and adjust the model's hyperparameters or change the network structure, and then retrain and evaluate until the requirements are met.

[0075] (7) Save the model: When the model meets the requirements, save it for subsequent use.

[0076] Figure 6 is a schematic diagram of the structure of the communication scene information extraction device provided by the present invention, such as Figure 6 As shown, the device includes an image acquisition module 601, an image segmentation module 602, a target recognition module 603 and a scene information construction module 604.

[0077] The image acquisition module 601 is used to acquire a scene plane image in a preset communication scene; the preset communication scene includes a wall and electrical equipment;

[0078] An image segmentation module 602 is used to segment the collected scene plane image using a pre-trained image segmentation model to obtain an image segmentation result, so as to determine a wall image area and an electrical equipment image area;

[0079] The target recognition module 603 is used to perform image recognition on the wall image area using the first target recognition model to obtain wall recognition information; and to perform image recognition on the electrical equipment area using the second target recognition model to obtain electrical equipment recognition information; the wall recognition information includes the category information and location information of the wall, and the electrical equipment recognition information includes the category information and location information of the electrical equipment;

[0080] The scene information construction module 604 is used to construct communication scene information according to the wall identification information and the electrical equipment identification information.

[0081] It should be noted that the communication scenario information extraction device provided in the embodiment of the present invention can execute the communication scenario information extraction method described in any of the above embodiments during specific operation, which will not be elaborated in this embodiment.

[0082] Figure 7 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 7As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the communication scene information extraction method, which includes: obtaining a scene plane image under a preset communication scene; the preset communication scene includes a wall and an electrical device; using a pre-trained image segmentation model, segmenting the collected scene plane image to obtain an image segmentation result to determine a wall image area and an electrical device image area; using a first target recognition model to perform image recognition on the wall image area to obtain wall recognition information; using a second target recognition model to perform image recognition on the electrical device area to obtain electrical device recognition information; the wall recognition information includes the category information and location information of the wall, and the electrical device recognition information includes the category information and location information of the electrical device; and constructing communication scene information according to the wall recognition information and the electrical device recognition information.

[0083] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the communication scene information extraction method provided in the above-mentioned embodiments, and the method includes: obtaining a scene plane image under a preset communication scene; the preset communication scene includes walls and electrical equipment; using a pre-trained image segmentation model to segment the collected scene plane image to obtain image segmentation results to determine the wall image area and the electrical equipment image area; using a first target recognition model to perform image recognition on the wall image area to obtain wall recognition information; using a second target recognition model to perform image recognition on the electrical equipment area to obtain electrical equipment recognition information; the wall recognition information includes wall category information and location information, and the electrical equipment recognition information includes electrical equipment category information and location information; constructing communication scene information based on the wall recognition information and the electrical equipment recognition information.

[0084] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the communication scene information extraction method provided in the above-mentioned embodiments, the method comprising: obtaining a scene plane image under a preset communication scene; the preset communication scene includes walls and electrical equipment; using a pre-trained image segmentation model, segmenting the collected scene plane image to obtain image segmentation results to determine the wall image area and the electrical equipment image area; using a first target recognition model to perform image recognition on the wall image area to obtain wall recognition information; using a second target recognition model to perform image recognition on the electrical equipment area to obtain electrical equipment recognition information; the wall recognition information includes wall category information and location information, and the electrical equipment recognition information includes electrical equipment category information and location information; constructing communication scene information based on the wall recognition information and the electrical equipment recognition information.

[0085] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A communication scene information extraction method, characterized in that: include: Acquire a scene plane image in a preset communication scene; the preset communication scene includes a wall and electrical equipment; Using the pre-trained image segmentation model, the collected scene plane image is segmented to obtain image segmentation results, so as to determine the wall image area and the electrical equipment image area; Using the first target recognition model to perform image recognition on the wall image area to obtain wall recognition information; Using the second target recognition model to perform image recognition on the electrical equipment area, and obtain electrical equipment recognition information; the wall recognition information includes the category information and location information of the wall, and the electrical equipment recognition information includes the category information and location information of the electrical equipment; Communication scenario information is constructed based on the wall identification information and electrical equipment identification information.

2. The method for extracting communication scene information according to claim 1, characterized in that: Obtain a scene plane image under a preset communication scenario, including: Using an image acquisition device to acquire an initial scene plane image; The integrity of the initial scene plane image is judged, and when the initial scene plane image is complete, the initial scene plane image is used as the scene plane image.

3. The method for extracting communication scene information according to claim 1, characterized in that: The image segmentation model is a U-Net model.

4. The method for extracting communication scene information according to claim 1, characterized in that: The method for obtaining the first target recognition model includes: The channel attention mechanism and spatial attention mechanism are introduced into the ResNet network to generate the first object recognition model; The channel attention mechanism optimizes the recognition results by assigning different weights to different feature channels; the spatial attention mechanism optimizes the recognition results by assigning different weights to different feature spaces.

5. The method for extracting communication scene information according to claim 1, characterized in that: The second target recognition model is a YOLO model that uses a bidirectional feature pyramid network for feature weighted fusion.

6. The method for extracting communication scene information according to claim 1, characterized in that: The electrical device comprises a base station.

7. A communication scene information extraction device, characterized in that: include: An image acquisition module, used to acquire a scene plane image in a preset communication scene; the preset communication scene includes a wall and electrical equipment; An image segmentation module is used to segment the collected scene plane image using a pre-trained image segmentation model to obtain an image segmentation result, so as to determine the wall image area and the electrical equipment image area; A target recognition module, used to perform image recognition on the wall image area using a first target recognition model to obtain wall recognition information; Using the second target recognition model to perform image recognition on the electrical equipment area, and obtain electrical equipment recognition information; the wall recognition information includes the category information and location information of the wall, and the electrical equipment recognition information includes the category information and location information of the electrical equipment; The scene information construction module is used to construct communication scene information based on wall recognition information and electrical equipment recognition information.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the communication scenario information extraction method according to any one of claims 1 to 6 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the communication scenario information extraction method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the communication scenario information extraction method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Transformer substation safety measure identification method based on deep learning

    CN112257547A

  • Advanced driver assistance system based on real-time object and traffic sign recognition

    DE202023105573U1