Safety control method and device for storage box in vehicle, vehicle and storage medium
By obtaining user identity identification and controlling the storage box permissions, and controlling the unlocking status of the storage box based on switch rules, the problem of difficult to take into account both the convenience and security of the storage box is solved, and convenient and safe use of the storage box is achieved.
Patent Information
- Application Number
- CN202411439955.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-14
AI Technical Summary
The existing technology is difficult to ensure the convenience and safety of the in-vehicle storage box at the same time. The mechanical key lock is inconvenient to use, the electronic key lock cannot be protected against theft in the valet parking scenario, and the storage box with password settings is poor.
By obtaining the user's identity, determine the storage box control permissions, and control its unlocking or to be unlocked based on the switch rules of the storage box, including generating unlocking password input reminder and judging preset unlocking conditions for custom switch rules, ensuring user permissions Under the reasonable understanding of locks and locks.
It realizes that while ensuring operational convenience, improves the security of storage boxes, prevents unauthorized access, and protects user privacy and property.
Smart Images

Figure CN119305507A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method, device, vehicle and storage medium for safety control of a storage box in a vehicle. Background Art
[0002] The storage box in the car includes the storage box in front of the driver's seat and the co-pilot's seat (also called the glove box), and the storage box between the driver and the co-pilot (also called the armrest box). These storage boxes store important items for users. The storage box is a storage area in the car, which is often used to store some commonly used items.
[0003] However, the security of storage boxes is often overlooked, resulting in threats to the user's personal privacy and property safety. In the related art, the use of mechanical key locks can meet the anti-theft needs to a certain extent, but they are not convenient to use and have been basically eliminated by electrification. Anti-theft locks based on electronic keys do not play an anti-theft role in scenarios such as valet parking (handing the key to the service staff to park on your behalf). The anti-theft control of storage boxes based on password settings can perfectly solve the above problems and meet the use needs, but the user needs to enter a password every time it is opened, which is less convenient.
[0004] In summary, in the related art, it is difficult to ensure the convenience and safety of using the storage box at the same time, and there is room for improvement. Summary of the invention
[0005] The present application provides a safety control method, device, vehicle and storage medium for an in-vehicle storage box to solve the technical problem in the related art that it is difficult to simultaneously meet the user's requirements for the convenience and safety of the storage box.
[0006] The first aspect of the present application provides a method for safely controlling a storage box in a vehicle, comprising the following steps: obtaining a user's identity identifier; determining the user's storage box control authority based on the identity identifier; and controlling each storage box of the vehicle to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle.
[0007] Optionally, in one embodiment of the present application, the storage box control authority and the corresponding switch rules of each storage box of the vehicle are respectively controlled to enter an unlocked state or a to-be-unlocked state, including: when the storage box control authority is the authority to allow unlocking the storage box, determining one by one whether the switch rules of each storage box contain customized switch rules; if the switch rules contain the customized switch rules, controlling the storage box corresponding to the customized switch rules to enter the to-be-unlocked state, and controlling the storage box that does not contain the customized switch rules to enter the unlocked state.
[0008] Optionally, in one embodiment of the present application, after controlling the storage box corresponding to the customized switch rule to enter the to-be-unlocked state, it also includes: generating an unlock password input reminder; receiving a response result of the unlock password input reminder, and judging whether the storage box corresponding to the customized switch rule meets the preset unlock condition based on the response result; if the storage box corresponding to the customized switch rule meets the preset unlock condition, controlling the storage box corresponding to the customized switch rule to enter the unlocked state, otherwise, prohibiting the user from opening the storage box corresponding to the customized switch rule.
[0009] Optionally, in one embodiment of the present application, before controlling each storage box to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, it also includes: receiving a rule customization request from the user; determining the target storage box of the user based on the rule customization request; judging whether the customized switch rule already exists in the target storage box; if the customized switch rule does not exist in the target storage box, generating a customized switch rule for the target storage box based on the user's identity and password, otherwise, generating a storage box reset reminder, and judging whether the user meets the preset reset condition based on the response result of the storage box reset reminder, and resetting the customized switch rule if the user meets the preset reset condition.
[0010] Optionally, in one embodiment of the present application, obtaining the user's identity includes: obtaining image data of the user; determining facial features of the user based on the image data; matching the corresponding identity in a preset feature database using the facial features as an index, and determining that the user's identity is a visitor identifier if the identity matching the facial features does not exist in the preset feature database.
[0011] A second aspect of the present application provides a security control device for a storage box in a vehicle, including: an acquisition module for acquiring a user's identity; a determination module for determining the user's storage box control authority based on the identity; and a control module for controlling each storage box of the vehicle to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle.
[0012] Optionally, in one embodiment of the present application, the control module includes: a first judgment unit, used to determine one by one whether the switch rules of each storage box include customized switch rules when the storage box control authority is the authority to allow unlocking the storage box; a first control unit, used to control the storage box corresponding to the customized switch rule to enter the to-be-unlocked state when the switch rule includes the customized switch rule, and control the storage box that does not include the customized switch rule to enter the unlocked state.
[0013] Optionally, in one embodiment of the present application, the control module also includes: a reminder unit, used to generate an unlock password input reminder; a second judgment unit, used to receive a response result of the unlock password input reminder, and judge whether the storage box corresponding to the customized switch rule meets the preset unlock condition based on the response result; a second control unit, used to control the storage box corresponding to the customized switch rule to enter the unlocked state when the storage box corresponding to the customized switch rule meets the preset unlock condition, otherwise, prohibiting the user from opening the storage box corresponding to the customized switch rule.
[0014] Optionally, in one embodiment of the present application, the control module further includes: a receiving unit for receiving a rule customization request from the user; a first determination unit for determining a target storage box of the user based on the rule customization request; a third judgment unit for judging whether the customized switch rule already exists in the target storage box; a generation unit for generating a customized switch rule for the target storage box based on the user's identity and password if the customized switch rule does not exist in the target storage box, otherwise, generating a storage box reset reminder, and judging whether the user meets a preset reset condition based on a response result of the storage box reset reminder, and resetting the customized switch rule if the user meets the preset reset condition.
[0015] Optionally, in one embodiment of the present application, the acquisition module includes: an acquisition unit for acquiring image data of the user; a second determination unit for determining facial features of the user based on the image data; a matching unit for matching a corresponding identity in a preset feature database using the facial features as an index, and determining that the user's identity is a visitor identity if the identity matching the facial features does not exist in the preset feature database.
[0016] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the safety control method for an in-vehicle storage box as described in the above embodiment.
[0017] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the safety control method for the in-vehicle storage box as described in the above embodiment.
[0018] The fifth aspect of the present application provides a computer program product, including a computer program, which, when executed, is used to implement the above-mentioned method for controlling the safety of the in-vehicle storage box.
[0019] The embodiment of the present application can determine the user's storage box control authority according to the user's identity identification, so as to control each storage box to enter the unlocked state or the unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, that is, to perform corresponding processing according to the different switch rules of each storage box, without requiring authorized users to unlock them one by one, thereby ensuring the convenience of operation and the safety of the storage box. Thus, the technical problem in the related art that it is difficult to simultaneously meet the user's requirements for the convenience and safety of the storage box is solved.
[0020] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0022] Figure 1 A flowchart of a safety control method for a storage box in a vehicle provided according to an embodiment of the present application;
[0023] Figure 2 It is a schematic diagram of the principle of a safety control method for a storage box in a vehicle according to an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a storage box opening process according to an embodiment of the present application;
[0025] Figure 4 A schematic diagram of a password setting process according to an embodiment of the present application;
[0026] Figure 5 A schematic diagram of a password reset process according to an embodiment of the present application;
[0027] Figure 6 It is a structural schematic diagram of a safety control device for a storage box in a vehicle provided according to an embodiment of the present application;
[0028] Figure 7It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0030] The following describes the security control method, device, vehicle and storage medium of the in-vehicle storage box of the embodiment of the present application with reference to the accompanying drawings. In view of the technical problem that it is difficult to simultaneously meet the user's requirements for the convenience and safety of the storage box in the related art mentioned in the above background technology, the present application provides a security control method for the in-vehicle storage box, in which the user's storage box control authority can be determined according to the user's identity identification, so that each storage box can be controlled to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, that is, corresponding processing is performed for different switch rules of each storage box, and there is no need for authorized users to unlock them one by one, thereby ensuring the convenience of operation and the safety of the storage box. As a result, the technical problem that it is difficult to simultaneously meet the user's requirements for the convenience and safety of the storage box in the related art is solved.
[0031] Specifically, Figure 1 A schematic flow chart of a method for safely controlling a storage box in a vehicle provided in an embodiment of the present application.
[0032] like Figure 1 As shown, the safety control method of the in-vehicle storage box includes the following steps:
[0033] In step S101, the user's identity is obtained.
[0034] During the actual implementation process, the embodiments of the present application can obtain the user's identity through various methods, such as the user's currently logged-in account, the user's voiceprint information, the user's iris information, the user's fingerprint information, the user's facial recognition information, etc.
[0035] After the vehicle is powered on, the embodiments of the present application can perform identity recognition after the door is opened and the user enters the vehicle and sits down. For example, a fingerprint recognition sensor is set on the gear lever, handbrake or steering wheel to recognize the user's identity through fingerprint. For non-driver users, fingerprint recognition sensors can be set at locations such as door handles, safety armrests, and seat belt buckles to obtain the user's identity. For another example, the microphone in the car can be used to obtain the voiceprint information of the people in the car, and then obtain the identity, etc.
[0036] Based on identity identification, the embodiments of the present application can determine the user's various vehicle control permissions, such as vehicle control permissions, storage box control permissions, center console operation permissions, driving preference recording permissions, etc., to prevent unauthorized users from controlling the vehicle and affecting the normal use of the authorized user, and it is beneficial to protect the privacy of the authorized user.
[0037] Optionally, in one embodiment of the present application, obtaining the identity of the user includes: obtaining image data of the user; determining facial features of the user based on the image data; matching the corresponding identity in a preset feature database using the facial features as an index, and determining that the identity of the user is a visitor identifier if there is no identity matching the facial features in the preset feature database.
[0038] For example, an embodiment of the present application can utilize an in-car camera to obtain image data of people in the car, extract facial features of the people in the car from the image data, and then match identity identification based on the facial features. A successful match is determined as a user identification, and an unsuccessful match is determined as a visitor identification.
[0039] Among them, the preset feature database can be set in the vehicle's memory or in the cloud, and users can use car keys, remote APP, etc. to store facial features and identity identification.
[0040] In step S102, the user's locker control authority is determined based on the identity identifier.
[0041] As a possible implementation method, the embodiment of the present application can determine whether the user has control authority over the storage box based on the identity identifier.
[0042] For visitor ID, there is no locker control authority, so the locker cannot be automatically unlocked. In some cases, such as operating vehicles, in order to facilitate passengers' use, public lockers available to visitor IDs can be set up, and based on the passenger's temporary control authority, such as the passenger scanning the QR code next to the public locker to apply for temporary authority, or assigning a temporary password to the passenger so that the user can open the locker according to the temporary password.
[0043] For the user ID, the locker control authority is granted, and the locker can be automatically unlocked for the user to use. In addition, if there are both user IDs and visitor IDs in the vehicle, the embodiment of the present application can automatically unlock only the lockers around the user with the authenticated user ID, and adopt a blocking strategy for the lockers around the user with the visitor ID.
[0044] In step S103, each storage box is controlled to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rule of each storage box of the vehicle.
[0045] Furthermore, the embodiment of the present application can control the storage box according to the storage box control authority and the corresponding switch rule of each storage box.
[0046] Assume that user A has the locker control permission, and the switch rules of lockers 1 and 3 are regular switch rules, that is, rules open to all authorized users. In this case, lockers 1 and 3 are automatically unlocked. The switch rule of locker 2 is a customized switch rule. If only user B can unlock it, locker 2 is in the waiting unlock state. If the switch rule of locker 2 is a password unlock rule, locker 2 will be unlocked only after user A enters the password, otherwise it will always be in the waiting unlock state.
[0047] Optionally, in one embodiment of the present application, each storage box is controlled to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, including: when the storage box control authority is the authority to allow unlocking the storage box, determining one by one whether the switch rules of each storage box contain customized switch rules; if the switch rules contain customized switch rules, controlling the storage box corresponding to the customized switch rules to enter the to-be-unlocked state, and controlling the storage box that does not contain customized switch rules to enter the unlocked state.
[0048] Specifically, the embodiment of the present application can determine whether each storage box is set with a customized switch rule if the user has permission to unlock the storage box, that is, whether a user has specifically set a storage box to only allow a single user to open it or set an opening password.
[0049] If there is no customized switch rule, all storage boxes will be unlocked at the same time. If there is a customized switch rule, the storage box corresponding to the customized switch rule will be controlled to enter the unlocking state, and the storage box that does not contain the customized switch rule will be controlled to enter the unlocking state, so that it can be judged whether the user is allowed to open the corresponding storage box according to each customized switch rule.
[0050] Optionally, in one embodiment of the present application, after controlling the storage box corresponding to the customized switch rule to enter a to-be-unlocked state, it also includes: generating an unlock password input reminder; receiving a response result of the unlock password input reminder, and judging whether the storage box corresponding to the customized switch rule meets the preset unlock condition based on the response result; if the storage box corresponding to the customized switch rule meets the preset unlock condition, controlling the storage box corresponding to the customized switch rule to enter an unlocked state, otherwise, prohibiting the user from opening the storage box corresponding to the customized switch rule.
[0051] In some embodiments, after the storage box corresponding to the customized switch rule is controlled to enter the unlocking state, the embodiment of the present application can generate an unlocking password input reminder to remind the user to enter the password, and judge whether the password is correct based on the password entered by the user. If the password is correct, the storage box can be unlocked. If it is incorrect, the user is prohibited from trying to unlock it again.
[0052] In other embodiments, after controlling the storage box corresponding to the customized switch rule to enter the unlocked state, the embodiment of the present application can determine whether the user's identity is a user allowed to open the box in the customized rule, and unlock the storage box if it is allowed to open. Otherwise, the storage box is locked and the user is prohibited from attempting to open it.
[0053] Optionally, in one embodiment of the present application, before controlling each storage box to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, it also includes: receiving a user's rule customization request; determining the user's target storage box based on the rule customization request; judging whether a customized switch rule already exists for the target storage box; if no customized switch rule exists for the target storage box, generating a customized switch rule for the target storage box based on the user's identity and password, otherwise, generating a storage box reset reminder, and judging whether the user meets the preset reset conditions based on the response result of the storage box reset reminder, and resetting the customized switch rules if the user meets the preset reset conditions.
[0054] In the actual implementation process, the embodiment of the present application can customize the switch rules and reset the switch rules. When customizing the rules, the embodiment of the present application can determine the storage box that the user wants to customize according to the user's rule customization request, and use the user's identity and / or the box opening password to generate the customized switch rules of the target storage box.
[0055] When resetting the rules, the embodiment of the present application can issue a locker reset reminder, requesting the user to enter a reset password or identity verification information, and then determine whether the user can reset the locker rules based on whether the reset password or identity verification information is correct.
[0056] Among them, in order to ensure the security of rule customization and rule resetting, the embodiment of the present application can also additionally set steps such as mobile phone verification to allow users to perform related operations after multiple verifications are passed.
[0057] Combination Figures 2 to 5 As shown, the working principle of the safety control method for the in-vehicle storage box of the embodiment of the present application is described in detail with an embodiment.
[0058] In the actual implementation process, the embodiment of the present application can combine the three dimensions of cabin memory, multiple accounts and storage box password lock to form a set of different users who can have their own exclusive storage boxes. It can also be set that when the car door is opened and the user enters the car and sits down, face recognition is performed without feeling. After the recognition is passed, the user logs in automatically. The storage box decides whether to open according to the stored memory, which is convenient for users to take items commonly used when driving, such as sunglasses, gloves, etc. After getting off the car and closing the door, the storage box has an automatic locking function, which protects the user's privacy and security while also bringing convenience to the user.
[0059] Among them, the storage box needs to have a built-in memory chip to store the information set by the user. When the information of different users needs to be retrieved, the storage box will restore the access information set by the user to the storage box, realizing intelligent management.
[0060] The embodiment of the present application can use a camera to perform facial recognition in the main driving area to provide a humanized intelligent experience. The facial recognition function is triggered after the vehicle door is opened. After the driver enters the car and takes a seat, facial recognition is performed without feeling. After the recognition is passed, the account bound to the facial information is automatically logged in.
[0061] After successfully logging in, user A can enter the storage box customization setting page through the vehicle center APP (not limited to entering through the vehicle center). After entering this page, the user can set whether the main driver's storage box, the co-driver's storage box, and the storage box are automatically opened. If it is set to open automatically, after the user successfully logs in, the automatic storage box is set to automatically open, making the user's car use more convenient and more intelligent in human-machine integration.
[0062] After successfully logging in, user A can enter the locker customization page through the vehicle center APP (not limited to the vehicle center). The user can also set a password for one of the lockers. This locker becomes the exclusive locker of the currently logged in user. If other users need to open this locker, they must ask for the current user's password, and the privacy of the currently logged in user is better protected.
[0063] After successfully logging in, user A enters the storage box customization settings page through the vehicle center APP (not limited to entering through the vehicle center). The user can reset the password of a certain storage box. Enter the reset page, enter the mobile phone number to send a verification code, and enter the correct verification code to complete the password reset for a certain storage box.
[0064] If the user is not logged in, the user cannot open the locker with a password set. If a friend borrows the car or a designated driver drives it, the locker cannot be opened, and important items are protected.
[0065] Specifically, the embodiment of the present application can make the storage box function more intelligent and humane by installing an ECU electronic component that can control the opening and closing of the storage box in the car, and controlling the opening and closing strategy of the storage box through human-computer interaction software, while better protecting the user's privacy.
[0066] Among them, the architecture involved in the embodiments of the present application can be as follows Figure 2 shown.
[0067] Among them, the storage box needs to have a built-in memory chip to store user-set information, and the central control and storage box interact through CAN communication.
[0068] Operating system: The instrument panel has the DMS (Driver Monitoring System) recognition service capability. After the vehicle is powered on, it can quickly recognize faces (face information can be entered in the personal center) and provide account information to the MCU (Microcontroller Unit).
[0069] Operation terminal: The central control personal center APP manages account information and synchronizes account list and account status to MCU. The vehicle setting APP sets the customized rules for each storage box switch and the storage box password. Among them, the operation terminal can be the vehicle operation terminal or the user's remote operation terminal, such as a mobile phone.
[0070] MCU: Maintains the mapping relationship between account and UserId, and sends the storage box CAN signal. The signal is received by the storage box ECU (Electronic Control Unit) through the CAN bus.
[0071] CAN bus: defines a broadcast-based serial communication protocol used to connect various devices in a distributed system to achieve data exchange and control between them.
[0072] Storage box ECU: Storage box electronic control unit, memorizes UserId switch status and UserId password information.
[0073] After successfully logging in, user A enters the storage box customization setting page through an operating terminal, such as the vehicle setting center APP (not limited to entering through the vehicle center). After entering this page, the user can set whether the storage box is automatically opened when powered on.
[0074] The implementation strategy is as follows:
[0075] Assume that IHU has 5 accounts (4 accounts for car owners and other registered persons, and one account for visitors, with ID5 as the default visitor ID)
[0076] Assume that the three groups of signals involved in controlling the automatic opening of the locker after the user logs in are as follows:
[0077] Storage box in front of the driver's seat (later marked with POS1): Input signal: StoreReq_PFeedback Output signal: IHU_PstoreReq;
[0078] Co-pilot front storage box (later marked with POS2): Input signal: StoreReq_DFeedback Output signal: IHU_DStoreReq;
[0079] Storage box between the front seats (later marked with POS3): Input signal: StoreReq_AFeedback Output signal: IHU_AStoreReq;
[0080] If the locker has been set with a password by another user as a personal private locker, the automatic opening function cannot be enabled.
[0081] Input signal and output signal values: Take POS1 as an example, as shown in Table 1, where Table 1 is a signal value-account-function comparison table.
[0082] Table 1
[0083]
[0084] The process of automatically opening the storage box when it is powered on can be as follows Figure 3 shown.
[0085] After successfully logging in, user A can enter the locker customization page through the vehicle center APP (not limited to the vehicle center). The user can also set a password for one of the lockers. This locker becomes the exclusive locker of the currently logged in user. The specific setting strategy is as follows:
[0086] like Figure 4 As shown, if a locker has been password-protected by user B, the password modification process needs to be followed, and the original password set by user B and the new password of the currently logged-in user need to be entered. If the original password of user B is incorrect, the current user cannot set a password for this locker, but different users can.
[0087] After successfully logging in, user A can enter the locker customization settings page through the vehicle center APP (not limited to entering through the vehicle center), and the user can reset the password of a locker. Figure 5 As shown, the reset strategy is as follows:
[0088] If resetting the locker password requires sending a verification code to the mobile phone of the user who set the password, the reset can be completed by entering the correct verification code. If the password is set by user B, user A needs to ask user B for the verification code to complete the reset. Only one password can be set for each locker.
[0089] According to the security control method for the storage box in the vehicle proposed in the embodiment of the present application, the user's storage box control authority can be determined according to the user's identity identification, so as to control each storage box to enter the unlocked state or the unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, that is, corresponding processing is performed for the different switch rules of each storage box, and there is no need for authorized users to unlock them one by one, thereby ensuring the convenience of operation and the safety of the storage box. Therefore, the technical problem in the related art that it is difficult to simultaneously meet the user's requirements for the convenience and safety of the storage box is solved.
[0090] Next, the safety control device for the in-vehicle storage box proposed in accordance with the embodiment of the present application will be described with reference to the accompanying drawings.
[0091] Figure 6 It is a block diagram of a safety control device for an in-vehicle storage box according to an embodiment of the present application.
[0092] like Figure 6 As shown, the safety control device 10 for the in-vehicle storage box includes: an acquisition module 100 , a determination module 200 and a control module 300 .
[0093] Specifically, the acquisition module 100 is used to acquire the identity of the user.
[0094] The determination module 200 is used to determine the user's storage box control authority based on the identity identifier.
[0095] The control module 300 is used to control each storage box to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rule of each storage box of the vehicle.
[0096] Optionally, in one embodiment of the present application, the control module 300 includes: a first judgment unit and a first control unit.
[0097] The first judgment unit is used to judge whether the switch rule of each storage box includes the customized switch rule when the storage box control authority is the authority to allow unlocking the storage box.
[0098] The first control unit is used to control the storage box corresponding to the customized switching rule to enter the to-be-unlocked state when the switching rule includes the customized switching rule, and control the storage box not including the customized switching rule to enter the unlocked state.
[0099] Optionally, in one embodiment of the present application, the control module 300 further includes: a reminder unit, a second judgment unit and a second control unit.
[0100] Among them, the reminder unit is used to generate an unlock password input reminder.
[0101] The second judgment unit is used to receive a response result of the unlock password input reminder, and judge whether the storage box corresponding to the customized switch rule meets the preset unlocking condition based on the response result.
[0102] The second control unit is used to control the storage box corresponding to the customized switch rule to enter an unlocked state when the storage box corresponding to the customized switch rule meets a preset unlocking condition, otherwise, the user is prohibited from opening the storage box corresponding to the customized switch rule.
[0103] Optionally, in one embodiment of the present application, the control module 300 further includes: a receiving unit, a first determining unit, a third judging unit and a generating unit.
[0104] The receiving unit is used to receive a rule customization request from a user.
[0105] The first determining unit is configured to determine a target storage box of a user based on a rule customization request.
[0106] The third judgment unit is used to judge whether a customized opening and closing rule already exists in the target storage box.
[0107] A generating unit is used to generate a customized switch rule for a target storage box based on an identity identifier and a password of a user if no customized switch rule exists for the target storage box; otherwise, generate a storage box reset reminder, and judge whether the user meets a preset reset condition based on a response result of the storage box reset reminder; and reset the customized switch rule if the user meets the preset reset condition.
[0108] Optionally, in one embodiment of the present application, the acquisition module 100 includes: an acquisition unit, a second determination unit and a matching unit.
[0109] The acquisition unit is used to acquire the image data of the user.
[0110] The second determining unit is used to determine the facial features of the user based on the image data.
[0111] The matching unit is used to match the corresponding identity in the preset feature database with the facial features as the index, and determine that the user's identity is a visitor's identity when the identity matching the facial features does not exist in the preset feature database. It should be noted that the above explanation of the embodiment of the safety control method for the in-vehicle storage box is also applicable to the safety control device for the in-vehicle storage box of this embodiment, which will not be repeated here.
[0112] According to the safety control device for the storage box in the vehicle proposed in the embodiment of the present application, the user's storage box control authority can be determined according to the user's identity identification, so as to control each storage box to enter the unlocked state or the unlocked state based on the storage box control authority and the corresponding switch rules of each storage box of the vehicle, that is, corresponding processing is performed according to the different switch rules of each storage box, and there is no need for authorized users to unlock them one by one, thereby ensuring the convenience of operation and the safety of the storage box. Therefore, the technical problem in the related art that it is difficult to simultaneously meet the user's requirements for the convenience and safety of the storage box is solved.
[0113] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0114] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .
[0115] When the processor 702 executes the program, the safety control method for the in-vehicle storage box provided in the above embodiment is implemented.
[0116] Furthermore, the vehicle also includes:
[0117] The communication interface 703 is used for communication between the memory 701 and the processor 702 .
[0118] The memory 701 is used to store computer programs that can be executed on the processor 702 .
[0119] The memory 701 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0120] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0121] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.
[0122] The processor 702 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0123] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned method for controlling the safety of the in-vehicle storage box is implemented.
[0124] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the safety control method for the in-vehicle storage box provided by an embodiment of the present invention.
[0125] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0126] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0127] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0128] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.
[0129] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0130] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0131] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0132] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A safety control method for a storage box in a vehicle, characterized in that: The following steps are involved: Get the user's identity; Determining the locker control authority of the user based on the identity identifier; Based on the storage box control authority and the corresponding switch rule of each storage box of the vehicle, each storage box is controlled to enter an unlocked state or a to-be-unlocked state.
2. The method according to claim 1, characterized in that The controlling each storage box to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rule of each storage box of the vehicle comprises: In the case where the storage box control authority is an authority to allow unlocking the storage box, determining one by one whether the switch rule of each storage box includes a customized switch rule; If the switch rule includes the customized switch rule, the storage box corresponding to the customized switch rule is controlled to enter the to-be-unlocked state, and the storage box not including the customized switch rule is controlled to enter the unlocked state.
3. The method according to claim 2, characterized in that After controlling the storage box corresponding to the customized switch rule to enter the to-be-unlocked state, the method further includes: Generate unlock password input reminder; receiving a response result of the unlock password input reminder, and judging whether the storage box corresponding to the customized switch rule meets a preset unlocking condition based on the response result; If the storage box corresponding to the customized switch rule meets the preset unlocking condition, the storage box corresponding to the customized switch rule is controlled to enter the unlocking state; otherwise, the user is prohibited from opening the storage box corresponding to the customized switch rule.
4. The method according to claim 3, characterized in that Before controlling each storage box to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rule of each storage box of the vehicle, the method further includes: receiving a rule customization request from the user; determining a target storage box of the user based on the rule customization request; Determining whether the target storage box already has the customized switch rule; If the customized switch rule does not exist in the target storage box, the customized switch rule of the target storage box is generated based on the identity identifier and password of the user, otherwise, a storage box reset reminder is generated, and based on the response result of the storage box reset reminder, it is determined whether the user meets the preset reset condition, and the customized switch rule is reset if the user meets the preset reset condition.
5. The method according to claim 1, characterized in that The obtaining of the user's identity includes: Acquiring image data of the user; determining facial features of the user based on the image data; The facial feature is used as an index to match the corresponding identity in a preset feature database, and if the identity matching the facial feature does not exist in the preset feature database, the identity of the user is determined to be a visitor identity.
6. A safety control device for a storage box in a vehicle, characterized in that: include: An acquisition module is used to obtain the user's identity; A determination module, configured to determine the user's locker control authority based on the identity identifier; The control module is used to control each storage box to enter an unlocked state or a to-be-unlocked state based on the storage box control authority and the corresponding switch rule of each storage box of the vehicle.
7. The device according to claim 6, characterized in that The control module comprises: A first judging unit is configured to judge, one by one, whether the switch rules of each storage box include a customized switch rule when the storage box control authority is the authority to allow unlocking the storage box; The first control unit is used to control the storage box corresponding to the customized switching rule to enter the to-be-unlocked state when the customized switching rule is included in the switching rule, and control the storage box not including the customized switching rule to enter the unlocked state.
8. The device according to claim 7, characterized in that The control module also includes: A reminder unit, used to generate a reminder for inputting an unlock password; A second judgment unit, configured to receive a response result of the unlock password input reminder, and judge whether the storage box corresponding to the customized switch rule meets a preset unlocking condition based on the response result; The second control unit is used to control the storage box corresponding to the customized switch rule to enter the unlocked state when the storage box corresponding to the customized switch rule meets the preset unlocking condition, otherwise, prohibit the user from opening the storage box corresponding to the customized switch rule.
9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the safety control method for the in-vehicle storage box as described in any one of claims 1 to 5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the safety control method for the in-vehicle storage box as described in any one of claims 1-5.