Establishment method of personnel falling detection model, detection method, server and medium

The acceleration information is trained through the deep neural network model, combined with the data importance parameters, which solves the problem of insufficient accuracy of personnel fall detection in the existing technology and achieves higher recognition accuracy and response speed.

CN118708917APending Publication Date: 2024-09-27SUZHOU XUNXI ELECTRONICS SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410693261.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing personnel fall detection technology relies on preset parameters and simple algorithms, lacking in-depth learning of data patterns, resulting in insufficient accuracy and applicability.

Method used

A deep neural network model is used to train acceleration information through input gates, forget gates and output gates. Combined with the importance parameters of the data, a human fall detection model is constructed to conduct in-depth learning and understanding of data patterns.

Benefits of technology

Significantly reduces the rate of false alarms and missed alarms, improves the identification accuracy of fall events and alarm response speed, and adapts to different working environments and individual differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708917A
    Figure CN118708917A
Patent Text Reader

Abstract

The invention discloses an establishment method of a personnel falling detection model, a detection method, a server and a medium, the establishment method of the personnel falling detection model comprises the following steps: obtaining sample data of personnel falling, the sample data comprising acceleration information of personnel and falling information corresponding to the acceleration information; the acceleration information of the sample data is used as input, the drop information is used as output, the acceleration information and the drop information are input into a preset deep neural network model for training, and the deep neural network model comprises an input gate, a forget gate and an output gate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method for establishing a personnel fall detection model, a detection method, a server and a medium. Background Art

[0002] In modern aerial work scenarios, the risk of falling accidents of aerial workers has always been an important issue in work safety. In aerial work scenarios, existing human fall detection technologies, such as threshold judgment based on simple accelerometers, can provide safety guarantees to a certain extent, but there are still problems such as high false alarm rate and insufficient response to complex situations. This technology often relies on preset parameters and relatively simple algorithms, lacking in-depth learning and understanding of data patterns, which limits its accuracy and applicability.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a method for establishing a personnel fall detection model, a detection method, a server and a medium, aiming to solve the problem that the fall detection technology in the prior art relies on preset parameters and relatively simple algorithms, lacks in-depth learning and understanding of data patterns, which limits its accuracy and applicability.

[0005] To achieve the above object, the present invention provides a method for establishing a personnel fall detection model, the method for establishing a personnel fall detection model comprising:

[0006] Acquire sample data of a person falling, the sample data including acceleration information of the person and falling information corresponding to the acceleration information;

[0007] The acceleration information of the sample data is used as input, and the drop information is used as output, and input into a preset deep neural network model for training, wherein the deep neural network model includes an input gate, a forget gate, and an output gate, which are respectively:

[0008] Input Gate i t =σ(W i *((1+α t )⊙[x t ,h t-1 ])+b i );

[0009] Forget the door t =σ(W f *((1+α t )⊙[x t ,h t-1 ])+bf );

[0010] Output gate o t =σ(W o *((1+α t )⊙[x t ,h t-1 ])+b o );

[0011] in,

[0012] h t-1 The parameters of the hidden layer at time t-1;

[0013] x t Input data at time t;

[0014] W i , W f , W o They are the parameters of the input gate, forget gate, and output gate respectively, and * is the convolution operation;

[0015] a t is the importance of the input data at time t;

[0016] b i 、b f 、b o They are the bias parameters of the input gate, forget gate, and output gate respectively.

[0017] Preferably, in the method for establishing the personnel fall detection model,

[0018]

[0019] Among them, a t,i The importance of the input data at time t in the i-th dimension;

[0020] x t =[x t,1 x t,2 ……x t,n ] T , x t ∈R 1×n ;

[0021] h t-1 =[h t-1,1 h t-1,2 ……h t-1,m ] T ,h t-1 ∈R m×n ;

[0022] n represents the dimension of segmented data;

[0023] m represents the channel in the cyclic data;

[0024] s t,i is the similarity function;

[0025] q t is the query vector at time t.

[0026] Preferably, in the method for establishing the personnel fall detection model, after the step of obtaining sample data of personnel falls, and before the step of taking the acceleration information of the sample data as input and the fall information as output and inputting them into a preset deep neural network model for training, the establishment method further includes:

