Search

CN-122002642-A - Device control method, device, computer device and storage medium

CN122002642ACN 122002642 ACN122002642 ACN 122002642ACN-122002642-A

Abstract

The application provides a device control method, a device, a computer device and a storage medium, wherein the method comprises the steps of acquiring communication performance parameters corresponding to communication signals of target equipment when equipment identification of the target equipment is identified; the method comprises the steps of determining a communication quality grade of target equipment based on the communication performance parameter, determining a communication connection strategy of the target equipment based on the communication quality grade, and sending a control instruction to the target equipment after communication connection is established with the target equipment according to the communication connection strategy. By acquiring communication performance parameters of the target equipment before communication connection is established, determining communication quality grades based on the parameters, and selecting corresponding communication connection strategies according to different quality grades, the mobile terminal can execute a more reasonable connection mode on the premise of adapting to the current communication environment, so that invalid connection attempts are reduced, the success rate and the efficiency of communication connection are improved, and the user experience is improved.

Inventors

  • CHEN XIN
  • ZHAO YONG

Assignees

  • 深圳市捷顺科技实业股份有限公司

Dates

Publication Date
20260508
Application Date
20260316

Claims (10)

  1. 1. A method of controlling a device, the method comprising: when the equipment identification of the target equipment is identified, acquiring communication performance parameters corresponding to the communication signals of the target equipment; Determining a communication quality level of the target device based on the communication performance parameter; Determining a communication connection strategy of the target equipment based on the communication quality grade; And after communication connection is established with the target equipment according to the communication connection strategy, a control instruction is sent to the target equipment.
  2. 2. The device control method of claim 1, wherein the communication performance parameter comprises a signal strength, and wherein the determining the communication quality level of the target device based on the communication performance parameter comprises: Determining that the communication quality level is a first level when the signal strength is greater than a first signal threshold; Determining the communication quality level as a second level when the signal strength is less than the first signal threshold and greater than a second signal threshold, the second signal threshold being less than the first signal threshold, the second level having a communication quality lower than the first level; and when the signal strength is smaller than the second signal threshold, determining that the communication quality grade is a third grade, wherein the communication quality of the third grade is lower than that of the second grade.
  3. 3. The device control method of claim 1, wherein the communication performance parameters include signal strength and signal stability, and wherein the determining the communication quality level of the target device based on the communication performance parameters comprises: When the signal strength is greater than a first signal threshold and the signal stability satisfies a first stability condition, determining that the communication quality level is a first level; When the signal strength is smaller than the first signal threshold and larger than a second signal threshold and the signal stability meets a second stability condition, determining that the communication quality grade is a second grade, wherein the second signal threshold is smaller than the first signal threshold, the communication quality of the second grade is lower than that of the first grade, and the signal stability corresponding to the first stability condition is higher than that corresponding to the second stability condition; when the signal strength is smaller than the first signal threshold and larger than the second signal threshold and the signal stability does not meet the second stability condition, determining that the communication quality grade is a third grade, wherein the communication quality of the third grade is lower than that of the second grade; and when the signal strength is smaller than the second signal threshold value, determining that the communication quality level is a third level.
  4. 4. A device control method according to any one of claims 1 to 3, wherein the determining a communication connection policy of a target device based on the communication quality level comprises: when the communication quality grade is the first grade, establishing communication connection with the target equipment according to a preset standard connection flow; when the communication quality grade is the second grade, circularly executing the collection of the communication performance parameters and the sending of the communication connection request according to a preset time interval; and when the communication quality grade is the third grade, increasing the acquisition frequency of the communication performance parameters and prompting the user to approach the target equipment based on a preset user interface until the communication quality grade is not the third grade, and sending the communication connection request to the target equipment.
  5. 5. The apparatus control method according to claim 4, wherein after the acquisition of the communication performance parameter and the transmission of the communication connection request are cyclically performed at a preset time interval, the method further comprises: recording the cycle execution times of the collection of the communication performance parameters and the sending of the communication connection request; And when the cycle execution times reach a preset time threshold and communication connection is not established with the target equipment, sending a control request to a preset server interface so that the server remotely controls the target equipment to execute corresponding equipment actions.
  6. 6. The device control method of claim 4, wherein after said enhancing the acquisition frequency of the communication performance parameter and prompting the user to approach the target device based on a preset user interface, the method further comprises: Recording the duration of the third level; And when the duration time is greater than a preset time threshold value, sending a control request to a preset server interface so that the server remotely controls the target equipment to execute corresponding equipment actions.
  7. 7. The device control method of claim 1, wherein after the sending of the control instruction to the target device, the method further comprises: Monitoring whether execution confirmation information for the control instruction is received or not within a preset time length; And when the execution confirmation information is not received, sending a control request to a preset server interface so that the server remotely controls the target equipment to execute corresponding equipment actions.
  8. 8. An apparatus control device, comprising: The first acquisition module is used for acquiring communication performance parameters corresponding to the communication signals of the target equipment when the equipment identification of the target equipment is identified; A first determining module, configured to determine a communication quality level of the target device based on the communication performance parameter; A second determining module, configured to determine a communication connection policy of the target device based on the communication quality level; and the first sending module is used for sending a control instruction to the target equipment after the communication connection is established with the target equipment according to the communication connection strategy.
  9. 9. A computer device comprising a memory, a processor and computer readable instructions stored on the memory and running on the processor, wherein the processor, when executing the computer readable instructions, implements the device control method of any one of claims 1 to 7.
  10. 10. A readable storage medium having stored thereon computer readable instructions, which when executed by a processor, implement the device control method of any of claims 1 to 7.

