CN110661529B - Method and device for generating step amplitude sequence - Google Patents

Method and device for generating step amplitude sequence Download PDF

Info

Publication number
CN110661529B
CN110661529B CN201911079351.5A CN201911079351A CN110661529B CN 110661529 B CN110661529 B CN 110661529B CN 201911079351 A CN201911079351 A CN 201911079351A CN 110661529 B CN110661529 B CN 110661529B
Authority
CN
China
Prior art keywords
signal amplitude
matrix
sensing
target
amplitude value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911079351.5A
Other languages
Chinese (zh)
Other versions
CN110661529A (en
Inventor
袁克亚
姚东星
冯劢
杨伟清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Data Driven Technology Co ltd
Original Assignee
Hangzhou Cigan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Cigan Technology Co ltd filed Critical Hangzhou Cigan Technology Co ltd
Priority to CN201911079351.5A priority Critical patent/CN110661529B/en
Publication of CN110661529A publication Critical patent/CN110661529A/en
Application granted granted Critical
Publication of CN110661529B publication Critical patent/CN110661529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • G06V40/25Recognition of walking or running movements, e.g. gait recognition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a method and a device for generating a step amplitude sequence, which relate to the technical field of data processing and comprise the following steps: acquiring an nth-1 frame sensing signal and an nth frame sensing signal sent by an intelligent ground; constructing a first signal amplitude matrix based on the n-1 th frame of sensing signals, and constructing a second signal amplitude matrix based on the n-1 th frame of sensing signals; judging whether the first signal amplitude matrix and the second signal amplitude matrix both contain a first target signal amplitude value or not based on the first signal amplitude matrix and the second signal amplitude matrix; if the judgment result is yes, a first foot step sequence is constructed based on the target signal amplitude value, and the technical problem that the foot step amplitude sequence of the pedestrian cannot be obtained in the prior art is solved.

Description

Method and device for generating step amplitude sequence
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for generating a step amplitude sequence.
Background
During walking, the foot falls to the foot lift and is a holding process of a position signal, during which amplitude information of the foot step can be acquired by a sensor for several times, and the amplitude information is useful for identifying the walking state of the foot step of the subsequent pedestrian, so that the recording of the amplitude change of the foot during the holding state is an important problem in pedestrian tracking. The precondition for analyzing the motion state of the footstep is to completely record the amplitude sequence of the footstep signal during the holding period, but no specific method for acquiring the amplitude signal of the footstep of the pedestrian exists in the prior art.
An effective solution to the above-mentioned problems has not been proposed yet.
Disclosure of Invention
In view of the above, the present invention aims to provide a method and a device for generating a step amplitude sequence, so as to alleviate the technical problem that the step amplitude sequence of a pedestrian cannot be obtained in the prior art.
In a first aspect, an embodiment of the present invention provides a method for generating a step amplitude sequence, including: acquiring an n-1 frame sensing signal and an n frame sensing signal sent by an intelligent ground, wherein n sequentially takes 2 to k, and k is the frame number of the sensing signal sent by the intelligent ground; constructing a first signal amplitude matrix based on the n-1 th frame of sensing signals, and constructing a second signal amplitude matrix based on the n-1 th frame of sensing signals; judging whether the first signal amplitude matrix and the second signal amplitude matrix both contain first target signal amplitude values or not based on the first signal amplitude matrix and the second signal amplitude matrix, wherein the first target signal amplitude values are step signal amplitude values of the same object to be detected; if the judgment result is yes, a first foot stride sequence is constructed based on the first target signal amplitude value.
Further, the intelligent ground comprises lattice sensors consisting of M x N sensors; constructing a first signal amplitude matrix based on the n-1 th frame of sensing signals and a second signal amplitude matrix based on the n-1 th frame of sensing signals, comprising: constructing a first signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the N-1 th frame of sensing signals; and constructing a second signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the nth frame of sensing signals.
Further, based on the first signal amplitude matrix and the second signal amplitude matrix, determining whether the first signal amplitude matrix and the second signal amplitude matrix each contain a first target signal amplitude value includes: analyzing the first signal amplitude matrix and the second signal amplitude matrix based on a connected domain analysis principle to determine a first step signal amplitude value set, wherein the first step signal amplitude value set is a step signal amplitude value set in the nth frame of sensing signals; judging whether an intersection signal amplitude value exists in the first foot step signal amplitude value set and the second foot step signal amplitude value set, wherein the second foot step signal amplitude value set is the foot step signal amplitude value set in the n-1 th frame of sensing signals; and if the first step signal amplitude value set and the second step signal amplitude value set are judged to have intersection signal amplitude values, determining the intersection signal amplitude values as the first target signal amplitude values.
Further, based on the connected domain analysis principle, the first signal amplitude matrix and the second signal amplitude matrix are analyzed to determine a first set of step signal amplitude values, including: determining target sensing signal amplitude values in the first signal amplitude matrix and the second signal amplitude matrix respectively, wherein the target sensing signal amplitude values are sensing signal amplitude values with sensing signal amplitude values larger than or equal to a preset amplitude threshold value; based on the target sensing signal amplitude value and a connected domain analysis principle, respectively analyzing the first signal amplitude matrix and the second signal amplitude matrix to obtain a first intermediate matrix and a second intermediate matrix; determining a target element based on the first intermediate matrix and the second intermediate matrix, wherein the target element is an element in which the first intermediate matrix and the second intermediate matrix are both the target sensing signal amplitude value; the target element is determined as the first set of step signal amplitude values.
Further, the method further comprises: if the second signal amplitude matrix is judged to contain a second target signal amplitude value, wherein the second target signal amplitude value is a step signal amplitude value contained in the second signal amplitude matrix and is not contained in the first target signal amplitude value matrix; and constructing a second foot step amplitude sequence based on the foot step signal amplitude value corresponding to the second target signal amplitude value.
Further, the method further comprises: if the first signal amplitude matrix is judged to contain a third target signal amplitude value, deleting the step signal amplitude value corresponding to the third target signal in the first step amplitude sequence, wherein the third target signal amplitude value is the step signal amplitude value contained in the first signal amplitude matrix, and the step signal amplitude value not contained in the second signal amplitude matrix.
In a second aspect, an embodiment of the present invention provides a step amplitude sequence generating apparatus, including: the intelligent ground sensor comprises an acquisition unit, a construction unit, a judging unit and an executing unit, wherein the acquisition unit is used for acquiring an n-1 frame sensing signal and an n frame sensing signal which are transmitted by the intelligent ground, wherein n is 2 to k in sequence, and k is the frame number of the sensing signal transmitted by the intelligent ground; the construction unit is used for constructing a first signal amplitude matrix based on the n-1 frame sensing signals and constructing a second signal amplitude matrix based on the n-1 frame sensing signals; the judging unit is configured to judge whether the first signal amplitude matrix and the second signal amplitude matrix both include a first target signal amplitude value based on the first signal amplitude matrix and the second signal amplitude matrix, where the first target signal amplitude value is a step signal amplitude value of the same object to be detected; and the execution unit is used for constructing a first foot stride sequence based on the first target signal amplitude value if the judgment result is yes.
Further, the intelligent ground comprises lattice sensors consisting of M x N sensors; the construction unit is further configured to: constructing a first signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the N-1 th frame of sensing signals; and constructing a second signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the nth frame of sensing signals.
Further, the judging unit is further configured to: analyzing the first signal amplitude matrix and the second signal amplitude matrix based on a connected domain analysis principle to determine a first step signal amplitude value set, wherein the first step signal amplitude value set is a step signal amplitude value set in the nth frame of sensing signals; judging whether an intersection signal amplitude value exists in the first foot step signal amplitude value set and the second foot step signal amplitude value set, wherein the second foot step signal amplitude value set is the foot step signal amplitude value set in the n-1 th frame of sensing signals; and if the first step signal amplitude value set and the second step signal amplitude value set are judged to have intersection signal amplitude values, determining the intersection signal amplitude values as the first target signal amplitude values.
Further, the judging unit is further configured to: determining target sensing signal amplitude values in the first signal amplitude matrix and the second signal amplitude matrix respectively, wherein the target sensing signal amplitude values are sensing signal amplitude values with sensing signal amplitude values larger than or equal to a preset amplitude threshold value; based on the target sensing signal amplitude value and a connected domain analysis principle, respectively analyzing the first signal amplitude matrix and the second signal amplitude matrix to obtain a first intermediate matrix and a second intermediate matrix; determining a target element based on the first intermediate matrix and the second intermediate matrix, wherein the target element is an element in which the first intermediate matrix and the second intermediate matrix are both the target sensing signal amplitude value; the target element is determined as the first set of step signal amplitude values.
In the embodiment of the invention, firstly, an n-1 frame sensing signal and an n frame sensing signal sent by an intelligent ground are obtained; then, constructing a first signal amplitude matrix based on the n-1 frame sensing signals, and constructing a second signal amplitude matrix based on the n frame sensing signals; then, based on the first signal amplitude matrix and the second signal amplitude matrix, judging whether the first signal amplitude matrix and the second signal amplitude matrix both contain the first target signal amplitude value; and finally, if the judgment result is yes, constructing a first foot stride length sequence based on the target signal amplitude value.
In the embodiment of the invention, the sensing signals generated by the walking of pedestrians on the intelligent ground are acquired through the lattice sensor arranged in the intelligent ground, the signal amplitude matrix is constructed according to the sensing signals, the signal amplitude matrix is analyzed, the step signal amplitude value of the same object to be detected is determined, and finally the step amplitude sequence is constructed according to the step signal amplitude value of the same object to be detected, so that the aim of acquiring the step amplitude sequence of the pedestrians is achieved, and the technical problem that the step amplitude sequence of the pedestrians cannot be acquired in the prior art is solved, and the technical effect of acquiring the step amplitude sequence of the pedestrians is realized.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating a step amplitude sequence according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for generating a step amplitude sequence according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for generating a step amplitude sequence according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a device for generating a step amplitude sequence according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment one:
in accordance with an embodiment of the present invention, a step amplitude sequence generation method embodiment is provided, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
FIG. 1 is a flowchart of a method for generating a step amplitude sequence according to an embodiment of the present invention, as shown in FIG. 1, the method comprising the steps of:
step S102, acquiring an n-1 frame sensing signal and an n frame sensing signal sent by an intelligent ground, wherein n sequentially takes 2 to k, and k is the frame number of the sensing signal sent by the intelligent ground;
step S104, a first signal amplitude matrix is built based on the n-1 frame sensing signals, and a second signal amplitude matrix is built based on the n-1 frame sensing signals;
step S106, judging whether the first signal amplitude matrix and the second signal amplitude matrix both contain a first target signal amplitude value or not based on the first signal amplitude matrix and the second signal amplitude matrix, wherein the first target signal amplitude value is a step signal amplitude value of the same object to be detected;
step S108, if the judgment result is yes, a first foot stride sequence is constructed based on the first target signal amplitude value.
In the embodiment of the invention, the sensing signals generated by the walking of pedestrians on the intelligent ground are acquired through the lattice sensor arranged in the intelligent ground, the signal amplitude matrix is constructed according to the sensing signals, the signal amplitude matrix is analyzed, the step signal amplitude value of the same object to be detected is determined, and finally the step amplitude sequence is constructed according to the step signal amplitude value of the same object to be detected, so that the aim of acquiring the step amplitude sequence of the pedestrians is achieved, and the technical problem that the step amplitude sequence of the pedestrians cannot be acquired in the prior art is solved, and the technical effect of acquiring the step amplitude sequence of the pedestrians is realized.
It should be noted that, the intelligent ground is the position of pedestrian's step by the sensor of lattice, and there is not similar commercial product in domestic at present. The intelligent ground monitors the situation of pedestrians on the ground at a certain refresh rate, when the pedestrians walk on the ground, the pedestrians steps are at the corresponding lattice positions of the intelligent ground, and signal peaks are generated, and the peaks are obtained by sampling the intelligent ground. The step position signal during walking of the pedestrian is characterized by a hold-abrupt change-hold, namely, when the pedestrian steps on the intelligent ground sensor, a communication area of a plurality of pixels is usually formed in the coverage area of the sensor, and during a long time (relative to the sampling time of the sensor), the step is static relative to the ground during the time, and the step signal continuously exists. When the foot leaves the ground, the sudden change of the foot step signal disappears, and the cycle is repeated in this way, so that the walking track of the pedestrian is formed.
In addition, it should be noted that, since the smart ground is provided with the lattice sensor composed of m×n sensors, the signal amplitude matrices constructed according to the N-1 th frame of sensing signals and the N-th frame of sensing signals are signal amplitude matrices including m×n sensing signal amplitude values.
In the embodiment of the present invention, step S106 further includes the following steps:
s11, analyzing the first signal amplitude matrix and the second signal amplitude matrix based on a connected domain analysis principle to determine a first step signal amplitude value set, wherein the first step signal amplitude value set is a step signal amplitude value set in the nth frame of sensing signals;
s12, judging whether an intersection signal amplitude value exists in the first foot step signal amplitude value set and the second foot step signal amplitude value set, wherein the second foot step signal amplitude value set is the foot step signal amplitude value set in the n-1 th frame of sensing signals;
and S13, if judging that the first foot step signal amplitude value set and the second foot step signal amplitude value set have intersection signal amplitude values, determining the intersection signal amplitude values as the first target signal amplitude values.
In the embodiment of the present invention, in order to determine whether the first signal amplitude matrix and the second signal amplitude matrix contain the step signal amplitude value of the same object to be detected, the following manner may be adopted:
first, a target sensing signal amplitude value (i.e., a sensing signal amplitude value having a sensing signal amplitude value greater than or equal to a preset amplitude threshold) in the first signal amplitude matrix and the second signal amplitude matrix is determined.
And marking the amplitude value of the target sensing signal as the amplitude value of the target sensing signal minus a preset amplitude threshold value, and marking the amplitude value of the sensing signal smaller than the preset amplitude threshold value as 0, thereby constructing two new matrixes.
And analyzing the two new matrixes according to the connected domain analysis principle, namely classifying adjacent non-zero elements in the two new matrixes into the same connected domain, and counting non-adjacent non-zero element detection points into different connected domains, so as to obtain a first intermediate matrix and a second intermediate matrix.
And performing AND operation on the corresponding elements in the first intermediate matrix and the second intermediate matrix to determine target elements (the target elements are used for representing that the n-1 frame sensing signals and the n frame sensing signals comprise effective step signals), and determining the signal amplitude value corresponding to the target elements in the first intermediate matrix as the step signal amplitude value in the n frame sensing signals, so as to obtain a first step signal amplitude value set.
After the first set of step signal amplitude values is obtained, intersection detection is performed on the first set of step signal amplitude values and the second set of step signal amplitude values (i.e., the set of step signal amplitude values in the n-1 st frame of sensing signals).
And determining the detected intersection signal amplitude value as a first target signal amplitude value, and constructing a first foot stride sequence according to the first target signal amplitude value.
In an embodiment of the present invention, as shown in fig. 2, the method further includes:
step S110, if the second signal amplitude matrix contains a second target signal amplitude value, wherein the second target signal amplitude value is a step signal amplitude value contained in the second signal amplitude matrix, and the first target signal amplitude value matrix does not contain a step signal amplitude value;
step S112, a second foot step sequence is constructed based on the foot step signal amplitude value corresponding to the second target signal amplitude value.
In the embodiment of the present invention, if the second signal amplitude matrix includes a step signal amplitude value included in the second signal amplitude matrix and the step signal amplitude value not included in the first signal amplitude matrix (i.e., the second target signal amplitude value), the step signal corresponding to the second target signal amplitude value may be identified as a new step signal, and a new step amplitude sequence (i.e., a second step sequence) may be constructed according to the step signal amplitude value of the new step signal.
In an embodiment of the present invention, as shown in fig. 3, the method further includes:
step S114, if it is determined that the first signal amplitude matrix includes a third target signal amplitude value, deleting a step signal amplitude value corresponding to the third target signal in the first step size sequence, where the third target signal amplitude value is a step signal amplitude value included in the first signal amplitude matrix, and the second signal amplitude matrix does not include a step signal amplitude value.
In the embodiment of the invention, when the first signal amplitude matrix is determined to contain the third target signal amplitude value, deleting the step signal amplitude value corresponding to the third target signal in the first step amplitude sequence, wherein the third target signal amplitude value is the step signal amplitude value contained in the first signal amplitude matrix, and the step signal amplitude value not contained in the second signal amplitude matrix (the step signal which originally exists the n-1 frame sensing signal can be considered to disappear in the n frame sensing signal).
Embodiment two:
the invention also provides a step amplitude sequence generating device which is used for executing the step amplitude sequence generating method provided by the embodiment of the invention, and the following is a specific introduction of the step amplitude sequence generating device provided by the embodiment of the invention.
As shown in fig. 4, the above-mentioned step amplitude sequence generating device includes: an acquisition unit 10, a construction unit 20, a judgment unit 30 and an execution unit 40.
The acquiring unit 10 is configured to acquire an n-1 frame sensing signal and an n frame sensing signal sent by the intelligent ground, where n sequentially takes 2 to k, and k is the number of frames of the sensing signal sent by the intelligent ground;
the construction unit 20 is configured to construct a first signal amplitude matrix based on the n-1 th frame of sensing signals and a second signal amplitude matrix based on the n-1 th frame of sensing signals;
the judging unit 30 is configured to judge, based on the first signal amplitude matrix and the second signal amplitude matrix, whether the first signal amplitude matrix and the second signal amplitude matrix both include a first target signal amplitude value, where the first target signal amplitude value is a step signal amplitude value of the same object to be detected;
the execution unit 40 is configured to construct a first stride sequence based on the first target signal amplitude value if the determination result is yes.
In the embodiment of the invention, the sensing signals generated by the walking of pedestrians on the intelligent ground are acquired through the lattice sensor arranged in the intelligent ground, the signal amplitude matrix is constructed according to the sensing signals, the signal amplitude matrix is analyzed, the step signal amplitude value of the same object to be detected is determined, and finally the step amplitude sequence is constructed according to the step signal amplitude value of the same object to be detected, so that the aim of acquiring the step amplitude sequence of the pedestrians is achieved, and the technical problem that the step amplitude sequence of the pedestrians cannot be acquired in the prior art is solved, and the technical effect of acquiring the step amplitude sequence of the pedestrians is realized.
Preferably, the intelligent ground comprises a lattice sensor consisting of m×n sensors; the construction unit is further configured to: constructing a first signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the N-1 th frame of sensing signals; and constructing a second signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the nth frame of sensing signals.
Preferably, the judging unit is further configured to: analyzing the first signal amplitude matrix and the second signal amplitude matrix based on a connected domain analysis principle to determine a first step signal amplitude value set, wherein the first step signal amplitude value set is a step signal amplitude value set in the nth frame of sensing signals; judging whether an intersection signal amplitude value exists in the first foot step signal amplitude value set and the second foot step signal amplitude value set, wherein the second foot step signal amplitude value set is the foot step signal amplitude value set in the n-1 th frame of sensing signals; and if the first step signal amplitude value set and the second step signal amplitude value set are judged to have intersection signal amplitude values, determining the intersection signal amplitude values as the first target signal amplitude values.
Preferably, the judging unit is further configured to: determining target sensing signal amplitude values in the first signal amplitude matrix and the second signal amplitude matrix respectively, wherein the target sensing signal amplitude values are sensing signal amplitude values with sensing signal amplitude values larger than or equal to a preset amplitude threshold value; based on the target sensing signal amplitude value and a connected domain analysis principle, respectively analyzing the first signal amplitude matrix and the second signal amplitude matrix to obtain a first intermediate matrix and a second intermediate matrix; determining a target element based on the first intermediate matrix and the second intermediate matrix, wherein the target element is an element in which the first intermediate matrix and the second intermediate matrix are both the target sensing signal amplitude value; the target element is determined as the first set of step signal amplitude values.
Preferably, the execution unit is further configured to: if the second signal amplitude matrix is judged to contain a second target signal amplitude value, wherein the second target signal amplitude value is a step signal amplitude value contained in the second signal amplitude matrix and is not contained in the first target signal amplitude value matrix; and constructing a second foot step amplitude sequence based on the foot step signal amplitude value corresponding to the second target signal amplitude value.
Preferably, the execution unit is further configured to: if the first signal amplitude matrix is judged to contain a third target signal amplitude value, deleting the step signal amplitude value corresponding to the third target signal in the first step amplitude sequence, wherein the third target signal amplitude value is the step signal amplitude value contained in the first signal amplitude matrix, and the step signal amplitude value not contained in the second signal amplitude matrix.
Referring to fig. 5, an embodiment of the present invention further provides a server 100, including: a processor 50, a memory 51, a bus 52 and a communication interface 53, the processor 50, the communication interface 53 and the memory 51 being connected by the bus 52; the processor 50 is arranged to execute executable modules, such as computer programs, stored in the memory 51.
The memory 51 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is achieved via at least one communication interface 53 (which may be wired or wireless), and the internet, wide area network, local network, metropolitan area network, etc. may be used.
Bus 52 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
The memory 51 is configured to store a program, and the processor 50 executes the program after receiving an execution instruction, and the method executed by the apparatus for flow defining disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 50 or implemented by the processor 50.
The processor 50 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware in the processor 50 or by instructions in the form of software. The processor 50 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention 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 invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 51 and the processor 50 reads the information in the memory 51 and in combination with its hardware performs the steps of the above method.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for generating a sequence of step amplitudes, comprising:
acquiring an n-1 frame sensing signal and an n frame sensing signal sent by an intelligent ground, wherein n sequentially takes 2 to k, and k is the frame number of the sensing signal sent by the intelligent ground;
constructing a first signal amplitude matrix based on the n-1 th frame of sensing signals, and constructing a second signal amplitude matrix based on the n-1 th frame of sensing signals;
judging whether the first signal amplitude matrix and the second signal amplitude matrix both contain first target signal amplitude values or not based on the first signal amplitude matrix and the second signal amplitude matrix, wherein the first target signal amplitude values are step signal amplitude values of the same object to be detected;
if the judgment result is yes, a first foot stride sequence is constructed based on the first target signal amplitude value;
wherein determining, based on the first signal amplitude matrix and the second signal amplitude matrix, whether the first signal amplitude matrix and the second signal amplitude matrix both contain a first target signal amplitude value comprises:
analyzing the first signal amplitude matrix and the second signal amplitude matrix based on a connected domain analysis principle to determine a first step signal amplitude value set, wherein the first step signal amplitude value set is a step signal amplitude value set in the nth frame of sensing signals;
judging whether an intersection signal amplitude value exists in the first foot step signal amplitude value set and the second foot step signal amplitude value set, wherein the second foot step signal amplitude value set is the foot step signal amplitude value set in the n-1 th frame of sensing signals;
and if the first step signal amplitude value set and the second step signal amplitude value set are judged to have intersection signal amplitude values, determining the intersection signal amplitude values as the first target signal amplitude values.
2. The method of claim 1, wherein the smart floor comprises a lattice sensor of M x N sensors;
constructing a first signal amplitude matrix based on the n-1 th frame of sensing signals and a second signal amplitude matrix based on the n-1 th frame of sensing signals, comprising:
constructing a first signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the N-1 th frame of sensing signals;
and constructing a second signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the nth frame of sensing signals.
3. The method of claim 1, wherein analyzing the first signal amplitude matrix and the second signal amplitude matrix based on connected domain analysis principles to determine a first set of foot step signal amplitude values comprises:
determining target sensing signal amplitude values in the first signal amplitude matrix and the second signal amplitude matrix respectively, wherein the target sensing signal amplitude values are sensing signal amplitude values with sensing signal amplitude values larger than or equal to a preset amplitude threshold value;
based on the target sensing signal amplitude value and a connected domain analysis principle, respectively analyzing the first signal amplitude matrix and the second signal amplitude matrix to obtain a first intermediate matrix and a second intermediate matrix;
determining a target element based on the first intermediate matrix and the second intermediate matrix, wherein the target element is an element in which the first intermediate matrix and the second intermediate matrix are both the target sensing signal amplitude value;
the target element is determined as the first set of step signal amplitude values.
4. The method according to claim 1, wherein the method further comprises:
if the second signal amplitude matrix is judged to contain a second target signal amplitude value, wherein the second target signal amplitude value is a step signal amplitude value contained in the second signal amplitude matrix and is not contained in the first target signal amplitude value matrix;
and constructing a second foot step amplitude sequence based on the foot step signal amplitude value corresponding to the second target signal amplitude value.
5. The method according to claim 1, wherein the method further comprises:
if the first signal amplitude matrix is judged to contain a third target signal amplitude value, deleting the step signal amplitude value corresponding to the third target signal in the first step amplitude sequence, wherein the third target signal amplitude value is the step signal amplitude value contained in the first signal amplitude matrix, and the step signal amplitude value not contained in the second signal amplitude matrix.
6. A footstep amplitude sequence generating device, comprising: the device comprises an acquisition unit, a construction unit, a judgment unit and an execution unit, wherein,
the acquisition unit is used for acquiring an n-1 frame sensing signal and an n frame sensing signal which are sent by the intelligent ground, wherein n sequentially takes 2 to k, and k is the frame number of the sensing signal sent by the intelligent ground;
the construction unit is used for constructing a first signal amplitude matrix based on the n-1 frame sensing signals and constructing a second signal amplitude matrix based on the n-1 frame sensing signals;
the judging unit is configured to judge whether the first signal amplitude matrix and the second signal amplitude matrix both include a first target signal amplitude value based on the first signal amplitude matrix and the second signal amplitude matrix, where the first target signal amplitude value is a step signal amplitude value of the same object to be detected;
the execution unit is used for constructing a first foot stride sequence based on the first target signal amplitude value if the judgment result is yes;
wherein, the judging unit is used for:
analyzing the first signal amplitude matrix and the second signal amplitude matrix based on a connected domain analysis principle to determine a first step signal amplitude value set, wherein the first step signal amplitude value set is a step signal amplitude value set in the nth frame of sensing signals;
judging whether an intersection signal amplitude value exists in the first foot step signal amplitude value set and the second foot step signal amplitude value set, wherein the second foot step signal amplitude value set is the foot step signal amplitude value set in the n-1 th frame of sensing signals;
and if the first step signal amplitude value set and the second step signal amplitude value set are judged to have intersection signal amplitude values, determining the intersection signal amplitude values as the first target signal amplitude values.
7. The apparatus of claim 6, wherein the smart floor comprises a lattice sensor of M x N sensors; the construction unit is further configured to:
constructing a first signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the N-1 th frame of sensing signals;
and constructing a second signal amplitude matrix containing M x N sensing signal amplitude values based on the sensing signal amplitude values of each sensor in the nth frame of sensing signals.
8. The apparatus of claim 6, wherein the determination unit is further configured to:
determining target sensing signal amplitude values in the first signal amplitude matrix and the second signal amplitude matrix respectively, wherein the target sensing signal amplitude values are sensing signal amplitude values with sensing signal amplitude values larger than or equal to a preset amplitude threshold value;
based on the target sensing signal amplitude value and a connected domain analysis principle, respectively analyzing the first signal amplitude matrix and the second signal amplitude matrix to obtain a first intermediate matrix and a second intermediate matrix;
determining a target element based on the first intermediate matrix and the second intermediate matrix, wherein the target element is an element in which the first intermediate matrix and the second intermediate matrix are both the target sensing signal amplitude value;
the target element is determined as the first set of step signal amplitude values.
CN201911079351.5A 2019-11-06 2019-11-06 Method and device for generating step amplitude sequence Active CN110661529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911079351.5A CN110661529B (en) 2019-11-06 2019-11-06 Method and device for generating step amplitude sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911079351.5A CN110661529B (en) 2019-11-06 2019-11-06 Method and device for generating step amplitude sequence

Publications (2)

Publication Number Publication Date
CN110661529A CN110661529A (en) 2020-01-07
CN110661529B true CN110661529B (en) 2023-05-30

Family

ID=69043392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911079351.5A Active CN110661529B (en) 2019-11-06 2019-11-06 Method and device for generating step amplitude sequence

Country Status (1)

Country Link
CN (1) CN110661529B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112102363A (en) * 2020-09-14 2020-12-18 北京数衍科技有限公司 Pedestrian trajectory tracking method and device
CN112084980B (en) * 2020-09-14 2024-05-28 北京数衍科技有限公司 Pedestrian footstep state identification method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818559A (en) * 2005-02-11 2006-08-16 三星电子株式会社 Stride-based route guiding apparatus and method
CN101632587A (en) * 2009-08-05 2010-01-27 南京大学 Tread signal extracting method based on wavelet transformation
CN107028276A (en) * 2017-03-16 2017-08-11 青岛滨海学院 A kind of intelligence walks appearance corrective shoes
CN107928680A (en) * 2017-12-08 2018-04-20 成都领创先科技有限公司 A kind of intelligence stride measuring apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818559A (en) * 2005-02-11 2006-08-16 三星电子株式会社 Stride-based route guiding apparatus and method
CN101632587A (en) * 2009-08-05 2010-01-27 南京大学 Tread signal extracting method based on wavelet transformation
CN107028276A (en) * 2017-03-16 2017-08-11 青岛滨海学院 A kind of intelligence walks appearance corrective shoes
CN107928680A (en) * 2017-12-08 2018-04-20 成都领创先科技有限公司 A kind of intelligence stride measuring apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于下肢轮廓角度距离和步幅变化的步态识别算法研究;王希娟;《计算机应用于软件》;20180215;第35卷(第2期);第235-241页 *

Also Published As

Publication number Publication date
CN110661529A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN111160379B (en) Training method and device of image detection model, and target detection method and device
CN108230357B (en) Key point detection method and device, storage medium and electronic equipment
CN110661529B (en) Method and device for generating step amplitude sequence
CN110428394B (en) Method, apparatus and computer storage medium for target movement detection
JP2013206462A (en) Method for measuring parking lot occupancy state from digital camera image
CN109873832B (en) Flow identification method and device, electronic equipment and storage medium
CN104766099B (en) Distribution type fiber-optic circumference vibration signal processing and recognition methods based on image
CN104680504A (en) Scene change detection method and device thereof
CN110781427A (en) Method, device, equipment and storage medium for calculating first screen time
US20220172480A1 (en) Surveillance region identifying method and surveillance apparatus
CN115222717A (en) Soybean seed pod rapid counting method and device and storage medium
CN110798481A (en) Malicious domain name detection method and device based on deep learning
CN108629310B (en) Engineering management supervision method and device
US20140037141A1 (en) Method for evaluating a plurality of time-offset pictures, device for evaluating pictures, and monitoring system
CN113052019A (en) Target tracking method and device, intelligent equipment and computer storage medium
JP3268646B2 (en) Image analysis device
CN112949526B (en) Face detection method and device
CN115082993A (en) Face biopsy method and device based on mouth opening action
EP3234632B1 (en) Detection of acoustic events
CN109612670B (en) Protective net monitoring method, system and terminal equipment
CN113837138A (en) Dressing monitoring method, system, medium and electronic terminal
CN113570585A (en) Small intestine state abnormity detection method and device and electronic equipment
US11016459B2 (en) Governance of the control process by the state of the node
CN114550289B (en) Behavior recognition method, system and electronic equipment
Vuza et al. Test and measurement procedures for RFID systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240426

Address after: Room 501, 5th Floor, Building 103, Lize Zhongyuan, Chaoyang District, Beijing, 100000

Patentee after: BEIJING DATA DRIVEN TECHNOLOGY CO.,LTD.

Country or region after: China

Address before: Room 3104, building 9, Jianggan District, Hangzhou, Zhejiang Province

Patentee before: Hangzhou cigan Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right