[0027] Preprocessing the sample data;

[0028] Associating the acceleration data within a preset time period in the preprocessed sample data with the corresponding fall information to form a training data set;

[0029] Accordingly, the acceleration information of the sample data is used as input, and the drop information is used as output, and input into a preset deep neural network model for training, including:

[0030] The acceleration information of the training data set is used as input, and the fall information is used as output, and input into a preset deep neural network model for training.

[0031] Preferably, in the method for establishing the personnel fall detection model, after the step of associating the acceleration data within a preset time length in the preprocessed sample data with the corresponding fall information to form a training data set, before the step of using the acceleration information of the training data set as input and the fall information as output to input into a preset deep neural network model for training, the establishment method further includes:

[0032] The training data set is amplified by slightly changing and disturbing the original acceleration information to form a new training data set.

[0033] Preferably, in the method for establishing the personnel fall detection model, the step of obtaining sample data of personnel falls includes:

[0034] Simulate different falling and non-falling scenarios for personnel equipped with positioning devices in a preset environment;

[0035] Collect acceleration information of people in different falling and non-falling scenarios.

[0036] Preferably, in the method for establishing the personnel fall detection model, the preprocessing of the sample data includes:

[0037] Performing noise filtering and normalization processing on the sample data;

[0038] Use sliding windows to frame the time series of sample data;

[0039] Accordingly, the acceleration data within a preset time period in the preprocessed sample data is associated with the corresponding fall information to form a training data set, including:

[0040] The acceleration data within a preset length frame in the preprocessed sample data is associated with the corresponding drop information to form a training data set.

[0041] In order to achieve the above-mentioned purpose, the present invention also provides a method for detecting a person falling, which detects a person falling by using a person falling detection model established by the method for establishing a person falling detection model.

[0042] In order to achieve the above object, the present invention also provides a device for establishing a personnel fall detection model, and the device for establishing a personnel fall detection model comprises:

[0043] An acquisition unit, used to acquire sample data of a person falling, wherein the sample data includes acceleration information of the person and fall information corresponding to the acceleration information;

[0044] A training unit is used to input the acceleration information of the sample data as input and the fall information as output, and input the input into a preset deep neural network model for training, wherein the deep neural network model includes an input gate, a forget gate, and an output gate, which are respectively:

[0045] Input Gate i t =σ(W i *((1+α t )⊙[x t ,h t-1 ])+b i );

[0046] Forget the door t =σ(W f *((1+α t )⊙[x t ,h t-1 ])+b f );

[0047] Output gate o t =σ(W o *((1+α t )⊙[x t ,h t-1 ])+b o );

[0048] in,

[0049] h t-1 The parameters of the hidden layer at time t-1;

[0050] x t Input data at time t;

[0051] W i , W f , W o They are the parameters of the input gate, forget gate, and output gate respectively, and * is the convolution operation;

[0052] a t is the importance of the input data at time t;

[0053] b i 、b f 、b o They are the bias parameters of the input gate, forget gate, and output gate respectively.

[0054] In order to achieve the above object, the present invention further provides a server, the server comprising:

[0055] at least one processor; and,

[0056] a memory communicatively connected to the at least one processor; wherein,

[0057] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned method for establishing a personnel fall detection model and the above-mentioned method for detecting a personnel fall.

[0058] In order to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, it implements the above-mentioned method for establishing a personnel fall detection model and the above-mentioned method for detecting a personnel fall.

[0059] The present invention has at least the following beneficial effects:

[0060] The method for establishing a personnel fall detection model provided by the present invention first obtains sample data of personnel falls, wherein the sample data includes acceleration information of personnel and fall information corresponding to the acceleration information; the acceleration information of the sample data is used as input, and the fall information is used as output, and is input into a preset deep neural network model for training. By combining the deep neural network and improving the three gates of the deep neural network, complex fall events can be more accurately identified, and the false alarm and missed alarm rates can be significantly reduced;

[0061] Furthermore, the personnel fall detection model provided by the present invention can adapt to different working environments and individual differences by continuously learning various normal and abnormal patterns in acceleration data.

[0062] Furthermore, by setting 1+a in the three gates t To adjust the importance of each data, the model can quickly focus on the potential critical moment of falling, improving the response speed of the alarm system.