Description

Device control method, device, computer device and storage medium Technical Field The present application relates to the field of parking lot management, and in particular, to a device control method, a device, a computer device, and a storage medium. Background With the development of shared parking, unattended parking lots and intelligent parking space management systems, a flat plate lock (parking space lock) is used as a common intelligent ground terminal device and is widely applied to a parking space occupation management scene. Users typically need to establish a bluetooth communication connection with the tablet lock via a mobile terminal (e.g., APP, applet) and send an unlock or lock command to the tablet lock to complete the vehicle parking or departure process. The speed and the success rate of Bluetooth connection directly influence the passing experience of users, and are key links which cannot be ignored in the intelligent parking process. However, the bluetooth unlocking procedure of the existing tablet lock is generally implemented based on a unified fixed connection mechanism, that is, the mobile terminal immediately initiates a standard bluetooth connection procedure after identifying the tablet lock device. Structurally, the flat lock is usually installed on the ground, and bluetooth signals of the flat lock are extremely susceptible to factors such as metal structures of a vehicle chassis, shielding of surrounding vehicles, ground reflection, interference of complex parking environments and the like, so that the fluctuation of communication signal intensity and stability is large. In practical application, parking lot scenes have high dynamic performance, and factors such as mobile phone models of different users, angles close to parking space locks, walking paths, standing postures and the like can also influence Bluetooth signal quality obviously. When the signal is weak or unstable, the mobile terminal can forcibly execute the standard connection flow, so that the problems of long connection time consumption, multiple retries, high connection failure rate and the like are often caused, and the user can repeatedly try to unlock the lock on site, thereby influencing the parking efficiency and even causing user complaints. In summary, how to improve the communication connection efficiency between the mobile terminal and the tablet lock in a complex and dynamic parking environment and ensure that the control command can be reliably executed becomes a technical problem to be solved in the field. Disclosure of Invention The application provides a device control method, a device, computer equipment and a storage medium, which are used for solving the problem of lower communication connection efficiency of the traditional device control method. According to a first aspect of the present application, there is provided in an embodiment a device control method including: when the equipment identification of the target equipment is identified, acquiring communication performance parameters corresponding to the communication signals of the target equipment; Determining a communication quality level of the target device based on the communication performance parameter; Determining a communication connection strategy of the target equipment based on the communication quality grade; And after communication connection is established with the target equipment according to the communication connection strategy, a control instruction is sent to the target equipment. Optionally, the communication performance parameter includes a signal strength, and the determining, based on the communication performance parameter, a communication quality level of the target device includes: Determining that the communication quality level is a first level when the signal strength is greater than a first signal threshold; Determining the communication quality level as a second level when the signal strength is less than the first signal threshold and greater than a second signal threshold, the second signal threshold being less than the first signal threshold, the second level having a communication quality lower than the first level; and when the signal strength is smaller than the second signal threshold, determining that the communication quality grade is a third grade, wherein the communication quality of the third grade is lower than that of the second grade. Optionally, the communication performance parameter includes signal strength and signal stability, and the determining, based on the communication performance parameter, a communication quality level of the target device includes: When the signal strength is greater than a first signal threshold and the signal stability satisfies a first stability condition, determining that the communication quality level is a first level; When the signal strength is smaller than the first signal threshold and larger than a second signal threshold and the signal stability meets