Vehicle door control method, device and storage medium
The target calibration parameters are obtained from local or cloud databases in priority order, and door control instructions are sent according to the terminal signal strength, which solves the problem of slow calibration parameters acquisition among smart terminals and improves door control efficiency and user experience.
Patent Information
- Application Number
- CN202310295221.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2043-03-23
AI Technical Summary
The difference in signal strength between existing Bluetooth key technology between different smart terminals leads to the problem of large storage volume of calibration parameters and slow acquisition speed, which affects the efficiency of door control.
The target calibration parameters are obtained from the local database or cloud database in priority order, and the door control instructions are sent or not sent according to the terminal's Bluetooth signal strength. The local database has a higher priority than the cloud database. Users can adjust the calibration parameters and synchronize them to the cloud.
Quickly obtain target calibration parameters, improve door control efficiency, meet the actual car use scenario needs of different terminals, and improve user experience.
Smart Images

Figure CN116279296B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a vehicle door control method, device and storage medium. Background Art
[0002] Bluetooth key is an automobile control technology developed in recent years. Through the smart terminal carrying the car company's App, after establishing a connection with the vehicle's Bluetooth module, when it is within the corresponding calibrated distance range, it can execute functions such as approach unlocking and distance locking.
[0003] Since the signal strengths of different smart terminals vary, the calibration parameters (calibration distance ranges) corresponding to different smart terminals are different. In order to make the vehicle compatible with more smart terminals, the calibration parameters corresponding to each smart terminal need to be stored, and the storage capacity is relatively large. If the user has to obtain the calibration parameters from the database storing a large number of calibration parameters every time he uses the vehicle, it will seriously affect the speed of obtaining the calibration parameters.
[0004] Therefore, it is of great significance to quickly obtain the calibration parameters corresponding to the smart terminal and send them to the Bluetooth module after the smart terminal establishes a connection with the vehicle's Bluetooth module. Summary of the invention
[0005] The main technical problem solved by the present application is to provide a vehicle door control method, device and storage medium, which can quickly obtain target calibration parameters and thus improve the control efficiency of the vehicle door.
[0006] To solve the above technical problems, a technical solution adopted in the present application is: to provide a door control method, the method comprising: obtaining target calibration parameters, the target calibration parameters are obtained from a local database of a vehicle application software or at least one cloud database according to a preset priority order; sending the target calibration parameters to a vehicle Bluetooth module, so that the vehicle Bluetooth module sends or does not send door control instructions to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters.
[0007] Among them, the priority of the local database is higher than that of at least one cloud database; obtaining the target calibration parameters includes: determining whether the target calibration parameters exist in the local database; in response to the existence of the target calibration parameters in the local database, obtaining the target calibration parameters of the local database; in response to the absence of the target calibration parameters in the local database, requesting the target calibration parameters from the cloud.
[0008] Among them, at least one cloud database includes a first database for storing a preset relationship list, the preset relationship list includes the characterization information of the terminal and the corresponding reference calibration parameters; in response to the absence of the target calibration parameters in the local database, requesting the target calibration parameters from the cloud, including: in response to the user's first use of the vehicle, requesting reference calibration parameters from the first database in the cloud based on the characterization information of the terminal; the reference calibration parameters are target calibration parameters determined according to the preset relationship list in the first database and the characterization information of the terminal.
[0009] Among them, the target calibration parameters include reference calibration parameters received from the cloud; after obtaining the target calibration parameters, the method also includes: storing the reference calibration parameters in a local database.
[0010] Among them, at least one cloud database also includes a second database; after storing the reference calibration parameters in the local database, the method also includes: displaying controls about the reference calibration parameters on the display interface of the vehicle application software; generating adjustment calibration parameters in response to the user's adjustment operation on the control on the display interface; updating the reference calibration parameters in the local database to the adjustment calibration parameters, and synchronizing them to the second database in the cloud.
[0011] Among them, after updating the reference calibration parameters in the local database to adjustment calibration parameters and synchronizing them to the second database in the cloud, the method also includes: in response to the loss of the adjustment calibration parameters in the local database, retrieving the adjustment calibration parameters from the second database in the cloud and using them as target calibration parameters.
[0012] Wherein, the target calibration parameters include one of reference calibration parameters and adjustment calibration parameters, and the priority of the second database in at least one cloud database is higher than that of the first database; in response to the non-existence of the target calibration parameters in the local database, requesting the target calibration parameters from the cloud includes: in response to the non-existence of the target calibration parameters in the local database, determining whether the adjustment calibration parameters exist in the second database; in response to the existence of the adjustment calibration parameters in the second database, requesting the adjustment calibration parameters from the second database in the cloud; or in response to the non-existence of the adjustment calibration parameters in the second database, requesting the reference calibration parameters from the first database in the cloud.
[0013] The target calibration parameters include a first calibration parameter for unlocking the door and a second calibration parameter for locking the door; the vehicle Bluetooth module sends or does not send a door control request to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters, including: determining the distance of the terminal from the vehicle based on the current Bluetooth signal strength of the terminal, and determining whether the terminal is close to the vehicle or far away from the vehicle based on the change of the Bluetooth signal strength of the terminal; in response to the terminal being close to the vehicle and the distance from the vehicle is less than or equal to the target distance corresponding to the first calibration parameter, sending a request for controlling door unlocking to the door control module; in response to the terminal being close to the vehicle and the distance from the vehicle is greater than the target distance corresponding to the first calibration parameter, not sending a request for controlling door unlocking to the door control module; in response to the terminal being far away from the vehicle and the distance from the vehicle is greater than or equal to the target distance corresponding to the second calibration parameter, sending a request for controlling door locking to the door control module; in response to the terminal being far away from the vehicle and the distance from the vehicle is less than the target distance corresponding to the second calibration parameter, not sending a request for controlling door locking to the door control module.
[0014] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, comprising a memory and a processor coupled to each other, the memory storing program instructions; the processor is used to execute the program instructions stored in the memory to implement the above method.
[0015] In order to solve the above technical problem, another technical solution adopted by the present application is: providing a computer-readable storage medium for storing program instructions, which can be executed to implement the above method.
[0016] In the above scheme, after the vehicle application software obtains the target calibration parameters, it sends the target calibration parameters to the vehicle Bluetooth module, so that the vehicle Bluetooth module can send or not send the door control command to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters to achieve control of the door. Since the target calibration parameters are obtained from the local database or from at least one cloud database according to a preset priority order, the target calibration parameters can be quickly obtained, thereby improving the control efficiency of the door.
[0017] In addition, the acquired target calibration parameters include one of a reference calibration parameter and an adjustment calibration parameter, wherein the reference calibration parameter is a fixed calibration parameter obtained by integrating the actual experience of the automobile company based on the calibration parameters calibrated by different terminals, and the adjustment calibration parameter is a parameter obtained by the user adjusting the adjustment calibration parameter based on the actual car use scenario. It can be understood that compared to the situation where only a fixed calibration parameter is used in any scenario, the parameter obtained by the user adjusting the adjustment calibration parameter based on the actual car use scenario in this application can better meet the user's actual car use situation and can improve the user's car use experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of an embodiment of a vehicle door control method provided by the present application;
[0019] Figure 2 It is a schematic diagram of the process of modifying reference calibration parameters provided by this application;
[0020] Figure 3 A schematic diagram of a frame of an embodiment of a door control device provided by the present application;
[0021] Figure 4 It is a schematic diagram of a framework of an embodiment of an electronic device provided by the present application;
[0022] Figure 5 It is a schematic diagram of the framework of the computer-readable storage medium provided by this application. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail below with reference to the accompanying drawings and examples.
[0024] In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0025] See also Figure 1 , Figure 1 is a flow chart of an embodiment of the door control method provided by the present application. It should be noted that if there are substantially the same results, this embodiment is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, this embodiment includes:
[0026] S11: Obtain target calibration parameters, where the target calibration parameters are obtained from a local database of the vehicle application software or at least one cloud database according to a preset priority order.
[0027] This embodiment is used to obtain target calibration parameters from a local database of vehicle application software or at least one cloud database according to a preset priority order to quickly obtain the target calibration parameters.
[0028] The target calibration parameter in this embodiment is a calibration parameter sent by the terminal where the vehicle application software is located to the vehicle Bluetooth module, and the target calibration parameter is used by the vehicle Bluetooth module to determine whether to send a door control request to the vehicle door control module for door control according to the signal strength of the terminal where the vehicle application software is located and the target calibration parameter. The terminal in this article can be any device that can install the vehicle application software, such as a smart phone, a smart bracelet or a smart watch.
[0029] It should be noted that the target calibration parameter can be the distance used to unlock the door, or it can be the signal strength corresponding to the distance to unlock the door. Among them, the distance of the terminal from the vehicle and the unlocking distance of the vehicle can be converted by an internal algorithm based on the Bluetooth signal strength of the terminal. Since the signal strengths of different terminals are different (for example, different terminals have the same signal strength, but the corresponding distances from the vehicle are different), the corresponding target calibration parameters for unlocking are different for different terminals. It can be understood that in order to make the vehicle compatible with more terminal products, the calibration parameters corresponding to each terminal product need to be stored to ensure that when the user uses the vehicle, the terminal can obtain the target calibration parameters corresponding to the terminal. Among them, in order to ensure that the calibration parameters of enough terminal products can be stored, the calibration parameters corresponding to different terminals and different terminals can be stored in the cloud database.
[0030] In one embodiment, at least one cloud database includes a first database for storing a preset relationship list. The preset relationship list includes characterization information of different terminals and corresponding reference calibration parameters. The characterization information of the terminal is, for example, the manufacturer corresponding to the terminal, or the model corresponding to the terminal, etc. The reference calibration parameters can be obtained by integrating the actual experience of the car company based on the calibration parameters of different terminal calibrations in the past, and can be considered as the default calibration parameters corresponding to different terminals that are more suitable for door control.
[0031] The target calibration parameters in this article are obtained from the local database of the vehicle application software or at least one cloud database according to a preset priority order. Among them, the number of cloud databases is at least one, and the specific number can be determined according to actual needs and is not specifically limited here.
[0032] It should be noted that the speed of obtaining local database data is faster than the speed of obtaining cloud database data. If the user needs to obtain the target calibration parameters corresponding to the terminal used from the first database in the cloud every time he uses the car, it will take a long time to obtain the target calibration parameters from the first database in the cloud (the cloud needs to first search for the corresponding target calibration parameters in the preset relationship list according to the characterization information of the terminal, and then send the target calibration parameters to the terminal), which will seriously affect the speed of obtaining the calibration parameters.
[0033] In one embodiment, in order to improve the acquisition speed of the target calibration parameters, the priority of the local database can be preset to be higher than that of the cloud database. In the process of the terminal acquiring the target calibration parameters, it is first determined whether the target calibration parameters exist in the local database with a higher priority. If the target calibration parameters exist in the local database, the target calibration parameters are directly acquired from the local database so that the target calibration parameters can be acquired quickly; if not, the target calibration parameters are requested from at least one cloud database with a lower priority.
[0034] It should be noted that after the user binds the vehicle application software (vehicle APP) of the vehicle, when the user uses the vehicle for the first time, the local database does not yet have the target calibration parameters. Therefore, when the user uses the vehicle for the first time, the user can request the reference calibration parameters from the first database of the cloud with a lower priority according to the characterization information of the terminal used. After receiving the request, the cloud finds the corresponding reference calibration parameters from the first database according to the characterization information of the terminal and sends them to the terminal. Among them, after the terminal requests the corresponding reference calibration parameters, it uses them as the target calibration parameters.
[0035] In one embodiment, in order to avoid the situation where subsequent users obtain the target calibration parameters corresponding to the terminal used from the first database in the cloud every time when using the car, which affects the speed of obtaining the target calibration parameters, after obtaining the reference calibration parameters corresponding to the terminal sent by the cloud, the reference calibration parameters can be stored in the local database, so that the target calibration parameters exist in the local database. Then, when the user uses the car, the target calibration parameters can be quickly obtained from the local database with a higher priority according to the priority, thereby improving the control efficiency of the door.
[0036] It should be noted that the reference calibration parameters obtained from the first cloud database are parameters obtained by integrating the actual experience of the car company based on the calibration parameters of different terminals in the past. The reference calibration parameters are the default calibration parameters that are more suitable for door control. However, in the actual use of the car by the user, since the signal strength of different terminals is closely related to the actual car use environment, the reference calibration parameters may not meet the actual use of the user, resulting in a bad car use experience. In this case, the user can adjust the reference calibration parameters through the display interface of the vehicle application software according to the actual situation, generate adjustment calibration parameters, and use the adjusted adjustment calibration parameters as the target calibration parameters. It can be understood that compared to the situation where only one fixed calibration parameter is used in any scenario, the parameters obtained by adjusting the calibration parameters based on the actual car use scenario can better meet the actual use of the user and improve the user's car use experience.
[0037] Optionally, see Figure 2 , Figure 2 is a flow chart of modifying reference calibration parameters provided by this application. Figure 2As shown, the adjustment controls for reference calibration parameters (such as adjusting the target distance or target signal strength) are first displayed through the display interface of the vehicle application software, and then the corresponding adjustment calibration parameters are generated according to the user's adjustment operations on each control on the display interface, and the reference calibration parameters in the local database are updated to the adjustment calibration parameters, and the adjusted adjustment calibration parameters are used as the corresponding target calibration parameters for subsequent vehicle use. Among them, the user's adjustment operations on each control on the display interface do not need to be performed when the terminal is connected to the vehicle Bluetooth module, nor do they need to be performed near the vehicle, and can be performed through the terminal's vehicle application software.
[0038] In one embodiment, after the reference calibration parameters in the local database are updated to the adjusted calibration parameters, in order to prevent the loss of data in the local database caused by uninstalling the vehicle application software or other factors, which affects the subsequent control of the vehicle door. Figure 2 As shown, after the reference calibration parameters in the local database are updated to the adjustment calibration parameters, the adjustment calibration parameters can be synchronized to the second database in the cloud. It is understandable that in the case where the adjustment calibration parameters in the local database are lost, the adjustment calibration parameters in the second database in the cloud can be requested to retrieve the adjustment calibration parameters from the second database in the cloud and re-use them as the target calibration parameters of the local database. Among them, it should be noted that this is only to illustrate that the present embodiment is capable of adjusting the calibration parameters (current target calibration parameters) according to user needs, and the adjusted calibration parameters (adjustment calibration parameters) will be used as the new current target calibration parameters, and the adjusted adjustment calibration parameters will be synchronized to the second database in the cloud, and this application cannot be limited thereto. It is understandable that after the user adjusts the reference calibration parameters (for example, A) and obtains the new current target calibration parameters (for example, B), the current target calibration parameter B can also be adjusted to obtain the new current target calibration parameter C.
[0039] In addition, when the second database in the cloud is a shared database, in the process of synchronizing the adjustment and calibration parameters of the local database to the second database in the cloud, the user information can be synchronized to the second database in the cloud at the same time, so that when the adjustment and calibration parameters in the local database are lost, the adjustment and calibration parameters in the second database in the cloud can be requested through the user information. Among them, the user information can be one or a combination of the car company App account (mobile phone number, email address, etc.), user ID (an ID automatically generated by the account information platform, which is unique).
[0040] It should be noted that, in the case where at least one cloud database includes a first database and a second database, the target calibration parameter in the local database is one of a reference calibration parameter and an adjustment calibration parameter. It can be specifically determined according to the priority order of the first database and the second database. For example, when the priority of the first database is higher than that of the second database, in the case where the target calibration parameter in the local database is lost, the reference calibration parameter in the first database can be requested first as the target calibration parameter; of course, when the priority of the second database is higher than that of the first database, in the case where the target calibration parameter in the local database is lost, the reference calibration parameter in the second database can be requested first as the target calibration parameter.
[0041] In one embodiment, in order to control the vehicle door in the current scene in accordance with the actual scene, the priority of the second database in at least one cloud database may be higher than that of the first database, so that when the second database with a higher priority has the adjustment calibration parameter, the adjustment calibration parameter can be quickly requested from the second database with a higher priority. Wherein, when the target calibration parameter does not exist in the local database, it is first determined whether the adjustment calibration parameter exists in the second database with a higher priority. If so, the adjustment calibration parameter is requested from the second database in the cloud as the target calibration parameter; if not, the reference calibration parameter is requested from the first database in the cloud.
[0042] S12: Sending the target calibration parameters to the vehicle Bluetooth module, so that the vehicle Bluetooth module sends or does not send the door control command to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters.
[0043] The vehicle Bluetooth module in this article can be but is not limited to a single Bluetooth, and can also include a Bluetooth and a processor coupled to each other. The specific method can be determined according to actual conditions and is not specifically limited here.
[0044] In this embodiment, the target calibration parameters include a first calibration parameter for unlocking the door and a second calibration parameter for locking the door. The first calibration parameter and the second calibration parameter may correspond to the distance of unlocking the door, or may correspond to the signal strength corresponding to the distance of unlocking the door. The first calibration parameter and the second parameter corresponding to each terminal may be the same or different, and may be determined according to actual needs.
[0045] In one embodiment, the target calibration parameters include a target distance corresponding to a first calibration parameter for unlocking the door and a target distance corresponding to a second calibration parameter for locking the door. After the terminal sends the target calibration parameters to the vehicle Bluetooth module, the vehicle Bluetooth module may send or not send a door control request to the vehicle's door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters.
[0046] Optionally, in one embodiment, the distance of the terminal from the vehicle can be determined based on the current Bluetooth signal strength of the terminal, and the terminal can be determined to be close to the vehicle or far away from the vehicle based on the change in the Bluetooth signal strength of the terminal. When the detected Bluetooth signal strength shows a trend of gradually increasing, the terminal is determined to be close to the vehicle; conversely, if the detected Bluetooth signal strength shows a trend of gradually decreasing, the terminal is determined to be far away from the vehicle.
[0047] After determining the distance of the terminal from the vehicle and determining whether the terminal is close to the vehicle or far away from the vehicle, if the terminal is close to the vehicle and the distance of the terminal from the vehicle is less than or equal to the target distance corresponding to the first calibration parameter, a request for controlling the door to be unlocked is sent to the door control module to request to unlock the door; if the terminal is close to the vehicle and the distance from the vehicle is greater than the target distance corresponding to the first calibration parameter, a request for controlling the door to be unlocked is not sent to the door control module, and no control is performed on the door; if the terminal is far away from the vehicle and the distance from the vehicle is greater than or equal to the target distance corresponding to the second calibration parameter, a request for controlling the door to be locked is sent to the door control module to request to close the door; if the terminal is far away from the vehicle and the distance from the vehicle is less than the target distance corresponding to the second calibration parameter, a request for controlling the door to be locked is not sent to the door control module, and no control is performed on the door. Exemplarily, the distance for unlocking the door corresponding to the first calibration parameter is 4 meters, and the distance for locking the door corresponding to the second calibration parameter is 12 meters, wherein, when the terminal is close to the vehicle and the distance between the terminal and the vehicle is less than or equal to 4 meters, a request for controlling the door to be unlocked is sent to the door control module to request to unlock the door; when the terminal is close to the vehicle, but the distance between the terminal and the vehicle is greater than 4 meters, the request for controlling the door to be unlocked is not sent to the door control module, and no control is performed on the door; when the terminal is far away from the vehicle and the distance between the terminal and the vehicle is greater than or equal to 12 meters, a request for controlling the door to be locked is sent to the door control module to request to close the door; if the terminal is far away from the vehicle and the distance between the terminal and the vehicle is less than 12 meters, the request for controlling the door to be locked is not sent to the door control module, and no control is performed on the door.
[0048] In another embodiment, the target calibration parameters include a target signal strength corresponding to a first calibration parameter for unlocking the door, and a target signal strength corresponding to a second calibration parameter for locking the door. The door control request may be sent or not based on the Bluetooth signal strength of the terminal and the target calibration parameter. Similarly, it may be determined whether the terminal is close to or far from the vehicle based on the change in the Bluetooth signal strength of the terminal. Then, when the current Bluetooth signal strength of the terminal is greater than or equal to the target signal strength corresponding to the first calibration parameter, a request to control door unlocking is sent to the door control module to request unlocking; when the current Bluetooth signal strength of the terminal is less than the target signal strength corresponding to the first calibration parameter, a request to control door locking is sent to the door control module to request closing the door lock.
[0049] In the above scheme, after the vehicle application software obtains the target calibration parameters, it sends the target calibration parameters to the vehicle Bluetooth module, so that the vehicle Bluetooth module can send or not send the door control command to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters to achieve control of the door. Since the target calibration parameters are obtained from the local database or from at least one cloud database according to a preset priority order, the target calibration parameters can be quickly obtained, thereby improving the control efficiency of the door.
[0050] See also Figure 3 , Figure 3 The schematic diagram of the framework of an embodiment of the vehicle door control device provided by the present application. In this embodiment, the vehicle door control device 30 includes: an acquisition module 31 and a sending module 32. The acquisition module 31 is used to acquire target calibration parameters, which are acquired from a local database of the vehicle application software or at least one cloud database according to a preset priority order; the sending module 32 is used to send the target calibration parameters to the vehicle Bluetooth module, so that the vehicle Bluetooth module sends or does not send a door control request to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters.
[0051] In the above scheme, the door control device 30 can implement the steps in the above door control method embodiment. Since the target calibration parameters can be obtained from the local database of the vehicle application software or at least one cloud database according to a preset priority order, the target calibration parameters can be obtained quickly, thereby improving the control efficiency of the door.
[0052] In some embodiments, the priority of the local database is higher than that of at least one cloud database; the acquisition module 31 acquires the target calibration parameters, including: determining whether the target calibration parameters exist in the local database; in response to the existence of the target calibration parameters in the local database, acquiring the target calibration parameters of the local database; in response to the absence of the target calibration parameters in the local database, requesting the target calibration parameters from the cloud.
[0053] In some embodiments, at least one cloud database includes a first database for storing a preset relationship list, the preset relationship list includes characterization information of the terminal and corresponding reference calibration parameters; in response to the absence of target calibration parameters in the local database, requesting the target calibration parameters from the cloud, including: in response to the user's first use of the vehicle, requesting reference calibration parameters from the first database in the cloud based on the characterization information of the terminal; the reference calibration parameters are target calibration parameters determined according to the preset relationship list in the first database and the characterization information of the terminal.
[0054] In some embodiments, the target calibration parameters include receiving reference calibration parameters sent from the cloud; after the acquisition module 31 acquires the target calibration parameters, it also includes: storing the reference calibration parameters in a local database.
[0055] In some embodiments, at least one cloud database also includes a second database; after storing the reference calibration parameters in the local database, it also includes: displaying controls about the reference calibration parameters on the display interface of the vehicle application software; generating adjustment calibration parameters in response to the user's adjustment operation on the control on the display interface; updating the reference calibration parameters in the local database to the adjustment calibration parameters, and synchronizing them to the second database in the cloud.
[0056] In some embodiments, after the reference calibration parameters in the local database are updated to the adjustment calibration parameters and synchronized to the second database in the cloud, it also includes: in response to the adjustment calibration parameters in the local database being lost, retrieving the adjustment calibration parameters from the second database in the cloud and using them as the target calibration parameters.
[0057] In some embodiments, the target calibration parameters include one of a reference calibration parameter and an adjustment calibration parameter, and a second database in at least one cloud database has a higher priority than the first database; in response to the absence of the target calibration parameters in the local database, requesting the target calibration parameters from the cloud includes: in response to the absence of the target calibration parameters in the local database, determining whether the adjustment calibration parameters exist in the second database; in response to the presence of the adjustment calibration parameters in the second database, requesting the adjustment calibration parameters from the second database in the cloud; or in response to the absence of the adjustment calibration parameters in the second database, requesting the reference calibration parameters from the first database in the cloud.
[0058] In some embodiments, the target calibration parameters include a first calibration parameter for unlocking the door and a second calibration parameter for locking the door; the vehicle Bluetooth module sends or does not send a door control request to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters, including: determining the distance of the terminal from the vehicle based on the current Bluetooth signal strength of the terminal, and determining whether the terminal is close to the vehicle or far away from the vehicle based on the change in the Bluetooth signal strength of the terminal; in response to the terminal being close to the vehicle and the distance from the vehicle is less than or equal to the target distance corresponding to the first calibration parameter, sending a request to control door unlocking to the door control module; in response to the terminal being close to the vehicle and the distance from the vehicle is greater than the target distance corresponding to the first calibration parameter, not sending a request to control door unlocking to the door control module; in response to the terminal being far away from the vehicle and the distance from the vehicle is greater than or equal to the target distance corresponding to the second calibration parameter, sending a request to control door locking to the door control module; in response to the terminal being far away from the vehicle and the distance from the vehicle is less than the target distance corresponding to the second calibration parameter, not sending a request to control door locking to the door control module.
[0059] See also Figure 4 , Figure 4 4 is a schematic diagram of a framework of an electronic device according to an embodiment of the present application. In this embodiment, the electronic device 40 includes a memory 41 and a processor 42 coupled to each other.
[0060] The memory 41 stores program instructions, and the processor 42 is used to execute the program instructions stored in the memory 41 to implement the steps of any of the above-mentioned method implementation methods. In a specific implementation scenario, the electronic device 40 may include but is not limited to: a microcomputer, a server, and in addition, the electronic device 40 may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.
[0061] Specifically, the processor 42 is used to control itself and the memory 41 to implement the steps of any of the above-mentioned embodiments. The processor 42 can also be called a CPU (Central Processing Unit). The processor 42 may be an integrated circuit chip with signal processing capabilities. The processor 42 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 42 can be implemented by an integrated circuit chip.
[0062] See also Figure 5 , Figure 5 It is a schematic diagram of the framework of the computer-readable storage medium provided by the present application. The computer-readable storage medium 50 of the embodiment of the present application stores a program instruction 51, and when the program instruction 51 is executed, the method provided by any embodiment of the above method and any non-conflicting combination is implemented. Among them, the program instruction 51 can form a program file and be stored in the above-mentioned computer-readable storage medium 50 in the form of a software product, so that a computer device (which can be a personal computer, a server, or a network device, etc.) executes all or part of the steps of each implementation method of the present application. The aforementioned computer-readable storage medium 50 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, and a tablet.
[0063] In the above scheme, after the vehicle application software obtains the target calibration parameters, it sends the target calibration parameters to the vehicle Bluetooth module, so that the vehicle Bluetooth module can send or not send the door control command to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters to achieve control of the door. Since the target calibration parameters are obtained from the local database or from at least one cloud database according to a preset priority order, the target calibration parameters can be quickly obtained, thereby improving the control efficiency of the door.
[0064] In addition, the acquired target calibration parameters include one of a reference calibration parameter and an adjustment calibration parameter, wherein the reference calibration parameter is a fixed calibration parameter obtained by integrating the actual experience of the automobile company based on the calibration parameters calibrated by different terminals, and the adjustment calibration parameter is a parameter obtained by the user adjusting the adjustment calibration parameter based on the actual car use scenario. It can be understood that compared to the situation where only a fixed calibration parameter is used in any scenario, the parameter obtained by the user adjusting the adjustment calibration parameter based on the actual car use scenario in this application can better meet the user's actual car use situation and can improve the user's car use experience.
[0065] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0066] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0067] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0068] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0069] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0070] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0071] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A door control method, characterized in that: The method comprises: Obtaining target calibration parameters, the target calibration parameters are obtained from one of a local database, a first database, and a second database of the vehicle application software according to a preset priority order; the first database and the second database are cloud databases, and the preset priority order is the local database, the second database, and the first database in sequence; wherein the target calibration parameters include one of a reference calibration parameter and an adjustment calibration parameter, the reference calibration parameter is stored in the first database, and the adjustment calibration parameter is stored in the second database; the obtaining of the target calibration parameters includes: determining whether the target calibration parameter exists in the local database; in response to the target calibration parameter not existing in the local database, determining whether the adjustment calibration parameter exists in the second database; in response to the adjustment calibration parameter existing in the second database, requesting the adjustment calibration parameter from the second database; in response to the adjustment calibration parameter not existing in the second database, requesting the reference calibration parameter from the first database; The target calibration parameter is sent to the vehicle Bluetooth module, so that the vehicle Bluetooth module sends or does not send a door control request to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameter.
2. The method according to claim 1, characterized in that The obtaining of target calibration parameters also includes: In response to the target calibration parameter existing in the local database, the target calibration parameter of the local database is acquired.
3. The method according to claim 2, characterized in that The first database is used to store a preset relationship list, wherein the preset relationship list includes characterization information of the terminal and corresponding reference calibration parameters; In response to the adjustment calibration parameter not existing in the second database, requesting the reference calibration parameter from the first database comprises: In response to the user using the vehicle for the first time, requesting reference calibration parameters from the first database based on the characterization information of the terminal; The reference calibration parameters are the target calibration parameters determined according to the preset relationship list in the first database and the characterization information of the terminal.
4. The method according to claim 3, characterized in that After obtaining the target calibration parameters, the method further includes: The reference calibration parameters are stored in the local database.
5. The method according to claim 4, characterized in that After storing the reference calibration parameters in the local database, the method further includes: Displaying controls related to the reference calibration parameters on a display interface of the vehicle application software; In response to a user's adjustment operation on the control on the display interface, generating an adjustment calibration parameter; The reference calibration parameters in the local database are updated to the adjustment calibration parameters, and synchronized to the second database.
6. The method according to claim 1, characterized in that The target calibration parameters include a first calibration parameter for unlocking the door and a second calibration parameter for locking the door; the vehicle Bluetooth module sends or does not send a door control request to the door control module based on the Bluetooth signal strength of the terminal and the target calibration parameters, including: Determining the distance of the terminal from the vehicle based on the current Bluetooth signal strength of the terminal, and determining whether the terminal is close to the vehicle or far away from the vehicle based on the change in the Bluetooth signal strength of the terminal; In response to the terminal being close to the vehicle and the distance from the vehicle being less than or equal to the target distance corresponding to the first calibration parameter, sending a request for controlling door unlocking to a door control module; In response to the terminal being close to the vehicle and the distance from the vehicle being greater than the target distance corresponding to the first calibration parameter, not sending a request for controlling door unlocking to the door control module; In response to the terminal being far away from the vehicle, and the distance from the vehicle being greater than or equal to the target distance corresponding to the second calibration parameter, sending a request for controlling the door locking to a door control module; In response to the terminal being far away from the vehicle and the distance from the vehicle being less than the target distance corresponding to the second calibration parameter, no request for controlling the door locking is sent to the door control module.
7. An electronic device, characterized in that: comprising a memory and a processor coupled to each other, The memory stores program instructions; The processor is used to execute the program instructions stored in the memory to implement the method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed to implement the method according to any one of claims 1 to 6.