[0063] Furthermore, compared with the traditional hardware-based solution, the present invention only needs to add software-level improvements on the basis of the existing accelerometer, taking into account both cost and performance;

[0064] Furthermore, according to the various stages of the falling process and the age of the person, the importance of the data at each stage is determined, that is, 1+a t , the importance of each parameter can be determined more precisely, and complex fall events can be identified more accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A schematic diagram of three gates of a deep neural network model provided in the prior art;

[0066] Figure 2 A schematic diagram of three gates of the deep neural network model provided by the present invention;

[0067] Figure 3 for Figure 2 Schematic diagram of the structure of the middle part;

[0068] Figure 4 A schematic diagram of a first implementation of a method for establishing a personnel fall detection model provided by the present invention;

[0069] Figure 5 A schematic diagram of a second implementation of the method for establishing a personnel fall detection model provided by the present invention;

[0070] Figure 6 A schematic diagram of a first embodiment of a device for establishing a personnel fall detection model provided by the present invention;

[0071] Figure 7 FIG. 1 is a schematic diagram of a server according to a first embodiment of the present invention.

[0072] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0073] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0074] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0075] In the embodiments of the present invention, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0076] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it can be understood by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present invention. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present invention can also be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0077] In order to solve the above problems, the present embodiment relates to a method for establishing a personnel fall detection model, which is applied to a server. The server can be a desktop computer, tablet computer, notebook or other electronic device with data processing capabilities, and no specific restrictions are made here.

[0078] The following is an explanation of the implementation details of the method for establishing a personnel fall detection model according to the first embodiment of the present invention. The following content is only the implementation details provided for ease of understanding and is not necessary for the implementation of this solution.

[0079] The specific process of this implementation is as follows: Figure 4 As shown, specifically including:

[0080] Step S100, acquiring sample data of a person falling, wherein the sample data includes acceleration information of the person and falling information corresponding to the acceleration information;

[0081] It should be understood that the execution subject of the present invention may be, but is not limited to, a server, and may also be a terminal in other embodiments. When the execution subject is a server, the sample data may be sent to the server via a terminal carried by a person.

[0082] The acceleration is different in different motion states, such as stationary, walking, running, climbing, and simulated fall events.

[0083] The motion state is divided into falling and non-falling. The acceleration of people will be different when they are falling and non-falling. Different groups of people will also have different accelerations when they are falling and non-falling. For example, the elderly move more slowly, and their acceleration when they are falling will be different from that of young people when they fall.

[0084] In addition, the acceleration corresponding to each stage of the fall process will also be different, so simply judging the motion state of a person by a threshold will affect the accuracy of the judgment. For example, the fall process includes the beginning stage of the fall, the impact stage, and the aftermath stage. Taking the beginning stage of the fall as an example, weightlessness will occur at the beginning stage of the fall, and it will become more significant during the free fall process, and the vector sum of the acceleration will tend to 0g; the duration of this situation will depend on the height of the free fall. Although the weightlessness during an ordinary fall is not as significant as the weightlessness during a free fall, the vector sum of the acceleration will still be much less than 1g (and usually greater than 1g under normal conditions). Therefore, the free fall motion can be detected at the beginning stage of the fall, and the acceleration should be less than a set value and greater than 0.

[0085] In the impact phase, after experiencing weightlessness, the human body will hit the ground or other objects, and the acceleration curve shows that this is a big impact. This indicator can be detected after the initial stage of the fall by detecting whether the acceleration at this time is greater than a set threshold.

[0086] In the aftermath, generally speaking, the body cannot get up immediately after the fall and impact; instead, it remains motionless for a short time (or longer as a possible sign of unconsciousness). At this time, the acceleration will remain in the flat range.

[0087] In addition, after a fall, the body direction of the individual will be different from that before the fall, so the static acceleration on the three axes will be different from the initial state before the fall. Therefore, in this embodiment, the acceleration information is three-axis acceleration information. In specific implementation, a three-axis accelerometer can be integrated on a mobile terminal (such as a card) carried by the user to collect the three-axis acceleration information of the person in different motion states.

