Disclosure of Invention
The invention at least aims to provide a device adjusting method which can adaptively adjust gain parameters so as to reduce the influence of the change of the wireless network environment on opposite-end devices.
In a first aspect, the invention provides a device adjustment method, which comprises the steps of obtaining state information of opposite terminal devices, wherein the state information of the opposite terminal devices comprises at least one of position and posture information of the opposite terminal devices, data transmission parameters of the opposite terminal devices and types of services performed by the opposite terminal devices, the data transmission parameters of the opposite terminal devices comprise at least one of data transmission parameters of the opposite terminal devices, received signal quality of the opposite terminal devices and gain parameters of a radio frequency link are adjusted based on the state information of the opposite terminal devices.
The local terminal equipment adjusts the gain parameter of the radio frequency link based on the state information of the opposite terminal equipment, thereby realizing the adjustment of the quality of the receiving signal of the opposite terminal equipment and reducing the influence of the change of the wireless network environment on the opposite terminal equipment.
Optionally, the adjusting the gain parameter of the radio frequency link based on the state information of the opposite terminal device includes selecting a target gain parameter matched with the state information of the opposite terminal device from a preset candidate gain parameter set based on the state information of the opposite terminal device, and adjusting the gain parameter of the radio frequency link to the target gain parameter.
And a candidate gain parameter set is established in advance by a plurality of test modes and the like. After the home terminal equipment obtains the state information of the opposite terminal equipment, the home terminal equipment can select corresponding target gain parameters from a preset candidate gain parameter set. The local terminal device adjusts the gain parameter of the radio frequency link to be a target gain parameter. When the gain parameter of the radio frequency link of the local terminal equipment is the target gain parameter, the data transmission parameter of the opposite terminal equipment can be enabled to reach the maximum value. Therefore, even if the position and the posture of the opposite terminal equipment are changed, the gain parameters of the radio frequency link of the opposite terminal equipment are adjusted, so that high-quality data transmission service can be provided for the opposite terminal equipment as much as possible.
The candidate gain parameter set comprises a plurality of candidate gain parameters, wherein the target gain parameter matched with the state information of the opposite terminal equipment is selected from the preset candidate gain parameter set, the candidate gain parameter set comprises the theoretical data transmission parameters of the opposite terminal equipment corresponding to each candidate gain parameter in the candidate gain parameter set, and the candidate gain parameter with the largest theoretical data transmission parameter is determined to be the target gain parameter.
Optionally, if the home terminal device does not select the target gain parameter from the candidate gain parameter set, the home terminal device may send a prompt message to the peer terminal device.
When the local terminal equipment fails to select the target gain parameter from the candidate gain parameter set, the method means that all the candidate gain parameters in the candidate gain parameter set cannot meet the data transmission requirement of the opposite terminal equipment. In this scenario, the home terminal device may send a prompt message to the peer terminal device to remind the user that the home terminal device may be adjusted. Adjusting the home device may include any one or more of adjusting an antenna direction of the home device, adjusting a position of an obstacle around the home device, and the like.
Optionally, the adjusting the gain parameter of the radio frequency link based on the state information of the opposite terminal device further includes determining a trend of change of the state information of the opposite terminal device based on the state information of the opposite terminal device acquired in a period of time, and adjusting the gain parameter of the radio frequency link based on the trend of change of the state information of the opposite terminal device.
The local terminal equipment can predict the change trend of the state information of the opposite terminal equipment based on the state information of the opposite terminal equipment in a period of time, and further can adjust the gain parameters of the radio frequency link in advance. Therefore, the process of adjusting the gain parameters of the radio frequency link by the local terminal equipment is smoother, and fluctuation of the gain parameters of the radio frequency link during adjustment is reduced.
Optionally, the radio frequency link comprises a transmitting link and a receiving link, and the adjusting the gain parameter of the radio frequency link based on the state information of the opposite terminal equipment comprises adjusting the gain parameter of the transmitting link and/or adjusting the gain parameter of the receiving link.
The invention further provides a device adjusting device, which comprises an obtaining unit and a processing unit, wherein the obtaining unit is used for obtaining state information of opposite terminal devices, the state information of the opposite terminal devices comprises at least one of data transmission parameters of the opposite terminal devices and types of services carried out by the opposite terminal devices, the data transmission parameters of the opposite terminal devices comprise at least one of data transmission parameters of the opposite terminal devices, received signal quality of the opposite terminal devices and the processing unit is used for adjusting gain parameters of a radio frequency link based on the state information of the opposite terminal devices.
In a third aspect, the present invention also provides a computer readable storage medium, which is a non-volatile storage medium or a non-transitory storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of any of the above-described device adjustment methods.
In a fourth aspect, the present invention also provides a computer readable storage medium, which is a non-volatile storage medium or a non-transitory storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of any of the above-described device adjustment methods.
In a fifth aspect, the present invention also provides another device adjustment apparatus, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor executes steps of any one of the device adjustment methods described above when the processor executes the computer program.
Detailed Description
In practical applications, when the terminal device moves or the gesture of the terminal device changes, the wireless network environment between the terminal device and the local device (such as a router) may change, so that the data transmission parameters (such as the quality of a received signal and the data transmission rate) of the terminal device fluctuate, which affects the user experience.
For example, the router is set in a living room. When a user holds the smart phone to move from a living room to a bedroom, the distance between the smart phone and the router changes, and a wall body may be blocked between the smart phone and the router, so that the quality of a received signal of the terminal equipment is poor, and the data transmission rate is reduced.
At present, the home terminal device can only provide network services for the terminal device. When the received signal quality and the data transmission rate of the terminal equipment change, the local terminal equipment does not conduct parameter adjustment in a targeted manner.
In the embodiment of the invention, the local terminal equipment adjusts the gain parameter of the radio frequency link based on the state information of the opposite terminal equipment, thereby realizing the adjustment of the data transmission parameter of the opposite terminal equipment and reducing the influence of the change of the wireless network environment on the opposite terminal equipment.
In order to make the above objects, features and advantages of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
The embodiment of the invention provides a device adjusting method, and the method is described in detail through specific steps with reference to fig. 1.
In the embodiment of the present invention, the following device adjustment method may be executed by a chip having data processing capability in the local device, or by a chip module having data processing capability in the local device, or by the local device. The following describes an example of a method for executing device adjustment by the home terminal device.
Step 101, obtaining state information of the opposite terminal equipment.
In a specific implementation, the opposite terminal device may be a common terminal device supporting wireless communication, and when the posture or the position of the terminal device changes, the wireless network environment of the terminal device changes.
In some embodiments, the peer device is a smart phone, tablet, wearable smart device, camera, or the like.
In implementations, the home device may provide network services for the peer device.
In some embodiments, the home device may be a router. In other embodiments, the home device may be a customer premise equipment (Customer Premises Equipment, CPE), which may be connected to a mobile communications network and provide network services for the terminal device. In still other embodiments, the home device may be a network device, such as a 5G base station or the like.
In the embodiment of the invention, the state information of the opposite terminal equipment can comprise at least one of position and posture information of the opposite terminal equipment, data transmission rate of the opposite terminal equipment and service type of the opposite terminal equipment. The data transmission parameters of the opposite terminal device include at least one of a data transmission parameter of the opposite terminal device and a received signal quality of the opposite terminal device.
In a specific implementation, the opposite device may be provided with a sensor, such as any one or more of a position sensor, a linear acceleration sensor, a distance sensor, a gyroscope, a gravity sensor, a direction sensor, a light sensor, a hall sensor, and the like. The position and posture information of the opposite terminal equipment can be acquired through the sensor arranged in the opposite terminal equipment.
In a specific implementation, the position and posture information of the opposite terminal device may include any one or two of position information of the opposite terminal device and posture information of the opposite terminal device. The gesture information of the opposite terminal equipment can be transverse or longitudinal placement of the opposite terminal equipment, an opening and closing angle of the opposite terminal equipment and the like.
For example, the opposite terminal device is a notebook computer. The position and posture information of the notebook computer comprises that the notebook computer is placed on a dining table, the opening and closing angle of the notebook computer is 100 degrees, and the notebook computer is placed horizontally.
In a specific implementation, the type of the service currently performed by the peer device may include a video service, an instant messaging service, and the like.
In a specific implementation, the local terminal device can learn the type of the service performed by the opposite terminal device and the data transmission parameters of the opposite terminal device based on the data transmitted by the opposite terminal device in the communication process with the opposite terminal device.
In some embodiments, the peer device may send its own status information to the home device when communicating with the home device. Therefore, the local terminal equipment can acquire the position and posture information of the opposite terminal equipment.
In other embodiments, the home device may send a status information request instruction to the peer device. After receiving the status information request instruction, the opposite terminal device may send its own status information to the home terminal device. Therefore, the local terminal equipment can acquire the position and posture information of the opposite terminal equipment.
It can be understood that, with the development of communication technology, the local device can also learn the position and posture information of the opposite device in a sensing manner.
Step 102, adjusting the gain parameter of the radio frequency link based on the state information of the opposite terminal equipment.
In the embodiment of the invention, after the local terminal equipment acquires the state information of the opposite terminal equipment, the gain parameters of the radio frequency link of the local terminal equipment can be adjusted.
In implementations, the radio frequency link of the home device may include a transmit link and a receive link. The adjustment of the gain parameter of the radio frequency link may refer to the adjustment of the gain parameter of the transmitting link, or the adjustment of the gain parameter of the receiving link, or the adjustment of both the gain parameter of the transmitting link and the gain parameter of the receiving link.
In an implementation, the receiving link of the local device may include a radio frequency front end (RFEE), a Low Noise Amplifier (LNA), a Power Amplifier (PA), a filter (filter), a digital circuit (digital), and other hardware units. Accordingly, the gain of the receive chain may include a radio frequency front end gain (RFEE gain), a low noise amplifier gain (LNA gain), a power amplifier gain (PA gain), a filter gain (FILTER GAIN), a digital circuit gain (DIGITAL GAIN), and the like.
Adjusting the gain parameters of the receive link may refer to adjusting any one or more of RFEE gain, LNA gain, PA gain, FILTER GAIN, and DIGITAL GAIN.
In some embodiments, the gain parameter of the receiving link may be adjusted by adjusting the gain parameter of only one hardware unit in the receiving link. For example, only RFEE gain or only LNA gain is adjusted.
In other embodiments, when the gain parameter of the receiving link is adjusted, the gain parameter of one hardware unit needs to be adjusted after the gain parameter of the other hardware unit or units are adjusted. For example, after RFEE gain is adjusted, the LNA gain is adjusted accordingly.
In a specific implementation, the adjustment steps of the corresponding gain parameters may be the same or different for different hardware units. Typically, the low noise amplifier is in the first stage of the receiving chain, and the low noise amplifier basically determines the system noise of the whole receiving chain, so the dynamic adjustment of the low noise amplifier may have a decisive effect on the whole receiving chain.
In implementations, the transmit chain may include a transmitter (transciever) and a Power Amplifier (PA). Adjusting the gain parameter of the transmit chain may include adjusting the gain of the power amplifier.
In the embodiment of the invention, the purpose of the local end device to adjust the gain parameter of the radio frequency link is to be able to meet the requirements of the opposite end device on the data transmission rate and/or the quality of the received signal.
In implementations, the set of candidate gain parameters may be pre-established. In the candidate gain parameter set, several candidate gain parameters are included. The local terminal device may obtain, from the candidate gain parameter set, a target gain parameter that matches the state information of the opposite terminal device based on the state information of the opposite terminal device. Furthermore, the local device may adjust the gain parameter of the radio frequency link to a target gain parameter.
Specifically, the local device may obtain, based on the state information of the peer device, a theoretical data transmission parameter of the peer device corresponding to each candidate gain parameter in the candidate gain parameter set. Furthermore, the local terminal device can obtain the candidate gain parameter with the maximum theoretical data transmission parameter, and take the candidate gain parameter as the target gain parameter.
That is, in the embodiment of the present invention, the "candidate gain parameter matches with the state information of the peer device" is that gain parameter that can maximize the data transmission rate of the peer device in the state information of the peer device. Or the candidate gain parameter is matched with the state information of the opposite terminal equipment, namely, the gain parameter which can make the quality of the received signal of the opposite terminal equipment strongest under the state information of the opposite terminal equipment.
In other words, the target gain parameter selected by the home terminal device can maximize the data transmission rate of the peer terminal device under a certain state information of the peer terminal device. Or under certain state information of the opposite terminal equipment, the target gain parameter selected by the local terminal equipment can make the received signal quality of the opposite terminal equipment strongest.
In a specific implementation, gain parameters with the maximum data transmission rate and/or the strongest received signal quality of the opposite terminal equipment can be obtained in advance under different state information of the opposite terminal equipment, so that a mapping relation between the state information and the gain parameters is established. After the current state information of the opposite terminal equipment is obtained, the local terminal equipment can determine the gain parameter corresponding to the current state information through the pre-established mapping relation, and takes the gain parameter as a target gain parameter.
For example, the opposite device is a rotary camera, and the position of the rotary camera is fixed. The method comprises the steps of obtaining the received signal quality of the rotary camera under the condition of different rotation angles through a measurement mode in advance, wherein the received signal quality of the rotary camera is characterized through received signal strength Indication (RECEIVED SIGNAL STRENGTH Indication, RSSI). The step of the rotation angle is set to 10 °.
Referring to fig. 2, a schematic diagram of the distribution of RSSI values of a rotating camera at different rotation angles is given. As can be seen from fig. 2, as the rotation angle of the rotating camera changes, the RSSI value of the rotating camera changes.
In the embodiment of the invention, if the local terminal equipment cannot select the target gain parameter from the candidate gain parameter set, the local terminal equipment can send prompt information to the opposite terminal equipment. The prompt information can be used for indicating to adjust the position and the posture of the local terminal equipment. After receiving the prompt message sent by the local terminal device, the opposite terminal device can display the prompt message. The user can adjust the position and the posture of the local terminal equipment based on the prompt information displayed by the opposite terminal equipment.
In a specific implementation, the failure of the home terminal device to select the target gain parameter from the candidate gain parameter set may mean that the home terminal device fails to select the candidate gain parameter reaching the preset threshold from the candidate gain parameter set. The predetermined threshold may be a predetermined data transmission parameter threshold.
For example, the preset threshold is 100Mbps. The local device calculates theoretical data transmission rate corresponding to each candidate gain parameter in the candidate gain parameter set based on the state information of the opposite device, and the maximum theoretical data transmission rate is 50Mbps, so the local device can determine that the target gain parameter does not exist in the candidate gain parameter set,
When the local device fails to select the target gain parameter from the candidate gain parameter set, it means that all candidate gain parameters in the candidate gain parameter set cannot meet the requirement of the opposite device. In this scenario, the home terminal device may send a prompt message to the peer terminal device to remind the user that the position and posture of the home terminal device may be adjusted. The adjusting of the position and orientation of the home terminal device may include any one or more of adjusting an antenna direction of the home terminal device, adjusting a position of an obstacle around the home terminal device, and the like.
And the position and the posture of the local terminal equipment are adjusted by the user by sending prompt information to the opposite terminal equipment. And after the position and the posture of the local terminal equipment are changed, selecting the target gain parameter from the candidate gain parameter set again.
In practical applications, there may be a specific trend in the state information of the peer device. For example, the user moves the peer device from the living room to the bedroom. In the case where the position and posture of the home terminal device are not changed, each time the user moves the opposite terminal device from the living room to the bedroom, the change in the state information of the opposite terminal device can be regarded as relatively fixed.
In the embodiment of the invention, the local terminal equipment can also determine the change trend of the state information of the opposite terminal equipment based on the state information of the opposite terminal equipment acquired in a period of time. Furthermore, the local terminal device adjusts the gain parameter of the radio frequency link based on the change trend of the state information of the opposite terminal device.
That is, the local device may predict a trend of the state information of the opposite device based on the state information of the opposite device in a period of time, so as to adjust the gain parameter of the radio frequency link in advance. Therefore, the process of adjusting the gain parameters of the radio frequency link by the local terminal equipment is smoother, and fluctuation of the gain parameters of the radio frequency link during adjustment is reduced.
The device adjustment method provided in the above-described embodiment of the present invention will be described below by way of example.
With continued reference to fig. 2. When the rotation angle of the rotary camera is 75-95 degrees, the quality of the received signal is changed from low to high, and the change amplitude is larger. In this scenario, the local device may adjust the gain value of the receiving link downward, especially reduce the gain value of the low noise amplifier, so as to avoid the situation that the signal is distorted due to the excessive gain. When the rotation angle is 115-155 degrees, the gain of the receiving link needs to be improved to stabilize the demodulation signal level.
Therefore, by adopting the technical scheme provided by the embodiment of the invention, the local terminal equipment adjusts the gain parameter of the radio frequency link based on the state information of the opposite terminal equipment, thereby realizing the adjustment of the data transmission parameter of the opposite terminal equipment and reducing the influence of the change of the wireless network environment on the opposite terminal equipment.
Referring to fig. 3, a device adjusting apparatus 30 according to an embodiment of the present invention includes an obtaining unit 301 and a processing unit 302, where:
An obtaining unit 301, configured to obtain state information of an opposite terminal device, where the state information of the opposite terminal device includes at least one of position and posture information of the opposite terminal device, a data transmission parameter of the opposite terminal device, and a type of service performed by the opposite terminal device;
And the processing unit 302 is configured to adjust a gain parameter of the radio frequency link based on the state information of the peer device.
In an implementation, the specific execution process of the acquiring unit 301 and the processing unit 302 may correspond to the steps 101 to 102, which are not described herein.
In a specific implementation, regarding each apparatus and each module/unit included in each product described in the above embodiments, it may be a software module/unit, or a hardware module/unit, or may be a software module/unit partially, or a hardware module/unit partially.
For example, for each device, product, or application to or integration on a chip, each module/unit contained therein may be implemented in hardware such as a circuit, or at least some of the modules/units may be implemented in hardware such as a circuit, for each device, product, or application to or integration on a chip module, each module/unit contained therein may be implemented in hardware such as a circuit, or different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) of the chip module, or in a different component, or at least some of the modules/units may be implemented in software program that runs on a processor that is integrated within the chip module, and the rest of the modules/units (if any) may be implemented in hardware such as a circuit, for each device, product, application to or integration on a terminal, each module/unit contained therein may be implemented in hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) of the same chip module, or different component, or at least some of the modules/units may be implemented in hardware such as a circuit, for each module/integration on a terminal, or at least some of the modules/modules may be implemented in hardware such as a circuit, or at least some of the rest of the modules/modules may be implemented in hardware such as a processor.
The embodiment of the invention also provides a computer readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to execute the steps of the device adjustment method provided by any embodiment.
The embodiments of the present invention also provide a computer program product comprising a computer program/instruction which, when executed by a processor, implements the steps of the device adjustment method provided in any of the embodiments described above.
The embodiment of the invention also provides another device adjusting device, which comprises a memory and a processor, wherein the memory stores a computer program which can be run on the processor, and the processor executes the steps of the device adjusting method provided by any embodiment when running the computer program.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program indicating the relevant hardware, and the program may be stored in a computer readable storage medium, which may include ROM, RAM, magnetic or optical disk, etc.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention should be assessed accordingly to that of the appended claims.