Search

CN-122028159-A - Equipment control method, device, storage medium and electronic device

CN122028159ACN 122028159 ACN122028159 ACN 122028159ACN-122028159-A

Abstract

The application discloses a device control method, a device, a storage medium and an electronic device, wherein the device control method comprises the steps of sending a detection signal by controlling radio frequency equipment, receiving response data of a target object for the detection signal sent by the radio frequency equipment, comparing a first space scene condition and a second space scene condition which are respectively set by the response data to obtain a first comparison result and a second comparison result, determining a matching equipment scene where the radio frequency equipment is located according to the first comparison result and the second comparison result, and controlling the radio frequency equipment to output according to target equipment parameters corresponding to the matching equipment scene. Therefore, the output of the radio frequency equipment can be controlled in time according to the scene of the matching equipment where the radio frequency equipment is located, and the performance of the radio frequency equipment is effectively improved.

Inventors

  • XIE LEI
  • LIN GAOSEN
  • QUAN HUI
  • LI XINDA

Assignees

  • 上海勤宽科技有限公司

Dates

Publication Date
20260512
Application Date
20260325

Claims (10)

  1. 1. A device control method, characterized by comprising: controlling a radio frequency device to send a detection signal and receiving response data of a target object to the detection signal sent by the radio frequency device; comparing the response data with a set first space scene condition to obtain a first comparison result, and comparing the response data with a set second space scene condition to obtain a second comparison result; determining a matching device scene of the radio frequency device based on the first comparison result and the second comparison result; And determining target equipment parameters corresponding to the matched equipment scene, and controlling the radio frequency equipment to output according to the target equipment parameters.
  2. 2. The method of claim 1, wherein comparing the response data with the set first spatial scene condition to obtain a first comparison result comprises: Processing the ranging value in a preset time period to obtain a first ranging value under the condition that the response data comprises the ranging value in the preset time period and the number of reflected waves, wherein the ranging value is the distance between the radio frequency equipment and the target object obtained by detection; Comparing the first ranging value with a set first ranging threshold value to obtain a first ranging comparison result, and comparing the number of reflected waves with a set first number threshold value to obtain a first number comparison result; The first comparison result is determined based on the first ranging comparison result and the first quantity comparison result, and the first space scene condition comprises the first ranging threshold value and the first quantity threshold value.
  3. 3. The method of claim 2, wherein determining the first comparison result based on the first ranging comparison result and the first number of comparison results comprises: Extracting ranging values of N time points from the ranging values in the preset time period, wherein N is an integer greater than 1; Determining a first ranging deviation between every two time points based on the ranging values of every two time points in the N time points, and comparing the first ranging deviation with a set ranging deviation threshold value to obtain a deviation comparison result; The first comparison result is determined based on the bias comparison result, the first ranging comparison result, and the first number comparison result.
  4. 4. The method of claim 1, wherein comparing the response data with the set second spatial scene condition to obtain a second comparison result comprises: Processing the ranging value in a preset time period to obtain a second ranging value under the condition that the response data comprises the ranging value in the preset time period and the number of reflected waves, wherein the ranging value is the distance between the radio frequency equipment and the target object obtained by detection; Comparing the second ranging value with a set second ranging threshold value to obtain a second ranging comparison result, and comparing the number of reflected waves in the preset time period with a set second number threshold value to obtain a second number comparison result; The second comparison result is determined based on the second ranging comparison result and the second number comparison result, wherein the second space scene condition comprises the second ranging threshold and the second number threshold, the second ranging threshold is smaller than the first ranging threshold, and the second number threshold is smaller than the first number threshold.
  5. 5. The method of claim 4, wherein determining the second comparison result based on the second ranging comparison result and the second number of comparison results comprises: Acquiring a predicted device scene determined based on scene probabilities of different device scenes, wherein the scene probabilities are used for indicating the probability of the radio frequency device in the different device scenes; Determining an intermediate comparison result based on the second ranging comparison result and the second number of comparison results, Comparing the equipment scene indicated by the intermediate comparison result with the predicted equipment scene, and determining a first scene weight of the equipment scene indicated by the intermediate comparison result and a second scene weight of the predicted equipment scene under the condition that the equipment scene indicated by the intermediate comparison result is inconsistent with the predicted equipment scene; A second comparison result is determined based on the first scene weight and the second scene weight.
  6. 6. The method of claim 1, wherein determining a matching device scenario for the radio frequency device based on the first comparison result and the second comparison result comprises: Determining that a matching equipment scene of the radio frequency equipment is an outdoor scene under the condition that the first comparison result indicates that the response data meets the first space scene condition and the second comparison result indicates that the response data does not meet the second space scene condition; Determining that a matching equipment scene of the radio frequency equipment is an uncertain scene when the first comparison result indicates that the response data does not meet the first space scene condition and the second comparison result indicates that the response data does not meet the second space scene condition, or when the first comparison result indicates that the response data meets the first space scene condition and the second comparison result indicates that the response data meets the second space scene condition; And determining that the matching equipment scene of the radio frequency equipment is an indoor scene under the condition that the first comparison result indicates that the response data does not meet the first space scene condition and the second comparison result indicates that the response data meets the second space scene condition.
  7. 7. The method of claim 1, wherein determining the target device parameters that are adapted to the matching device scene and controlling the rf device to output according to the target device parameters comprises: Determining at least one first power value adapted to the radio frequency equipment based on a first power standard and controlling the target equipment to output according to the at least one first power value under the condition that the matched equipment scene is an outdoor scene; And under the condition that the matching equipment scene is an indoor scene or an uncertain scene, determining at least one second power value matched with the radio frequency equipment based on a second power standard, and controlling the target equipment to output according to the at least one second power value, wherein the first power value is larger than the second power value, and the target equipment parameters comprise the at least one second power value.
  8. 8. An apparatus control device, comprising: the acquisition module is used for controlling the radio frequency equipment to transmit a detection signal and receiving response data of a target object to the detection signal transmitted by the radio frequency equipment; the comparison module is used for comparing the response data with the set first space scene condition to obtain a first comparison result, and comparing the response data with the set second space scene condition to obtain a second comparison result; The determining module is used for determining a matching device scene of the radio frequency device based on the first comparison result and the second comparison result; and the control module is used for determining target equipment parameters corresponding to the matched equipment scene and controlling the radio frequency equipment to output according to the target equipment parameters.
  9. 9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
  10. 10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.