[0088] Specifically, step S100 includes simulating different falling and non-falling scenarios for a person equipped with a positioning device under a preset environment; and collecting acceleration information of the person in different falling and non-falling scenarios.

[0089] Step S200, taking the acceleration information of the sample data as input and the fall information as output, inputting into a preset deep neural network model for training, wherein the deep neural network model includes an input gate, a forget gate, and an output gate, which are respectively:

[0090] Input Gate i t =σ(W i *((1+α t )⊙[x t ,h t-1 ])+b i );

[0091] Forget the door t =σ(W f *((1+α t )⊙[x t ,h t-1 ])+b f );

[0092] Output gate o t =σ(W o *((1+α t )⊙[x t ,h t-1 ])+b o );

[0093] in,

[0094] h t-1 The parameters of the hidden layer at time t-1;

[0095] x t Input data at time t;

[0096] W i , W f , W o They are the parameters of the input gate, forget gate, and output gate respectively, and * is the convolution operation;

[0097] a t is the importance of the input data at time t;

[0098] b i 、b f 、b o They are the bias parameters of the input gate, forget gate, and output gate respectively.

[0099] It should be understood that if Figure 2 As shown, by setting the input gate, forget gate, and output gate, information can be selectively remembered or forgotten at each time step, effectively capturing the key features in the data.

[0100] in addition, Figure 1What is shown is a schematic diagram of three doors in the prior art. Figure 2 The schematic diagram of the three gates provided by the present invention is shown. The input gate, forget gate, and output gate provided in this embodiment are adjusted compared with the traditional deep neural network, and 1+a is introduced. t We can focus on the key moments in the falling process, which can further improve the accuracy of analysis and the sensitivity and accuracy of detection. The data at different stages of the falling process are also of different importance to the falling results. For example, the data at the beginning and impact stages of the falling process are usually more important than the data at the aftermath stage. Therefore, we can use 1+a to calculate the data. t To adjust the importance of each data. Specifically, according to the different stages of the falling process and the age of the person, determine the 1+a of each stage t .

[0101] like Figure 3 More specifically,

[0102] Among them, a t,i The importance of the input data at time t in the i-th dimension;

[0103] x t =[x t,1 x t,2 ……x t,n ] T , x t ∈R 1×n ;

[0104] h t-1 =[h t-1,1 h t-1,2 ……h t-1,m ] T ,h t-1 ∈R m×n ;

[0105] n represents the dimension of segmented data;

[0106] m represents the channel in the cyclic data;

[0107] s t,i is the similarity function;

[0108] q t is the query vector at time t.

[0109] where a t =[a t,1 a t,2 …a t,i …a t,i ] T .

[0110] The importance of input data in traditional deep neural network models is the same, but the present invention introduces a t It is possible to improve input data that makes the results more accurate and weaken input data that is unfavorable to the results.

[0111] The method for establishing a personnel fall detection model provided by the present invention first obtains sample data of personnel falls, wherein the sample data includes acceleration information of personnel and fall information corresponding to the acceleration information; the acceleration information of the sample data is used as input, and the fall information is used as output, and is input into a preset deep neural network model for training. By combining the deep neural network and improving the three gates of the deep neural network, complex fall events can be more accurately identified, and the false alarm and missed alarm rates can be significantly reduced;

[0112] Furthermore, the personnel fall detection model provided by the present invention can adapt to different working environments and individual differences by continuously learning various normal and abnormal patterns in acceleration data.

[0113] Furthermore, by setting 1+a in the three gates t To adjust the importance of each data, the model can quickly focus on the potential critical moment of falling, improving the response speed of the alarm system.

[0114] Furthermore, compared with the traditional hardware-based solution, the present invention only needs to add software-level improvements on the basis of the existing accelerometer, taking both cost and performance into consideration.

[0115] like Figure 5 As shown, the second implementation of the method for establishing a personnel fall detection model provided by the present invention is based on the first implementation. After step S100 and before step S200, the establishment method further includes:

[0116] Step S310, preprocessing the sample data;

