Power regulation method of wireless device, device, storage medium and program product
By acquiring live images in the workshop and building a prediction model, identifying cargo stacking conditions, predicting wireless signal coverage, and dynamically adjusting wireless device power, the problem of unstable signal coverage in complex workshop environments is solved, and production efficiency and stability are improved. .
Patent Information
- Application Number
- CN202410773341.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology makes it difficult to dynamically adjust wireless signal coverage according to the complex workshop environment and cargo stacking conditions, making it difficult to stabilize and optimize the signal coverage effect, affecting production efficiency and stability.
By acquiring live images in the workshop, a prediction model is established to identify cargo stacking conditions, predict wireless signal coverage, and adjust wireless device power according to signal strength to achieve real-time dynamic adjustment.
It improves production efficiency and stability, reduces manual intervention, and achieves system real-time and signal coverage optimization.
Smart Images

Figure CN118612831A
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a power regulation method, device, storage medium and program product for a wireless device. Background Art
[0002] Wireless communication technology is increasingly used in industrial production, especially in the automotive manufacturing industry. Dedicated wireless networks for automotive manufacturers play an important role in realizing intelligent manufacturing and improving production efficiency and quality. However, in complex workshop environments, factors such as cargo stacking and equipment interference pose challenges to wireless signal coverage. Therefore, an innovative method is needed to dynamically adjust the power of wireless devices to optimize signal coverage and improve production efficiency and stability.
[0003] At present, there are some technologies and systems for optimizing wireless signal coverage in industrial environments. For example, traditional signal coverage optimization methods simulate and optimize signal coverage according to the site terrain, or deal with signal coverage issues through fixed power. However, these methods are often unable to adapt to complex production environment changes and dynamic changes in cargo stacking conditions, resulting in difficulty in stabilizing and optimizing signal coverage. Other technologies attempt to use sensor data to adjust signal coverage, but most of them are still at the stage of static adjustment and lack the ability to respond to dynamic environmental changes in real time.
[0004] It can be seen that the current existing technology lacks a solution for adjusting the signal coverage effect according to dynamic changes in the environment, which affects production efficiency and production stability. Summary of the invention
[0005] The present application provides a power regulation method, device, storage medium and program product for a wireless device, which can monitor changes in the current environment in real time, dynamically adjust the power of the wireless device, optimize the signal coverage effect, and thus improve production efficiency and stability.
[0006] In a first aspect, the present application provides a power adjustment method for a wireless device, comprising: obtaining a first real-time image in a workshop, the first real-time image being used to reflect the loading situation of goods in the workshop at the current moment; based on the first real-time image and a prediction model, obtaining the wireless signal coverage situation in the workshop at the current moment; wherein the prediction model is used to predict the coverage situation of the wireless signal in the workshop according to the loading situation of goods in the workshop; and adjusting the power of the wireless device in the workshop according to the wireless signal coverage situation in the workshop at the current moment.
[0007] The technical solution provided by the present application can at least produce the following beneficial effects: the present application establishes a connection between the cargo loading situation in the workshop and the coverage of the wireless signal in the workshop, and forms a corresponding prediction model, so as to monitor the network coverage in real time, and dynamically adjust the power of the workshop wireless equipment according to the output results of the model, thereby reducing manual intervention, realizing the real-time performance of the system, and thus improving the efficiency and stability of production.
[0008] A possible implementation method is to obtain the wireless signal coverage situation in the workshop at the current moment based on the first real-time image and the prediction model, including: identifying the goods from the first real-time image, and using an image segmentation algorithm to segment the image data of the goods from the first real-time image; inputting the image data of the goods into the prediction model so that the prediction model extracts features from the image data of the goods, and calculates the loading rate of the goods according to the extracted features, and then determines and outputs the wireless signal coverage situation in the workshop at the current moment according to the loading rate of the goods.
[0009] Another possible implementation method is that the wireless signal coverage situation in the workshop at the current moment includes the signal strength of each area in the workshop at the current moment; according to the wireless signal coverage situation in the workshop at the current moment, the power of the wireless equipment in the workshop is adjusted, including: according to the signal strength of each area in the workshop at the current moment, determining the area to be adjusted in the workshop, the area to be adjusted includes the area in the workshop where the signal strength is less than or equal to the first preset threshold, and the area in the workshop where the signal strength is greater than or equal to the second preset threshold; based on the signal strength of the area to be adjusted at the current moment, the expected signal strength of the area to be adjusted, the adjustment step size and the smoothing factor, adjusting the power of the wireless equipment in the area to be adjusted; the adjustment step size is the maximum power change amount for each adjustment, and the smoothing factor is used to control the speed of power adjustment.
[0010] In the second aspect, the present application provides a model training method, including: obtaining a second real-time image and historical wireless signal coverage in a workshop at a historical moment, wherein the second real-time image is used to reflect the loading situation of goods in the workshop at a historical moment; constructing training samples based on the second real-time image and the historical wireless signal coverage; using the training sample set to train the prediction model to be trained to obtain a trained prediction model; wherein the prediction model is used to predict the coverage of wireless signals in the workshop according to the loading situation of goods in the workshop.
[0011] The technical solution provided by the present application can at least produce the following beneficial effects: the present application constructs a signal coverage prediction model based on deep learning technology, collects the cargo loading conditions of the workshop at historical moments and the historical wireless signal coverage conditions of the workshop and combines them to form a data set, trains the signal coverage prediction model, improves the generalization ability and accuracy of the prediction model, and then obtains a trained prediction model to predict the coverage of wireless signals in the workshop according to the cargo loading conditions in the workshop, thereby providing a guarantee for dynamically adjusting the wireless signal coverage strength in the workshop.
[0012] A possible implementation method is to construct a training sample based on a second real-time image and historical wireless signal coverage, including: identifying goods from the second real-time image, and using an image segmentation algorithm to segment the image data of the goods from the second real-time image; extracting features from the image data of the goods, and calculating the loading rate of the goods based on the extracted features; constructing a first training sample based on the loading rate of the goods and the image data of the goods; wherein the sample label of the first training sample is the loading rate of the goods, and the sample data is the image data of the goods; constructing a second training sample based on the historical wireless signal coverage and the loading rate of the goods; wherein the sample label of the second training sample is the historical wireless signal coverage, and the sample data is the loading rate of the goods.
[0013] Another possible implementation method is to use a training sample set to train the prediction model to be trained to obtain a trained prediction model, including: using a first training sample to perform an initial training on the prediction model to be trained to obtain a prediction model after the initial training, and the prediction model after the initial training is used to extract features from the input image data of the goods, and calculate the stacking rate of the goods based on the extracted features; using a second training sample to perform a secondary training on the prediction model after the initial training to obtain a trained prediction model.
[0014] Another possible implementation method is to construct a second training sample based on historical wireless signal coverage and cargo loading rate, including: aligning the historical wireless signal coverage and cargo loading rate of the same area; and constructing a second training sample based on the data after data alignment.
[0015] In a third aspect, the present application provides a power regulation device for a wireless device, and the power regulation device for the wireless device includes: a collection module and a processing module.
[0016] The acquisition module is used to obtain a first real-time image in the workshop; wherein the first real-time image is used to reflect the loading situation of the goods in the workshop at the current moment.
[0017] A processing module is used to obtain the wireless signal coverage in the workshop at the current moment based on the first real-time image and the prediction model; wherein the prediction model is used to predict the wireless signal coverage in the workshop according to the loading situation of the goods in the workshop; and adjust the power of the wireless equipment in the workshop according to the wireless signal coverage in the workshop at the current moment.
[0018] A possible implementation method is a processing module, which is specifically used to identify goods from a first real-time image, and use an image segmentation algorithm to segment image data of the goods from the first real-time image; the image data of the goods is input into a prediction model so that the prediction model extracts features from the image data of the goods, and calculates the loading rate of the goods based on the extracted features, and then determines and outputs the wireless signal coverage in the workshop at the current moment based on the loading rate of the goods.
[0019] Another possible implementation method is that the wireless signal coverage situation in the workshop at the current moment includes the signal strength of each area in the workshop at the current moment; the processing module is specifically used to determine the area to be adjusted in the workshop according to the signal strength of each area in the workshop at the current moment, and the area to be adjusted includes the area in the workshop where the signal strength is less than or equal to the first preset threshold, and the area in the workshop where the signal strength is greater than or equal to the second preset threshold; based on the signal strength of the area to be adjusted at the current moment, the expected signal strength of the area to be adjusted, the adjustment step and the smoothing factor, adjust the power of the wireless device in the area to be adjusted; the adjustment step is the maximum power change for each adjustment, and the smoothing factor is used to control the speed of power adjustment.
[0020] In another possible implementation manner, the power regulating apparatus of the wireless device further includes a training module.
[0021] The acquisition module is used to obtain the second real-time image and historical wireless signal coverage in the workshop at a historical moment, wherein the second real-time image is used to reflect the loading situation of goods in the workshop at a historical moment.
[0022] The processing module is used to construct a training sample based on the second live image and the historical wireless signal coverage.
[0023] The training module is used to train the prediction model to be trained using a training sample set to obtain a trained prediction model; wherein the prediction model is used to predict the coverage of the wireless signal in the workshop according to the loading condition of the goods in the workshop.
[0024] A possible implementation method is a processing module, which is specifically used to identify goods from a second real-time image, and use an image segmentation algorithm to segment the image data of the goods from the second real-time image; extract features from the image data of the goods, and calculate the loading rate of the goods based on the extracted features; construct a first training sample based on the loading rate of the goods and the image data of the goods; wherein the sample label of the first training sample is the loading rate of the goods, and the sample data is the image data of the goods; construct a second training sample based on historical wireless signal coverage and the loading rate of the goods; wherein the sample label of the second training sample is the historical wireless signal coverage, and the sample data is the loading rate of the goods.
[0025] Another possible implementation method is a training module, which is specifically used to use a first training sample to perform an initial training on the prediction model to be trained to obtain a prediction model after the initial training. The prediction model after the initial training is used to extract features from the input image data of the goods and calculate the loading rate of the goods based on the extracted features; and use a second training sample to perform a secondary training on the prediction model after the initial training to obtain a trained prediction model.
[0026] Another possible implementation manner is that the processing module is specifically used to perform data alignment processing on the historical wireless signal coverage and cargo loading rate of the same area; and construct a second training sample based on the data after the data alignment processing.
[0027] In a fourth aspect, the present application provides an electronic device, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method of the first aspect above.
[0028] In a fifth aspect, the present application provides a computer-readable storage medium, which includes: computer software instructions; when the computer software instructions are executed in an electronic device, the electronic device implements the method of the first aspect above.
[0029] In a sixth aspect, the present application provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the steps of the related method described in the first aspect above to implement the method of the first aspect above.
[0030] The beneficial effects of the third to sixth aspects mentioned above refer to the corresponding descriptions of the first and second aspects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of an application environment of a power regulation method for a wireless device provided in the present application;
[0032] Figure 2A schematic diagram of the architecture of the hardware facilities of a power regulation method for a wireless device provided in the present application;
[0033] Figure 3 A schematic diagram of a flow chart of a power regulation method for a wireless device provided in the present application;
[0034] Figure 4 A schematic diagram of a flow chart of another power regulation method for a wireless device provided in the present application;
[0035] Figure 5 A flowchart of a power adjustment method for a wireless device provided by the present application;
[0036] Figure 6 A flowchart of a model training method provided in this application;
[0037] Figure 7 A flowchart of another model training method provided for this application;
[0038] Figure 8 A flowchart of another model training method provided in this application;
[0039] Fig. 9 A schematic diagram of the structure of a power regulation device for a wireless device provided in the present application;
[0040] Fig.10 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] It should be noted that, in the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0043] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. are not limiting the quantity and execution order.
[0044] As described in the background technology, in modern manufacturing, wireless communication technology has become an indispensable part of improving production efficiency and realizing intelligent management. With the rapid development of the Internet of Things and Industrial Internet technologies, the number of wireless devices in the workshop has increased dramatically, especially in large and complex workshop environments, where the problem of stable coverage of wireless signals has become increasingly prominent. These devices not only require a stable network connection to transmit data, but also need to communicate with other devices in real time to achieve collaborative work and intelligent management. However, since the coverage of wireless signals is often poor, these devices often face problems such as weak signals and unstable connections, which seriously affect production efficiency and the accuracy of data transmission.
[0045] In the existing technology, the traditional wireless network coverage design is often unable to effectively cope with complex environments, especially when there are different loading conditions inside the workshop, the wireless device power cannot be adjusted in time according to the cargo loading conditions, resulting in unstable signal coverage, signal blind spots or insufficient coverage. In addition, the existing technology is difficult to dynamically adapt to real-time environmental changes, and the wireless device power cannot be adjusted in time according to the cargo loading conditions, resulting in the signal coverage quality being unable to remain stable.
[0046] In response to the above technical problems, the embodiment of the present application provides a method for adjusting the power of wireless devices, the idea of which is to obtain a first real-time image in the workshop at the current moment, the first real-time image is used to reflect the loading situation of goods in the workshop at the current moment; based on the first real-time image and the prediction model, the wireless signal coverage situation in the workshop at the current moment is obtained; wherein the prediction model is used to predict the coverage situation of wireless signals in the workshop according to the loading situation of goods in the workshop; according to the wireless signal coverage situation in the workshop at the current moment, the power of wireless devices in the workshop is adjusted. This method can monitor the changes in the current environment in real time, dynamically adjust the power of wireless devices, optimize the signal coverage effect, and thus improve production efficiency and stability.
[0047] For ease of understanding, the power adjustment method of the wireless device provided in the present application is described below in conjunction with the accompanying drawings.
[0048] The power regulation method of the wireless device provided in the present application can be applied to various workshops in a factory building, and can dynamically adjust the wireless signal coverage of the workshop in real time according to the loading conditions of the goods in the workshop.
[0049] See also Figure 1, is a schematic diagram of the implementation environment involved in this application (i.e., a schematic diagram of a factory workshop). Figure 1 As shown, the factory building consists of at least one workshop (indicated by numbers 1, 2, 3, and 4 in the figure, and the application does not limit the number of workshops); different workshops have different functions, such as production workshops, storage workshops, packaging workshops, etc.
[0050] In the operation of modern factories, different workshops often adopt different ways of placing goods on shelves according to their production needs and functional positioning. For example, production workshops often adopt multi-layer shelf designs due to the need for high-precision processing and assembly; storage workshops usually need to store a large amount of raw materials, and often use shelves with larger capacity and volume; packaging workshops usually use movable or adjustable shelf structures to ensure flexibility and convenience during the packaging process.
[0051] based on Figure 1 The implementation environment shown, Figure 2 The schematic diagram of the hardware facilities involved in the embodiment of the present application is shown. Figure 2 As shown, the hardware facilities involved in the embodiment of the present application include: a data acquisition device 101, a wireless device 102, a data processing device 103, and a training device 104.
[0052] The data collection device 101 is arranged in the workshop and is used to collect data on cargo loading conditions in the workshop.
[0053] Exemplarily, the data acquisition device 101 may be a camera for acquiring image data reflecting the cargo loading conditions in the workshop.
[0054] For example, in Figure 1 In the implementation environment shown, the layout of the cameras can be designed according to the environmental characteristics of the factory. For example, the location and number of cameras can be determined based on factors such as shelf height, layout, and light to ensure that the stacking of goods is fully captured. Figure 1 In the implementation environment shown, to ensure full coverage of the shelves, the camera layout plan can be: install two cameras at each end of workshop 1, each camera covers an area of about 80m; install one camera in workshop 2 to cover the entire workshop; install two cameras at each end of workshop 3, each camera covers an area of about 50m; workshop 4 requires multiple cameras to cover the entire production area according to the workshop layout, install a camera in each corner, and add additional cameras in areas that require more coverage.
[0055] It should be noted that the cameras are arranged and calibrated to cover key areas, including but not limited to areas where cargo is piled high or densely.
[0056] In some embodiments, the cameras installed in the workshop are connected to the data processing device 103 to ensure stable operation and data transmission of the cameras.
[0057] The wireless device 102 is arranged in the workshop and is used to provide a wireless signal.
[0058] It is understandable that the higher the power of the wireless device, the higher the signal strength of the wireless signal.
[0059] Exemplarily, the wireless device 102 includes but is not limited to at least one of the following: a wireless router, a mobile base station, a wireless sensor, a wireless access point, etc.
[0060] The data processing device 103 is used to obtain the data (such as image data) collected by the data collection device 101 and used to collect and reflect the cargo loading conditions in the workshop, and process the data collected and used to collect and reflect the cargo loading conditions in the workshop to obtain the wireless signal coverage in the workshop, and then adjust the power of the wireless device 102 according to the wireless signal coverage in the workshop.
[0061] In some embodiments, a prediction model is deployed in the data processing device 103 to predict the wireless signal coverage in the workshop based on the image data collected to reflect the cargo loading situation in the workshop.
[0062] Exemplarily, the data processing device 103 may be a server cluster composed of multiple servers, or a single server, or a computer, or a processor or processing chip in a server or computer, etc. The embodiment of the present application does not limit the specific device form of the processing device 103.
[0063] The training device 104 is used to train the prediction model and send the trained prediction model to the data processing device 103 .
[0064] Exemplarily, the training device 104 may be a computer device, a high-performance computer (such as a server equipped with a graphics processing unit GPU), a cloud computing platform, a dedicated accelerator (such as an application specific integrated circuit ASIC, a field programmable gate array FPGA), etc. The present application embodiment does not limit the specific device form of the training device 104.
[0065] In some embodiments, the training device 104 may exist independently of the data processing device 103; or, the data processing device 103 and the training device 104 may be integrated into the same device.
[0066] It is understandable that the application scenarios of the embodiments of the present disclosure are not limited. The system architecture and business scenarios described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. It is known to those skilled in the art that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
[0067] Figure 3 A schematic diagram of a power regulation method for a wireless device provided in an embodiment of the present application is applied to Figure 2 The data processing device shown. Figure 3 As shown, the power adjustment method of the wireless device provided in the present application includes the following steps:
[0068] S110: Acquire a first real-time image in the workshop at the current moment.
[0069] The first real-time image is used to reflect the current loading situation of the goods in the workshop. It is understandable that the embodiment of the present application can arrange high-definition cameras according to factors such as the volume, height, layout and relationship of the shelves in the workshop to ensure that the image used to reflect the loading situation of the goods in the workshop is fully captured.
[0070] In some embodiments, the data processing device receives the live images collected by the image collection device based on high-speed data transmission technology to ensure stable operation of data transmission and data security. In addition, the data processing device is also used to store the received live images.
[0071] S120: Based on the first real-time image and the prediction model, obtain the wireless signal coverage situation in the workshop at the current moment.
[0072] The prediction model is used to predict the coverage of wireless signals in the workshop according to the loading conditions of the goods in the workshop.
[0073] S130. Adjust the power of wireless devices in the workshop according to the wireless signal coverage in the workshop at the current moment.
[0074] Exemplarily, when the wireless signal coverage in the workshop is poor, the power of the wireless devices in the workshop is increased; when the wireless signal coverage in the workshop is strong, the power of the wireless devices in the workshop can be appropriately reduced.
[0075] It can be understood that the present application establishes a connection between the cargo loading situation in the workshop and the coverage of the wireless signal in the workshop, and forms a corresponding prediction model, so as to monitor the network coverage in real time, and dynamically adjust the power of the workshop wireless equipment according to the model output results, thereby reducing manual intervention, realizing the real-time performance of the system, and thus improving the production efficiency and stability.
[0076] In some embodiments, Figure 4 As shown, step S120 can be specifically implemented as the following steps S121-S122:
[0077] S121, identifying goods from the first live image, and segmenting image data of the goods from the first live image using an image segmentation algorithm.
[0078] Exemplarily, a semantic segmentation algorithm of an image segmentation algorithm may be used to segment the image data of the goods from the first live image.
[0079] It can be understood that the embodiment of the present application uses image processing and machine vision technology to segment and identify the pre-processed image, accurately separate the cargo target from the background in the first real-time image, generate a bounding box of the cargo, and provide a data basis for subsequent processing.
[0080] In some embodiments, before the above step S121, the above method further includes: performing image preprocessing on the first live image. The image preprocessing includes removing image standardization, data augmentation operations, etc. It can be understood that the image preprocessing can ensure clear and accurate image quality.
[0081] Exemplarily, the image normalization process is performed on the first live image, and the following formula (1) may be satisfied:
[0082]
[0083] Among them, I represents the original image, μ and σ represent the mean and standard deviation of the image data respectively.
[0084] For example, data augmentation can be performed by methods such as rotation, scaling, and mirroring to improve the generalization ability of the model.
[0085] S122. Input the image data of the goods into the prediction model so that the prediction model extracts features from the image data of the goods and calculates the loading rate of the goods based on the extracted features. Then, based on the loading rate of the goods, the prediction model determines and outputs the wireless signal coverage in the workshop at the current moment.
[0086] Exemplarily, the prediction model extracts features from the image data of the goods, including extracting volume features of the goods, volume features of the shelf, etc. Further, the stacking rate of the goods is calculated according to the volume features of the goods and the volume features of the shelf.
[0087] It can be understood that the prediction model provided in the embodiment of the present application establishes a connection between the cargo loading situation in the workshop and the coverage of the wireless signal in the workshop. Therefore, the wireless signal coverage in the workshop can be determined based on the first image data reflecting the cargo loading situation in the workshop and the prediction model.
[0088] In some embodiments, the wireless signal coverage in the workshop at the current moment includes the signal strength of each area in the workshop at the current moment; Figure 5 As shown, step S130 can be specifically implemented as the following steps S131-S132:
[0089] S131. Determine the area to be adjusted in the workshop according to the signal strength of each area in the workshop at the current moment.
[0090] In some embodiments, the area to be adjusted includes an area in the workshop where the signal strength is less than or equal to a first preset threshold, and an area in the workshop where the signal strength is greater than or equal to a second preset threshold.
[0091] S132: Adjust the power of the wireless device in the area to be adjusted based on the signal strength of the area to be adjusted at the current moment, the expected signal strength of the area to be adjusted, the adjustment step size, and the smoothing factor.
[0092] The adjustment step size is the maximum power change in each adjustment; the smoothing factor is used to control the speed of power adjustment.
[0093] In some embodiments, a real-time optimization algorithm is introduced to gradually adjust the power of the wireless device.
[0094] The adjustment algorithm formula is as follows:
[0095] P new =P current +α(ΔP),
[0096] Among them, P new is the new power level, P current is the current power level, α is the smoothing factor, and △P is the power adjustment step size.
[0097] In some embodiments, ΔP is an ideal power adjustment amount calculated based on network performance indicators, which determines the maximum power change amount for each adjustment. α is used to control the power adjustment speed to ensure that each adjustment is a gradual process. For example, the value of α is between 0 and 1, and the smaller the value, the smoother the adjustment process.
[0098] In some embodiments, ΔP is dynamically calculated by real-time monitoring of key performance indicators to ensure that power adjustment meets the actual needs of the current network status. For example, the key performance indicator can be signal strength. When ΔP is confirmed, the value of the smoothing factor α is dynamically adjusted according to network performance feedback. For example, when the network stability is poor, the value a can be appropriately increased to speed up the power adjustment speed; when the network is unstable, the value a can be reduced to reduce the power adjustment speed.
[0099] It can be understood that the introduction of optimization algorithms to establish a dynamic power adjustment strategy based on a predictive model can combine the current working status of wireless devices and environmental changes to gradually adjust the power of wireless devices in real time, avoid network instability and service interruptions caused by sudden power changes, and ensure the stability and continuity of the wireless network.
[0100] The present application also provides a model training method, such as Figure 6 As shown, the method includes the following steps S210-S230:
[0101] S210. Obtain a second real-time image and historical wireless signal coverage in the workshop at a historical moment, wherein the second real-time image is used to reflect the loading situation of goods in the workshop at a historical moment.
[0102] S220: Construct training samples based on the second live image and historical wireless signal coverage.
[0103] In some embodiments, the data set consisting of the second live image and the historical wireless signal coverage situation is divided into a training set, a validation set, and a test set in a ratio of 70%, 15%, and 15%.
[0104] S230: Use the training sample set to train the prediction model to be trained to obtain a trained prediction model. The prediction model is used to predict the coverage of the wireless signal in the workshop according to the loading condition of the goods in the workshop.
[0105] In some embodiments, the prediction model is also trained through simulation of different network environment scenarios simulated by simulation software to verify the adaptability and stability of the model.
[0106] It can be understood that the present application constructs a signal coverage prediction model based on deep learning technology. By collecting the cargo loading conditions of the workshop at historical moments and combining them with the historical wireless signal coverage conditions of the workshop to form a data set, the signal coverage prediction model is predicted, thereby improving the generalization ability and accuracy of the prediction model, and then obtaining a trained prediction model to predict the coverage of wireless signals in the workshop according to the cargo loading conditions in the workshop, thereby providing a guarantee for dynamically adjusting the wireless signal coverage strength in the workshop.
[0107] In some embodiments, Figure 7 As shown, step S220 can be specifically implemented as the following steps S221-S224:
[0108] S221: Identify goods from the second live image, and segment image data of the goods from the second live image using an image segmentation algorithm.
[0109] In some embodiments, before segmenting the image data of the goods from the second live image using the image segmentation algorithm, the method further includes: performing standardization processing and data augmentation processing on the second live image.
[0110] Exemplarily, the standardization process for the second live image may satisfy the above formula (1), which will not be described in detail here.
[0111] Exemplarily, the second live image is subjected to data augmentation processing by rotating, scaling, mirroring, etc.
[0112] It can be understood that the standardization and data augmentation processing of the second live image can ensure the image quality is clear and accurate and improve the generalization ability of the trained model.
[0113] S222: Extract features from the cargo image data, and calculate the cargo loading rate based on the extracted features.
[0114] In some embodiments, feature extraction is specifically implemented as follows: using image recognition technology to obtain the length L, width W and height H of the goods and shelves, and then using the volume formula to calculate the total volume V of the shelves. shelf and cargo volume V item . Exemplarily, the volume formula satisfies the following formula:
[0115] V=L×W×H,
[0116] In some embodiments, calculating the cargo loading rate according to the extracted features includes calculating the cargo loading rate according to the total volume V of the shelf. shelf and cargo volume V item Calculate the stacking rate. Exemplarily, the stacking rate satisfies the following formula:
[0117]
[0118] Among them, ∑V item It represents the total volume of goods on a single shelf, and the stacking rate represents the percentage of shelf space occupied by goods.
[0119] S223: Construct a first training sample based on the cargo loading rate and the cargo image data.
[0120] The sample label of the first training sample is the cargo loading rate, and the sample data is the cargo image data.
[0121] S224: Construct a second training sample based on historical wireless signal coverage and cargo loading rate.
[0122] The sample label of the second training sample is the historical wireless signal coverage, and the sample data is the cargo loading rate.
[0123] In some embodiments, step S224 can be specifically implemented as follows: performing data alignment processing on the historical wireless signal coverage and cargo loading rate of the same area; and constructing a second training sample based on the data after the data alignment processing.
[0124] The historical wireless signal coverage is the signal coverage feature data constructed by the real-time signal coverage indicator (Reference Signal Received Power, RSRP). RSRP is used to measure the coverage and quality of network signals. RSRP is usually measured using a signal strength indicator or other professional tools and converted into easy-to-understand levels such as strong, good, fair, and weak.
[0125] In some embodiments, the historical wireless signal coverage and cargo loading rate of the same area are aligned, which means that the signal coverage data and the cargo loading rate are normalized to eliminate the dimensionality influence of the data, ensure the one-to-one correspondence between the loading rate and the RSRP data, and merge them into an overall feature vector.
[0126] In some embodiments, Figure 8 As shown, step S230 can be specifically implemented as the following steps S231-S232:
[0127] S231, using the first training sample to perform the first training on the prediction model to be trained, to obtain the prediction model after the first training.
[0128] The prediction model after the first training is used to extract features from the input image data of the goods, and calculate the loading rate of the goods based on the extracted features.
[0129] In some embodiments, the ResNet-18 deep neural network model is used to construct the above prediction model.
[0130] For example, the ResNet-18 model includes two types of residual blocks: basic blocks and bottleneck blocks. The basic block consists of two 3*3 convolutional layers. The output signal of the input signal after passing through the two convolutional layers is added to the input signal, a residual connection is performed, and then a ReLU activation function is passed. The bottleneck block consists of a 1*1 convolutional layer, a 3*3 convolutional layer, and a 1*1 convolutional layer. The output signal of the input signal after passing through the three convolutional layers is added to the input signal, a residual connection is performed, and then a ReLU activation function is passed.
[0131] In some embodiments, the present application pre-loads the pre-trained weights of ResNet-18 and uses a small amount of data set for training to obtain available pre-trained model weights, accelerate subsequent model convergence and improve feature extraction capabilities.
[0132] In some embodiments, since the number of samples under different loading rates varies, and the sample data in certain specific situations, such as when the loading rate is too low or too high, may be more critical, the optimizer and loss function are used to optimize the model to solve the problem of unbalanced sample number.
[0133] For example, the Adam optimizer and the Focal Loss loss function are selected. The Focal Loss loss function satisfies the following formula:
[0134] FL(pt)=-(1-pt) γ log(pt),
[0135] Among them, pt is the predicted probability of the model and γ is the adjustment factor.
[0136] It is understandable that optimizing the model can increase the prediction model's attention to a small but important number of sample data, thereby improving the accuracy of sample identification and prediction precision.
[0137] S232: Use the second training sample to perform a second training on the prediction model after the initial training to obtain a trained prediction model.
[0138] Exemplarily, the cross entropy loss function of the multi-classification problem is used for the secondary training of the prediction model, and the formula is as follows:
[0139]
[0140] Where y is the true label value of the second training sample, usually one-hot encoding (One-Hot), is the predicted output value, N is the number of categories, y i and They represent the probability of the true label and the i-th category predicted by the model respectively.
[0141] In some embodiments, using the second training sample to perform a second training on the prediction model after the first training includes: batch processing the second training sample, and performing a second training on the prediction model after the first training in batches. Exemplarily, the batch size may be 128.
[0142] In some embodiments, the above method also includes: using a back propagation algorithm to continuously optimize model parameters, and finally obtaining a trained prediction model.
[0143] It can be understood that the present application utilizes deep learning technology to accurately simulate and predict the impact of cargo on wireless signal coverage under different loading rates, and establishes a real-time optimization mechanism to automatically and dynamically adjust the power of wireless equipment in real time according to the actual loading conditions, thereby reducing manual intervention and improving the efficiency of adjusting signal strength to achieve more stable and better quality signal coverage.
[0144] The above mainly introduces the scheme of the embodiment of the present disclosure from the perspective of the method. It can be understood that in order to achieve the above functions, the power regulation of the wireless device includes at least one of the hardware structure and software modules corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed in this article, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiment of the present disclosure.
[0145] The embodiment of the present disclosure can divide the power regulating device of the wireless device into functional modules according to the above method embodiment. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one functional module. The above integrated module can be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiment of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0146] Fig. 9 The schematic diagram of the structure of the power regulation device of the wireless device provided in the embodiment of the present application is as follows: The power regulation device 300 of the wireless device includes: a collection module 301 and a processing module 302 .
[0147] The acquisition module 301 is used to obtain a first real-time image in the workshop; wherein the first real-time image is used to reflect the loading situation of goods in the workshop at the current moment.
[0148] The processing module 302 is used to obtain the wireless signal coverage in the workshop at the current moment based on the first real-time image and the prediction model; wherein the prediction model is used to predict the wireless signal coverage in the workshop according to the loading conditions of the goods in the workshop; and adjust the power of the wireless equipment in the workshop according to the wireless signal coverage in the workshop at the current moment.
[0149] A possible implementation method is that the processing module 302 is specifically used to identify the goods from the first real-time image, and use an image segmentation algorithm to segment the image data of the goods from the first real-time image; the image data of the goods is input into the prediction model so that the prediction model extracts features from the image data of the goods, and calculates the loading rate of the goods based on the extracted features, and then determines and outputs the wireless signal coverage in the workshop at the current moment based on the loading rate of the goods.
[0150] Another possible implementation method is that the wireless signal coverage situation in the workshop at the current moment includes the signal strength of each area in the workshop at the current moment; the processing module 302 is specifically used to determine the area to be adjusted in the workshop according to the signal strength of each area in the workshop at the current moment, and the area to be adjusted includes the area in the workshop where the signal strength is less than or equal to the first preset threshold, and the area in the workshop where the signal strength is greater than or equal to the second preset threshold; based on the signal strength of the area to be adjusted at the current moment, the expected signal strength of the area to be adjusted, the adjustment step and the smoothing factor, adjust the power of the wireless device in the area to be adjusted; the adjustment step is the maximum power change for each adjustment, and the smoothing factor is used to control the speed of power adjustment.
[0151] In another possible implementation manner, the power adjustment apparatus 300 of the wireless device further includes a training module 303 .
[0152] The acquisition module 301 is used to obtain a second real-time image and historical wireless signal coverage in the workshop at a historical moment, wherein the second real-time image is used to reflect the loading situation of goods in the workshop at a historical moment.
[0153] The processing module 302 is used to construct a training sample based on the second live image and the historical wireless signal coverage.
[0154] The training module 303 is used to train the prediction model to be trained using the training sample set to obtain a trained prediction model; wherein the prediction model is used to predict the coverage of the wireless signal in the workshop according to the loading condition of the goods in the workshop.
[0155] A possible implementation method is that the processing module 302 is specifically used to identify goods from the second real-time image, and use an image segmentation algorithm to segment the image data of the goods from the second real-time image; perform feature extraction on the image data of the goods, and calculate the loading rate of the goods based on the extracted features; construct a first training sample based on the loading rate of the goods and the image data of the goods; wherein the sample label of the first training sample is the loading rate of the goods, and the sample data is the image data of the goods; construct a second training sample based on the historical wireless signal coverage and the loading rate of the goods; wherein the sample label of the second training sample is the historical wireless signal coverage, and the sample data is the loading rate of the goods.
[0156] Another possible implementation method, the training module 303, is specifically used to use the first training sample to perform the first training on the prediction model to be trained to obtain the prediction model after the first training. The prediction model after the first training is used to extract features from the image data of the input goods and calculate the loading rate of the goods according to the extracted features; the prediction model after the first training is trained again using the second training sample to obtain a trained prediction model.
[0157] Another possible implementation manner is that the processing module 302 is specifically used to perform data alignment processing on the historical wireless signal coverage and cargo loading rate of the same area; and construct a second training sample based on the data after the data alignment processing.
[0158] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiments of the present disclosure provide a possible structure of the electronic device involved in the above-mentioned embodiments. Fig.10 As shown, the electronic device 700 includes: a processor 702 and a bus 704. Optionally, the electronic device 700 may further include a memory 701; optionally, the electronic device 700 may further include a communication interface 703.
[0159] The processor 702 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The processor 702 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The processor 702 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0160] The communication interface 703 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0161] The memory 701 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0162] As a possible implementation, the memory 701 may exist independently of the processor 702, and the memory 701 may be connected to the processor 702 via a bus 704 to store instructions or program codes. When the processor 702 calls and executes the instructions or program codes stored in the memory 701, the power adjustment method of the wireless device provided in the embodiment of the present disclosure can be implemented. In another possible implementation, the memory 701 may also be integrated with the processor 702.
[0163] The bus 704 may be an extended industry standard architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0164] Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the power regulation method for a wireless device as described in any of the above embodiments.
[0165] Exemplarily, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), etc.), smart cards and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). The various computer-readable storage media described in the present disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.
[0166] An embodiment of the present disclosure provides a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the power adjustment method for a wireless device described in any one of the above embodiments.
[0167] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A power regulation method for a wireless device, characterized in that: include: Acquire a first live image in the workshop at the current moment, where the first live image is used to reflect the loading status of goods in the workshop at the current moment; Based on the first real-time image and the prediction model, the wireless signal coverage in the workshop at the current moment is obtained; wherein the prediction model is used to predict the wireless signal coverage in the workshop according to the loading condition of the goods in the workshop; According to the wireless signal coverage in the workshop at the current moment, the power of the wireless devices in the workshop is adjusted.
2. The method according to claim 1, characterized in that The obtaining, based on the first live image and the prediction model, the wireless signal coverage situation in the workshop at the current moment, includes: Identify goods from the first live image, and segment image data of the goods from the first live image using an image segmentation algorithm; The image data of the goods is input into the prediction model so that the prediction model extracts features from the image data of the goods and calculates the loading rate of the goods based on the extracted features, and then determines and outputs the wireless signal coverage status in the workshop at the current moment based on the loading rate of the goods.
3. The method according to claim 1, characterized in that The wireless signal coverage in the workshop at the current moment includes the signal strength of each area in the workshop at the current moment; and adjusting the power of the wireless device in the workshop according to the wireless signal coverage in the workshop at the current moment includes: Determine the area to be adjusted in the workshop according to the signal strength of each area in the workshop at the current moment, wherein the area to be adjusted includes an area in the workshop where the signal strength is less than or equal to a first preset threshold, and an area in the workshop where the signal strength is greater than or equal to a second preset threshold; Based on the signal strength of the area to be adjusted at the current moment, the expected signal strength of the area to be adjusted, the adjustment step and the smoothing factor, the power of the wireless device in the area to be adjusted is adjusted; the adjustment step is the maximum power change of each adjustment, and the smoothing factor is used to control the speed of power adjustment.
4. A model training method, characterized in that: include: Acquire a second live image and historical wireless signal coverage in the workshop at a historical moment, wherein the second live image is used to reflect the loading condition of goods in the workshop at the historical moment; Constructing a training sample based on the second live image and the historical wireless signal coverage; The training sample set is used to train the prediction model to be trained to obtain the trained prediction model; wherein the prediction model is used to predict the coverage of wireless signals in the workshop according to the loading conditions of the goods in the workshop.
5. The method according to claim 4, characterized in that The constructing a training sample based on the second live image and the historical wireless signal coverage includes: Identify goods from the second live image, and segment image data of the goods from the second live image using an image segmentation algorithm; Extracting features from the image data of the cargo, and calculating the cargo loading rate based on the extracted features; Based on the stacking rate of the cargo and the image data of the cargo, construct a first training sample; wherein the sample label of the first training sample is the stacking rate of the cargo, and the sample data is the image data of the cargo; Based on the historical wireless signal coverage and the cargo loading rate, a second training sample is constructed; wherein the sample label of the second training sample is the historical wireless signal coverage, and the sample data is the cargo loading rate.
6. The method according to claim 5, characterized in that The step of training the prediction model to be trained by using the training sample set to obtain the trained prediction model includes: Using the first training sample to perform a first training on the prediction model to be trained to obtain a prediction model after the first training, wherein the prediction model after the first training is used to extract features from the input image data of the cargo, and calculate the stacking rate of the cargo according to the extracted features; The second training sample is used to perform a second training on the prediction model after the first training to obtain the trained prediction model.
7. The method according to claim 5, characterized in that The constructing a second training sample based on the historical wireless signal coverage and the cargo loading rate includes: Performing data alignment processing on the historical wireless signal coverage and the cargo loading rate in the same area; The second training sample is constructed based on the data after the data alignment processing.
8. An electronic device, characterized in that: The electronic device comprises: a processor and a memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the electronic device implements the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes: computer software instructions; When the computer software instructions are executed in an electronic device, the electronic device implements the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is run on an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 7.
