A pipeline evaluator, a mobile trajectory analysis and processing device, a method and a device
Through the design of the pipeline evaluator, the problem that the displacement detection system in the existing technology cannot effectively judge the trajectory is solved, the accurate processing of the moving displacement data and the output of real data are realized, and the response speed and accuracy are improved.
Patent Information
- Application Number
- CN202110869284.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-07-30
AI Technical Summary
In the existing technology, the displacement detection system fails to effectively judge the trajectory, resulting in rough movement displacement data, slow response time, and large errors.
A pipeline evaluator is designed, including an accumulation unit, an evaluation unit and a pipeline cache node. The input data is accumulated and cached through a series structure, and the evaluation unit is used for summation and averaging processing to build mobile trajectory analysis and processing. The device uses comparison and proportion operations to obtain movement information.
It reduces the impact of input data fluctuations on subsequent processing results, improves the accuracy and precision of data output, and can obtain mobile features more realistically.
Smart Images

Figure CN113672286B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a pipeline evaluator, a movement trajectory analysis and processing device, a method and equipment. Background Art
[0002] In the application field of object movement trajectory detection, such as human-computer interaction control equipment, trajectory detection of moving parts in industrial automatic control equipment, etc., corresponding analysis and judgment are usually carried out by real-time detection of the object's movement displacement data.
[0003] However, since the displacement detection system in the prior art does not undergo trajectory judgment, the displacement data is rough and the effect is poor. For example, for the displacement processing in one direction, the displacement data in another direction is usually included. Alternatively, the processing process of the displacement data is complicated, resulting in a slow response time and a delay. Alternatively, the displacement data has certain fluctuations, resulting in large errors in the subsequent processing results based on it. Summary of the invention
[0004] In view of the problem in the prior art that large result errors are prone to occur when processing based on continuous data, the purpose of the present invention is to provide a pipeline evaluator, a mobile trajectory analysis and processing device, method and equipment.
[0005] To achieve the above object, the technical solution of the present invention is:
[0006] In a first aspect, the present invention provides a pipeline evaluator, comprising an accumulation unit, an evaluation unit and at least one pipeline cache node; the accumulation unit and at least one pipeline cache node are sequentially connected in series to form a pipeline structure, wherein the accumulation unit is used to accumulate at least one acquired input data, and after obtaining the accumulated data, flows it to a downstream pipeline cache node for caching, and the pipeline cache node is used to receive the accumulated data flowing from an upstream accumulation unit or a pipeline cache node, and synchronously flows the currently cached accumulated data to a downstream pipeline cache node; the accumulation unit and at least one pipeline cache node are both connected to the evaluation unit, and the evaluation unit is used to evaluate the accumulated data in at least one pipeline cache node.
[0007] Preferably, the evaluation process includes one or more of summation and averaging.
[0008] Preferably, the evaluation unit performs averaging processing according to the formula avg=sum / (K*N), wherein K is the number of data accumulated by the accumulation unit, N is the number of the pipeline cache nodes, and sum is the sum of the accumulated data in all the pipeline cache nodes.
[0009] Further preferably, the evaluation unit is also used to perform averaging processing according to the formula AVG=SUM / {K*(N+1)}, wherein SUM is the sum of the accumulated data in the accumulation unit and the accumulated data in all the pipeline cache nodes.
[0010] In a second aspect, the present invention further provides a mobile trajectory analysis and processing device, comprising a trajectory calculation module, a trajectory judgment module, an output module, and a plurality of pipeline evaluators as described above;
[0011] Wherein, the plurality of pipeline evaluators are divided into at least one group, each group comprising at least two pipeline evaluators;
[0012] Each of the pipeline evaluators is connected to the trajectory calculation module, and the trajectory calculation module is used to calculate the size relationship of the evaluation results of each of the pipeline evaluators in the same group, and when the pipeline evaluators are divided into at least two groups, it is used to calculate the ratio relationship and size relationship of the evaluation results of the pipeline evaluators in different groups in the same time period;
[0013] The trajectory judgment module is connected to the trajectory calculation module, and the trajectory judgment module is used to obtain a judgment result according to the calculation result of the trajectory calculation module, and the judgment result is used to reflect the movement situation information of the movement trajectory;
[0014] The output module is connected to the trajectory judgment module and the pipeline evaluator. The output module is used to process the corresponding accumulated data or evaluation result in the pipeline evaluator according to the judgment result and the preset output condition to obtain a processing result, and output one or more of the judgment result, the corresponding accumulated data or evaluation result in the pipeline evaluator, and the processing result.
[0015] Preferably, the judgment result includes one or more of movement speed information and movement direction angle information, and the movement speed information includes one or more of accelerated movement, decelerated movement, uniform movement and short movement.
[0016] Preferably, the short motion includes a button press and a button release.
[0017] In a third aspect, the present invention provides a method for analyzing and processing a movement trajectory, the method being applied to the device as described above, and characterized in that the method comprises the following steps:
[0018] S1, at least one group of pipeline evaluators respectively receive input data representing movement trajectories in different directions;
[0019] S2, the trajectory calculation module receives the evaluation results sent by each pipeline evaluator respectively, and calculates the size relationship of the evaluation results of each pipeline evaluator in the same group, and when the pipeline evaluator is configured with at least two groups, calculates the proportion relationship and size relationship of the evaluation results of the pipeline evaluators in different groups in the same period, thereby obtaining the calculation results;
[0020] S3, the trajectory judgment module receives the calculation result sent by the trajectory calculation module, thereby obtaining a judgment result for reflecting the movement situation information of the movement trajectory, wherein the movement situation information of the movement trajectory includes one or more of the movement speed information in each direction and the movement direction angle information in multiple directions, and the movement speed information includes one or more of the acceleration movement, deceleration movement, uniform speed movement, and short movement;
[0021] S4. The output module receives the judgment result of the trajectory judgment module, and processes the corresponding accumulated data or evaluation result in the pipeline evaluator according to the judgment result and the preset output condition to obtain a processing result, and then outputs one or more of the judgment result, the corresponding accumulated data or evaluation result in the pipeline evaluator, and the processing result.
[0022] Preferably, in S4, the preset output condition includes unidirectional motion data output and multidirectional motion data output;
[0023] When the preset output condition is unidirectional motion data output, it is determined whether the difference between the evaluation results of each group of pipeline evaluators in the same period exceeds a preset threshold value. If so, the evaluation result of the pipeline evaluator in the direction with the smaller evaluation result is recorded as zero, and the evaluation result of the pipeline evaluator in the direction with the largest evaluation result is output;
[0024] When the preset output condition is multi-directional motion data output, the output module outputs the evaluation results of the pipeline evaluator in each direction respectively.
[0025] In a fourth aspect, the present invention provides an electronic device, comprising a memory storing executable program code and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method as described above.
[0026] In a fifth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program executes the method described above when executed by a processor.
[0027] By adopting the above technical solution, due to the setting of the evaluation unit, the accumulation unit and at least one pipeline cache node in the pipeline evaluator, multiple batches of input data obtained in different time periods can be cached in each pipeline cache node, and can be summed and averaged through the pipeline evaluator, thereby reducing the impact of input data fluctuations on subsequent processing results. In addition, the mobile trajectory analysis and processing device built based on the pipeline evaluator can use the evaluation results output by the pipeline evaluator to compare and proportionally calculate the input data in multiple directions, thereby obtaining movement information, obtaining movement characteristics, and performing more realistic data output. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Schematic diagram of the structure of the pipeline evaluator in the first embodiment of the present invention;
[0029] Figure 2 Schematic diagram of the structure of the mobile trajectory analysis and processing device in the second embodiment of the present invention;
[0030] Figure 3 Flow chart of the movement trajectory analysis and processing method in Embodiment 3 of the present invention;
[0031] Figure 4 It is a schematic diagram of the structure of the device in the fourth embodiment of the present invention.
[0032] In the figure: 1- pipeline evaluator, 11- evaluation unit, 12- accumulation unit, 13- pipeline cache node, 2- trajectory calculation module, 3- trajectory judgment module, 4- output module. DETAILED DESCRIPTION
[0033] The specific embodiments of the present invention are further described below in conjunction with the accompanying drawings. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0034] It should be noted that, in the description of the present invention, the directions or positional relationships indicated by the terms "up", "down", "left", "right", "front", "back", etc. are descriptions of the structure of the present invention based on the accompanying drawings, and are only for the convenience of describing the present invention, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0035] The "first" and "second" in this technical solution are only used to distinguish the names of the same or similar structures, or corresponding structures with similar functions, and are not an arrangement of the importance of these structures, nor do they have a ranking, comparison of size, or other meanings.
[0036] In addition, unless otherwise clearly specified and limited, the terms "installation" and "connection" should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be a connection between the two structures. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood based on the overall idea of the present invention and the specific context of the present solution.
[0037] Embodiment 1
[0038] A pipeline evaluator 1, such as Figure 1 As shown, it includes an evaluation unit 11, an accumulation unit 12 and at least one pipeline cache node 13.
[0039] Among them, the accumulation unit 12 and at least one (denoted by N, N≥1) pipeline cache node 13 are connected in series in sequence to form a pipeline structure. Among them, the accumulation unit 12 is used to accumulate at least one (denoted by K, K≥1) input data obtained to obtain an accumulated data, and after obtaining the accumulated data, it flows to the downstream pipeline cache node 13 for caching; correspondingly, the pipeline cache node 13 is used to receive the accumulated data flowing from the accumulation unit 12 or pipeline cache node 13 located upstream thereof, and synchronously (i.e., while receiving an accumulated data from the upstream) flows its currently cached accumulated data (if there is no currently cached accumulated data, it will not be sent or 0 will be sent) to the downstream pipeline cache node 13.
[0040] Among them, the accumulation unit 12 and all the pipeline cache nodes 13 are connected to the above-mentioned evaluation unit 11. The evaluation unit 11 is used to evaluate the accumulated data in all the pipeline cache nodes 13. For example, in this embodiment, the above-mentioned evaluation processing includes one or more of summation and averaging, wherein summation is to add the accumulated data in all the pipeline cache nodes 13; and averaging is performed according to the formula avg=sum / (K*N), wherein K is the number of accumulated data of the accumulation unit 12 (that is, every time K input data are received, an accumulation operation is performed to obtain one accumulated data), N is the number of pipeline cache nodes 13, and sum is the sum of the accumulated data in all the pipeline cache nodes, that is, the result of the above-mentioned summation processing.
[0041] On the other hand, the evaluation unit 11 is also used to evaluate the accumulated data in the accumulation unit 12 and the accumulated data in all pipeline cache nodes 13. For example, when the evaluation unit 11 receives a signal that requires evaluation, the accumulation unit 12 also completes an accumulation calculation and obtains the accumulated data (if the conditions for the accumulation calculation are not met, wait for the accumulation unit 12 to receive enough K input data), at this time, the evaluation unit 11 adds the accumulated data in the accumulation unit 12 and the accumulated data in all pipeline cache nodes 13 to obtain the sum result, and then according to the formula AVG=SUM / {K*(N+1)}, the average result can be obtained, where SUM is the sum of the accumulated data in the accumulation unit 12 and the accumulated data in all pipeline cache nodes 13. Such a setting allows the accumulation unit 12 to be used as another form of pipeline cache node 13 to a certain extent, thereby reducing the total number of pipeline cache nodes 13 and reducing costs.
[0042] The pipeline evaluator provided in this embodiment can accumulate multiple input data received in multiple time periods and cache them in each pipeline cache node 13, and perform summing and averaging processing through the evaluation unit 11, so that the accuracy and precision of subsequent processing based on the summation result and the average result output by the evaluation unit 11 are more reliable than directly processing the input data in the traditional way.
[0043] Embodiment 2
[0044] A mobile trajectory analysis and processing device, such as Figure 2 As shown, it includes a trajectory calculation module 2, a trajectory judgment module 3, an output module 4 and a plurality of pipeline evaluators 1 as provided in the first embodiment.
[0045] In this embodiment, the above-mentioned multiple pipeline evaluators 1 are divided into at least one group, each group includes at least two of the above-mentioned pipeline evaluators 1. For example, in this embodiment, four pipeline evaluators 1 are set and every two constitute a group. Each pipeline evaluator 1 includes an evaluation unit 11, an accumulation unit 12 and two pipeline cache nodes 13. For an upstream pipeline evaluator 1, the accumulation unit 12 is configured to accumulate every three input data once (K=3), that is, the upstream pipeline evaluator 1 can usually cache 6 input data at the same time (two accumulated data cached in two pipeline cache nodes 13 respectively, each accumulated data is the accumulated result of 3 input data, and when the accumulation unit 12 is considered, the accumulated results of up to 9 input data can be cached); and for the downstream pipeline evaluator 1, the accumulation unit 12 is configured to accumulate every 1 input data once (K=1), because the data received by the downstream pipeline evaluator 1 is the accumulated data of the upstream pipeline evaluator 1, the downstream pipeline evaluator 1 can also usually cache 6 input data at the same time (two accumulated data cached in two pipeline cache nodes 13 respectively, each accumulated data is also the accumulated result of 3 input data, and when the accumulation unit 12 is considered, the accumulated results of up to 9 input data can be cached).
[0046] Or in another embodiment, when K and N of two pipeline evaluators in the same group are configured to be the same, the input data obtained by the pipeline evaluators 1 in the same group can be set to be continuous in timing. For example, the 6 input data alternately obtained by the two pipeline evaluators 1 in the same group can be distributed through the modules deployed at the front end when used, or the two pipeline evaluators 1 in the same group can communicate with each other to obtain the situation of each other receiving input data.
[0047] The above two groups are respectively used to receive input data representing movement trajectories in different directions, such as X-direction movement and Y-direction movement in a plane, or forward and reverse directions in rotation, etc. Of course, in another embodiment, only one group can be configured, that is, unidirectional movement in a plane motion or unidirectional rotation in rotation, etc.
[0048] In this embodiment, each of the above-mentioned pipeline evaluators 1 is connected to the trajectory calculation module 2, and the trajectory calculation module 2 is used to calculate the size relationship of the evaluation results of two pipeline evaluators 1 in the same group, and to calculate the proportional relationship and size relationship of the evaluation results of pipeline evaluators 1 in different groups in the same period. It can be understood that for two pipeline evaluators 1 in the same group (in a certain direction), the accumulated data in each pipeline cache node 13 are equal (the accumulated result of the same number of input data), so the size of the evaluation results of the two pipeline evaluators 1 can be compared to know the movement characteristics in the direction, such as acceleration or deceleration; and because the movement trajectories in multiple directions occur simultaneously, the input data obtained by different groups are also corresponding in time. Similarly, in the same period, only the size and proportional relationship of the corresponding pipeline evaluators 1 in different groups (in different directions) need to be compared to know the movement of the object in the overall movement.
[0049] In this embodiment, the trajectory judgment module 3 is connected to the above-mentioned trajectory calculation module 2, and the trajectory judgment module 3 is used to obtain a judgment result according to the calculation result of the trajectory calculation module 2, and the judgment result is used to reflect the movement information of the movement trajectory; the movement information of the movement trajectory includes one or more of the movement speed information and the movement direction angle information, and the movement speed information includes one or more of the acceleration movement, deceleration movement, uniform movement and short movement, wherein the short movement includes button pressing and button releasing.
[0050] It is understandable that for some application scenarios, it is necessary to intuitively know the motion state of the object. Therefore, by judging the calculation result of the trajectory calculation module 2 through the trajectory judgment module 3, the motion state of the object can be judged, that is, the movement status information reflecting the movement trajectory. For example, if the evaluation results of two pipeline evaluators 1 in the same group increase continuously in time series, it means that the object is in an accelerated motion state in that direction, otherwise it is in a decelerated motion state. If the evaluation results do not change in time series, it means that the object is in a uniform motion state in that direction. For another example, for an object that is usually in a unidirectional motion state, when it is found that pipeline evaluators 1 in multiple directions (i.e., multiple groups) have received input data, then by comparing the sizes of the evaluation results, it can be determined that the smaller evaluation result is noise, and the larger one is real data. For another example, in the scenario of detecting key movements, if the pattern in the input data received by the pipeline evaluator 1 in the same group is 0—acceleration—deceleration—0, it is determined to be a short movement. This short movement can be determined as a button press and release operation in actual applications, that is, when "0—move" is found, it can be determined as a button press operation, and when "move--0" appears, it can be determined as a button release operation.
[0051] In this embodiment, the output module 4 is connected to the above-mentioned trajectory judgment module 3 and the pipeline evaluator 1. The output module 4 can directly output the above-mentioned judgment result, so as to reflect the movement information of the movement trajectory of the object, such as acceleration, deceleration, button operation, button release operation, etc.;
[0052] On the other hand, the output module 4 is also used to process the accumulated data or evaluation results in the corresponding pipeline evaluator 1 according to the above-mentioned judgment results and preset output conditions to obtain processing results, and then output the accumulated data or evaluation results in the corresponding pipeline evaluator 1 and one or more of the above-mentioned processing results.
[0053] The above-mentioned preset output conditions include unidirectional motion data output and multidirectional motion data output, and:
[0054] When the preset output condition is unidirectional motion data output, the output module 4 determines whether the difference between the evaluation results of each group of pipeline evaluators in the same time period exceeds the preset threshold value. If so, the evaluation result of the pipeline evaluator in the direction with the smaller evaluation result is recorded as zero (that is, the accumulated data or evaluation result in the corresponding pipeline evaluator 1 is processed), and the evaluation result of the pipeline evaluator in the direction with the largest evaluation result is output; its function is to filter out interference noise in other directions, so that subsequent processing results are more accurate; and it can be understood that the output module 4 can also output a certain accumulated data cached in the pipeline evaluator 1 in the direction with the largest evaluation result (such as the latest data in terms of time series).
[0055] When the preset output condition is multi-directional motion data output, the output module 4 outputs the evaluation results of the pipeline evaluator in each direction respectively.
[0056] Embodiment 3
[0057] A method for analyzing and processing a moving trajectory, the method is implemented by the device in the second embodiment, such as Figure 3 As shown, the method comprises the following steps:
[0058] Step S1, at least two groups of pipeline evaluators respectively receive input data representing movement trajectories in different directions;
[0059] Step S2, the trajectory calculation module receives the evaluation results sent by each pipeline evaluator respectively, and calculates the size relationship of the evaluation results of each pipeline evaluator in the same group and the proportional relationship and size relationship of the evaluation results of the pipeline evaluators in different groups in the same period, so as to obtain the calculation results;
[0060] Step S3, the trajectory judgment module receives the calculation result sent by the trajectory calculation module, and obtains a judgment result for reflecting the movement situation information of the movement trajectory, wherein the movement situation information of the movement trajectory includes one or more of the movement speed information in each direction and the movement direction angle information in multiple directions, and the movement speed information includes one or more of the acceleration movement, deceleration movement, uniform speed movement, and short movement;
[0061] Step S4, the output module receives the judgment result of the trajectory judgment module, and processes the accumulated data or evaluation result in the corresponding pipeline evaluator according to the judgment result and the preset output condition to obtain the processing result, and then outputs one or more of the judgment result, the accumulated data or evaluation result in the corresponding pipeline evaluator, and the processing result.
[0062] In step S4, the preset output conditions include unidirectional motion data output and multidirectional motion data output;
[0063] When the preset output condition is unidirectional motion data output, it is determined whether the difference between the evaluation results of each group of pipeline evaluators in the same period exceeds a preset threshold value. If so, the evaluation result of the pipeline evaluator in the direction with the smaller evaluation result is recorded as zero, and the evaluation result of the pipeline evaluator in the direction with the largest evaluation result is output;
[0064] When the preset output condition is multi-directional motion data output, the output module outputs the evaluation results of the pipeline evaluator in each direction respectively.
[0065] Embodiment 4
[0066] An electronic device, such as Figure 4 As shown, it includes a memory storing executable program code and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method disclosed in embodiment three.
[0067] Embodiment 5
[0068] A computer storage medium stores a computer program, and when the computer program is run by a processor, the method disclosed in embodiment 3 is executed.
[0069] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0070] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0072] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, various changes, modifications, substitutions and variations of these embodiments are made without departing from the principles and spirit of the present invention, and still fall within the scope of protection of the present invention.
Claims
1. A mobile trajectory analysis and processing device, characterized in that: It includes a trajectory calculation module, a trajectory judgment module, an output module and a plurality of pipeline evaluators; the pipeline evaluator includes an accumulation unit, an evaluation unit and at least one pipeline cache node; The accumulation unit and at least one of the pipeline cache nodes are sequentially connected in series to form a pipeline structure, wherein the accumulation unit is used to accumulate at least one input data obtained, and after obtaining the accumulated data, flow it to the downstream pipeline cache node for caching, and the pipeline cache node is used to receive the accumulated data flowing from the accumulation unit located upstream or the pipeline cache node, and synchronously flow the currently cached accumulated data to the downstream pipeline cache node; the accumulation unit and at least one pipeline cache node are both connected to the evaluation unit, and the evaluation unit is used to evaluate the accumulated data in at least one of the pipeline cache nodes; wherein the input data is the movement data of the moving parts in the human-computer interaction control device and the industrial automatic control device; The evaluation process includes one or more of summing and averaging; The evaluation unit performs averaging processing according to the formula avg=sum / (K*N), wherein K is the number of data accumulated by the accumulation unit, N is the number of pipeline cache nodes, and sum is the sum of the accumulated data in all pipeline cache nodes; The evaluation unit is further used to perform averaging processing according to the formula AVG=SUM / {K*(N+1)}, wherein SUM is the sum of the accumulated data in the accumulation unit and the accumulated data in all the pipeline cache nodes; Wherein, the plurality of pipeline evaluators are divided into at least one group, each group comprising at least two pipeline evaluators; Each of the pipeline evaluators is connected to the trajectory calculation module, and the trajectory calculation module is used to calculate the size relationship of the evaluation results of each of the pipeline evaluators in the same group, and when the pipeline evaluators are divided into at least two groups, it is used to calculate the ratio relationship and size relationship of the evaluation results of the pipeline evaluators in different groups in the same time period; The trajectory judgment module is connected to the trajectory calculation module, and the trajectory judgment module is used to obtain a judgment result according to the calculation result of the trajectory calculation module, and the judgment result is used to reflect the movement situation information of the movement trajectory; The output module is connected to the trajectory judgment module and the pipeline evaluator. The output module is used to process the corresponding accumulated data or evaluation result in the pipeline evaluator according to the judgment result and the preset output condition to obtain a processing result, and output one or more of the judgment result, the corresponding accumulated data or evaluation result in the pipeline evaluator, and the processing result.
2. The device according to claim 1, characterized in that: The judgment result includes one or more of movement speed information and movement direction angle information, and the movement speed information includes one or more of accelerated movement, decelerated movement, uniform movement and short movement.
3. The device according to claim 2, characterized in that: The short motion includes a button press and a button release.
4. A method for analyzing and processing a movement trajectory, the method being applied to the device according to any one of claims 1 to 3, characterized in that: The method comprises the following steps, S1, at least one group of pipeline evaluators respectively receive input data representing movement trajectories in different directions; S2, the trajectory calculation module receives the evaluation results sent by each pipeline evaluator respectively, and calculates the size relationship of the evaluation results of each pipeline evaluator in the same group, and when the pipeline evaluator is configured with at least two groups, calculates the proportion relationship and size relationship of the evaluation results of the pipeline evaluators in different groups in the same period, thereby obtaining the calculation results; S3, the trajectory judgment module receives the calculation result sent by the trajectory calculation module, thereby obtaining a judgment result for reflecting the movement situation information of the movement trajectory, wherein the movement situation information of the movement trajectory includes one or more of the movement speed information in each direction and the movement direction angle information in multiple directions, and the movement speed information includes one or more of the acceleration movement, deceleration movement, uniform speed movement, and short movement; S4. The output module receives the judgment result of the trajectory judgment module, and processes the corresponding accumulated data or evaluation result in the pipeline evaluator according to the judgment result and the preset output condition to obtain a processing result, and then outputs one or more of the judgment result, the corresponding accumulated data or evaluation result in the pipeline evaluator, and the processing result.
5. The method according to claim 4, characterized in that: In S4, the preset output conditions include unidirectional motion data output and multidirectional motion data output; When the preset output condition is unidirectional motion data output, it is determined whether the difference between the evaluation results of each group of pipeline evaluators in the same period exceeds a preset threshold value. If so, the evaluation result of the pipeline evaluator in the direction with the smaller evaluation result is recorded as zero, and the evaluation result of the pipeline evaluator in the direction with the largest evaluation result is output; When the preset output condition is multi-directional motion data output, the output module outputs the evaluation results of the pipeline evaluator in each direction respectively.
6. An electronic device, characterized in that: It comprises a memory storing executable program code and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method according to claim 4 or 5.