[0117] It should be understood that the sample data may fluctuate due to the differences in mobile terminals carried by people and environmental factors. For example, if the environmental noise is relatively large, it will cause acceleration fluctuations. The preprocessing of the sample data mainly includes noise filtering and normalization of the collected original acceleration information, so as to eliminate the differences in mobile terminals carried by people and the influence of environmental factors; and then the time series data is framed by sliding window technology, where the selection of window length and step length can be determined according to the needs, for example, according to the situation of the person carrying the mobile terminal. Generally speaking, the larger the window length, the more accurate the information, and the larger the step length, the slower the processing time. Therefore, considering the different reaction processes of people of different ages to falls, the window length and step length can be determined according to the age of the person to ensure accuracy while improving the processing time. For example, for young people, the window length and step length are selected to be smaller; while for the elderly, the window length and step length are selected to be larger.

[0118] Specifically, step S310 includes:

[0119] Performing noise filtering and normalization processing on the sample data;

[0120] A sliding window is used to frame the time series of sample data.

[0121] In addition, it should be noted that, considering that the acceleration corresponding to each stage of the falling process may be different, the window length and step length can be determined for different groups of people.

[0122] Step S320, associating the acceleration data within a preset time period in the preprocessed sample data with the corresponding fall information to form a training data set;

[0123] It should be understood that since the accelerations at multiple stages of a fall process are different, acceleration data over a period of time needs to be considered when analyzing fall information. Specifically, step S320 includes associating acceleration data within a preset length frame in the preprocessed sample data with corresponding fall information to form a training data set.

[0124] Accordingly, the step S200 includes:

[0125] Step S210, taking the acceleration information of the training data set as input and the fall information as output, and inputting them into a preset deep neural network model for training.

[0126] It should be understood that

[0127] In addition, in order to improve the generalization ability of the model, after step S320 and before step S210, the establishment method also includes expanding the training data set by slightly changing and perturbing the original acceleration information to form a new training data set.

[0128] In order to achieve the above-mentioned purpose, the present invention also provides a method for detecting a person falling, which detects a person falling by using a person falling detection model established by the method for establishing a person falling detection model mentioned above.

[0129] In order to achieve the above object, the present invention also provides a device for establishing a personnel fall detection model, such as Figure 6 As shown, the device for establishing the personnel fall detection model includes an acquisition unit 410 and a training unit 420.

[0130] The acquisition unit 410 is used to acquire sample data of a person falling, wherein the sample data includes acceleration information of the person and falling information corresponding to the acceleration information;

[0131] It should be understood that the execution subject of the present invention may be, but is not limited to, a server, and may also be a terminal in other embodiments. When the execution subject is a server, the sample data may be sent to the server via a terminal carried by a person.

[0132] The acceleration is different in different motion states, such as stationary, walking, running, climbing, and simulated fall events.

[0133] The motion state is divided into falling and non-falling. The acceleration of people will be different when they are falling and non-falling. Different groups of people will also have different accelerations when they are falling and non-falling. For example, the elderly move more slowly, and their acceleration when they are falling will be different from that of young people when they fall.

[0134] In addition, the acceleration corresponding to each stage of the fall process will also be different, so simply judging the motion state of a person by a threshold will affect the accuracy of the judgment. For example, the fall process includes the beginning stage of the fall, the impact stage, and the aftermath stage. Taking the beginning stage of the fall as an example, weightlessness will occur at the beginning stage of the fall, and it will become more significant during the free fall process, and the vector sum of the acceleration will tend to 0g; the duration of this situation will depend on the height of the free fall. Although the weightlessness during an ordinary fall is not as significant as the weightlessness during a free fall, the vector sum of the acceleration will still be much less than 1g (and usually greater than 1g under normal conditions). Therefore, the free fall motion can be detected at the beginning stage of the fall, and the acceleration should be less than a set value and greater than 0.

[0135] In the impact phase, after experiencing weightlessness, the human body will hit the ground or other objects, and the acceleration curve shows that this is a big impact. This indicator can be detected after the initial stage of the fall by detecting whether the acceleration at this time is greater than a set threshold.

[0136] In the aftermath, generally speaking, the body cannot get up immediately after the fall and impact; instead, it remains motionless for a short time (or longer as a possible sign of unconsciousness). At this time, the acceleration will remain in the flat range.

