WO2024082767A1 - Gain adjustment method and apparatus, computer device and storage medium - Google Patents

Gain adjustment method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2024082767A1
WO2024082767A1 PCT/CN2023/110153 CN2023110153W WO2024082767A1 WO 2024082767 A1 WO2024082767 A1 WO 2024082767A1 CN 2023110153 W CN2023110153 W CN 2023110153W WO 2024082767 A1 WO2024082767 A1 WO 2024082767A1
Authority
WO
WIPO (PCT)
Prior art keywords
gain value
gain
signal
adjusted
evaluation result
Prior art date
Application number
PCT/CN2023/110153
Other languages
French (fr)
Chinese (zh)
Inventor
王一凡
陈金利
Original Assignee
三维通信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三维通信股份有限公司 filed Critical 三维通信股份有限公司
Publication of WO2024082767A1 publication Critical patent/WO2024082767A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Definitions

  • the present application relates to the field of communication technology, and in particular to a gain adjustment method, device, computer equipment and storage medium.
  • the related technology is to adjust the gain by fast decay and slow release.
  • the gain decay speed or release speed of this method is a constant value designed based on experience, which may not be able to respond to signal changes in time in the actual system.
  • a gain adjustment method, apparatus, computer device, and storage medium are provided.
  • the present application provides a gain adjustment method.
  • the method comprises:
  • a target gain value is obtained based on the first gain value and the second gain value.
  • obtaining a target gain value based on the first gain value and the second gain value comprises:
  • the second gain value is used as the target gain value
  • the first gain value is used as the target gain value.
  • obtaining the accuracy evaluation result of the previous moment includes: The first gain value is used as a standard gain value; and the accuracy score is determined based on the degree of deviation between the second gain value at a previous moment and the standard gain value.
  • the method further includes: updating the model parameters of the gain determination model based on the accuracy evaluation result.
  • the method further includes: if the accuracy evaluation result meets a reset threshold, restoring the gain determination model to an initial model.
  • determining the first gain value based on the power of the signal to be adjusted includes: comparing the power of the signal to be adjusted with a preset power; and determining the first gain value based on the comparison result.
  • the gain determination model before inputting the signal to be adjusted into the gain determination model to obtain the second gain value, it also includes: obtaining an initial model, wherein the initial model is a long short-term memory network; training the initial model using a reference signal and a reference gain value as a training set to obtain the gain determination model.
  • the present application also provides a gain adjustment device.
  • the device comprises:
  • An acquisition module used for acquiring a signal to be adjusted
  • a first determining module configured to determine a first gain value based on the power of the signal to be adjusted
  • a second determination module configured to input the signal to be adjusted into a gain determination model to obtain a second gain value, wherein the gain determination model is obtained through deep learning training;
  • the gain determination module is configured to obtain a target gain value based on the first gain value and the second gain value.
  • the present application further provides a computer device.
  • the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • a target gain value is obtained based on the first gain value and the second gain value.
  • the present application further provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
  • a target gain value is obtained based on the first gain value and the second gain value.
  • FIG. 1 is a diagram showing an application environment of a gain adjustment method according to some embodiments.
  • FIG. 2 is a flow chart of a gain adjustment method according to some embodiments.
  • FIG3 is a schematic diagram of the prediction principle of a long short-term memory network according to some embodiments.
  • FIG. 4 is a structural block diagram of a gain determination model of a gain adjustment method according to some embodiments.
  • FIG. 5 is a block diagram of a mid-gain adjustment system according to some embodiments.
  • FIG6 is a structural block diagram of a gain adjustment device according to some embodiments.
  • FIG. 7 is a diagram showing the internal structure of a computer device according to some embodiments.
  • 102 terminal; 104, server; 600, gain adjustment device; 610, acquisition module; 620, first determination module; 630, second determination module; 640, gain determination module; 700, computer device; 701, processor; 702, internal memory; 703, non-volatile storage medium; 704, system bus; 705, I/O interface; 706, communication interface; 707, input device; 708, display unit.
  • the gain adjustment method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1.
  • the terminal 102 communicates with the server 104 through the network.
  • the data storage system can store the data that the server 104 needs to process.
  • the data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers.
  • the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices.
  • the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc.
  • Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.
  • the server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
  • a gain adjustment method comprising the following steps:
  • Step S201 obtaining a signal to be adjusted.
  • the signal to be adjusted is a real-time signal currently obtained. At this time, the amplitude of the signal to be adjusted changes.
  • the gain of the signal to be adjusted needs to be adjusted according to the situation of the signal to be adjusted to ensure the stability of the output of the signal to be adjusted.
  • Step S202 determining a first gain value based on the power of the signal to be adjusted.
  • the method for determining the first gain value is a traditional gain control method, that is, according to the current power value of the signal to be adjusted, the corresponding gain value is determined, and the signal to be adjusted is gained.
  • the signal to be adjusted changes greatly and changes quickly, if the gain value is determined only when the signal to be adjusted is obtained, and then the signal to be adjusted is gained, then the signal to be adjusted has been maintained at the current power for a period of time, and the signal to be adjusted in the previous period of time has not been appropriately gained, or the power of the signal to be adjusted will change again at the next moment, and the currently determined gain value cannot adapt to the signal to be adjusted at the next moment, which can easily lead to unstable output of the signal to be adjusted and produce distortion.
  • Step S203 input the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment.
  • the gain determination model is trained to determine the predicted gain value at the next moment based on the signal to be adjusted at the current moment. It can be understood that the initial model of the deep learning model here can adopt the neural network model in the relevant technology, which is not specifically limited here.
  • Step S204 obtaining a target gain value based on the first gain value and the second gain value.
  • a comparison can be performed and a more suitable gain value can be determined as the final target gain value. For example, the matching degree between the two gain values and the actual demand can be judged respectively, and a more matching target gain value can be selected to gain the signal to be adjusted.
  • the above-mentioned gain adjustment method obtains a signal to be adjusted; determines a first gain value based on the power of the signal to be adjusted; inputs the signal to be adjusted into a gain determination model to obtain a second gain value, and the gain determination model is obtained through deep learning training; obtains a target gain value based on the first gain value and the second gain value, combines the deep learning model prediction gain and the traditional power detection adjustment gain, and determines the final target gain value according to the gain values obtained in the two ways. It can respond to changes in the signal in a timely manner and provide appropriate gain. It meets the requirements of high precision and convergence speed by predicting the future situation of the signal to be adjusted, thereby ensuring the stability of the signal to be adjusted.
  • obtaining a target gain value based on the first gain value and the second gain value comprises:
  • Step 1 Obtain the accuracy evaluation result of the previous moment, the accuracy evaluation result is based on the The second gain value and the standard gain value are determined;
  • Step 2 if the accuracy evaluation result meets a preset threshold, the second gain value is used as the target gain value;
  • Step 3 If the accuracy evaluation result does not meet a preset threshold, the first gain value is used as the target gain value.
  • the first gain value or the second gain value is determined as the target gain value according to the accuracy evaluation result at the previous moment.
  • the accuracy evaluation result may be an accuracy score.
  • comparing the second gain value at the previous moment with the standard gain value to determine the accuracy evaluation result is actually comparing the power value corresponding to the second gain value at the previous moment with the actually observed power value, wherein the actually observed power value is the output power actually required by the signal to be adjusted.
  • the accuracy evaluation result meets the preset threshold, it means that the second gain value at the previous moment matches the actually observed gain value, and the second gain value can meet the actual demand, then the second gain value is still used as the final output gain value at the current moment; if the accuracy evaluation result does not meet the preset threshold, it means that the second gain value at the previous moment deviates from the actually observed gain value and cannot meet the signal gain adjustment demand, then the first gain value obtained by the traditional method is used as the final output gain value at this moment.
  • the evaluation result of the second gain value at the previous moment is used as a reference standard to determine whether the second gain value can meet the signal gain requirement, and the first gain value is used as the final output gain when the second gain value cannot meet the requirement, so as to avoid signal distortion when the second gain value deviates from the actual requirement, and can effectively ensure the accuracy of the signal gain and the stability of the system.
  • the basis for selecting the first gain value or the second gain value as the target gain value may also be the degree of matching between the first gain value and the actual demand, or comparing the evaluation scores of the first gain value and the second gain value, and selecting the one with the higher evaluation score as the target gain value; in addition, the target gain value may also be determined by taking the first gain value and the second gain value into consideration by taking a weighted sum of the two gain values. It is understandable that the specific method of determining the target gain value based on the first gain value and the second gain value can be determined by the user according to actual needs, and will not be repeated here.
  • obtaining the accuracy evaluation result at the previous moment includes:
  • Step 1 taking the first gain value at the current moment as the standard gain value
  • Step 2 determining an accuracy score based on the degree of deviation between the second gain value at a previous moment and the standard gain value.
  • the first gain value lags behind the signal to be adjusted at the current moment, and it can only meet the signal gain requirements before the current moment. Therefore, the first gain value at the current moment corresponds to the actual observed gain value at the previous moment, that is, the standard gain value at the previous moment.
  • the accuracy evaluation result may also be in other forms, such as accuracy level, which is not specifically limited here.
  • the above embodiment utilizes the hysteresis of the traditional gain control and uses the first gain value at the current moment as the standard gain value at the previous moment, which can accurately reflect the actual demand of the signal gain at the previous moment and make the accuracy evaluation result more reliable.
  • determining the accuracy score based on the degree of deviation between the second gain value at the previous moment and the standard gain value includes: scoring according to an inverse proportional function of the difference between the power corresponding to the second gain value at the previous moment and the power corresponding to the standard gain value at the previous moment, the closer the power corresponding to the second gain value at the previous moment is to the power corresponding to the standard gain value at the previous moment, the higher the accuracy score.
  • the method further includes:
  • Step 1 Update the model parameters of the gain determination model based on the accuracy evaluation result.
  • the accuracy evaluation result can reflect the deviation between the output result of the gain determination model and the actual demand. According to this deviation, the gain determination model is reinforced learning, and the model parameters of the gain determination model are updated. In real-time operation, the weights can be updated according to the prediction of the gain determination model to adapt to other unconsidered issues in the online operation, which can effectively improve the accuracy of the output results of the gain determination model.
  • the method further includes:
  • Step 1 If the accuracy evaluation result meets the reset threshold, the gain determination model is restored to the initial model.
  • the gain determination model is reset and retrained.
  • the first gain value is used as the target gain value for the final output.
  • the reset threshold can be set by the user according to the actual The requirements are set, and no specific restrictions are given here.
  • the gain determination model may be reset when the accuracy evaluation result is less than a preset threshold for multiple times.
  • the specific preset threshold may be set by the user according to actual needs and is not specifically limited here.
  • the gain determination model when it is determined that the prediction result of the gain determination model is inaccurate, the gain determination model is reset, and the first gain value is used as the target gain value of the final output, degenerating to the traditional gain control method to avoid the problem of network locking, thereby protecting the system and making the signal output more stable.
  • determining the first gain value based on the power of the signal to be adjusted includes:
  • Step 1 comparing the power of the signal to be adjusted with a preset power
  • Step 2 determine the first gain value based on the comparison result.
  • the first gain value is determined by the traditional gain control method, that is, based on the power of the current real-time signal and the preset power, it is judged whether the power of the current signal is too large or too small, and the degree of being too large or too small, and the corresponding gain value is output according to the degree of being too large or too small, so as to adjust the power value of the signal to be adjusted.
  • the method before inputting the signal to be adjusted into a gain determination model to obtain a second gain value, the method further includes:
  • Step 1 obtaining an initial model, wherein the initial model is a long short-term memory network
  • Step 2 Use the reference signal and the reference gain value as a training set to train the initial model to obtain the gain determination model.
  • the reference signal is the signal information obtained based on historical data, and the reference gain value is obtained based on historical data.
  • the corresponding reference signal is the gain value actually required at the next moment.
  • the reference signal and the reference gain value are used as training sets to train the initial model, and the gain determination model is obtained by iterating through parameter updates until the convergence requirements are met.
  • LSTM Long Short-Term Memory
  • RNN Recurrent Neural Network
  • a long short-term memory network is used for training and a gain determination model is obtained, which can comprehensively consider the signal amplitude change before the current moment to make a signal amplitude prediction at the next moment, thereby determining the gain value, with better prediction effect and more accurate results.
  • the gain determination model can also be a model composed of a combination of a neural network and a gain adjuster, wherein the neural network is used to receive signal input and output the signal power at the next moment, and the gain adjuster is used to determine the required gain value based on the signal power at the next moment and output it.
  • Figure 3 is a schematic diagram of the prediction principle of the long short-term memory network of an embodiment of the present application. It can be understood that the long short-term memory network makes a prediction of the maximum amplitude of the future signal based on the change of the signal amplitude at the current moment and before the current moment, that is, historical information.
  • the A-layer network is a long short-term memory network
  • the B-layer network is a fully connected network.
  • A1 to An are recurrent networks with memory
  • B1 to Bn are networks without memory.
  • the A1 layer and the B1 layer are directly connected, and finally summed through C0 to obtain the predicted output.
  • xt is the input of An
  • yt is the output of An
  • W is the model parameter weight
  • is the hyperparameter
  • m t is the input of Bn
  • nt is the output of C0
  • a T is used to transform the input of C0 into a matrix and reduce the data dimension to obtain the output data of the expected dimension
  • c is the model parameter.
  • the final output of the neural network is a prediction of the signal power, which is between -1 and 1, used to reflect the degree of change in the signal power, and the gain adjuster is used to map -1 to 1 to the actual gain value.
  • FIG. 5 is a structural block diagram of a gain adjustment system according to an embodiment of the present application.
  • the gain adjustment system includes a long short-term memory network, a gain adjustment module B, a power detection module, a gain adjustment module A, a scoring module, a gain output module and a gain control module, wherein the long short-term memory network is used to provide a predicted value of the signal amplitude according to the signal input, and the gain adjustment module B is used to output the gain B at the next moment according to the predicted value of the signal amplitude;
  • the power detection module is a traditional detection module, which is used to detect the amplitude of the current signal power, and the gain adjustment module A is a traditional gain control module, which is used to output the gain according to the current signal amplitude;
  • the scoring module is used to A score is made through the outputs of gain adjustment module A and gain adjustment module B, as well as the current signal amplitude, to determine which output of gain adjustment module A and gain adjustment module B is better, that is, which one better meets the signal adjustment requirements, and a larger score is given.
  • the score is used as the final gain output and transmitted
  • the entire system can be abstracted into an input-output black box, whose overall function is to add a suitable gain to the signal input and then output the signal.
  • the input signal passes through the gain calculator to calculate a currently required gain, which is output to the gain control module to control the gain of the current signal and output it.
  • the gain calculator Inside the gain calculator, the signal is divided into two streams.
  • the power detection module and the power adjustment module A are traditional gain controllers, and the long short-term memory network and the gain adjustment module B are a power prediction model. Both output their own determined gain values and score them in the scoring module. A comprehensive gain is given to the gain output module, and the scoring results are also returned to the long short-term memory network for reinforcement learning to optimize the results.
  • the input and output relationship of the gain adjustment module B is as follows:
  • the input of the gain adjustment module B is g
  • the output of the gain adjustment module B is f(g)
  • k is set according to parameters related to the maximum output amplitude of the hardware system.
  • the embodiment of the present application also provides a gain adjustment device for realizing the gain adjustment method involved in the above-mentioned.
  • the implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific definition in the one or more gain adjustment device embodiments provided below can refer to the definition of the gain adjustment method in the above text, and will not be repeated here.
  • a gain adjustment device 600 comprising: an acquisition module 610, a first determination module 620, a second determination module 630 and a gain determination module 640, wherein:
  • the acquisition module 610 is used to acquire the signal to be adjusted.
  • the first determination module 620 is configured to determine a first gain value based on the power of the signal to be adjusted.
  • the first determination module 620 is further configured to: compare the power of the signal to be adjusted with a preset power; and determine the first gain value based on the comparison result.
  • the second determination module 630 is used to input the signal to be adjusted into a gain determination model to obtain a second gain value, and the gain determination model is obtained through deep learning training.
  • the gain determination module 640 is configured to obtain a target gain value based on the first gain value and the second gain value.
  • the gain determination module 640 is further configured to:
  • the second gain value is used as the target gain value
  • the first gain value is used as the target gain value.
  • the gain determination module 640 is further configured to: use the first gain value at the current moment as a standard gain value; and determine an accuracy score based on a degree of deviation between the second gain value at the previous moment and the standard gain value.
  • the gain adjustment device 600 further includes: an updating module.
  • An updating module is used to update the model parameters of the gain determination model based on the accuracy evaluation result.
  • the gain adjustment device 600 further includes: a reset module.
  • a reset module is used to restore the gain determination model to an initial model if the accuracy evaluation result meets a reset threshold.
  • the gain adjustment device 600 further includes: a training module.
  • the training module is used to: obtain an initial model, which is a long short-term memory network; train the initial model using a reference signal and a reference gain value as a training set to obtain the gain determination model.
  • Each module in the gain adjustment device 600 can be implemented in whole or in part by software, hardware, or a combination thereof.
  • Each module can be embedded in or independent of the processor 701 in the computer device 700 in the form of hardware, or can be stored in the memory in the computer device 700 in the form of software, so that the processor 701 can call and execute the operations corresponding to each module.
  • a computer device 700 which may be a terminal, and its internal structure diagram may be shown in FIG7.
  • the computer device 700 includes a processor 701, a memory, a communication interface 706, a display unit 708, and an input device 707 connected via a system bus 704.
  • the communication interface 706, the display unit 708, and the input device 707 are connected to the system bus 704 via an I/O interface 705.
  • the processor 701 of the computer device 700 is used to provide computing and control capabilities.
  • the memory of the computer device 700 includes a non-volatile storage medium 703 and an internal memory 702.
  • the non-volatile storage medium 703 stores an operating system and a computer program.
  • the internal memory 702 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium 703.
  • the communication interface 706 of the computer device 700 is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies.
  • a gain adjustment method is implemented.
  • the display unit 708 of the computer device 700 may be a liquid crystal display or an electronic ink display
  • the input device 707 of the computer device 700 may be a touch layer covering the display unit 708, or a button, trackball or touchpad provided on the housing of the computer device 700, or an external keyboard, touchpad or mouse.
  • FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device 700 to which the solution of the present application is applied.
  • the specific computer device 700 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
  • a computer device 700 including a memory and a processor 701, wherein a computer program is stored in the memory, and when the processor 701 executes the computer program, the following steps are implemented:
  • a target gain value is obtained based on the first gain value and the second gain value.
  • a computer-readable storage medium is provided, on which a computer program is stored.
  • the computer program is executed by the processor 701, the following steps are implemented:
  • a target gain value is obtained based on the first gain value and the second gain value.
  • user information including but not limited to user device information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory.
  • Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc.
  • Volatile memory can include random access memory (RAM) or external cache memory, etc.
  • RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • the database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database.
  • Non-relational databases may include distributed databases based on blockchain, etc., but are not limited to this.
  • the processor 701 involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