Description

Equipment control method, device, storage medium and electronic device Technical Field The present application relates to the technical field of radio frequency communication devices, and in particular, to a device control method, a device, a storage medium, and an electronic apparatus. Background In the actual use of various radio frequency transmitting devices (such as an internet of things terminal, a short-distance wireless communication device, a civil radio device and the like), the device parameters (such as radio frequency power) standard of different scenes need to be followed. For example, for indoor scenes, a lower upper limit of radio frequency power is required because of closed space, dense personnel and easy initiation of signal reflection and interference, while for outdoor scenes, a relatively higher upper limit of power is generally adopted because of large propagation distance requirements and weaker interference environment. However, the current radio frequency device generally adopts a mode of factory curing device parameters (such as fixed radio frequency power), which lacks a scene judging mechanism, and cannot identify the current actual environment of the radio frequency device, so that the self-adaptive switching of the device parameters cannot be realized, and the performance of the radio frequency device is seriously affected. Accordingly, there is a need for a device control method that overcomes the shortcomings of the conventional art to improve the performance of radio frequency devices. Disclosure of Invention The embodiment of the application provides a device control method and device, a storage medium and an electronic device, which at least solve the problem that the performance of radio frequency equipment is seriously affected because the actual environment where the radio frequency equipment is currently located cannot be identified in the related technology. According to one aspect of the embodiment of the application, a device control method is provided, which comprises the steps of controlling a radio frequency device to send a detection signal, receiving response data of a target object for the detection signal sent by the radio frequency device, comparing the response data with a set first space scene condition to obtain a first comparison result, comparing the response data with a set second space scene condition to obtain a second comparison result, determining a matching device scene of the radio frequency device based on the first comparison result and the second comparison result, determining target device parameters corresponding to the matching device scene, and controlling the radio frequency device to output according to the target device parameters. Adjusting a device performance parameter of the device. According to another aspect of the embodiment of the application, a device control device is provided, which comprises an acquisition module, a comparison module, a determination module and a control module, wherein the acquisition module is used for controlling a radio frequency device to transmit a detection signal and receive response data of a target object for the detection signal transmitted by the radio frequency device, the comparison module is used for comparing the response data with a set first space scene condition to obtain a first comparison result and comparing the response data with a set second space scene condition to obtain a second comparison result, the determination module is used for determining a matching device scene of the radio frequency device based on the first comparison result and the second comparison result, and the control module is used for determining target device parameters corresponding to the matching device scene and controlling the radio frequency device to output according to the target device parameters. According to still another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-described device control method when run. According to still another aspect of the embodiment of the present application, there is also provided an electronic apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above-mentioned device control method through the computer program. According to yet another aspect of the embodiments of the present application, there is also provided a computer program product comprising a computer program which, when executed by a processor, performs the above-mentioned device control method. According to the application, the radio frequency equipment is controlled to send the detection signal, and the response data of the target object for the detection signal sent by the radio frequency equipment is received, so that the first space scene