[0137] In addition, after a fall, the body direction of the individual will be different from that before the fall, so the static acceleration on the three axes will be different from the initial state before the fall. Therefore, in this embodiment, the acceleration information is three-axis acceleration information. In specific implementation, a three-axis accelerometer can be integrated on a mobile terminal (such as a card) carried by the user to collect the three-axis acceleration information of the person in different motion states.

[0138] The training unit 420 is used to input the acceleration information of the sample data as input and the fall information as output, and input it into a preset deep neural network model for training, wherein the deep neural network model includes an input gate, a forget gate, and an output gate, which are respectively:

[0139] Input Gate i t =σ(W i *((1+α t )⊙[x t ,h t-1 ])+b i );

[0140] Forget the door t =σ(W f *((1+α t )⊙[x t ,h t-1 ])+b f );

[0141] Output gate o t =σ(W o *)((1+α t )⊙[x t ,h t-1 ])+b o );

[0142] in,

[0143] h t-1 The parameters of the hidden layer at time t-1;

[0144] x t Input data at time t;

[0145] W i , W f , W o They are the parameters of the input gate, forget gate, and output gate respectively, and * is the convolution operation;

[0146] a t is the importance of the input data at time t;

[0147] b i 、b f 、b o They are the bias parameters of the input gate, forget gate, and output gate respectively.

[0148] It should be understood that if Figure 2 As shown, by setting the input gate, forget gate, and output gate, information can be selectively remembered or forgotten at each time step, effectively capturing the key features in the data.

[0149] in addition, Figure 1 What is shown is a schematic diagram of three doors in the prior art. Figure 2 The schematic diagram of the three gates provided by the present invention is shown. The input gate, forget gate, and output gate provided in this embodiment are adjusted compared with the traditional deep neural network, and 1+a is introduced. t We can focus on the key moments in the falling process, which can further improve the accuracy of analysis and the sensitivity and accuracy of detection. The data at different stages of the falling process are also of different importance to the falling results. For example, the data at the beginning and impact stages of the falling process are usually more important than the data at the aftermath stage. Therefore, we can use 1+a to calculate the data. t To adjust the importance of each data. Specifically, according to the different stages of the falling process and the age of the person, determine the 1+a of each stage t .

[0150] like Figure 3 More specifically,

[0151] Among them, a t,i The importance of the input data at time t in the i-th dimension;

[0152] x t =[x t,1 x t,2 ……x t,n ] T , x t ∈R 1×n ;

[0153] h t-1 =[h t-1,1 h t-1,2 ……h t-1,m ]T ,h t-1 ∈R m×n ;

[0154] n represents the dimension of segmented data;

[0155] m represents the channel in the cyclic data;

[0156] s t,i is the similarity function;

[0157] q t is the query vector at time t.

[0158] where a t =[a t,1 a t,2 …a t,i …a t,i ] T .

[0159] The importance of input data in traditional deep neural network models is the same, but the present invention introduces a t It is possible to improve input data that makes the results more accurate and weaken input data that is unfavorable to the results.

[0160] In order to achieve the above object, the present invention also provides a server, such as Figure 7 As shown, the server includes at least one processor 501; and a memory 502 communicatively connected to the at least one processor 501; wherein the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501 so that the at least one processor 501 can execute the above-mentioned method for establishing a personnel fall detection model and the above-mentioned method for detecting a personnel fall.

[0161] The memory 502 and the processor 501 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 501 and the memory 502 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 501 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 501.

[0162] The processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 502 can be used to store data used by the processor 501 when performing operations.

[0163] In order to achieve the above-mentioned purpose, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned method for establishing a personnel fall detection model and the above-mentioned method for detecting a personnel fall.

[0164] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned implementation method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each implementation of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0165] Obviously, the above described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, ordinary technicians in this field can make other different forms of changes or modifications without making creative work, which should all fall within the scope of protection of the present invention.

Claims

