Passenger detection method and device, electronic equipment and storage medium
By collecting and analyzing the parameter values during the massage cycle in the seat's pressure sensor, the problem of difficulty in determining the occupants when the massage function is turned on is solved, and accurate occupant detection is achieved, avoiding energy waste and improving user experience.
Patent Information
- Application Number
- CN202411280573.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-09-12
AI Technical Summary
When the seat massage function is turned on, it is difficult to accurately determine whether there are occupants on the seat, resulting in waste of energy and reduced user experience.
The target parameter values within the target duration are collected by the pressure sensor of the massage seat, and determine whether there are occupants according to the parameter rules during the massage cycle to achieve accurate occupant detection.
Effectively avoid the energy waste of massage function without occupants, improve the user experience, and ensure that the massage function continues to provide services when there are occupants.
Smart Images

Figure CN119160044A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic information technology, and more specifically, to an occupant detection method, device, electronic device, and computer-readable storage medium. Background Art
[0002] Currently, in addition to being able to accommodate users, seats can also provide other auxiliary functions for the users, such as massage and music playing, etc. However, when the massage function of the seat is turned on, it is difficult to determine whether there is an occupant in the seat. Summary of the Invention
[0003] The present application proposes an occupant detection method, device, electronic device and computer-readable storage medium to accurately determine whether there is an occupant on a seat when the massage function of the seat is turned on.
[0004] In a first aspect, an embodiment of the present application provides an occupant detection method, the method comprising:
[0005] When the massage function of the massage seat is turned on, a target parameter value collected by a pressure sensor of the massage seat within a target duration is obtained; the massage cycle of the massage seat is not greater than the target duration; the target parameter value is used to indicate the pressure borne by the pressure sensor within the target duration;
[0006] A first occupant detection result of the massage seat is determined according to the target parameter value and the parameter rule of the massage function in the massage cycle. The first occupant detection result is that there is an occupant in the massage seat or there is no occupant in the massage seat.
[0007] In a second aspect, an embodiment of the present application further provides an occupant detection device, the device comprising:
[0008] an acquisition module, configured to acquire a target parameter value collected by a pressure sensor of the massage seat within a target duration when a massage function of the massage seat is turned on; the massage cycle of the massage seat is not greater than the target duration; and the target parameter value is used to indicate the pressure borne by the pressure sensor within the target duration;
[0009] The determination module is used to determine a first occupant detection result of the massage seat according to the target parameter value and the parameter law of the massage function in the massage cycle, the first occupant detection result being whether there is an occupant in the massage seat or not.
[0010] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a massage seat; a massage seat having a pressure sensor; one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by one or more processors, and the one or more programs are configured to execute the above method.
[0011] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.
[0012] The present application provides an occupant detection method, device, electronic device and computer-readable storage medium. In the present application, the target parameter value collected by the pressure sensor of the massage seat within the target time is obtained, and the massage cycle of the massage seat is not greater than the target time, so that the target parameter value collected within the target time at least includes the parameter value of the pressure sensor within a complete massage cycle. Therefore, the target parameter value at least indicates the pressure borne by the pressure sensor within a massage cycle. When there is no occupant on the massage seat, the pressure borne by the pressure sensor within a massage cycle is regular, so that the parameter value detected by the pressure sensor also conforms to the parameter law. Therefore, based on whether the target parameter value conforms to the parameter law, it can be accurately determined whether the pressure borne by the pressure sensor within a massage cycle is regular. Then, based on whether the pressure borne by the pressure sensor within a massage cycle is regular, it is determined whether there is an occupant in the massage seat, thereby achieving the purpose of accurately detecting whether there is an occupant in the massage seat based on the target parameter value and the parameter law of the massage function within the massage cycle.
[0013] Other features and advantages of the embodiments of the present application will be described in the following description and, in part, will become apparent from the description or be understood by practicing the embodiments of the present application. The objectives and other advantages of the embodiments of the present application can be achieved and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 A flow chart of an occupant detection method proposed according to an embodiment of the present application is shown.
[0016] Figure 2 A schematic diagram showing the operation process of a massage component in an embodiment of the present application is shown.
[0017] Figure 3 A structural schematic diagram of a massage chair in an embodiment of the present application is shown.
[0018] Figure 4 A schematic diagram of a vehicle structure in an embodiment of the present application is shown.
[0019] Figure 5 A schematic diagram of a massage function control process in an embodiment of the present application is shown.
[0020] Figure 6 A structural block diagram of an occupant detection device proposed in one embodiment of the present application is shown.
[0021] Figure 7 A structural block diagram of an electronic device provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for which protection is claimed, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the scope of protection of the present application.
[0023] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.
[0024] See also Figure 1 , Figure 1 A flowchart of an occupant detection method proposed according to one embodiment of the present application is shown, which is used in an electronic device. The method includes:
[0025] S110 : When the massage function of the massage seat is turned on, obtain a target parameter value collected by a pressure sensor of the massage seat within a target duration.
[0026] Among them, the massage cycle of the massage seat shall not exceed the target duration.
[0027] The electronic device in this embodiment can be a vehicle with a massage seat or a massage seat with a massage function. When the electronic device is a vehicle, the massage seat can refer to a seat of the vehicle, which can be the seat of the main driver's seat of the vehicle or the seats of all seats in the vehicle.
[0028] The massage seat includes a massage component. When the massage function of the massage seat is activated, the massage seat controls the operation of the massage component to achieve the massage function. When the massage function is activated, the massage seat controls the massage component to periodically output massage movements. For example, if the massage seat includes an inflatable massage component, the massage seat controls the massage component to perform three actions during each massage cycle: inflate, hold, and release. The massage cycle of the massage seat can be set based on demand, such as 30 seconds or 1 minute.
[0029] In the case where the massage component of the massage seat is an inflatable massage component, the operation process of the massage component is as follows: Figure 2 As shown, each massage cycle is divided into three time periods. For example, the first massage cycle is divided into three time periods: t1, t2 and t3. At t1, the massage component performs an inflation operation, at t2, the massage component performs a holding operation, and at t3, the massage component performs a deflation operation. This is the case for each subsequent massage cycle.
[0030] The massage seat also has a pressure sensor for collecting the pressure acting on the massage seat, wherein the pressure sensor can be, for example, a resistive pressure sensor, a capacitive pressure sensor, and a voltage pressure sensor; the resistive pressure sensor changes its resistance according to the pressure it is subjected to, thereby outputting a pressure value according to the changed resistance value, the capacitive pressure sensor changes its capacitance according to the pressure it is subjected to, thereby outputting a pressure value according to the changed capacitance, and the voltage pressure sensor changes its voltage according to the pressure it is subjected to, thereby outputting a pressure value according to the changed voltage.
[0031] The value output by the pressure sensor is used as the parameter value, which is used to indicate the pressure the pressure sensor is experiencing. Therefore, the target parameter value is used to indicate the pressure the pressure sensor is experiencing for a target duration. When the massage function of the massage chair is turned on, the parameter value of the pressure sensor for the target duration is directly collected as the target parameter value.
[0032] The parameter value output by the pressure sensor can be the pressure value detected by the pressure sensor, or other values related to the pressure; for example, a capacitive pressure sensor outputs a capacitance value, and the pressure value can be determined by the correspondence between the capacitance value and the pressure value. For another example, a resistive pressure sensor outputs a resistance value, and the pressure value can be determined by the correspondence between the resistance value and the pressure value. For another example, a voltage pressure sensor outputs a voltage value, and the pressure value can be determined by the correspondence between the voltage value and the pressure value.
[0033] The structure of the massage seat is as follows Figure 3 As shown, the massage chair 20 includes a massage component 201 and a pressure sensor 202 . The massage component 201 periodically outputs massage movements to achieve a massage function, and the pressure is detected by the pressure sensor 201 .
[0034] When the massage function of the massage seat is turned on, the massage seat controls the massage component to output massage movements, and the movement of the massage component will also generate pressure on the pressure sensor, so that the pressure on the massage seat detected by the pressure sensor is no longer generated by the occupant sitting on the massage seat, but also includes the pressure caused by the massage component on the pressure sensor. Therefore, even if no one is sitting on the massage seat, the pressure sensor detects that the massage seat is under pressure, which makes it difficult to accurately determine whether there is an occupant on the massage seat based on the pressure detected by the pressure sensor.
[0035] Since the massage cycle of the massage chair is not greater than the target duration, the target parameter value includes at least the parameter value detected by the pressure sensor within at least one complete massage cycle. In other words, the target parameter value detected within the target duration reflects the change in the pressure value detected by the pressure sensor within at least one complete massage cycle.
[0036] S120: Determine a first occupant detection result of the massage seat according to the target parameter value and the parameter regularity of the massage function within the massage cycle.
[0037] The first occupant detection result is that there is an occupant in the massage seat or there is no occupant in the massage seat.
[0038] Since the massage action output by the massage component controlled by the massage seat is a periodic action, when there is no occupant in the massage seat, the pressure applied to the pressure sensor by the action of the massage component in one massage cycle is regular, and in different massage cycles, the pressure applied to the pressure sensor by the action of the massage component also conforms to this rule, so that when there is no occupant in the massage seat, the parameter value detected by the pressure sensor is also regular - the parameter value detected by the pressure sensor conforms to the parameter rule, so that when the massage function of the massage seat is turned on, it can be determined whether the parameter value of the pressure sensor conforms to the parameter rule based on the parameter value of the pressure sensor in one massage cycle. If it conforms to the parameter rule, it is determined that there is no occupant, and if it does not conform to the parameter rule, there is an occupant.
[0039] However, the target duration is not less than the massage cycle of the massage seat, and the target parameter value corresponding to the target duration at least includes the parameter value of the pressure sensor within a complete massage cycle. Therefore, the occupant detection result of the massage seat can be determined based on the target parameter value corresponding to the target duration and the parameter law of the massage function within the massage cycle.
[0040] Among them, the parameter law can refer to the change law of the parameter value or the parameter range of the parameter value. For example, if the parameter value is the pressure value, the parameter law can be the pressure value interval or the change of the pressure value within a massage cycle. For example, if the parameter value is the resistance value, the parameter law can be the resistance value interval or the change of the resistance value within a massage cycle. For example, if the parameter value is the voltage value, the parameter law can be the voltage value interval or the change of the voltage value within a massage cycle.
[0041] In some embodiments, the parameter rule includes a preset parameter range, the target parameter value includes the parameter value of each acquisition time point within the target time length, and the parameter value of the acquisition time point is used to indicate the pressure borne by the pressure sensor at the acquisition time point; accordingly, S120 includes: if there is at least one acquisition time point whose parameter value does not meet the preset parameter range, determining that the first occupant detection result is that there is an occupant in the massage seat; if the parameter values of each acquisition time point all meet the preset parameter range, determining that the first occupant detection result is that there is an occupant in the massage seat.
[0042] The preset parameter range is used to indicate the range of parameter values of the pressure sensor when the massage seat is not occupied. The preset parameter range can be determined based on the type of pressure sensor. For example, the preset parameter range of a resistive pressure sensor is different from the preset parameter range of a voltage pressure sensor.
[0043] The acquisition time point may be set based on demand, for example, the value output by the pressure sensor may be acquired every 0.1 s as the parameter value at the acquisition time point.
[0044] There is at least one acquisition time point where the parameter value meets the preset parameter range, which means that the value of at least one acquisition time point in a massage cycle of the massage seat exceeds the preset parameter range. In addition to the pressure of the massage component, the pressure sensor of the massage seat is also subjected to other pressures. At this time, it can be determined that there is an occupant in the massage seat.
[0045] If the parameter values at each collection time point all meet the preset parameter range, it means that the values of the massage seat at each collection time point within a massage cycle do not exceed the preset parameter range, and the pressure sensor of the massage seat is not subjected to any other pressure except the pressure of the massage component. At this time, it can be determined that there is no occupant in the massage seat.
[0046] Exemplarily, the pressure sensor is a resistive pressure sensor, and the preset parameter range is that the resistance value is greater than MΩ. When the massage function of the massage seat is turned on, the pressure sensor signal is detected according to the seat massage cycle time T, and the resistance value within the target duration T0 of the detection cycle is determined to be not less than (including the resistance value at each acquisition time point within the target duration); if it is determined that the resistance values within the target duration are all greater than MΩ, the occupant detection result is determined to be that there is no occupant in the massage seat; if it is determined that the resistance value at at least one acquisition time point is not greater than MΩ, the occupant detection result is determined to be that there is an occupant in the massage seat.
[0047] In this embodiment, the target parameter value collected by the pressure sensor of the massage seat within the target time is obtained, and the massage cycle of the massage seat is not greater than the target time, so that the target parameter value collected within the target time at least includes the parameter value of the pressure sensor within a complete massage cycle. Therefore, the target parameter value at least indicates the pressure borne by the pressure sensor within a massage cycle. When there is no occupant on the massage seat, the pressure borne by the pressure sensor within a massage cycle is regular, so that the parameter value detected by the pressure sensor also conforms to the parameter law. Therefore, according to whether the target parameter value conforms to the parameter law, it can be accurately determined whether the pressure borne by the pressure sensor within a massage cycle is regular, and then according to whether the pressure borne by the pressure sensor within a massage cycle is regular, it is determined whether there is an occupant in the massage seat, thereby achieving the purpose of accurately detecting whether there is an occupant in the massage seat according to the target parameter value and the parameter law of the massage function within the massage cycle.
[0048] In one embodiment, after S120, the method further includes: if the first occupant detection result is that there is no occupant in the massage seat, turning off the massage function of the massage seat; correspondingly, if the first occupant detection result is that there is an occupant in the massage seat, maintaining the massage function of the massage seat. If the first occupant detection result is that there is an occupant in the massage seat, maintaining the massage function of the massage seat.
[0049] When the first occupant detection result is that there is no occupant in the massage seat, it means that the user is not on the massage seat and the massage function of the massage seat has no effect on the object. At this time, the massage function of the massage seat is turned off to save energy consumption of the massage seat, avoid energy waste, and improve energy utilization.
[0050] When the first occupant detection result is that there is an occupant in the massage seat, it means that the user is still on the massage seat, and the massage function of the massage seat can continue to act on the user. At this time, the massage function of the massage seat is maintained to provide massage services to the user and improve the user experience.
[0051] In one embodiment, after S120, the method further includes: if the first occupant detection result indicates that the massage seat does not have an occupant, outputting a prompt message indicating that the massage seat does not have an occupant, so as to prompt the user to promptly turn off the massage function of the massage seat or to promptly return to the massage seat to continue enjoying the massage service.
[0052] Of course, if the first occupant detection result is that there is no occupant in the massage seat, the massage function of the massage seat can be turned off and a prompt message indicating that there is no occupant in the massage seat can be output to prompt the user to turn off the massage function.
[0053] In one embodiment, the method further includes: when the massage function of the massage seat is not activated, in response to a command to activate the massage function, obtaining a parameter value detected by a pressure sensor as a static parameter value; determining a second occupant detection result of the massage seat based on a comparison result between the static parameter value and a preset static parameter threshold; the second occupant detection result being either the presence of an occupant in the massage seat or the absence of an occupant in the massage seat; and controlling the massage function based on the second occupant detection result. The preset static parameter threshold may be the parameter value of the pressure sensor when the massage seat has the massage function deactivated and is not carrying a heavy object.
[0054] The determination of receiving the activation instruction of the massage function of the massage seat may be in response to an activation operation of a massage switch in the massage seat, or the activation instruction of the massage function of the massage seat may be sent to the massage seat by other equipment.
[0055] When the start command is received, the parameter value detected by the pressure sensor of the massage seat is obtained as the static parameter value. If the static parameter value is greater than the preset static parameter threshold, the second occupant detection result of the massage seat is determined to be that there is an occupant in the massage seat. If the static parameter value is not greater than the preset static parameter threshold, the second occupant detection result of the massage seat is determined to be that there is no occupant in the massage seat.
[0056] When there is an occupant in the massage seat, the massage function of the massage seat can be turned on; when there is no occupant in the massage seat, the massage function can be disabled to avoid turning on the massage function when there is no occupant in the massage seat, which leads to energy waste.
[0057] In one embodiment, the occupant detection method can be used in a vehicle, and the massage seat is a seat of the vehicle; before S110, the method also includes: when the vehicle is powered on, detecting whether the vehicle is in a powered-on state; if the vehicle is in a powered-on state, detecting whether the massage function of the massage seat is turned on.
[0058] That is, the occupant detection method process is only required when the vehicle is powered on. When the vehicle is not powered on, the vehicle cannot power the massage seat, and the massage seat cannot turn on the massage function, so there is no need to perform the occupant detection method process.
[0059] Vehicle structure Figure 4 As shown, a vehicle may include a pressure sensor, an occupant detection module, a seat massage module, and a seat switch module.
[0060] The seat switch module is used to turn on or off the massage function, the pressure sensor is used to output a parameter value to indicate the detected pressure, and the occupant detection module is used to determine the occupant detection result (including the first occupant detection result and the second occupant detection result in the aforementioned embodiment) based on the parameter value output by the pressure sensor: whether there is an occupant, and the seat massage module is used to control the massage function to be turned on or off according to the occupant detection result.
[0061] In addition, the occupant detection module can also be used to determine the occupant detection result in different ways according to the different states of the massage function (on or off).
[0062] Vehicles follow the Figure 5 The massage function control flow shown is used to control the vehicle's massage seat.
[0063] First, a determination is made as to whether the vehicle is powered on. If not, the process ends immediately. If the vehicle is powered on, the process continues by determining whether the massage function is enabled. If the massage function is disabled, conventional testing is performed to obtain the second occupant detection result described in the aforementioned embodiment. If the massage function is enabled, target parameter values within a target duration are obtained, and then the first occupant detection result is determined based on the target parameter values obtained within the target duration.
[0064] Then, based on the occupant detection results (including the first occupant detection result and the second occupant detection result), it is determined whether there is an occupant in the massage seat. If so, the massage function is turned off; if there is an occupant, the massage function is maintained.
[0065] After that, the massage function is re-judged, and the cycle is repeated to realize the control of the massage function.
[0066] See attached Figure 6 , Figure 6 The following is a block diagram of an occupant detection device according to an embodiment of the present application. The device 800 is used in an electronic device and includes:
[0067] An acquisition module 810 is configured to acquire a target parameter value collected by a pressure sensor of the massage seat within a target duration when the massage function of the massage seat is enabled; the massage cycle of the massage seat is not greater than the target duration; and the target parameter value is used to indicate the pressure borne by the pressure sensor within the target duration.
[0068] The determination module 820 is used to determine a first occupant detection result of the massage seat according to the target parameter value and the parameter regularity of the massage function in the massage cycle, wherein the first occupant detection result is whether there is an occupant in the massage seat or no occupant in the massage seat.
[0069] Optionally, the parameter rule includes a preset parameter range, the target parameter value includes the parameter value of each acquisition time point within the target time length, and the parameter value of the acquisition time point is used to indicate the pressure that the pressure sensor is subjected to at the acquisition time point; the determination module 820 is also used to determine that the first occupant detection result is that there is an occupant in the massage seat if there is at least one acquisition time point whose parameter value does not meet the preset parameter range; if the parameter values of each acquisition time point all meet the preset parameter range, determine that the first occupant detection result is that there is an occupant in the massage seat.
[0070] Optionally, the determination module 820 is further configured to turn off the massage function of the massage seat if the first occupant detection result indicates that there is no occupant in the massage seat.
[0071] Optionally, the determination module 820 is further configured to output a prompt message indicating that there is no occupant in the massage seat if the first occupant detection result is that there is no occupant in the massage seat.
[0072] Optionally, the determination module 820 is further configured to maintain the massage function of the massage seat if the first occupant detection result indicates that there is an occupant in the massage seat.
[0073] Optionally, the device also includes a control module for obtaining a parameter value detected by the pressure sensor as a static parameter value in response to an instruction to turn on the massage function when the massage function of the massage seat is not turned on; determining a second occupant detection result of the massage seat based on a comparison result between the static parameter value and a preset static parameter threshold; the second occupant detection result is that there is an occupant in the massage seat or there is no occupant in the massage seat; and controlling the massage function according to the second occupant detection result.
[0074] Optionally, the device is used in a vehicle, and the massage seat is a seat of the vehicle; the acquisition module 810 is also used to detect whether the vehicle is in a powered-on state when the vehicle is powered on; if the vehicle is in a powered-on state, detect whether the massage function is turned on.
[0075] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0076] In addition, the functions in the various embodiments of the present application may be integrated into a single processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.
[0077] Please refer to Figure 7 , which shows a structural block diagram of an electronic device provided according to an embodiment of the present application. The electronic device 500 can be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, and a vehicle. The electronic device 500 in the present application may include one or more of the following components: a massage seat (not shown in the figure), a processor 510, a memory 520, and one or more applications. Among them, the massage seat has a pressure sensor, one or more applications can be stored in the memory 520 and configured to be executed by one or more processors 510, and one or more programs are configured to execute the method as described in the aforementioned method embodiment.
[0078] The processor 510 may include one or more processing cores. The processor 510 utilizes various interfaces and circuits to connect various components within the electronic device 500. It executes instructions, programs, code sets, or instruction sets stored in the memory 520, and accesses data stored in the memory 520 to perform various functions and process data within the electronic device 500. Optionally, the processor 510 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 510 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 510 and may be implemented separately via a communication chip.
[0079] The memory 520 may include a random access memory (RAM) or a read-only memory (ROM). The memory 520 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat history data) created by the electronic device 500 during use.
[0080] On the other hand, the present application also provides a computer-readable storage medium, which stores program code. The program code can be called by a processor to execute the method described in the above method embodiment.
[0081] The computer-readable storage medium can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a cluster of ROMs. Alternatively, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes that execute any of the method steps in the above-described method. These program codes can be read from or written into one or more computer program products. The program code can, for example, be compressed in an appropriate form.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A passenger detection method, characterized in that: The method comprises: When the massage function of the massage seat is turned on, a target parameter value collected by a pressure sensor of the massage seat within a target duration is obtained; the massage cycle of the massage seat is not greater than the target duration; the target parameter value is used to indicate the pressure borne by the pressure sensor within the target duration; A first occupant detection result of the massage seat is determined according to the target parameter value and a parameter rule of the massage function within a massage cycle, wherein the first occupant detection result is that an occupant exists in the massage seat or that an occupant does not exist in the massage seat.
2. The method according to claim 1, characterized in that The parameter rule includes a preset parameter range, the target parameter value includes the parameter value of each acquisition time point within the target duration, and the parameter value at the acquisition time point is used to indicate the pressure borne by the pressure sensor at the acquisition time point; The step of determining the first occupant detection result of the massage seat according to the target parameter value and the parameter rule of the massage function in the massage cycle includes: If there is at least one parameter value at a collection time point that does not satisfy the preset parameter range, determining that the first occupant detection result is that there is an occupant in the massage seat; If the parameter values at each of the acquisition time points satisfy the preset parameter range, it is determined that the first occupant detection result indicates that there is an occupant in the massage seat.
3. The method according to claim 1, characterized in that After determining the first occupant detection result of the massage seat according to the target parameter value and the parameter rule of the massage function in the massage cycle, the method further includes: If the first occupant detection result indicates that there is no occupant in the massage seat, the massage function of the massage seat is turned off.
4. The method according to claim 1, characterized in that: After determining the first occupant detection result of the massage seat according to the target parameter value and the parameter rule of the massage function in the massage cycle, the method further includes: If the first occupant detection result indicates that there is no occupant in the massage seat, a prompt message indicating that there is no occupant in the massage seat is output.
5. The method according to claim 1, characterized in that After determining the first occupant detection result of the massage seat according to the target parameter value and the parameter rule of the massage function in the massage cycle, the method further includes: If the first occupant detection result indicates that there is an occupant in the massage seat, the massage function of the massage seat is maintained.
6. The method according to claim 1, characterized in that The method further comprises: When the massage function of the massage seat is not turned on, in response to an instruction to turn on the massage function, obtaining a parameter value detected by the pressure sensor as a static parameter value; Based on the comparison result between the static parameter value and the preset static parameter threshold, determining a second occupant detection result of the massage seat; the second occupant detection result is that an occupant exists in the massage seat or that an occupant does not exist in the massage seat; The massage function is controlled according to the second occupant detection result.
7. The method according to claim 1, characterized in that For a vehicle, the massage seat is a seat of the vehicle; When the massage function of the massage seat is turned on, before obtaining the target parameter value collected by the pressure sensor of the massage seat within the target duration, the method further includes: When the vehicle is powered on, detecting whether the vehicle is in a powered-on state; If the vehicle is in a powered-on state, it is detected whether the massage function is turned on.
8. An occupant detection device, characterized in that: The device comprises: an acquisition module, for acquiring a target parameter value collected by a pressure sensor of the massage seat within a target duration when a massage function of the massage seat is turned on; a massage cycle of the massage seat is not greater than the target duration; and the target parameter value is used to indicate the pressure borne by the pressure sensor within the target duration; A determination module is used to determine a first occupant detection result of the massage seat according to the target parameter value and the parameter law of the massage function in a massage cycle, wherein the first occupant detection result is that there is an occupant in the massage seat or there is no occupant in the massage seat.
9. An electronic device, characterized in that: include: Massage seats; The massage seat has a pressure sensor; one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Massage chair intelligent control method
CN108922049A
Massage chair based on pressure detection
CN108938309A
Occupant detection system
JP2005241445A
Passenger detecting apparatus
US20030060957A1