A gain adjustment method and apparatus, a computer device and a storage medium. The gain adjustment method comprises: acquiring a signal to be adjusted; determining a first gain value on the basis of the power of said signal; inputting said signal into a gain determination model, so as to obtain a second gain value, the gain determination model being obtained by means of deep learning training; and obtaining a target gain value on the basis of the first gain value and the second gain value.

Description

增益调整方法、装置、计算机设备和存储介质Gain adjustment method, device, computer equipment and storage medium
相关申请Related Applications
本申请要求2022年10月21日申请的,申请号为202211296132.4,名称为“增益调整方法、装置、计算机设备和存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims priority to Chinese patent application number 202211296132.4, filed on October 21, 2022, entitled “Gain adjustment method, device, computer equipment and storage medium”, the entire text of which is hereby incorporated by reference.
技术领域Technical Field
本申请涉及通信技术领域,特别是涉及一种增益调整方法、装置、计算机设备和存储介质。The present application relates to the field of communication technology, and in particular to a gain adjustment method, device, computer equipment and storage medium.
背景技术Background technique
传统的信号增益技术,并没有功率预测的能力,一般是根据经验以恒定的速率对信号的增益进行调整。这种方法在信号变化幅度大、变化速度快时,需要更多的滞后时间来调整到合适的增益。Traditional signal gain technology does not have the ability to predict power, and generally adjusts the signal gain at a constant rate based on experience. This method requires more lag time to adjust to the appropriate gain when the signal changes greatly and changes quickly.
相关技术是通过快衰减、慢释放的方式来进行增益调整。但这种方式的增益衰减速度或释放速度是根据经验设计的一个常数值,可能在实际系统中无法及时响应信号的变化。The related technology is to adjust the gain by fast decay and slow release. However, the gain decay speed or release speed of this method is a constant value designed based on experience, which may not be able to respond to signal changes in time in the actual system.
发明内容Summary of the invention
根据本申请的各种实施例,提供一种增益调整方法、装置、计算机设备和存储介质。According to various embodiments of the present application, a gain adjustment method, apparatus, computer device, and storage medium are provided.
第一方面,本申请提供了一种增益调整方法。所述方法包括:In a first aspect, the present application provides a gain adjustment method. The method comprises:
获取待调整信号;Obtain the signal to be adjusted;
基于所述待调整信号的功率确定第一增益值;Determining a first gain value based on the power of the signal to be adjusted;
将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值;Inputting the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment;
基于所述第一增益值以及第二增益值得到目标增益值。A target gain value is obtained based on the first gain value and the second gain value.
在其中一个实施例中,所述基于所述第一增益值以及第二增益值得到目标增益值包括:In one embodiment, obtaining a target gain value based on the first gain value and the second gain value comprises:
获取前一时刻的准确度评估结果,所述准确度评估结果基于前一时刻的所述第二增益值以及标准增益值确定;Acquire an accuracy evaluation result at a previous moment, where the accuracy evaluation result is determined based on the second gain value and a standard gain value at the previous moment;
若所述准确度评估结果满足预设阈值,则将所述第二增益值作为所述目标增益值;If the accuracy evaluation result meets the preset threshold, the second gain value is used as the target gain value;
若所述准确度评估结果不满足预设阈值,则将所述第一增益值作为所述目标增益值。If the accuracy evaluation result does not meet the preset threshold, the first gain value is used as the target gain value.
在其中一个实施例中,所述获取前一时刻的准确度评估结果包括:将当前时刻的所述 第一增益值作为标准增益值;基于前一时刻的所述第二增益值与所述标准增益值的偏差程度确定准确度分数。In one embodiment, obtaining the accuracy evaluation result of the previous moment includes: The first gain value is used as a standard gain value; and the accuracy score is determined based on the degree of deviation between the second gain value at a previous moment and the standard gain value.
在其中一个实施例中,所述基于所述第一增益值以及第二增益值得到目标增益值之后还包括:基于所述准确度评估结果更新所述增益确定模型的模型参数。In one of the embodiments, after obtaining the target gain value based on the first gain value and the second gain value, the method further includes: updating the model parameters of the gain determination model based on the accuracy evaluation result.
在其中一个实施例中,所述获取前一时刻的准确度评估结果之后还包括:若所述准确度评估结果满足复位阈值,则将所述增益确定模型还原为初始模型。In one of the embodiments, after obtaining the accuracy evaluation result of the previous moment, the method further includes: if the accuracy evaluation result meets a reset threshold, restoring the gain determination model to an initial model.
在其中一个实施例中,所述基于所述待调整信号的功率确定第一增益值包括:将所述待调整信号的功率与预设功率进行比对;基于比对结果确定所述第一增益值。In one of the embodiments, determining the first gain value based on the power of the signal to be adjusted includes: comparing the power of the signal to be adjusted with a preset power; and determining the first gain value based on the comparison result.
在其中一个实施例中,所述将所述待调整信号输入增益确定模型,得到第二增益值之前还包括:获取初始模型,所述初始模型为长短期记忆网络;将参考信号以及参考增益值作为训练集训练所述初始模型,得到所述增益确定模型。In one of the embodiments, before inputting the signal to be adjusted into the gain determination model to obtain the second gain value, it also includes: obtaining an initial model, wherein the initial model is a long short-term memory network; training the initial model using a reference signal and a reference gain value as a training set to obtain the gain determination model.
第二方面,本申请还提供了一种增益调整装置。所述装置包括:In a second aspect, the present application also provides a gain adjustment device. The device comprises:
获取模块,用于获取待调整信号;An acquisition module, used for acquiring a signal to be adjusted;
第一确定模块,用于基于所述待调整信号的功率确定第一增益值;A first determining module, configured to determine a first gain value based on the power of the signal to be adjusted;
第二确定模块,用于将所述待调整信号输入增益确定模型,得到第二增益值,所述增益确定模型通过深度学习训练得到;A second determination module, configured to input the signal to be adjusted into a gain determination model to obtain a second gain value, wherein the gain determination model is obtained through deep learning training;
增益确定模块,用于基于所述第一增益值以及第二增益值得到目标增益值。The gain determination module is configured to obtain a target gain value based on the first gain value and the second gain value.
第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
获取待调整信号;Obtain the signal to be adjusted;
基于所述待调整信号的功率确定第一增益值;Determining a first gain value based on the power of the signal to be adjusted;
将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值;Inputting the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment;
基于所述第一增益值以及第二增益值得到目标增益值。A target gain value is obtained based on the first gain value and the second gain value.
第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
获取待调整信号;Obtain the signal to be adjusted;
基于所述待调整信号的功率确定第一增益值;Determining a first gain value based on the power of the signal to be adjusted;
将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值;Inputting the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment;
基于所述第一增益值以及第二增益值得到目标增益值。 A target gain value is obtained based on the first gain value and the second gain value.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更好地描述和说明这里公开的那些发明的实施例和/或示例,可以参考一幅或多幅附图。用于描述附图的附加细节或示例不应当被认为是对所公开的发明、目前描述的实施例和/或示例以及目前理解的这些发明的最佳模式中的任何一者的范围的限制。In order to better describe and illustrate the embodiments and/or examples of the inventions disclosed herein, reference may be made to one or more drawings. The additional details or examples used to describe the drawings should not be considered as limiting the scope of the disclosed inventions, the embodiments and/or examples currently described, and any of the best modes of these inventions currently understood.
图1为根据一些实施例的增益调整方法的应用环境图。FIG. 1 is a diagram showing an application environment of a gain adjustment method according to some embodiments.
图2为根据一些实施例的中增益调整方法的流程示意图。FIG. 2 is a flow chart of a gain adjustment method according to some embodiments.
图3为根据一些实施例的中长短期记忆网络的预测原理示意图。FIG3 is a schematic diagram of the prediction principle of a long short-term memory network according to some embodiments.
图4为根据一些实施例的中增益调整方法的增益确定模型的结构框图。FIG. 4 is a structural block diagram of a gain determination model of a gain adjustment method according to some embodiments.
图5为根据一些实施例的中增益调整系统的结构框图。FIG. 5 is a block diagram of a mid-gain adjustment system according to some embodiments.
图6为根据一些实施例的中增益调整装置的结构框图。FIG6 is a structural block diagram of a gain adjustment device according to some embodiments.
图7为根据一些实施例的中计算机设备的内部结构图。FIG. 7 is a diagram showing the internal structure of a computer device according to some embodiments.
在附图中:102、终端;104、服务器;600、增益调整装置;610、获取模块;620、第一确定模块;630、第二确定模块;640、增益确定模块;700、计算机设备;701、处理器;702、内存储器;703、非易失性存储介质;704、系统总线;705、I/O接口;706、通信接口;707、输入装置;708、显示单元。In the accompanying drawings: 102, terminal; 104, server; 600, gain adjustment device; 610, acquisition module; 620, first determination module; 630, second determination module; 640, gain determination module; 700, computer device; 701, processor; 702, internal memory; 703, non-volatile storage medium; 704, system bus; 705, I/O interface; 706, communication interface; 707, input device; 708, display unit.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
本申请实施例提供的增益调整方法,可以应用于如图1所示的应用环境中。其中,终端102通过网络与服务器104进行通信。数据存储系统可以存储服务器104需要处理的数据。数据存储系统可以集成在服务器104上,也可以放在云上或其他网络服务器上。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、物联网设备和便携式可穿戴设备,物联网设备可为智能音箱、智能电视、智能空调、智能车载设备等。便携式可穿戴设备可为智能手表、智能手环、头戴设备等。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。 The gain adjustment method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
在一个实施例中,如图2所示,提供了一种增益调整方法,包括以下步骤:In one embodiment, as shown in FIG2 , a gain adjustment method is provided, comprising the following steps:
步骤S201,获取待调整信号。Step S201, obtaining a signal to be adjusted.
可以理解的,待调整信号为当前获取的实时信号,此时待调整信号的幅度发生变化,需要根据待调整信号的情况调整对待调整信号的增益,以保证待调整信号输出的稳定性。It can be understood that the signal to be adjusted is a real-time signal currently obtained. At this time, the amplitude of the signal to be adjusted changes. The gain of the signal to be adjusted needs to be adjusted according to the situation of the signal to be adjusted to ensure the stability of the output of the signal to be adjusted.
步骤S202,基于所述待调整信号的功率确定第一增益值。Step S202: determining a first gain value based on the power of the signal to be adjusted.
示例性地,第一增益值的确定方式是传统的增益控制方式,即根据待调整信号当前的功率值,判断其对应的增益值,并对待调整信号进行增益。但是当待调整信号变化幅度大、变化速度快时,若是在获取到待调整信号时才确定增益值,再对待调整信号进行增益,此时待调整信号已经保持在当前功率一段时间,前面一段时间的待调整信号并未进行适当的增益,或者下一时刻待调整信号功率就会再次发生变化,当前确定的增益值无法适配下一时刻的待调整信号,容易导致待调整信号输出不稳定,产生失真的情况。Exemplarily, the method for determining the first gain value is a traditional gain control method, that is, according to the current power value of the signal to be adjusted, the corresponding gain value is determined, and the signal to be adjusted is gained. However, when the signal to be adjusted changes greatly and changes quickly, if the gain value is determined only when the signal to be adjusted is obtained, and then the signal to be adjusted is gained, then the signal to be adjusted has been maintained at the current power for a period of time, and the signal to be adjusted in the previous period of time has not been appropriately gained, or the power of the signal to be adjusted will change again at the next moment, and the currently determined gain value cannot adapt to the signal to be adjusted at the next moment, which can easily lead to unstable output of the signal to be adjusted and produce distortion.
步骤S203,将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值。Step S203: input the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment.
示例性地,增益确定模型被训练为用于基于当前时刻的待调整信号确定下一时刻的预测增益值。可以理解的,此处的深度学习模型的初始模型可以采用相关技术中的神经网络模型,此处不做具体限定。Exemplarily, the gain determination model is trained to determine the predicted gain value at the next moment based on the signal to be adjusted at the current moment. It can be understood that the initial model of the deep learning model here can adopt the neural network model in the relevant technology, which is not specifically limited here.
步骤S204,基于所述第一增益值以及第二增益值得到目标增益值。Step S204: obtaining a target gain value based on the first gain value and the second gain value.
可以理解的,通过两种方式得到两个增益值后,可以进行比对,并确定更合适的增益值,作为最终的目标增益值。示例性地,可以分别判断两个增益值与实际需求的匹配程度,并选择更加匹配的目标增益值对待调整信号进行增益。It is understandable that after obtaining two gain values in two ways, a comparison can be performed and a more suitable gain value can be determined as the final target gain value. For example, the matching degree between the two gain values and the actual demand can be judged respectively, and a more matching target gain value can be selected to gain the signal to be adjusted.
上述增益调整方法,通过获取待调整信号;基于所述待调整信号的功率确定第一增益值;将所述待调整信号输入增益确定模型,得到第二增益值,所述增益确定模型通过深度学习训练得到;基于所述第一增益值以及第二增益值得到目标增益值的方式,将深度学习模型预测增益和传统功率检测调整增益相结合,根据两种方式得到的增益值确定最终的目标增益值,能够及时响应信号的变化,提供适当的增益,通过对于未来待调整信号情况的预测来满足高精度和收敛速度的要求,保证了待调整信号的稳定性。The above-mentioned gain adjustment method obtains a signal to be adjusted; determines a first gain value based on the power of the signal to be adjusted; inputs the signal to be adjusted into a gain determination model to obtain a second gain value, and the gain determination model is obtained through deep learning training; obtains a target gain value based on the first gain value and the second gain value, combines the deep learning model prediction gain and the traditional power detection adjustment gain, and determines the final target gain value according to the gain values obtained in the two ways. It can respond to changes in the signal in a timely manner and provide appropriate gain. It meets the requirements of high precision and convergence speed by predicting the future situation of the signal to be adjusted, thereby ensuring the stability of the signal to be adjusted.
在其中一个实施例中,所述基于所述第一增益值以及第二增益值得到目标增益值包括:In one embodiment, obtaining a target gain value based on the first gain value and the second gain value comprises:
步骤1,获取前一时刻的准确度评估结果,所述准确度评估结果基于前一时刻的所述 第二增益值以及标准增益值确定;Step 1: Obtain the accuracy evaluation result of the previous moment, the accuracy evaluation result is based on the The second gain value and the standard gain value are determined;
步骤2,若所述准确度评估结果满足预设阈值,则将所述第二增益值作为所述目标增益值;Step 2: if the accuracy evaluation result meets a preset threshold, the second gain value is used as the target gain value;
步骤3,若所述准确度评估结果不满足预设阈值,则将所述第一增益值作为所述目标增益值。Step 3: If the accuracy evaluation result does not meet a preset threshold, the first gain value is used as the target gain value.
在本实施例中,通过前一时刻的准确度评估结果决定将第一增益值或第二增益值作为目标增益值。示例性地,准确度评估结果可以是准确度分数。In this embodiment, the first gain value or the second gain value is determined as the target gain value according to the accuracy evaluation result at the previous moment. Exemplarily, the accuracy evaluation result may be an accuracy score.
可以理解的,将前一时刻的第二增益值与标准增益值进行比对,以确定准确度评估结果,实际上是将前一时刻的第二增益值对应的功率值与实际观测到的功率值进行比对,其中,实际观测到的功率值即待调整信号实际需求的输出功率。若所述准确度评估结果满足预设阈值,说明前一时刻的第二增益值与实际观测到的增益值匹配,第二增益值能够满足实际需求,则当前时刻仍然采用第二增益值作为最终输出的增益值;若所述准确度评估结果不满足预设阈值,说明前一时刻的第二增益值比实际观测到的增益值偏离,无法满足信号增益调整的需求,则这一时刻采用传统方式得到的第一增益值作为最终输出的增益值。It can be understood that comparing the second gain value at the previous moment with the standard gain value to determine the accuracy evaluation result is actually comparing the power value corresponding to the second gain value at the previous moment with the actually observed power value, wherein the actually observed power value is the output power actually required by the signal to be adjusted. If the accuracy evaluation result meets the preset threshold, it means that the second gain value at the previous moment matches the actually observed gain value, and the second gain value can meet the actual demand, then the second gain value is still used as the final output gain value at the current moment; if the accuracy evaluation result does not meet the preset threshold, it means that the second gain value at the previous moment deviates from the actually observed gain value and cannot meet the signal gain adjustment demand, then the first gain value obtained by the traditional method is used as the final output gain value at this moment.
上述实施例,以前一时刻对第二增益值的评估结果作为参考标准,判断第二增益值是否能够满足信号增益需求,并在第二增益值无法满足需求的时候采用第一增益值作为最终的输出增益,避免第二增益值偏离实际需求时,信号失真的情况,能够有效保证信号增益的准确性和系统的稳定性。In the above embodiment, the evaluation result of the second gain value at the previous moment is used as a reference standard to determine whether the second gain value can meet the signal gain requirement, and the first gain value is used as the final output gain when the second gain value cannot meet the requirement, so as to avoid signal distortion when the second gain value deviates from the actual requirement, and can effectively ensure the accuracy of the signal gain and the stability of the system.
在其它实施例中,选择第一增益值或第二增益值作为目标增益值的依据还可以为第一增益值与实际需求的匹配程度,或是将第一增益值与第二增益值的评价分数进行比对,选择评价分数较高的一个作为目标增益值;另外,目标增益值还可以为通过对第一增益值和第二增益值进行加权求和等方式,综合考虑两个增益值的情况,确定目标增益值。可以理解的,具体如何根据第一增益值和第二增益值确定目标增益值的方式可以由用户根据实际需求进行确定,此处不再赘述。In other embodiments, the basis for selecting the first gain value or the second gain value as the target gain value may also be the degree of matching between the first gain value and the actual demand, or comparing the evaluation scores of the first gain value and the second gain value, and selecting the one with the higher evaluation score as the target gain value; in addition, the target gain value may also be determined by taking the first gain value and the second gain value into consideration by taking a weighted sum of the two gain values. It is understandable that the specific method of determining the target gain value based on the first gain value and the second gain value can be determined by the user according to actual needs, and will not be repeated here.
在其中一个实施例中,所述获取前一时刻的准确度评估结果包括:In one embodiment, obtaining the accuracy evaluation result at the previous moment includes:
步骤1,将当前时刻的所述第一增益值作为标准增益值;Step 1, taking the first gain value at the current moment as the standard gain value;
步骤2,基于前一时刻的所述第二增益值与所述标准增益值的偏差程度确定准确度分数。 Step 2: determining an accuracy score based on the degree of deviation between the second gain value at a previous moment and the standard gain value.
可以理解的,第一增益值相对于当前时刻的待调整信号来说是滞后的,它仅能适应当前时刻之前的信号增益的需求,因此,当前时刻的第一增益值对应的是前一时刻的实际观测到的增益值,即前一时刻的标准增益值。It can be understood that the first gain value lags behind the signal to be adjusted at the current moment, and it can only meet the signal gain requirements before the current moment. Therefore, the first gain value at the current moment corresponds to the actual observed gain value at the previous moment, that is, the standard gain value at the previous moment.
在其它实施例中,准确度评估结果还可以是其它形式,例如准确度等级,此处不做具体限定。In other embodiments, the accuracy evaluation result may also be in other forms, such as accuracy level, which is not specifically limited here.
上述实施例,利用传统方式增益控制的滞后性,将当前时刻的第一增益值作为前一时刻的标准增益值,可以准确体现前一时刻的信号增益的实际需求,使准确度评估结果更加可靠。The above embodiment utilizes the hysteresis of the traditional gain control and uses the first gain value at the current moment as the standard gain value at the previous moment, which can accurately reflect the actual demand of the signal gain at the previous moment and make the accuracy evaluation result more reliable.
在其中一个实施例中,所述基于前一时刻的所述第二增益值与所述标准增益值的偏差程度确定准确度分数包括:根据前一时刻的所述第二增益值对应的功率与前一时刻的所述标准增益值对应的功率的差的反比例函数进行打分,前一时刻的所述第二增益值对应的功率与前一时刻的所述标准增益值对应的功率越接近,准确度分数越高。In one embodiment, determining the accuracy score based on the degree of deviation between the second gain value at the previous moment and the standard gain value includes: scoring according to an inverse proportional function of the difference between the power corresponding to the second gain value at the previous moment and the power corresponding to the standard gain value at the previous moment, the closer the power corresponding to the second gain value at the previous moment is to the power corresponding to the standard gain value at the previous moment, the higher the accuracy score.
可以理解的,在其它实施例中,可以采用其他计算方式确定准确度分数,只需能够体现前一时刻的所述第二增益值与所述标准增益值的偏差程度的即可,此处不作具体限定。It is understandable that in other embodiments, other calculation methods may be used to determine the accuracy score, as long as it can reflect the degree of deviation between the second gain value at the previous moment and the standard gain value, and no specific limitation is made here.
在其中一个实施例中,所述基于所述第一增益值以及第二增益值得到目标增益值之后还包括:In one embodiment, after obtaining the target gain value based on the first gain value and the second gain value, the method further includes:
步骤1,基于所述准确度评估结果更新所述增益确定模型的模型参数。Step 1: Update the model parameters of the gain determination model based on the accuracy evaluation result.
可以理解的,准确度评估结果可以体现增益确定模型的输出结果与实际需求之间的偏差,根据这一偏差对增益确定模型进行强化学习,更新增益确定模型的模型参数,在实时运行中可以根据增益确定模型的预测情况进行权重更新来适应线上运行中其他未考虑到的问题,可以有效提高增益确定模型的输出结果的准确性。It can be understood that the accuracy evaluation result can reflect the deviation between the output result of the gain determination model and the actual demand. According to this deviation, the gain determination model is reinforced learning, and the model parameters of the gain determination model are updated. In real-time operation, the weights can be updated according to the prediction of the gain determination model to adapt to other unconsidered issues in the online operation, which can effectively improve the accuracy of the output results of the gain determination model.
在其中一个实施例中,所述获取前一时刻的准确度评估结果之后还包括:In one embodiment, after obtaining the accuracy evaluation result at the previous moment, the method further includes:
步骤1,若所述准确度评估结果满足复位阈值,则将所述增益确定模型还原为初始模型。Step 1: If the accuracy evaluation result meets the reset threshold, the gain determination model is restored to the initial model.
可以理解的,若所述准确度评估结果满足复位阈值,说明增益确定模型输出的增益值远远偏离实际需求的增益值,说明当前的增益确定模型已经到达了奇异点,无法提供准确的预测,因此将增益确定模型进行复位,重新训练。同时,在增益确定模型重新训练完成之前,采用第一增益值作为最终输出的目标增益值。其中,复位阈值可以由用户根据实际 需求进行设定,此处不做具体限定。It can be understood that if the accuracy evaluation result meets the reset threshold, it means that the gain value output by the gain determination model is far away from the actual required gain value, which means that the current gain determination model has reached a singularity point and cannot provide accurate predictions. Therefore, the gain determination model is reset and retrained. At the same time, before the gain determination model is retrained, the first gain value is used as the target gain value for the final output. The reset threshold can be set by the user according to the actual The requirements are set, and no specific restrictions are given here.
在另一个实施例中,还可以在准确度评估结果多次小于预设阈值时,对增益确定模型进行复位,具体预设阈值可以由用户根据实际需求进行设定,此处不做具体限定。In another embodiment, the gain determination model may be reset when the accuracy evaluation result is less than a preset threshold for multiple times. The specific preset threshold may be set by the user according to actual needs and is not specifically limited here.
上述实施例,在判断增益确定模型预测结果不准确时,对增益确定模型进行复位,并采用第一增益值作为最终输出的目标增益值,退化到传统的增益控制方式来规避网络锁死的问题,对系统起到保护作用,使信号输出更稳定。In the above embodiment, when it is determined that the prediction result of the gain determination model is inaccurate, the gain determination model is reset, and the first gain value is used as the target gain value of the final output, degenerating to the traditional gain control method to avoid the problem of network locking, thereby protecting the system and making the signal output more stable.
在另一个实施例中,所述基于所述待调整信号的功率确定第一增益值包括:In another embodiment, determining the first gain value based on the power of the signal to be adjusted includes:
步骤1,将所述待调整信号的功率与预设功率进行比对;Step 1, comparing the power of the signal to be adjusted with a preset power;
步骤2,基于比对结果确定所述第一增益值。Step 2: determine the first gain value based on the comparison result.
可以理解的,第一增益值的确定采用的是传统的增益控制方式,即根据当前实时信号的功率和预设功率,判断当前信号的功率过大或者过小,以及过大或过小的程度,并根据过大或过小的程度输出对应的增益值,对待调整信号的功率值进行调整。It can be understood that the first gain value is determined by the traditional gain control method, that is, based on the power of the current real-time signal and the preset power, it is judged whether the power of the current signal is too large or too small, and the degree of being too large or too small, and the corresponding gain value is output according to the degree of being too large or too small, so as to adjust the power value of the signal to be adjusted.
在另一个实施例中,所述将所述待调整信号输入增益确定模型,得到第二增益值之前还包括:In another embodiment, before inputting the signal to be adjusted into a gain determination model to obtain a second gain value, the method further includes:
步骤1,获取初始模型,所述初始模型为长短期记忆网络;Step 1, obtaining an initial model, wherein the initial model is a long short-term memory network;
步骤2,将参考信号以及参考增益值作为训练集训练所述初始模型,得到所述增益确定模型。Step 2: Use the reference signal and the reference gain value as a training set to train the initial model to obtain the gain determination model.
可以理解的,参考信号即为基于历史数据获取的信号信息,参考增益值为基于历史数据获取的,对应的参考信号在下一时刻实际需要的增益值,将参考信号以及参考增益值作为训练集训练所述初始模型,通过参数更新迭代,直至满足收敛要求,得到所述增益确定模型。It can be understood that the reference signal is the signal information obtained based on historical data, and the reference gain value is obtained based on historical data. The corresponding reference signal is the gain value actually required at the next moment. The reference signal and the reference gain value are used as training sets to train the initial model, and the gain determination model is obtained by iterating through parameter updates until the convergence requirements are met.
长短期记忆网络(LSTM,Long Short-Term Memory)是一种时间循环神经网络,是为了解决一般的RNN(Recurrent Neural Network,循环神经网络)存在的长期依赖问题而专门设计出来的。长短期记忆网络在RNN的基础上加入了记忆和遗忘的控制。可以对长序列提供更好的预测。Long Short-Term Memory (LSTM) is a time-recurrent neural network designed to solve the long-term dependency problem of general RNN (Recurrent Neural Network). LSTM adds memory and forgetting control to RNN. It can provide better predictions for long sequences.
上述实施例,采用长短期记忆网络进行训练并得到增益确定模型,能够综合考虑当前时刻之前的信号幅度变化情况,以做出下一时刻的信号幅度预测,从而确定增益值,预测效果更好,结果更加准确。 In the above embodiment, a long short-term memory network is used for training and a gain determination model is obtained, which can comprehensively consider the signal amplitude change before the current moment to make a signal amplitude prediction at the next moment, thereby determining the gain value, with better prediction effect and more accurate results.
在其它实施例中,增益确定模型还可以为由神经网络和增益调整器组合构成的模型,其中,神经网络用于接收信号输入,并输出下一时刻的信号功率,增益调整器用于根据下一时刻的信号功率确定所需的增益值并输出。In other embodiments, the gain determination model can also be a model composed of a combination of a neural network and a gain adjuster, wherein the neural network is used to receive signal input and output the signal power at the next moment, and the gain adjuster is used to determine the required gain value based on the signal power at the next moment and output it.
请参阅图3,图3为本申请一实施例的长短期记忆网络的预测原理示意图。可以理解的,长短期记忆网络根据当前时刻以及当前时刻之前的信号幅度变化情况,即历史信息,做一个对于未来信号最大幅度的预测。Please refer to Figure 3, which is a schematic diagram of the prediction principle of the long short-term memory network of an embodiment of the present application. It can be understood that the long short-term memory network makes a prediction of the maximum amplitude of the future signal based on the change of the signal amplitude at the current moment and before the current moment, that is, historical information.
请参阅图4,图4为本申请一实施例的增益调整方法的增益确定模型的结构框图。示例性地,A层网络为长短期记忆网络,B层网络为全连接网络,具体地,A1到An为带记忆的循环网络,B1到Bn为不带记忆的网络。A1层和B1层直接相连,最后经过C0求和,得到预测输出。A层网络和B层网络之间的输入输出关系如下:


bt=σ(Wb·[yt-1,xt])
at=σ(Wa·[yt-1,xt])
Please refer to Figure 4, which is a structural block diagram of the gain determination model of the gain adjustment method of an embodiment of the present application. Exemplarily, the A-layer network is a long short-term memory network, and the B-layer network is a fully connected network. Specifically, A1 to An are recurrent networks with memory, and B1 to Bn are networks without memory. The A1 layer and the B1 layer are directly connected, and finally summed through C0 to obtain the predicted output. The input-output relationship between the A-layer network and the B-layer network is as follows:


b t =σ(W b ·[y t-1 ,x t ])
a t =σ(W a ·[y t-1 ,x t ])
其中,xt为An的输入,yt为An的输出,W为模型参数权重,σ为超参数,为用户自定义的预测偏向权重。Among them, xt is the input of An, yt is the output of An, W is the model parameter weight, σ is the hyperparameter, and is the user-defined prediction bias weight.
B层网络和C层网络之间的输入输出关系如下:
mt=ATnt+c
The input and output relationship between the B-layer network and the C-layer network is as follows:
m t = AT n t + c
其中,mt为Bn的输入,nt为C0的输出,AT用于将C0的输入进行矩阵转秩,缩减数据维度,以得到预期维度的输出数据,c为模型参数。Among them, m t is the input of Bn, nt is the output of C0, A T is used to transform the input of C0 into a matrix and reduce the data dimension to obtain the output data of the expected dimension, and c is the model parameter.
可以理解的,神经网络的最后输出是对信号功率的预测,是在-1到1之间的,用于体现信号功率的变化程度,并通过增益调整器来将-1到1映射到真正的增益值。It can be understood that the final output of the neural network is a prediction of the signal power, which is between -1 and 1, used to reflect the degree of change in the signal power, and the gain adjuster is used to map -1 to 1 to the actual gain value.
请参阅图5,图5为本申请一实施例的增益调整系统的结构框图。Please refer to FIG. 5 , which is a structural block diagram of a gain adjustment system according to an embodiment of the present application.
在本实施例中,增益调整系统包括长短期记忆网络、增益调整模块B、功率检测模块、增益调整模块A、打分模块、增益输出模块以及增益控制模块,其中,长短期记忆网络用于根据信号输入提供信号幅度的预测值,增益调整模块B用于根据信号幅度的预测值,输出下一时刻的增益B;功率检测模块为传统的检测模块,用于检测当前信号功率的幅值,增益调整模块A为传统的增益控制模块,用于根据当前信号幅度输出增益;打分模块用于 通过增益调整模块A和增益调整模块B的输出,以及当前信号幅度进行一个打分,判断增益调整模块A和增益调整模块B的输出何者更优,即更好的满足信号调整需求,则给予更大分值,并将其作为最终增益输出,通过增益输出模块传输给增益控制模块,增益控制模块用于根据最终增益输出对信号输入信号进行增益,以得到输出信号。In this embodiment, the gain adjustment system includes a long short-term memory network, a gain adjustment module B, a power detection module, a gain adjustment module A, a scoring module, a gain output module and a gain control module, wherein the long short-term memory network is used to provide a predicted value of the signal amplitude according to the signal input, and the gain adjustment module B is used to output the gain B at the next moment according to the predicted value of the signal amplitude; the power detection module is a traditional detection module, which is used to detect the amplitude of the current signal power, and the gain adjustment module A is a traditional gain control module, which is used to output the gain according to the current signal amplitude; the scoring module is used to A score is made through the outputs of gain adjustment module A and gain adjustment module B, as well as the current signal amplitude, to determine which output of gain adjustment module A and gain adjustment module B is better, that is, which one better meets the signal adjustment requirements, and a larger score is given. The score is used as the final gain output and transmitted to the gain control module through the gain output module. The gain control module is used to gain the signal input signal according to the final gain output to obtain an output signal.
示例性地,整个系统可以抽象成一个输入输出黑盒子,整体功能是给信号输入增加一个合适的增益然后输出信号。首先输入的信号经过增益计算器会计算出一个当前所需的增益,该增益输出到增益控制模块控制当前信号的增益并输出。在增益计算器内部,信号被分成两个流。功率检测模块和功率调整模块A是传统的增益控制器,长短期记忆网络和增益调整模块B是一个功率预测模型,两者输出各自确定的增益值,并在打分模块中进行打分,综合给定一个增益给到增益输出模块,同时也将打分结果返回给长短期记忆网络进行强化学习,优化结果。Exemplarily, the entire system can be abstracted into an input-output black box, whose overall function is to add a suitable gain to the signal input and then output the signal. First, the input signal passes through the gain calculator to calculate a currently required gain, which is output to the gain control module to control the gain of the current signal and output it. Inside the gain calculator, the signal is divided into two streams. The power detection module and the power adjustment module A are traditional gain controllers, and the long short-term memory network and the gain adjustment module B are a power prediction model. Both output their own determined gain values and score them in the scoring module. A comprehensive gain is given to the gain output module, and the scoring results are also returned to the long short-term memory network for reinforcement learning to optimize the results.
在本实施例中,增益调整模块B的输入输出关系具体如下:
In this embodiment, the input and output relationship of the gain adjustment module B is as follows:
其中,增益调整模块B的输入为g,增益调整模块B的输出为f(g),k根据硬件的系统最大输出幅度相关的参数进行设定。The input of the gain adjustment module B is g, the output of the gain adjustment module B is f(g), and k is set according to parameters related to the maximum output amplitude of the hardware system.
应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本申请中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的增益调整方法的增益调整装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个增益调整装置实施例中的具体限定可以参见上文中对于增益调整方法的限定,在此不再赘述。 It should be understood that, although the steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this application, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be based on the same inventive concept with other steps or steps or stages in other steps. The embodiment of the present application also provides a gain adjustment device for realizing the gain adjustment method involved in the above-mentioned. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific definition in the one or more gain adjustment device embodiments provided below can refer to the definition of the gain adjustment method in the above text, and will not be repeated here.
在一个实施例中,如图6所示,提供了一种增益调整装置600,包括:获取模块610、第一确定模块620、第二确定模块630和增益确定模块640,其中:In one embodiment, as shown in FIG. 6 , a gain adjustment device 600 is provided, comprising: an acquisition module 610, a first determination module 620, a second determination module 630 and a gain determination module 640, wherein:
获取模块610,用于获取待调整信号。The acquisition module 610 is used to acquire the signal to be adjusted.
第一确定模块620,用于基于所述待调整信号的功率确定第一增益值。The first determination module 620 is configured to determine a first gain value based on the power of the signal to be adjusted.
第一确定模块620,还用于:将所述待调整信号的功率与预设功率进行比对;基于比对结果确定所述第一增益值。The first determination module 620 is further configured to: compare the power of the signal to be adjusted with a preset power; and determine the first gain value based on the comparison result.
第二确定模块630,用于将所述待调整信号输入增益确定模型,得到第二增益值,所述增益确定模型通过深度学习训练得到。The second determination module 630 is used to input the signal to be adjusted into a gain determination model to obtain a second gain value, and the gain determination model is obtained through deep learning training.
增益确定模块640,用于基于所述第一增益值以及第二增益值得到目标增益值。The gain determination module 640 is configured to obtain a target gain value based on the first gain value and the second gain value.
增益确定模块640,还用于:The gain determination module 640 is further configured to:
获取前一时刻的准确度评估结果,所述准确度评估结果基于前一时刻的所述第二增益值以及标准增益值确定;Acquire an accuracy evaluation result at a previous moment, where the accuracy evaluation result is determined based on the second gain value and a standard gain value at the previous moment;
若所述准确度评估结果满足预设阈值,则将所述第二增益值作为所述目标增益值;If the accuracy evaluation result meets the preset threshold, the second gain value is used as the target gain value;
若所述准确度评估结果不满足预设阈值,则将所述第一增益值作为所述目标增益值。If the accuracy evaluation result does not meet the preset threshold, the first gain value is used as the target gain value.
增益确定模块640,还用于:将当前时刻的所述第一增益值作为标准增益值;基于前一时刻的所述第二增益值与所述标准增益值的偏差程度确定准确度分数。The gain determination module 640 is further configured to: use the first gain value at the current moment as a standard gain value; and determine an accuracy score based on a degree of deviation between the second gain value at the previous moment and the standard gain value.
增益调整装置600,还包括:更新模块。The gain adjustment device 600 further includes: an updating module.
更新模块,用于基于所述准确度评估结果更新所述增益确定模型的模型参数。An updating module is used to update the model parameters of the gain determination model based on the accuracy evaluation result.
增益调整装置600,还包括:复位模块。The gain adjustment device 600 further includes: a reset module.
复位模块,用于若所述准确度评估结果满足复位阈值,则将所述增益确定模型还原为初始模型。A reset module is used to restore the gain determination model to an initial model if the accuracy evaluation result meets a reset threshold.
增益调整装置600,还包括:训练模块。The gain adjustment device 600 further includes: a training module.
训练模块,用于:获取初始模型,所述初始模型为长短期记忆网络;将参考信号以及参考增益值作为训练集训练所述初始模型,得到所述增益确定模型。The training module is used to: obtain an initial model, which is a long short-term memory network; train the initial model using a reference signal and a reference gain value as a training set to obtain the gain determination model.
上述增益调整装置600中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备700中的处理器701中,也可以以软件形式存储于计算机设备700中的存储器中,以便于处理器701调用执行以上各个模块对应的操作。 Each module in the gain adjustment device 600 can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor 701 in the computer device 700 in the form of hardware, or can be stored in the memory in the computer device 700 in the form of software, so that the processor 701 can call and execute the operations corresponding to each module.
在一个实施例中,提供了一种计算机设备700,该计算机设备700可以是终端,其内部结构图可以如图7所示。该计算机设备700包括通过系统总线704连接的处理器701、存储器、通信接口706、显示单元708和输入装置707。通信接口706、显示单元708和输入装置707通过I/O接口705连接系统总线704。其中,该计算机设备700的处理器701用于提供计算和控制能力。该计算机设备700的存储器包括非易失性存储介质703、内存储器702。该非易失性存储介质703存储有操作系统和计算机程序。该内存储器702为非易失性存储介质703中的操作系统和计算机程序的运行提供环境。该计算机设备700的通信接口706用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器701执行时以实现一种增益调整方法。该计算机设备700的显示单元708可以是液晶显示屏或者电子墨水显示屏,该计算机设备700的输入装置707可以是显示单元708上覆盖的触摸层,也可以是计算机设备700外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device 700 is provided, which may be a terminal, and its internal structure diagram may be shown in FIG7. The computer device 700 includes a processor 701, a memory, a communication interface 706, a display unit 708, and an input device 707 connected via a system bus 704. The communication interface 706, the display unit 708, and the input device 707 are connected to the system bus 704 via an I/O interface 705. Among them, the processor 701 of the computer device 700 is used to provide computing and control capabilities. The memory of the computer device 700 includes a non-volatile storage medium 703 and an internal memory 702. The non-volatile storage medium 703 stores an operating system and a computer program. The internal memory 702 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium 703. The communication interface 706 of the computer device 700 is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor 701, a gain adjustment method is implemented. The display unit 708 of the computer device 700 may be a liquid crystal display or an electronic ink display, and the input device 707 of the computer device 700 may be a touch layer covering the display unit 708, or a button, trackball or touchpad provided on the housing of the computer device 700, or an external keyboard, touchpad or mouse.
本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备700的限定,具体的计算机设备700可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will appreciate that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device 700 to which the solution of the present application is applied. The specific computer device 700 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备700,包括存储器和处理器701,存储器中存储有计算机程序,该处理器701执行计算机程序时实现以下步骤:In one embodiment, a computer device 700 is provided, including a memory and a processor 701, wherein a computer program is stored in the memory, and when the processor 701 executes the computer program, the following steps are implemented:
获取待调整信号;Obtain the signal to be adjusted;
基于所述待调整信号的功率确定第一增益值;Determining a first gain value based on the power of the signal to be adjusted;
将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值;Inputting the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment;
基于所述第一增益值以及第二增益值得到目标增益值。A target gain value is obtained based on the first gain value and the second gain value.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器701执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor 701, the following steps are implemented:
获取待调整信号;Obtain the signal to be adjusted;
基于所述待调整信号的功率确定第一增益值; Determining a first gain value based on the power of the signal to be adjusted;
将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值;Inputting the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment;
基于所述第一增益值以及第二增益值得到目标增益值。A target gain value is obtained based on the first gain value and the second gain value.
需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器701可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchain, etc., but are not limited to this. The processor 701 involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范 围。因此,本申请的保护范围应以所附权利要求为准。 The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of this application should be based on the attached claims.