1. A method for establishing a personnel fall detection model, characterized in that: include: Acquire sample data of a person falling, the sample data including acceleration information of the person and falling information corresponding to the acceleration information; The acceleration information of the sample data is used as input, and the drop information is used as output, and input into a preset deep neural network model for training, wherein the deep neural network model includes an input gate, a forget gate, and an output gate, which are respectively: Input Gate i t =σ(W i *((1+α t )⊙[x t ,h t-1 ])+b i ); Forget the door t =σ(W f *((1+α t )⊙[x t ,h t-1 ])+b f ); Output gate o t =σ(W o *((1+α t )⊙[x t ,h t-1 ])+b o ); in, h t-1 The parameters of the hidden layer at time t-1; x t Input data at time t; W i , W f , W o They are the parameters of the input gate, forget gate, and output gate respectively, and * is the convolution operation; a t is the importance of the input data at time t; b i , b f , b o They are the bias parameters of the input gate, forget gate, and output gate respectively.

2. The method for establishing a personnel fall detection model according to claim 1, characterized in that: Among them, a t,i The importance of the input data at time t in the i-th dimension; x t =[x t,1 x t,2 ……x t,n ] T ,x t ∈R 1×n ; h t-1 =[h t-1 ,1h t-1 ,2……h t-1,m ] T ,h t-1 ∈R m×n ; n represents the dimension of segmented data; m represents the channel in the cyclic data; s t,i is the similarity function; q t is the query vector at time t.

3. The method for establishing a personnel fall detection model as claimed in claim 2, characterized in that: After the step of obtaining sample data of a person falling, and before the step of using the acceleration information of the sample data as input and the falling information as output to input into a preset deep neural network model for training, the establishment method further includes: Preprocessing the sample data; Associating the acceleration data within a preset time period in the preprocessed sample data with the corresponding fall information to form a training data set; Accordingly, the acceleration information of the sample data is used as input, and the drop information is used as output, and input into a preset deep neural network model for training, including: The acceleration information of the training data set is used as input, and the fall information is used as output, and input into a preset deep neural network model for training.

4. The method for establishing a personnel fall detection model as claimed in claim 3, characterized in that: After the step of associating the acceleration data within a preset time length in the preprocessed sample data with the corresponding fall information to form a training data set, and before the step of using the acceleration information of the training data set as input and the fall information as output to input into a preset deep neural network model for training, the establishment method further includes: The training data set is amplified by slightly changing and disturbing the original acceleration information to form a new training data set.

5. The method for establishing a personnel fall detection model as claimed in claim 3, characterized in that: The obtaining of sample data of a person falling includes: Simulate different falling and non-falling scenarios for personnel equipped with positioning devices in a preset environment; Collect acceleration information of people in different falling and non-falling scenarios.

6. The method for establishing a personnel fall detection model as claimed in claim 3, characterized in that: The preprocessing of the sample data includes: Performing noise filtering and normalization processing on the sample data; Use sliding windows to frame the time series of sample data; Accordingly, the acceleration data within a preset time period in the preprocessed sample data is associated with the corresponding fall information to form a training data set, including: The acceleration data within a preset length frame in the preprocessed sample data is associated with the corresponding drop information to form a training data set.

7. A method for detecting a person falling, characterized in that: A personnel fall detection model established by the method for establishing a personnel fall detection model as described in any one of claims 1 to 6 is used to detect personnel falls.

8. A device for establishing a personnel fall detection model, characterized in that: include: An acquisition unit, used to acquire sample data of a person falling, wherein the sample data includes acceleration information of the person and fall information corresponding to the acceleration information; A training unit is used to input the acceleration information of the sample data as input and the fall information as output, and input the input into a preset deep neural network model for training, wherein the deep neural network model includes an input gate, a forget gate, and an output gate, which are respectively: Input Gate i t =σ(W i *((1+α t )⊙[x t ,h t-1 ])+b i ); Forget the door t =σ(W f *((1+α t )⊙[x t ,h t-1 ])+b f ); Output gate o t =σ(W o *((1+α t )⊙[x t ,h t-1 ])+b o ); in, h t-1 The parameters of the hidden layer at time t-1; x t Input data v at time t W i , W f , W o They are the parameters of the input gate, forget gate, and output gate respectively, and * is the convolution operation; a t is the importance of the input data at time t; b i , b f , b o They are the bias parameters of the input gate, forget gate, and output gate respectively.

9. A server, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for establishing a personnel fall detection model as described in any one of claims 1 to 6 and the method for detecting a personnel fall as described in claim 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the method for establishing a personnel fall detection model as described in any one of claims 1 to 6 and the method for detecting a personnel fall as described in claim 7.