Vehicle locking method, electronic equipment and storage medium
By detecting the vehicle's down-voltage signal and the vehicle lock signal, if all doors are closed in the preset area, the vehicle lock operation is automatically performed, which solves the problem of operation redundancy in the prior art and improves user experience and vehicle safety.
Patent Information
- Application Number
- CN202410942339.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-12
AI Technical Summary
The existing vehicle lock method requires the user to manually close all doors and press the lock key again, which has the problem of operation redundancy and affects the user experience.
通过检测车辆下电信号和锁车信号,获取当前位置和安全防护部件的开闭状态,若在预设区域且所有门均关闭,自动执行锁车操作,避免再次锁车指令。
Save the car locking step, improve the user experience, and improve the vehicle safety, avoiding the step of sending the car locking signal again after manually closing.
Smart Images

Figure CN118928293A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle locking method, electronic equipment and storage medium. Background Art
[0002] The car owner is about to turn off the power, lock the car and leave. After the car owner switches the power-on signal from the power-on position to the power-off position, and presses the car lock button on the electronic key or gives the car lock command on the mobile phone, but any one or more of the left front door, right front door, left rear door, right rear door, front hood or tailgate are in the open state, the user needs to close the left front door, right front door, left rear door, right rear door, front hood and tailgate at the same time, that is, the open and closed states of these parts are all in the closed state, and then repeatedly press the car lock button on the electronic key or give the car lock command operation on the mobile phone to complete the car locking.
[0003] However, after the user manually closes the left front door, right front door, left rear door, right rear door, front hood or tailgate, it is still necessary to press the car lock button again or operate based on the car lock command to lock the car. That is, a second car lock command needs to be issued and executed, which results in redundant operations and affects the user experience. Summary of the invention
[0004] In view of the above-mentioned defects or deficiencies in the prior art, the present application aims to provide a vehicle locking method, an electronic device and a storage medium, so as to realize different processing according to the current location area when the vehicle is electrically locked, thereby effectively saving the vehicle locking steps and improving the user experience.
[0005] The present application provides a method for locking a vehicle, the method comprising: In response to receiving the vehicle power-off signal and the first vehicle locking signal, detecting the open and closed states of each safety protection component; In response to at least one of the opening and closing states being an open state, obtaining a current position; In response to the current position being within the preset area, each of the opening and closing states is acquired in real time, and when each of the opening and closing states is in a closed state, a vehicle locking operation is performed.
[0006] According to the technical solution provided in the embodiment of the present application, optionally, the preset area includes at least two sub-areas; in response to the current position being within the preset area, each of the opening and closing states is acquired in real time, and when each of the opening and closing states is in the closed state, a vehicle locking operation is performed, including: In response to the current position being within the preset area, the sub-area where the current position is located is determined as a target sub-area, the regional protection component corresponding to the target sub-area is determined, and the opening and closing states of each of the security protection components are acquired in real time; wherein the security protection components include regional protection components and non-regional protection components; In response to each of the open states being closed and the open and closed state of at least one of the area protection components changing, a vehicle locking reminder message is generated and sent, and when a second vehicle locking signal is received, a vehicle locking operation is performed based on the second vehicle locking signal; In response to each of the open states being closed and the open and closed states of each of the area protection components not changing, a vehicle locking operation is performed based on the first vehicle locking signal.
[0007] According to the technical solution provided in the embodiment of the present application, optionally, in response to the current position being within a preset area, each of the opening and closing states is acquired in real time, and when each of the opening and closing states is in a closed state, a vehicle locking operation is performed, including: In response to the current location being within a preset area, determining whether the current time is within a preset time range corresponding to the preset area; In response to the current time being within the preset time range, acquiring each opening and closing state in real time, and when each of the opening and closing states is a closed state, performing a vehicle locking operation based on the first vehicle locking signal; In response to the current time being outside the preset time range, each opening and closing state is acquired in real time, and when each opening and closing state is a closed state, a third vehicle locking signal is received, and a vehicle locking operation is performed based on the third vehicle locking signal.
[0008] According to the technical solution provided in the embodiment of the present application, optionally, it also includes: Acquire historical parking information of the vehicle, and determine each parking location and a parking time period corresponding to the parking location according to the historical parking information of the vehicle; Determine each parking area according to each parking position; wherein each parking area covers at least one parking position; For each parking area, if the parking area is not within any preset area, determining whether there is a preset area that overlaps with the parking area; If yes, then according to the overlapping preset area, guide area range adjustment information is generated, and the guide area range adjustment information is sent to the target terminal device, and when an adjustment instruction corresponding to the guide area range adjustment information is received, the overlapping preset area is adjusted based on the parking area to update the preset area; If not, the regularity level of the parking area is determined according to the parking time periods corresponding to each parking position in the parking area. When the regularity level is a preset level, the guidance joining information corresponding to the parking area is generated, and the guidance joining information is sent to the target terminal device; when a confirmation instruction corresponding to the guidance joining information is received, the parking area is added to the preset area.
[0009] According to the technical solution provided in the embodiment of the present application, optionally, it also includes: For each preset area, in response to determining that the usage time limit corresponding to the preset area has been reached, generating delay reminder information corresponding to the preset area, and sending the delay reminder information to the target terminal device; Within the target receiving time, determining whether the delay confirmation information corresponding to the delay reminder information is received; If so, the usage time limit corresponding to the preset area is updated according to the extended time limit in the delay confirmation information; if not, the preset area is deleted.
[0010] According to the technical solution provided in the embodiment of the present application, optionally, after responding that at least one of the opening and closing states is in the open state, the method further includes: The safety protection component in the open state is used as the component to be closed; For each component to be closed, a reminder message is issued based on a reminder component corresponding to the component to be closed; wherein the reminder component includes at least one of a sound-emitting component and a light-emitting component.
[0011] According to the technical solution provided in the embodiment of the present application, optionally, after acquiring each of the opening and closing states in real time, the method further includes: Determine the waiting time in real time according to the time of receiving the first vehicle locking signal; In response to the waiting time reaching a preset time and at least one of the opening and closing states is in an open state, the safety protection component in the open state is used as a component to be closed; For each component to be closed, a closing reminder message corresponding to the component to be closed is generated, and the closing reminder message is sent to a target terminal device.
[0012] According to the technical solution provided in the embodiment of the present application, optionally, after obtaining the current location, the method further includes: In response to the current position being outside the preset area, determining whether a fourth vehicle locking signal is received; In response to receiving the fourth vehicle locking signal, detecting the open and closed states of each of the safety protection components; In response to each of the opening and closing states being in the closed state, performing a vehicle locking operation based on the fourth vehicle locking signal; In response to at least one of the opening and closing states being the open state, the step of determining whether the fourth vehicle locking signal is received is returned to be executed.
[0013] The present application also provides an electronic device, the electronic device comprising: Processor and memory; The processor is used to execute the steps of the vehicle locking method as described in any embodiment by calling the program or instruction stored in the memory.
[0014] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute the steps of the vehicle locking method as described in any embodiment.
[0015] In summary, the present application proposes a vehicle locking method. In response to receiving a vehicle power-off signal and a first vehicle locking signal, the opening and closing states of each safety protection component are detected. In response to at least one opening and closing state being an open state, the current position is obtained to determine whether to execute the function of avoiding secondary vehicle locking. Furthermore, in response to the current position being within a preset area, each opening and closing state is obtained in real time. When each opening and closing state is a closed state, the vehicle locking operation is performed so as to automatically execute the vehicle locking operation without receiving the vehicle locking signal again. This realizes different processing according to the area where the current position is located when the vehicle is powered off and locked, effectively saving the vehicle locking steps and improving the user experience. Compared with the prior art, the present application avoids the step of sending the vehicle locking signal again after manually closing each safety protection component, effectively saving user operations while improving the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of a vehicle locking method provided in an embodiment of the present application; Figure 2 is a flow chart of another method for locking a vehicle provided in an embodiment of the present application; Figure 3 It is a schematic diagram of secondary locking of a vehicle in the prior art; Figure 4 This is a schematic diagram of a vehicle that does not require secondary locking provided by an embodiment of the present application; Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0018] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0019] Figure 1 is a flow chart of a vehicle locking method provided by an embodiment of the present application. Figure 1 , the car locking method specifically includes: S110 , in response to receiving a vehicle power-off signal and a first vehicle locking signal, detecting the open and closed states of each safety protection component.
[0020] The vehicle power-off signal is a signal for controlling the vehicle power to be turned off. The first vehicle lock signal is a vehicle lock signal sent by the user for the first time when the vehicle is powered off, and is used to control the locking of the vehicle doors and other safety protection components. Safety protection components are components that prevent the vehicle from being stolen or damaged after being closed, and may include doors, rear doors, front hoods, windows, etc. The open and closed states include an open state and a closed state.
[0021] Specifically, when the user wants to leave after parking, the user can send a vehicle power-off signal and a first vehicle locking signal through a terminal device or a control button, etc. When the vehicle power-off signal and the first vehicle locking signal are received, in order to ensure that the user can complete the locking operation of each safety protection component, the opening and closing status of each safety protection component is first detected to avoid the situation where one or several safety protection components cannot be locked smoothly when they are not closed.
[0022] S120: In response to at least one opening and closing state being an open state, obtaining a current position.
[0023] The current position is the current position of the vehicle, which can be obtained based on a positioning system, for example, based on a global positioning system (GPS).
[0024] Specifically, if at least one of the safety protection components is in the open state, it means that the vehicle cannot be locked, so the user needs to manually close the safety protection components that are in the open state and then lock the vehicle again. Before locking the vehicle, the current position needs to be obtained to determine whether the user needs to send a locking signal again (such as a second locking signal) to lock the vehicle.
[0025] It is understandable that if the opening and closing states of all safety protection components are in the closed state, it means that there is no safety protection component that is not closed to prevent the vehicle from being locked. Therefore, the vehicle locking operation is performed based on the first vehicle locking signal.
[0026] S130. In response to the current position being within the preset area, each opening and closing state is acquired in real time, and when each opening and closing state is in the closed state, a vehicle locking operation is performed.
[0027] Among them, the preset area is an area pre-set by the user. In this preset area, the user no longer needs to send a car locking signal, and the car can be locked based on the first car locking signal, that is, no secondary car locking operation is required.
[0028] Specifically, if the current location is within the preset area, it means that the user does not need to send a car locking signal through a target terminal device such as a mobile phone or electronic key. Therefore, the opening and closing status of each safety protection component is obtained in real time. When it is detected that all opening and closing states are closed, the car locking operation is automatically performed.
[0029] Based on the above example, after obtaining the opening and closing states in real time, since the user is required to manually close the safety protection components in the closed state, a reminder message can be sent to the user when the user does not perform the closing operation for a long time, which can be: Determine the waiting time in real time according to the reception time of the first vehicle locking signal; In response to the waiting time reaching a preset time and at least one opening and closing state being in an open state, the safety protection component in the open state is used as a component to be closed; For each component to be closed, a closing reminder message corresponding to the component to be closed is generated, and the closing reminder message is sent to the target terminal device.
[0030] The receiving time is the time when the first vehicle locking signal is received. The waiting time is the real-time accumulated time obtained from the receiving time. The preset time is the time used to trigger and remind the user to close the safety protection components. The components to be closed are the safety protection components in the open state. The closing reminder information is information used to remind the user to manually close the components to be closed.
[0031] Specifically, the timing starts from the moment the first vehicle locking signal is received, and the waiting time is obtained in real time. If all the opening and closing states are in the closed state, there is no need to remind the user to close. If the waiting time does not reach the preset time and at least one opening and closing state is in the open state, you can continue to wait for the user to manually close the safety protection component to reserve operation time for the user. If the waiting time reaches the preset time and at least one opening and closing state is in the open state, there is a situation where the user forgets to close the component to be closed. Therefore, the safety protection component with an open opening and closing state is regarded as a component to be closed, and for each component to be closed, a closing reminder message corresponding to the component to be closed is generated, and the closing reminder message is sent to the target terminal device to remind the user to manually close each component to be closed. The closing reminder message can be a piece of information containing each component to be closed, or it can be multiple pieces of information, each of which involves a component to be closed, and is not specifically limited here.
[0032] It is understandable that the preset area is an area that the user considers to be relatively safe, such as home, company, etc., and the car can be locked automatically without performing a secondary locking operation, thus avoiding the cumbersome problem of locking the car in the preset area.
[0033] Based on the above example, if the current location is outside the preset area, you can also perform the car locking operation in the following ways: In response to the current position being outside the preset area, determining whether a fourth vehicle locking signal is received; In response to receiving the fourth vehicle locking signal, detecting the open and closed states of each safety protection component; In response to each of the opening and closing states being in the closed state, performing a vehicle locking operation based on a fourth vehicle locking signal; In response to at least one of the opening and closing states being the open state, the process returns to the step of determining whether a fourth vehicle locking signal is received.
[0034] Among them, the fourth vehicle locking signal is a vehicle locking signal received again when the current position is outside the preset area and after the first vehicle locking signal, that is, triggering a secondary vehicle locking operation.
[0035] Specifically, if the current position is outside the preset area, the fourth car lock signal sent by the user needs to be received before the car lock operation can be performed. Therefore, it is necessary to determine whether the fourth car lock signal is received. When the fourth car lock signal is received, the opening and closing states of each safety protection component need to be detected again. If the opening and closing states of each safety protection component are all closed, it means that the car lock operation can be performed at this time. Therefore, the car lock operation is performed based on the fourth car lock signal received after the first car lock signal; if at least one opening and closing state is open, it means that the car lock operation cannot be performed yet. Therefore, it is necessary to wait for the user to manually close the safety protection component and receive a new fourth car lock signal again. Based on the new fourth car lock signal, it is determined whether the car can be locked, that is, return to the step of determining whether the fourth car lock signal is received until the car lock operation is completed, or the fourth car lock signal is no longer sent for a period of time.
[0036] Based on the above example, the following method can be used to obtain the various opening and closing states in real time in response to the current position being within the preset area, and to perform the vehicle locking operation when the various opening and closing states are all in the closed state: In response to the current location being within the preset area, determining whether the current time is within a preset time range corresponding to the preset area; In response to the current time being within a preset time range, each opening and closing state is acquired in real time, and when each opening and closing state is in a closed state, a vehicle locking operation is performed based on a first vehicle locking signal; In response to the current time being outside the preset time range, each opening and closing state is acquired in real time, and when each opening and closing state is in a closed state, a third vehicle locking signal is received, and a vehicle locking operation is performed based on the third vehicle locking signal.
[0037] The current time is the time when the first car lock signal is sent. The preset time range is the time range set by the user based on the preset area. In the preset area, if the current time is within the preset time range, the user does not need to send a car lock signal, and the car lock can be completed based on the first car lock signal, that is, no secondary car lock operation is required. The third car lock signal is the current position is within the preset area, the current time is within the preset time range, and after receiving the first car lock signal, the car lock signal is received again, which triggers the secondary car lock operation.
[0038] Specifically, if the current position is within the preset area, the preset time range corresponding to the preset area is determined, and then, it is determined whether the current time is within the preset time range to determine whether to perform an automatic car locking operation or a secondary car locking operation is required. If the current time is within the preset time range, the opening and closing states of each safety protection component are obtained in real time, and when it is detected that the opening and closing states of each safety protection component are all in the closed state, it is determined that the car locking operation can be performed, and the car locking operation can be performed based on the first car locking signal. If the current time is outside the preset time range, the opening and closing states of each safety protection component are obtained in real time, and when the opening and closing states of each safety protection component are all in the closed state, it is also necessary to receive the third car locking signal sent by the user again before the car locking operation can be performed based on the third car locking signal.
[0039] Based on the above example, in addition to the user manually selecting and building the preset area, the user can also be reminded to build or modify the preset area in the following ways, which can be: Obtaining historical parking information of the vehicle, and determining each parking location and a parking time period corresponding to the parking location based on the historical parking information of the vehicle; Determine each parking area according to each parking position; For each parking area, if the parking area is not within any preset area, determining whether there is overlap between the preset area and the parking area; If yes, then according to the overlapping preset area, guide area range adjustment information is generated, and the guide area range adjustment information is sent to the target terminal device, and when an adjustment instruction corresponding to the guide area range adjustment information is received, the overlapping preset area is adjusted based on the parking area, and the preset area is updated; If not, the regularity level of the parking area is determined according to the parking time periods corresponding to each parking position in the parking area. When the regularity level is the preset level, the guidance joining information corresponding to the parking area is generated and sent to the target terminal device; when the confirmation instruction corresponding to the guidance joining information is received, the parking area is added to the preset area.
[0040] The historical parking information of the vehicle is the information when the vehicle is triggered to park and lock the vehicle within the preset detection time period in the past, which may include the parking position and the parking time period corresponding to the parking position. The parking time period is the time period between powering off and powering on at the corresponding parking position. The parking area may be an area obtained by clustering the parking positions, and each parking area covers at least one parking position. The guidance area range adjustment information is guidance information for guiding the user to expand the range of a current preset area, that is, to include the parking area in the preset area. The target terminal device is a terminal device for adjusting the preset area, which may be a vehicle-mounted terminal or a mobile terminal. The adjustment instruction is an instruction for triggering the adjustment of the preset area range to include the corresponding parking area. The frequent level is a level determined based on the parking frequency and the parking time period, and is used to describe that the user often parks for a long time in the parking area. The preset level is a pre-set level for determining the newly added preset area, such as: advanced. The confirmation instruction is an instruction for triggering the corresponding parking area as a new preset area.
[0041] Specifically, the historical parking information of the vehicle is obtained, and each parking position of the vehicle and the parking time period corresponding to each parking position are determined from the historical parking information of the vehicle. Then, the parking positions can be clustered according to the position distribution to determine at least one parking area, for example, a parking area is constructed by a plurality of parking positions within a distance of 50m. For each parking area, if the parking area is not in any preset area, it means that it may be an alternative preset area, but the user has not added it yet. Therefore, it is further determined whether there is an overlap between the preset area and the parking area, that is, it is determined whether the parking area has an intersection with a preset area and is not completely included in the preset area. If so, the preset area that overlaps with the parking area can be used as the area to be adjusted, and the guidance area range adjustment information is generated, and the guidance area range adjustment information is sent to the target terminal device to guide the user to adjust the range of the area to be adjusted based on the parking area. When the adjustment instruction corresponding to the area range adjustment information is received, it is determined that the user agrees to adjust the range of the area to be adjusted, so the area to be adjusted is adjusted based on the parking area, and the adjusted area to be adjusted is updated to the preset area. If not, the parking time period corresponding to each parking position in the parking area is analyzed to determine the parking time and parking frequency, and then determine the recurrence level of the parking area. For example: if the parking time reaches the target time and the parking frequency reaches the target frequency, the recurrence level of the parking area is determined to be high; if the parking time reaches the target time and the parking frequency does not reach the target frequency, or the parking time does not reach the target time and the parking frequency reaches the target frequency, the recurrence level of the parking area is determined to be medium; if the parking time does not reach the target time and the parking frequency does not reach the target frequency, the recurrence level of the parking area is determined to be low. Among them, the target time and the target frequency can be set according to user needs. In the case where the recurrence level is a preset level (such as high, high and medium), it is determined that the parking area may be a new preset area, therefore, the guidance joining information corresponding to the parking area is generated, and the guidance joining information is sent to the target terminal device to guide the user to list the parking area as a new preset area. In the case of receiving the confirmation instruction corresponding to the guidance joining information, the parking area is added as a new preset area to each preset area, so as to facilitate the subsequent judgment of whether it is necessary to avoid secondary locking of the car.
[0042] The vehicle locking method provided in the embodiment of the present application detects the opening and closing states of each safety protection component in response to receiving a vehicle power-off signal and a first vehicle locking signal, and obtains the current position in response to at least one opening and closing state being an open state, so as to determine whether to execute the function of avoiding secondary vehicle locking. Furthermore, in response to the current position being within a preset area, each opening and closing state is obtained in real time, and the vehicle locking operation is executed when each opening and closing state is a closed state, so as to automatically execute the vehicle locking operation without receiving the vehicle locking signal again, thereby realizing different processing according to the area where the current position is located when the vehicle is powered off and locked, effectively saving the vehicle locking step and improving the user experience. Compared with the prior art, the present application avoids the step of sending the vehicle locking signal again after manually closing each safety protection component, effectively saving user operation while improving the safety of the vehicle.
[0043] Figure 2 is a flow chart of another method for locking a vehicle provided by an embodiment of the present application. Based on the above embodiments, if the preset area includes at least two sub-areas, the process of performing the locking operation is exemplarily described, and a process of reminding the components to be closed is added. Figure 2 , the car locking method specifically includes: S210: In response to receiving a vehicle power-off signal and a first vehicle locking signal, detecting the open and closed states of each safety protection component.
[0044] S220, in response to at least one opening and closing state being an open state, the safety protection component whose opening and closing state is an open state is regarded as a component to be closed, and for each component to be closed, a reminder message is issued based on the reminder component corresponding to the component to be closed; and the current position is obtained in real time.
[0045] The reminder component is a component used to remind the user that there is an unclosed safety protection component, and the reminder component includes at least one of a sound-generating component and a light-emitting component. The sound-generating component may be a buzzer, a sound alarm device, etc., and the light-emitting component may be an LED lamp, etc. The reminder information is the sound of the sound-generating component and / or the light of the light-emitting component used to remind the user to close the corresponding component to be closed, which is sound information and / or light information.
[0046] Specifically, if at least one safety protection component is in an open state, the safety protection component in the open state is regarded as a component to be closed. For each component to be closed, a reminder component corresponding to the component to be closed is determined, and reminder information is issued based on the reminder component to remind the user to manually close the component to be closed. In addition, the current position is obtained in real time.
[0047] It is understandable that multiple safety protection components may use the same reminder component, or a reminder component may be set at the position of each safety protection component. The reminder components of different safety protection components may be the same or different, that is, all may be sound components, all may be light components, or some may be sound components and some may be light components. The reminder components corresponding to the same safety protection component may include both sound components and light components. The specific selection and setting method of the reminder component may be based on the vehicle settings and user needs.
[0048] S230. In response to the current position being within the preset area, the sub-area where the current position is located is determined as a target sub-area, the regional protection component corresponding to the target sub-area is determined, and each opening and closing status is acquired in real time.
[0049] Among them, the preset area includes at least two sub-areas, and there is no overlap between the sub-areas. For example, different sub-areas cover different ranges. For example, 20m outward from the center of the preset area is a sub-area, 20m-50m is a sub-area, and 50m-100m is a sub-area. The specific setting method is determined based on the user setting. The target sub-area is the sub-area where the current position is located. The safety protection components include regional protection components and non-regional protection components. The regional protection component is a safety protection component that requires secondary locking of the vehicle when the opening and closing state changes after the first locking signal. The non-regional protection component is a safety protection component that will not trigger the secondary locking of the vehicle regardless of whether the opening and closing state changes. Different sub-areas can set different regional protection components and non-regional protection components. The regional protection component can be empty, but the non-regional protection component cannot be empty.
[0050] Specifically, if the current position is within the preset area, the specific area of the current position is further determined, and the sub-area where the current position is located is determined as the target sub-area. Then, the regional protection component corresponding to the target sub-area can be determined according to the target sub-area, so as to facilitate the subsequent determination of the opening and closing state changes of the regional protection components and obtain the opening and closing states in real time.
[0051] S240: In response to all opening states being closed and the opening and closing state of at least one regional protection component changing, a vehicle locking reminder message is generated and sent, and when a second vehicle locking signal is received, a vehicle locking operation is performed based on the second vehicle locking signal.
[0052] The vehicle locking reminder information is information for reminding the user to trigger the vehicle locking signal again, that is, information for reminding the user to lock the vehicle for the second time. The second vehicle locking signal is a vehicle locking signal issued by the user based on the vehicle locking reminder information.
[0053] Specifically, if all opening states are closed and the opening and closing state of at least one regional protection component changes, it means that the vehicle locking operation can be performed at present, but due to the change in the opening and closing state of the regional protection component, in order to ensure the safety of the vehicle, the user needs to perform a second vehicle locking operation, so a vehicle locking reminder message is generated and sent to the target terminal device. When a second vehicle locking signal corresponding to the vehicle locking reminder message is received from the target terminal device, the vehicle locking operation can be performed based on the second vehicle locking signal.
[0054] S250: In response to all opening states being closed and the opening and closing states of the protection components in each area not changing, a vehicle locking operation is performed based on the first vehicle locking signal.
[0055] Specifically, if all opening states are closed and the opening and closing states of the protection components in each area have not changed, it means that since the protection components in each area are already in the closed state when the first car locking signal is triggered, there is no need to perform a secondary car locking operation, and the automatic car locking operation can be performed based on the first car locking signal.
[0056] Based on the above example, a usage time limit may also be set for each preset area. The content related to the usage time limit may specifically be: For each preset area, in response to determining that the usage time limit corresponding to the preset area has been reached, generating delay reminder information corresponding to the preset area, and sending the delay reminder information to the target terminal device; Within the target receiving time, determining whether the delayed confirmation information corresponding to the delayed reminder information is received; If yes, the usage time limit corresponding to the preset area is updated according to the extended time limit in the delay confirmation information; if no, the preset area is deleted.
[0057] The usage time limit is a time limit set in advance for each preset area, that is, the time limit for granting a vehicle without locking the vehicle twice, such as 3 months, 6 months, 12 months, etc. The delayed reminder information is used to remind the user that the preset area has expired and whether to extend it. The target receiving time is a pre-set time for waiting for the user to respond to the delayed reminder information. The delayed confirmation information is information triggered by the user to extend the use of the preset area. The extended time limit is the time limit carried by the delayed confirmation information, which can be the same as or different from the previous usage time limit.
[0058] Specifically, for each preset area, when it is determined that the usage time limit corresponding to the preset area has been reached, a delay reminder information corresponding to the preset area is generated, and the delay reminder information is sent to the target terminal device to ask the user whether to delay, that is, to add a new usage time limit for the preset area and extend the usage time. Within the target receiving time, determine whether the delay confirmation information corresponding to the delay reminder information is received. If so, it means that the preset area needs to be delayed. Therefore, the extended time limit can be determined from the delay confirmation information, and the extended time limit can be updated as the new usage time in the preset area. If not, the user does not want to delay the preset area, so the preset area is deleted. If the user wants to re-add the preset area after deleting the preset area, reselect the area and build it.
[0059] Based on the above examples, this example has the following functions: (1) Add a switch that does not require a second lock A switch for no secondary locking is added to the vehicle settings interface. The switch is turned off by default. When the user switches it on for the first time, the sub-setting items (preset areas) are expanded: home, work, and self-selected special locations (unlimited number). Users are supported to add according to their own needs under the current location.
[0060] (2) High degree of freedom, adding custom scenes Users can perform non-secondary locking instructions in fixed scenes (preset areas) based on customized scenes. The scenes are divided into three categories according to GPS settings: home, company, and self-selected special locations (unlimited number). After the user completes parking, the electronic fence with a radius of 20 meters from the positioning point is divided into a buffer zone S1 (preset area) according to the location (current location). The range within S1 is recognized as the set scene. If the user sets it as a special scene at the company, the subsequent parking is in S1 and the non-secondary locking instruction is turned on, regardless of whether the left front door is open (bcm_doorFLSts=0x1: OPEN), the right front door is open (bcm_doorFRSts=0x1: OPEN), the left rear door is open (bcm_doorRLSts=0x1: OPEN), right rear door open (bcm_doorRRSts=0x1:OPEN), tailgate open (pot_tailgateOpenSts=0x1-0x6&0x8), front hood (bcm_hoodSts=0x1:OPEN) open (at least one of the opening and closing states of each safety protection component is in the open state), after the normal closure is the corresponding OFF state (each opening and closing state is in the closed state), there is no need to execute the secondary locking command again. The vehicle automatically memorizes the last command and sends it cyclically to complete the locking of the vehicle.
[0061] The BCM (Body Control Module) remembers the last time the same vehicle locking signal (the opening and closing status of each safety protection component) was detected as OFF and automatically executes the previous operation. The specific code is as follows: if bcm_doorFLSts == 0x1 or bcm_doorFRSts == 0x1 or bcm_doorRLSts ==0x1 or bcm_doorRRSts == 0x1 or pot_tailgateOpenSts == 0x1-0x6&0x8 or bcm_hoodSts == 0x1: # The second lock command is not executed, the vehicle automatically memorizes the last command and sends it again in a loop pass else: # Execute the lock command lock_car() In the above code, when the first car lock signal is received, it is first determined whether the doors, trunk and hood of the vehicle are in an open state (the opening and closing state of each safety protection component). If any of them is in an open state (at least one of the opening and closing states is in an open state), the secondary car lock command is not executed, but the vehicle is allowed to automatically memorize the last command and issue it in a loop. If all doors, trunks and hoods are in a closed state (all opening and closing states are closed), the car lock command is executed (the car lock operation is performed based on the first car lock signal). In this way, the function of automatically executing the car lock operation according to the last command is realized. The schematic diagram of the secondary car lock in the prior art is shown in FIG. Figure 3 As shown, the schematic diagram of the vehicle without secondary locking in this example is as follows Figure 4 As shown, KL-15 is the power signal, the four doors and two covers refer to the left front door, the right front door, the left rear door, the right rear door, the tailgate and the front engine cover, and the secondary locking signal can be the second locking signal, the third locking signal or the fourth locking signal.
[0062] (3) Timing start The user can grant a time limit for the vehicle to be unlocked for free twice, which can be divided into 3 months, 6 months, and 12 months. After setting, the status of each preset area will be released in a certain time period according to actual needs.
[0063] (4) Customization of electronic fence Taking into account the risk of inaccurate GPS positioning, the developer allows users to customize the electronic fence distance when setting custom scenes. For example, drag the electronic fence to 20, 50, and 100 meters. The 20-meter fence is green, the 50-meter fence is yellow, and the 100-meter fence is red. If the distance exceeds 100 meters, the positioning is too broad, so please reselect the prompt.
[0064] (5) Ongoing work on biological monitoring To prevent children, pets, etc. from being left in the car after the double locking function is enabled, the OMS (Occupant Monitoring System) camera will scan the entire car each time the double locking function is completed by default, and monitor and identify the passengers based on infrared perception and oxygen fluctuations.
[0065] The highly customized time and location can be used to intelligently and conveniently trigger the command to lock the vehicle twice. When this function is implemented, it is accompanied by biological live monitoring in the cabin to improve the entire link and avoid leaving any living organisms behind.
[0066] The above method is convenient and fast. The locking signal of the vehicle can be recorded through the memory function when locking the vehicle. After the user has closed the unclosed vehicle components (safety protection components), there is no need to issue the locking command again. The vehicle can automatically lock the vehicle, saving time and energy and simplifying the steps. In addition, the above method supports personalized settings. Users can set it according to their own habits and needs, such as choosing whether to turn on the switch function of the vehicle without secondary locking, where and when to turn on the switch function of the vehicle without secondary locking, etc. It can also effectively improve the safety of the vehicle. The memory function of the vehicle without secondary locking can ensure that the vehicle is automatically locked after parking is completed, avoiding the risk of the vehicle being stolen or damaged due to negligence. The above method can also effectively avoid misoperation. The locking operation of some vehicles may require multiple steps. The memory function can prevent the user from locking the vehicle due to misoperation. In addition, the memory function when locking the vehicle allows users to use the vehicle more conveniently, improving the overall user experience.
[0067] The vehicle locking method provided by the embodiment of the present application, in response to at least one opening and closing state being an open state, the safety protection component whose opening and closing state is an open state is used as a component to be closed, and for each component to be closed, a reminder message is sent based on the reminder component corresponding to the component to be closed, so as to effectively remind the user to manually close the component to be closed, and in response to the current position being within the preset area, the sub-area where the current position is located is determined as the target sub-area, the regional protection component corresponding to the target sub-area is determined, and each opening and closing state is obtained in real time, so as to judge the opening and closing state of different regional protection components by region, in response to each opening state being closed and the opening and closing state of at least one regional protection component changing, a vehicle locking reminder message is generated and sent, and when a second vehicle locking signal is received, a vehicle locking operation is performed based on the second vehicle locking signal, and in response to each opening state being closed and the opening and closing state of each regional protection component not changing, a vehicle locking operation is performed based on the first vehicle locking signal, so as to effectively distinguish different safety, and divide the secondary vehicle locking free function for different safety protection components and different sub-areas, so as to realize more refined secondary vehicle locking free control and improve the safety and practicality of the function.
[0068] Figure 5 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 500 includes one or more processors 501 and a memory 502 .
[0069] The processor 501 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
[0070] The memory 502 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 501 may run the program instructions to implement the locking method of any embodiment of the present application described above and / or other desired functions. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage medium.
[0071] In one example, the electronic device 500 may further include: an input device 503 and an output device 504, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 503 may include, for example, a keyboard, a mouse, etc. The output device 504 may output various information to the outside, including early warning prompt information, braking force, etc. The output device 504 may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.
[0072] Of course, to simplify, Figure 5 Only some of the components related to the present application in the electronic device 500 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 500 may also include any other appropriate components.
[0073] In addition to the above methods and devices, the embodiments of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the vehicle locking method provided in any embodiment of the present application.
[0074] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0075] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the vehicle locking method provided by any embodiment of the present application.
[0076] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0077] It should be noted that the terms used in this application are only for describing specific embodiments, rather than limiting the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements.
[0078] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0079] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.
Claims
1. A method for locking a car, It is characterized in that include: In response to receiving the vehicle power-off signal and the first vehicle locking signal, detecting the open and closed states of each safety protection component; In response to at least one of the opening and closing states being an open state, obtaining a current position; In response to the current position being within the preset area, each of the opening and closing states is acquired in real time, and when each of the opening and closing states is in a closed state, a vehicle locking operation is performed.
2. The method according to claim 1, It is characterized in that The preset area includes at least two sub-areas; in response to the current position being within the preset area, each of the opening and closing states is acquired in real time, and when each of the opening and closing states is in a closed state, a vehicle locking operation is performed, including: In response to the current position being within the preset area, the sub-area where the current position is located is determined as a target sub-area, the regional protection component corresponding to the target sub-area is determined, and the opening and closing states of each of the security protection components are acquired in real time; wherein the security protection components include regional protection components and non-regional protection components; In response to each of the open states being closed and the open and closed state of at least one of the area protection components changing, a vehicle locking reminder message is generated and sent, and when a second vehicle locking signal is received, a vehicle locking operation is performed based on the second vehicle locking signal; In response to each of the open states being closed and the open and closed states of each of the area protection components not changing, a vehicle locking operation is performed based on the first vehicle locking signal.
3. The method according to claim 1, It is characterized in that In response to the current position being within the preset area, each of the opening and closing states is acquired in real time, and when each of the opening and closing states is in the closed state, a vehicle locking operation is performed, including: In response to the current location being within a preset area, determining whether the current time is within a preset time range corresponding to the preset area; In response to the current time being within the preset time range, acquiring each opening and closing state in real time, and when each of the opening and closing states is a closed state, performing a vehicle locking operation based on the first vehicle locking signal; In response to the current time being outside the preset time range, each opening and closing state is acquired in real time, and when each opening and closing state is a closed state, a third vehicle locking signal is received, and a vehicle locking operation is performed based on the third vehicle locking signal.
4. The method according to claim 1, It is characterized in that Also includes: Acquire historical parking information of the vehicle, and determine each parking location and a parking time period corresponding to the parking location according to the historical parking information of the vehicle; Determine each parking area according to each parking position; wherein each parking area covers at least one parking position; For each parking area, if the parking area is not within any preset area, determining whether there is a preset area that overlaps with the parking area; If yes, then according to the overlapping preset area, guide area range adjustment information is generated, and the guide area range adjustment information is sent to the target terminal device, and when an adjustment instruction corresponding to the guide area range adjustment information is received, the overlapping preset area is adjusted based on the parking area to update the preset area; If not, the regularity level of the parking area is determined according to the parking time periods corresponding to each parking position in the parking area. When the regularity level is a preset level, the guidance joining information corresponding to the parking area is generated, and the guidance joining information is sent to the target terminal device; when a confirmation instruction corresponding to the guidance joining information is received, the parking area is added to the preset area.
5. The method according to claim 1, It is characterized in that Also includes: For each preset area, in response to determining that the usage time limit corresponding to the preset area has been reached, generating delay reminder information corresponding to the preset area, and sending the delay reminder information to the target terminal device; Within the target receiving time, determining whether the delay confirmation information corresponding to the delay reminder information is received; If so, the usage time limit corresponding to the preset area is updated according to the extended time limit in the delay confirmation information; if not, the preset area is deleted.
6. The method according to claim 1, It is characterized in that After responding to at least one of the opening and closing states being in the open state, the method further includes: The safety protection component in the open state is used as the component to be closed; For each component to be closed, a reminder message is issued based on a reminder component corresponding to the component to be closed; wherein the reminder component includes at least one of a sound-emitting component and a light-emitting component.
7. The method according to claim 1, It is characterized in that After acquiring each of the opening and closing states in real time, the method further includes: Determine the waiting time in real time according to the time of receiving the first vehicle locking signal; In response to the waiting time reaching a preset time and at least one of the opening and closing states is in an open state, the safety protection component in the open state is used as a component to be closed; For each component to be closed, a closing reminder message corresponding to the component to be closed is generated, and the closing reminder message is sent to a target terminal device.
8. The method according to claim 1, It is characterized in that After obtaining the current position, the method further includes: In response to the current position being outside the preset area, determining whether a fourth vehicle locking signal is received; In response to receiving the fourth vehicle locking signal, detecting the open and closed states of each of the safety protection components; In response to each of the opening and closing states being in the closed state, performing a vehicle locking operation based on the fourth vehicle locking signal; In response to at least one of the opening and closing states being the open state, the step of determining whether the fourth vehicle locking signal is received is returned to be executed.
9. An electronic device, It is characterized in that The electronic device comprises: Processor and memory; The processor is used to execute the steps of the vehicle locking method according to any one of claims 1 to 8 by calling the program or instruction stored in the memory.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute the steps of the vehicle locking method according to any one of claims 1 to 8.