Claims (10)

  1. 一种增益调整方法,其特征在于,所述方法包括:A gain adjustment method, characterized in that the method comprises:
    获取待调整信号;Obtain the signal to be adjusted;
    基于所述待调整信号的功率确定第一增益值;Determining a first gain value based on the power of the signal to be adjusted;
    将所述待调整信号输入通过深度学习训练得到的增益确定模型,得到第二增益值,所述第二增益值为下一时刻的预测增益值;Inputting the signal to be adjusted into a gain determination model obtained through deep learning training to obtain a second gain value, where the second gain value is a predicted gain value at the next moment;
    基于所述第一增益值以及第二增益值得到目标增益值。A target gain value is obtained based on the first gain value and the second gain value.
  2. 根据权利要求1所述的方法,其中,所述基于所述第一增益值以及第二增益值得到目标增益值包括:The method according to claim 1, wherein obtaining a target gain value based on the first gain value and the second gain value comprises:
    获取前一时刻的准确度评估结果,所述准确度评估结果基于前一时刻的所述第二增益值以及标准增益值确定;Acquire an accuracy evaluation result at a previous moment, where the accuracy evaluation result is determined based on the second gain value and a standard gain value at the previous moment;
    若所述准确度评估结果满足预设阈值,则将所述第二增益值作为所述目标增益值;If the accuracy evaluation result meets the preset threshold, the second gain value is used as the target gain value;
    若所述准确度评估结果不满足预设阈值,则将所述第一增益值作为所述目标增益值。If the accuracy evaluation result does not meet the preset threshold, the first gain value is used as the target gain value.
  3. 根据权利要求2所述的方法,其中,所述获取前一时刻的准确度评估结果包括:The method according to claim 2, wherein obtaining the accuracy evaluation result at the previous moment comprises:
    将当前时刻的所述第一增益值作为标准增益值;Using the first gain value at the current moment as the standard gain value;
    基于前一时刻的所述第二增益值与所述标准增益值的偏差程度确定准确度分数。The accuracy score is determined based on the degree of deviation between the second gain value at a previous moment and the standard gain value.
  4. 根据权利要求2所述的方法,其中,所述基于所述第一增益值以及第二增益值得到目标增益值之后还包括:The method according to claim 2, wherein after obtaining the target gain value based on the first gain value and the second gain value, the method further comprises:
    基于所述准确度评估结果更新所述增益确定模型的模型参数。Model parameters of the gain determination model are updated based on the accuracy evaluation result.
  5. 根据权利要求2所述的方法,其中,所述获取前一时刻的准确度评估结果之后还包括:The method according to claim 2, wherein after obtaining the accuracy evaluation result at the previous moment, the method further comprises:
    若所述准确度评估结果满足复位阈值,则将所述增益确定模型还原为初始模型。If the accuracy evaluation result meets the reset threshold, the gain determination model is restored to the initial model.
  6. 根据权利要求1所述的方法,其中,所述基于所述待调整信号的功率确定第一增益值包括:The method according to claim 1, wherein determining the first gain value based on the power of the signal to be adjusted comprises:
    将所述待调整信号的功率与预设功率进行比对;Comparing the power of the signal to be adjusted with a preset power;
    基于比对结果确定所述第一增益值。The first gain value is determined based on the comparison result.
  7. 根据权利要求1所述的方法,其中,所述将所述待调整信号输入增益确定模型,得到第二增益值之前还包括:The method according to claim 1, wherein before inputting the signal to be adjusted into the gain determination model to obtain the second gain value, the method further comprises:
    获取初始模型,所述初始模型为长短期记忆网络;Acquire an initial model, wherein the initial model is a long short-term memory network;
    将参考信号以及参考增益值作为训练集训练所述初始模型,得到所述增益确定模型。 The reference signal and the reference gain value are used as a training set to train the initial model to obtain the gain determination model.
  8. 一种增益调整装置,其特征在于,所述装置包括:A gain adjustment device, characterized in that the device comprises:
    获取模块,用于获取待调整信号;An acquisition module, used for acquiring a signal to be adjusted;
    第一确定模块,用于基于所述待调整信号的功率确定第一增益值;A first determining module, configured to determine a first gain value based on the power of the signal to be adjusted;
    第二确定模块,用于将所述待调整信号输入增益确定模型,得到第二增益值,所述增益确定模型通过深度学习训练得到;A second determination module, configured to input the signal to be adjusted into a gain determination model to obtain a second gain value, wherein the gain determination model is obtained through deep learning training;
    增益确定模块,用于基于所述第一增益值以及第二增益值得到目标增益值。The gain determination module is configured to obtain a target gain value based on the first gain value and the second gain value.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的方法的步骤。A computer device comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。 A 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 method described in any one of claims 1 to 7 are implemented.
