Disclosure of Invention
The invention aims to provide a danger alarm method and device based on an auxiliary vehicle and electronic equipment, so as to relieve the technical problem that personal safety and health safety are not guaranteed in the using process of a wheelchair device.
In a first aspect, an embodiment of the present application provides a method for warning a danger based on an auxiliary vehicle, which is applied to an auxiliary vehicle system, and the method includes:
acquiring an actual pressure value applied to a seat of the auxiliary vehicle through a pressure sensor arranged on the seat;
comparing the actual pressure value with a preset pressure value, and if the actual pressure value is greater than the preset pressure value, determining that the auxiliary vehicle is in a use state;
when the auxiliary vehicle is in a use state, heart rate data of a user on the seat are acquired through a heart rate detector arranged on the auxiliary vehicle;
if the heart rate data exceeds a preset heart rate range and the change amplitude of the actual pressure value is smaller than a first preset pressure change amplitude, determining that the user is in a health danger state, and sending out a health danger alarm signal;
if the heart rate data exceeds the preset heart rate range and the change amplitude of the actual pressure value is larger than a second preset pressure change amplitude, determining that the user is in a safe dangerous state and sending a safe dangerous alarm signal; the second preset pressure variation amplitude is larger than the first preset pressure variation amplitude.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where after the step of acquiring heart rate data of the user in the seat by a heart rate detector disposed on the auxiliary vehicle, the method further includes:
if the heart rate data is within the preset heart rate range and the change amplitude of the actual pressure value is between the first preset pressure change amplitude and the second preset pressure change amplitude, determining that the user is in a non-sleep state;
and when the user is in a non-sleep state, controlling the auxiliary vehicle to enter a normal mode.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where after the step of acquiring heart rate data of the user in the seat by a heart rate detector disposed on the auxiliary vehicle, the method further includes:
if the heart rate data is within the preset heart rate range and the change amplitude of the actual pressure value is smaller than the first preset pressure change amplitude, determining that the user is in a sleep state;
and when the user is in a sleep state, controlling the auxiliary vehicle to enter a sleep mode.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where after the step of determining that the user is in a sleep state, the method further includes:
detecting the actual position of the auxiliary vehicle through a positioning device when the auxiliary vehicle enters a sleep mode;
and if the actual position is within the preset moving range, controlling the auxiliary vehicle to stop all movements.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where after the step of detecting, by a positioning device, an actual position of the auxiliary vehicle, the method further includes:
and if the actual position is outside the preset moving range, controlling the auxiliary vehicle to prompt in a mode of emitting vibration and/or sound.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein a buffering device is disposed in the seat; the method further comprises the following steps:
judging whether the seat is in a sitting state or not through a plurality of pressure sensors arranged at different positions on the seat;
if so, controlling the buffer device to incline towards the rear of the seat so as to facilitate the execution process of the sitting state;
the damping device comprises any one or more of a hydraulic pressure, an air bag and a memory pad.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes:
judging whether the seat is in a sitting-up state or not through a plurality of pressure sensors arranged at different positions on the seat;
if so, the buffer device is controlled to incline towards the front of the seat, so as to facilitate the execution process of the sitting state.
In a second aspect, an embodiment of the present invention provides a danger alarm device based on an auxiliary vehicle, which is applied to an auxiliary vehicle system, and the device includes:
the first acquisition module is used for acquiring an actual pressure value applied to a seat of the auxiliary vehicle through a pressure sensor arranged on the seat;
the determining module is used for comparing the actual pressure value with a preset pressure value, and if the actual pressure value is larger than the preset pressure value, determining that the auxiliary vehicle is in a use state;
the second acquisition module is used for acquiring heart rate data of a user on the seat through a heart rate detector arranged on the auxiliary vehicle when the auxiliary vehicle is in a use state;
the first alarm module is used for determining that the user is in a health danger state and sending out a health danger alarm signal if the heart rate data exceeds a preset heart rate range and the change amplitude of the actual pressure value is smaller than a first preset pressure change amplitude;
the second alarm module is used for determining that the user is in a safe and dangerous state and sending out a safe and dangerous alarm signal if the heart rate data exceeds the preset heart rate range and the change amplitude of the actual pressure value is larger than a second preset pressure change amplitude; the second preset pressure variation amplitude is larger than the first preset pressure variation amplitude.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing machine executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
the embodiment of the application provides a danger alarm method, a device and electronic equipment based on an auxiliary vehicle, which comprises the following steps: firstly, acquiring an actual pressure value borne by a seat of an auxiliary vehicle through a pressure sensor arranged on the seat of the auxiliary vehicle, then comparing the actual pressure value with a preset pressure value, determining that the auxiliary vehicle is in a use state if the actual pressure value is larger than the preset pressure value so as to acquire heart rate data of a user on the seat through a heart rate detector arranged on the auxiliary vehicle when the auxiliary vehicle is in the use state, determining that the user is in a health dangerous state and sending out a health dangerous alarm signal if the heart rate data exceeds a preset heart rate range and the variation amplitude of the actual pressure value is smaller than a first preset pressure variation amplitude, determining that the user is in a safety dangerous state and sending out a safety dangerous alarm signal if the heart rate data exceeds the preset heart rate range and the variation amplitude of the actual pressure value is larger than a second preset pressure variation amplitude, wherein the second preset pressure variation amplitude is larger than the first preset pressure variation amplitude, in this scheme, acquire user's rhythm of the heart data on the seat through the rhythm of the heart detector on the auxiliary vehicle, confirm whether rhythm of the heart data surpasss preset rhythm of the heart scope, can also acquire the actual pressure value through pressure sensor, and then can judge whether the user is in healthy dangerous state, safe dangerous state through the numerical value contrast, so that can in time send corresponding alarm signal, thereby provide many-sided safety guarantee to wheelchair device use, the personal safety to in the wheelchair device use has been alleviated, healthy safety does not have the technical problem of guarantee.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, the wheelchair device of auxiliary activity equipment of old people has fewer usable functions, and does not guarantee the personal safety and the health safety in the using process of the wheelchair device.
Based on this, the embodiment of the application provides a danger alarm method and device based on an auxiliary vehicle and electronic equipment, and the technical problem that personal safety and health safety are not guaranteed in the using process of a wheelchair device can be relieved through the method.
The first embodiment is as follows:
fig. 1 is a schematic structural diagram of a danger warning method based on an auxiliary vehicle according to an embodiment of the present application. The method may be used to assist a vehicle system. As shown in fig. 1, the method includes:
in step S110, an actual pressure value applied to the seat is obtained by a pressure sensor provided on the seat of the auxiliary vehicle.
And step S120, comparing the actual pressure value with a preset pressure value, and if the actual pressure value is greater than the preset pressure value, determining that the auxiliary vehicle is in a use state.
And S130, when the auxiliary vehicle is in a use state, acquiring heart rate data of a user on the seat through a heart rate detector arranged on the auxiliary vehicle.
Step S140, if the heart rate data exceeds the preset heart rate range and the variation amplitude of the actual pressure value is smaller than the first preset pressure variation amplitude, determining that the user is in a health dangerous state, and sending out a health dangerous alarm signal.
And S150, if the heart rate data exceeds the preset heart rate range and the change amplitude of the actual pressure value is larger than the second preset pressure change amplitude, determining that the user is in a safe dangerous state, and sending a safe dangerous alarm signal.
And the second preset pressure change amplitude is larger than the first preset pressure change amplitude.
Through setting up the pressure sensor on the seat of auxiliary vehicle, acquire the actual pressure value that the seat received and predetermine the pressure value and contrast, judge and confirm that the auxiliary vehicle is the user state, when the auxiliary vehicle is the user state, user's rhythm of the heart data on the seat is acquireed through the rhythm of the heart detector that sets up on the auxiliary vehicle, confirm whether rhythm of the heart data surpasss predetermined rhythm of the heart scope, and the variation of actual pressure value range and first predetermined pressure and the predetermined pressure of second, confirm the user state, and send out the alarm signal, it is less to have alleviated wheelchair device's service function, personal safety in the wheelchair device use, health safety does not have the technical problem of guarantee.
In some embodiments, after the step of S130, the method further includes the following steps:
step a), if the heart rate data is within a preset heart rate range and the variation amplitude of the actual pressure value is between a first preset pressure variation amplitude and a second preset pressure variation amplitude, determining that the user is in a non-sleep state;
and b), controlling the auxiliary vehicle to enter a conventional mode when the user is in a non-sleep state.
The heart rate data is acquired through the heart rate detector, the change amplitude of the actual pressure value is between the first preset pressure change amplitude and the second preset pressure change amplitude, the user is determined to be in a non-sleep state, and the auxiliary vehicle can be controlled to flexibly enter a conventional mode when the user is in the non-sleep state.
In some embodiments, after the step S130, the method further includes the following steps:
step c), if the heart rate data is within the preset heart rate range and the variation amplitude of the actual pressure value is smaller than the first preset pressure variation amplitude, determining that the user is in a sleep state;
and d), controlling the auxiliary vehicle to enter a sleep mode when the user is in the sleep state.
The heart rate data is acquired through the heart rate detector, the change amplitude of the actual pressure value is smaller than the first preset pressure change amplitude, the user is determined to be in a sleep state, and the user can flexibly enter the sleep mode when in the sleep state.
In some embodiments, after the step of determining that the user is in a sleep state, the method further comprises the steps of:
step e), when the auxiliary vehicle enters the sleep mode, detecting the actual position of the auxiliary vehicle through a positioning device;
and f), if the actual position is within the preset moving range, controlling the auxiliary vehicle to stop all movement.
The actual position of detecting the auxiliary vehicle through the positioning device is within the preset moving range, so that the auxiliary vehicle can be ensured to stop all movement when entering the sleep mode and being within the preset moving range, and the auxiliary vehicle is more flexible and changeable to use.
In some embodiments, after the step of detecting the actual position of the auxiliary vehicle by the positioning device, the method further comprises the steps of:
and g), if the actual position is out of the preset moving range, controlling the auxiliary vehicle to give out a prompt in a vibration and/or sound mode.
When the actual position of detecting the auxiliary vehicle through the positioning device is located outside the preset moving range, the auxiliary vehicle can be controlled to prompt by making a sound, so that the condition that the auxiliary vehicle is located outside the safe moving range can be timely found, and the personal safety of the auxiliary vehicle user can be guaranteed.
In some embodiments, as shown in fig. 2, a cushioning device is provided in the seat; the method also includes the steps of:
step h), judging whether the seat is in a sitting state or not through a plurality of pressure sensors arranged at different positions on the seat;
step i), if yes, controlling the buffer device to incline towards the back of the seat so as to facilitate the execution process of the sitting state;
it should be noted that the buffer device includes any one or more of a hydraulic pressure, an air bag, and a memory pad.
Whether the seat is in the sitting state or not is determined through the plurality of pressure sensors on the seat, and the buffer device can be slightly inclined backwards in the sitting state, so that the auxiliary vehicle user can sit down more conveniently and easily.
In some embodiments, as shown in fig. 2, the method further comprises the steps of:
step j), judging whether the seat is in a sitting state or not through a plurality of pressure sensors arranged at different positions on the seat;
and k), if so, controlling the buffer device to incline towards the front of the seat so as to facilitate the execution process of the sitting state.
By determining whether the seat is in a sitting state by means of a plurality of pressure sensors on the seat, it is possible to tilt the damping device slightly forward in the sitting state, thereby making it easier for the user of the auxiliary vehicle to perform an easy sitting process.
Example two:
fig. 3 is a schematic structural diagram of a danger warning device based on an auxiliary vehicle according to an embodiment of the present application. As shown in fig. 3, the auxiliary vehicle-based danger warning apparatus 300 includes:
a first obtainingmodule 301, configured to obtain, through a pressure sensor disposed on a seat of an auxiliary vehicle, an actual pressure value that the seat is subjected to;
the determiningmodule 302 is configured to compare the actual pressure value with a preset pressure value, and determine that the auxiliary vehicle is in a use state if the actual pressure value is greater than the preset pressure value;
the second obtainingmodule 303 is configured to obtain heart rate data of a user on the seat through a heart rate detector arranged on the auxiliary vehicle when the auxiliary vehicle is in a use state;
thefirst alarm module 304 is configured to determine that the user is in a health risk state and send a health risk alarm signal if the heart rate data exceeds a preset heart rate range and a variation amplitude of the actual pressure value is smaller than a first preset pressure variation amplitude;
asecond alarm module 305, configured to determine that the user is in a safe and dangerous state and send a safe and dangerous alarm signal if the heart rate data exceeds the preset heart rate range and the variation amplitude of the actual pressure value is greater than a second preset pressure variation amplitude; the second preset pressure variation amplitude is larger than the first preset pressure variation amplitude.
In some embodiments, the apparatus further comprises:
the first control module is used for determining that the user is in a non-sleep state if the heart rate data is within a preset heart rate range and the variation amplitude of the actual pressure value is between a first preset pressure variation amplitude and a second preset pressure variation amplitude; and when the user is in the non-sleep state, controlling the auxiliary vehicle to enter a normal mode.
In some embodiments, the first control module is further to:
if the heart rate data is within a preset heart rate range and the change amplitude of the actual pressure value is smaller than the first preset pressure change amplitude, determining that the user is in a sleep state; and when the user is in a sleep state, controlling the auxiliary vehicle to enter a sleep mode.
In some embodiments, the apparatus further comprises:
the detection module is used for detecting the actual position of the auxiliary vehicle through a positioning device when the auxiliary vehicle enters a sleep mode;
and the second control module is used for controlling the auxiliary vehicle to stop all movement if the actual position is within a preset movement range.
In some embodiments, the apparatus further comprises:
and the third control module is used for controlling the auxiliary vehicle to prompt in a mode of emitting vibration and/or sound if the actual position is out of the preset moving range.
In some embodiments, a cushioning device is provided in the seat; the device also includes:
the judging module is used for judging whether the seat is in a sitting state or not through a plurality of pressure sensors arranged at different positions on the seat;
the fourth control module is used for controlling the buffer device to incline towards the back of the seat if the seat is in the sitting state, so that the execution process of the sitting state is facilitated;
the damping device comprises any one or more of a hydraulic pressure, an air bag and a memory pad.
In some embodiments, the determining module is further configured to determine whether the seat is in the sitting state through a plurality of pressure sensors disposed at different positions on the seat;
the fourth control module is also used for controlling the buffer device to incline towards the front of the seat if the seat is in the sitting state, so as to facilitate the execution process of the sitting state.
The auxiliary vehicle-based danger warning device provided by the embodiment of the application has the same technical characteristics as the auxiliary vehicle-based danger warning method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects are achieved.
Example three:
as shown in fig. 4, anelectronic device 400 provided in an embodiment of the present application includes a memory 401 and a processor 402, where the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps of the method provided in the foregoing embodiment.
Referring to fig. 4, the electronic device further includes: a bus 403 and a communication interface 404, the processor 402, the communication interface 404 and the memory 401 being connected by the bus 403; the processor 402 is used to execute executable modules, such as computer programs, stored in the memory 401.
The Memory 401 may include a high-speed Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 404 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 403 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 401 is used for storing a program, and the processor 402 executes the program after receiving an execution instruction, and the method performed by the apparatus defined by the process disclosed in any of the foregoing embodiments of the present application may be applied to the processor 402, or implemented by the processor 402.
The processor 402 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 402. The Processor 402 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 401, and the processor 402 reads the information in the memory 401 and completes the steps of the method in combination with the hardware.
Example four:
corresponding to the auxiliary vehicle-based danger warning method, the embodiment of the application also provides a computer-readable storage medium, wherein machine executable instructions are stored in the computer-readable storage medium, and when the computer executable instructions are called and executed by the processor, the computer executable instructions cause the processor to execute the steps of the auxiliary vehicle-based danger warning method.
The auxiliary vehicle-based danger warning device provided by the embodiment of the application can be specific hardware on equipment or software or firmware installed on the equipment. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
For another example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the auxiliary vehicle-based danger alert method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.