PCT/CN2023/110153 2022-10-21 2023-07-31 Gain adjustment method and apparatus, computer device and storage medium WO2024082767A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211296132.4 2022-10-21
CN202211296132.4A CN115688569A (en) 2022-10-21 2022-10-21 Gain adjustment method, gain adjustment device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024082767A1 true WO2024082767A1 (en) 2024-04-25

Family

ID=85065811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/110153 WO2024082767A1 (en) 2022-10-21 2023-07-31 Gain adjustment method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN115688569A (en)
WO (1) WO2024082767A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115688569A (en) * 2022-10-21 2023-02-03 三维通信股份有限公司 Gain adjustment method, gain adjustment device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710346A (en) * 2020-06-18 2020-09-25 腾讯科技(深圳)有限公司 Audio processing method and device, computer equipment and storage medium
CN114121032A (en) * 2021-12-10 2022-03-01 思必驰科技股份有限公司 Voice signal gain compensation method, electronic device, and storage medium
US20220262336A1 (en) * 2021-02-12 2022-08-18 Plantronics, Inc. Hybrid noise suppression for communication systems
CN115688569A (en) * 2022-10-21 2023-02-03 三维通信股份有限公司 Gain adjustment method, gain adjustment device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710346A (en) * 2020-06-18 2020-09-25 腾讯科技(深圳)有限公司 Audio processing method and device, computer equipment and storage medium
US20220262336A1 (en) * 2021-02-12 2022-08-18 Plantronics, Inc. Hybrid noise suppression for communication systems
CN114121032A (en) * 2021-12-10 2022-03-01 思必驰科技股份有限公司 Voice signal gain compensation method, electronic device, and storage medium
CN115688569A (en) * 2022-10-21 2023-02-03 三维通信股份有限公司 Gain adjustment method, gain adjustment device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115688569A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
US20230040555A1 (en) Systems and Methods for Distributed On-Device Learning with Data-Correlated Availability
US20230376771A1 (en) Training machine learning models by determining update rules using neural networks
WO2022077587A1 (en) Data prediction method and apparatus, and terminal device
US11928601B2 (en) Neural network compression
WO2021120677A1 (en) Warehousing model training method and device, computer device and storage medium
US11907837B1 (en) Selecting actions from large discrete action sets using reinforcement learning
WO2024082767A1 (en) Gain adjustment method and apparatus, computer device and storage medium
CN114580647B (en) Quantum system simulation method, computing device, device and storage medium
CN114330935B (en) New energy power prediction method and system based on multiple combination strategies integrated learning
CN113705793B (en) Decision variable determination method and device, electronic equipment and medium
Azami et al. GPS GDOP classification via improved neural network trainings and principal component analysis
CN115345309A (en) Method and device for determining system characteristic information, electronic equipment and medium
US20210166131A1 (en) Training spectral inference neural networks using bilevel optimization
CN108475346A (en) Neural random access machine
US20220058477A1 (en) Hyperparameter Transfer Via the Theory of Infinite-Width Neural Networks
Wang et al. Distribution inference from early-stage stationary data streams by transfer learning
CN115346616A (en) Training method and device of crystal property prediction model and computer equipment
CN114861671A (en) Model training method and device, computer equipment and storage medium
JP2007018530A (en) Forgetting histogram calculation device, and outlier degree calculation device using same
KR20220040295A (en) Method and system for creating synthetic training data for metric learning
US20230195842A1 (en) Automated feature engineering for predictive modeling using deep reinforcement learning
Heng et al. Study of SVM-based air-cargo demand forecast model
CN117633501A (en) Power system data prediction method, device, equipment, medium and computer product
US11934384B1 (en) Systems and methods for providing a nearest neighbors classification pipeline with automated dimensionality reduction
CN117638882A (en) Loss prediction method, device, equipment, medium and product of electric power system