Movement speed display method and device and electronic equipment
By performing low-pass filtering and judging motion state of the positioning system, the acquisition frequency is optimized, and the problems of GPS speed value interference and high hardware cost are solved, and the speed is accurately displayed in the marine field and power consumption is reduced.
Patent Information
- Application Number
- CN202411128459.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-12-27
AI Technical Summary
In the prior art, when measuring the driving speed in the marine field, there is interference in the GPS speed value, resulting in low positioning accuracy and high hardware cost. The hybrid positioning technology consumes a lot of power, making it difficult to accurately display the speed when switching between a stationary state and an operating state. .
The speed shift signal sent by the acquisition positioning system is low-pass filtered, the motion state is judged, and the display value is selected according to the motion state, and the acquisition frequency is optimized to reduce power consumption and hardware costs.
Accurate speed display between stationary and operating states is achieved, reducing the hardware cost and power consumption of the positioning system and improving positioning accuracy.
Smart Images

Figure CN119199171A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of speed display of a positioning system, and in particular to a speed display method, device and electronic equipment. Background Art
[0002] At present, the field of driving speed measurement generally uses hybrid positioning or selects a suitable, high-performance GPS receiver to improve the positioning accuracy, thereby improving the driving speed measurement accuracy.
[0003] Nowadays, there are two main solutions to improve the accuracy of driving speed measurement: The first solution is to use a hybrid positioning method. Specifically, it is a hybrid positioning technology that combines cellular networks with GPS. Cellular network positioning technology is a positioning technology based on mobile communication networks, which calculates location coordinates by measuring the transmission time difference of radio signals. Hybrid positioning technology usually uses cellular network positioning technology for rough positioning, and then uses GPS positioning technology for precise positioning. However, the disadvantage of the above solution is that it requires turning on both cellular network and GPS signal receivers at the same time when using it, so its power consumption is relatively large. At the same time, hybrid positioning technology requires the addition of a cellular network receiver, which increases the hardware cost. In addition, the positioning accuracy of the cellular network is relatively low.
[0004] The second solution is to choose a suitable, high-performance GPS receiver. The positioning accuracy of a GPS receiver is related to the receiver's receiving sensitivity and the number of receiver channels. The higher the receiving sensitivity of a GPS receiver, the more weak signals it can receive, reducing receiver errors and thus improving positioning accuracy. The more receiving channels a GPS receiver has, the more satellites it can receive at the same time. In an environment with many obstructions, it can ensure that a sufficient number of satellite signals are received, thereby improving positioning accuracy. However, the disadvantage of the above solution is that choosing a high-performance GPS receiver requires increasing the hardware cost of the GPS receiver.
[0005] In the field of ships, when the outboard motor is stationary, there is a lot of interference in the GPS speed value. If the original speed value is directly displayed on the main control display, there will be a speed value when the outboard motor is stationary. If the original speed value is filtered and the filtered speed value is directly displayed on the main control display, the filtering depth will be large due to the large interference, causing the filtered speed to lag significantly behind the original speed before filtering, which will cause the speed on the main control display to lag significantly behind the actual outboard motor speed. Summary of the invention
[0006] To solve the above problems, the embodiments of the present application provide a method, device and electronic device for displaying movement speed, which are applicable to a moving object equipped with a positioning system.
[0007] In a first aspect, an embodiment of the present application provides a method for displaying a moving speed, the method comprising: Collecting an original signal, where the original signal is a moving speed signal sent by a positioning system; Performing low-pass filtering on the original signal to obtain a filtered signal, wherein the filtered signal is a speed signal obtained after the original signal is low-pass filtered; Determine the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state; The motion state is acquired, and a display value is selected based on the motion state, wherein the display value includes the original signal or the filtered signal.
[0008] Preferably, it also includes: Pre-set different acquisition frequencies; Associating each of the acquisition frequencies with each of the motion states; The corresponding acquisition frequency is called based on the motion state.
[0009] Preferably, the motion state of the moving object is determined according to the original signal and the filtered signal, and the motion state at least includes a stationary state and a running state, and specifically includes: Acquire the original signal and the filtered signal; Determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If both the original signal and the filtered signal are not equal to zero, the motion state is the running state.
[0010] Preferably, the motion state also includes a first state, the first state is determined based on the current original signal and the previous original signal, and the first state is that the moving body is in a just-started state.
[0011] Preferably, the determining whether the original signal and the filtered signal are equal to zero further includes: Obtaining the current original signal and the current filtered signal; Obtain the previous original signal; Preset error value; Determine whether the current original signal and the current filtered signal are equal to zero: If the current original signal is not equal to zero, and the current filtered signal is equal to zero, then determine whether the absolute value of the difference between the current original signal and the previous original signal is greater than the error value: If the absolute value of the difference between the current original signal and the previous original signal is greater than the error value, the motion state is a stationary state; If the absolute value of the difference between the current original signal and the previous original signal is not greater than the error value, the motion state is the first state.
[0012] Preferably, the motion state further includes a second state, the second state is determined based on the original signal and the filtered signal, and the second state is when the moving body just enters a stop state.
[0013] Preferably, the determining whether the original signal and the filtered signal are equal to zero further includes: Acquire the original signal and the filtered signal; Determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If the original signal is equal to zero and the filtered signal is not equal to zero, the motion state is the second state.
[0014] Preferably, the acquiring the motion state and selecting a display value based on the motion state specifically includes: Acquiring the motion state; Determine whether the motion state is the static state: If the motion state is a stationary state, the displayed value is the filtered signal; If the motion state is not a static state, the displayed value is the original signal.
[0015] In a second aspect, an embodiment of the present application provides a device for a moving speed display method, the device comprising: A collection module, used to collect original signals, where the original signals are speed signals sent by the positioning system; A filtering module, used to perform low-pass filtering on the original signal and obtain a filtered signal, wherein the filtered signal is a speed signal obtained after the original signal is low-pass filtered; A judging module, configured to judge the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state; The display module is used to obtain the motion state and select a display value based on the motion state, wherein the display value includes the original signal or the filtered signal.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method provided in the first aspect or any possible implementation of the first aspect are implemented.
[0017] The beneficial effects of the present invention are as follows: the present invention can select a suitable display value by judging the motion state of the moving object, which not only reduces the hardware cost of the positioning system, but also reduces the power consumption of each positioning sensor. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated into the specification and constitute a part of the specification, illustrate embodiments of the present invention and are used together with the description to explain the principles of the present invention. In these drawings, similar reference numerals are used to represent similar elements. The drawings described below are some embodiments of the present invention, but not all embodiments. For those of ordinary skill in the art, other drawings can be obtained from these drawings without paying creative work.
[0019] Figure 1 A schematic diagram of a flow chart of a method for displaying a moving speed provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a device for displaying a moving speed provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0021] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0022] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0023] It should be noted that the positioning system in this application will take GPS as an example to explain the details of the solution of this application, and the mobile body in this application will take a ship as an example to explain the details of the solution of this application.
[0024] See also Figure 1 , Figure 1 : is a flow chart of a method for displaying a moving speed provided in an embodiment of the present application. In an embodiment of the present application, the method includes: S101. Collecting an original signal, where the original signal is a speed signal sent by a positioning system.
[0025] The execution entity of this application can be a cloud server.
[0026] In one embodiment of the present application, during the ship's travel, the cloud server will continuously receive and store the original signal sent by the GPS receiver, that is, the ship's speed signal. However, the GPS receiver receives the unprocessed original speed signal, which may cause interference.
[0027] In one possible implementation, the method of the present application further includes: Pre-set different acquisition frequencies; Associating each of the acquisition frequencies with each of the motion states; The corresponding acquisition frequency is called based on the motion state.
[0028] In one embodiment of the present application, first, the collection frequencies of the first frequency and the second frequency can be pre-set in the cloud server to adapt to the ship in the stationary state and the running state, and the first frequency is less than the second frequency to reduce energy consumption, and then the first frequency is associated with the stationary state and the second frequency is associated with the running state. When the cloud server detects that the ship is in the stationary state, the collection frequency is set to the first frequency; when the cloud server detects that the ship is in the running state, the collection frequency is set to the second frequency.
[0029] S102, performing low-pass filtering on the original signal to obtain a filtered signal, wherein the filtered signal is a movement speed signal obtained after performing low-pass filtering on the original signal.
[0030] In one embodiment of the present application, the GPS receiver on the ship receives the raw signal without processing and performs low-pass filtering. The filter function is: , the filter cutoff frequency It is necessary to ensure that all interferences that occur when the ship is stationary are filtered out. The smaller the value, the greater the filter depth, the smoother the signal waveform after filtering, and the longer the lag time, that is, the worse the real-time tracking ability of the filtered signal and the original signal before filtering.
[0031] S103: Determine the motion state of the moving object according to the original signal and the filtered signal, where the motion state at least includes a stationary state and a running state.
[0032] In one embodiment of the present application, the current motion state of the ship can be determined by the received original signal and the filtered signal. Specifically, after obtaining the unprocessed original speed signal of the GPS, that is, the original signal, the low-pass filter filters the original speed signal. According to the obtained original speed signal and the corresponding filtered signal, the current motion state of the ship can be determined, and the motion state of the ship includes at least two states: a stationary state and a running state.
[0033] In one possible implementation manner, the determining of the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state includes at least a stationary state and a running state, specifically includes: Acquire the original signal and the filtered signal; Determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If both the original signal and the filtered signal are not equal to zero, the motion state is the running state.
[0034] In one embodiment of the present application, first, the original signal emitted by the GPS receiver, that is, the original speed signal, is obtained, and then the original speed signal is processed into a filtered signal through a low-pass filter. The unprocessed original speed signal of the GPS may be A, and the filtered signal after filtering may be B. The values of A and B are judged, and the motion state of the ship is determined by the result of the judgment. When A=0 and B=0, it indicates that the ship is stationary; when A≠0 and B≠0, it indicates that the ship is in a running state.
[0035] In one possible implementation, the motion state further includes a first state, the first state is determined based on the current original signal and the previous original signal, and the first state is that the moving body is in a just-started state.
[0036] In one embodiment of the present application, the motion state of the ship includes a first state in addition to a stationary state and a running state. Specifically, before the ship changes from a stationary state to a running state, there is a dynamic state of starting. Therefore, the first state is the state where the ship is just started.
[0037] In one possible implementation manner, the determining whether the original signal and the filtered signal are equal to zero further includes: Obtaining the current original signal and the current filtered signal; Obtain the previous original signal; Preset error value; Determine whether the current original signal and the current filtered signal are equal to zero: If the current original signal is not equal to zero, and the current filtered signal is equal to zero, then determine whether the absolute value of the difference between the current original signal and the previous original signal is greater than the error value: If the absolute value of the difference between the current original signal and the previous original signal is greater than the error value, the motion state is a stationary state; If the absolute value of the difference between the current original signal and the previous original signal is not greater than the error value, the motion state is the first state.
[0038] In one embodiment of the present application, it is assumed that the unprocessed current original signal is A i , the original signal stored in the cloud server is A i-1 , the current filtered signal is B i , set an error value in advance. Specifically, the error value can be used to determine whether the increased speed is the real speed or an interference signal. Since the speed increases gradually rather than suddenly, it can be used to determine whether the ship is still stationary. i ≠0, B i = 0, the ship may be in two states, static state or first state. At this time, it is necessary to judge A i With A i-1 Whether the difference between is within the error range is used to determine whether the ship is in a stationary state or the first state. When , because the A value suddenly changes, the A value is an interference signal, indicating that the ship is stationary; when , it indicates that the ship is in the first state, that is, it is just starting and the speed is gradually increasing.
[0039] In one possible implementation, the motion state further includes a second state, the second state is determined based on the original signal and the filtered signal, and the second state is when the moving body just enters a stop state.
[0040] In one embodiment of the present application, the movement of the ship also includes a second state. Specifically, the second state is between the running state and the static state. Before the ship changes from the running state to the static state, it will be in the second state, that is, it will be in the just-stopped state. The second state is determined by the original signal and the filtered signal.
[0041] In one possible implementation manner, the determining whether the original signal and the filtered signal are equal to zero further includes: Acquire the original signal and the filtered signal; Determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If the original signal is equal to zero and the filtered signal is not equal to zero, the motion state is the second state.
[0042] In one embodiment of the present application, it is assumed that the unprocessed current original signal is A i , then the current filtered signal is B i , if A i =0,B i =0, the ship is at rest; if A i =0,B i ≠0, it indicates that the ship is in the second state, that is, it has just entered the shutdown state.
[0043] S104: Acquire the motion state, and select a display value based on the motion state, where the display value includes the original signal or the filtered signal.
[0044] In one embodiment of the present application, a ship is generally provided with a display for displaying the speed and navigation status. The cloud server will obtain the motion status determined by the front-end step, and select a suitable display value according to the motion status to display on the display on the ship, so that the operator on the ship can know the motion status and speed of the ship more clearly.
[0045] In one possible implementation, obtaining the motion state and selecting a display value based on the motion state specifically includes: Acquiring the motion state; Determine whether the motion state is the static state: If the motion state is a stationary state, the displayed value is the filtered signal; If the motion state is not a static state, the displayed value is the original signal.
[0046] In one embodiment of the present application, the motion state obtained in the front-end step is first obtained, and the motion state of the ship can be roughly divided into two types, a stationary state and a non-stationary state. When the ship is in a stationary state, the displayed value is a filtered signal, that is, the speed after filtering; when the ship is in a non-stationary state, the displayed value is the original signal, that is, the speed before filtering.
[0047] The following will be combined with the attached Figure 2 , the device of the speed display method provided by the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 The device of the moving speed display method shown is used to execute the present application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0048] See also Figure 2 , Figure 2 Schematic diagram of the structure of a device for displaying a moving speed provided by an embodiment of the present application. Figure 2 As shown, the device comprises: A collection module, used to collect original signals, where the original signals are speed signals sent by the positioning system; A filtering module, used to perform low-pass filtering on the original signal and obtain a filtered signal, wherein the filtered signal is a speed signal obtained after the original signal is low-pass filtered; A judging module, configured to judge the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state; The display module is used to obtain the motion state and select a display value based on the motion state, wherein the display value includes the original signal or the filtered signal.
[0049] In one possible implementation, the device further comprises: A preset module is used to preset different acquisition frequencies; An association module, used to associate each of the acquisition frequencies with each of the motion states; A calling module is used to call the corresponding acquisition frequency based on the motion state.
[0050] In one possible implementation, the determination module includes: A first acquisition unit, used to acquire the original signal and the filtered signal; The first analysis unit is used to determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If both the original signal and the filtered signal are not equal to zero, the motion state is the running state.
[0051] In one possible implementation, the motion state further includes a first state, the first state is determined based on the current original signal and the previous original signal, and the first state is that the moving body is in a just-started state.
[0052] In one possible implementation, the first analysis unit further includes: A first extraction element, used to obtain the current original signal and the current filtered signal; A second extraction element, used to obtain the previous original signal; Predefined components for presetting error values; The first determination element is used to determine whether the current original signal and the current filtered signal are equal to zero: If the current original signal is not equal to zero, and the current filtered signal is equal to zero, then determine whether the absolute value of the difference between the current original signal and the previous original signal is greater than the error value: If the absolute value of the difference between the current original signal and the previous original signal is greater than the error value, the motion state is a stationary state; If the absolute value of the difference between the current original signal and the previous original signal is not greater than the error value, the motion state is the first state.
[0053] In one possible implementation, the motion state further includes a second state, the second state is determined based on the original signal and the filtered signal, and the second state is when the moving body just enters a stop state.
[0054] In one possible implementation, the first analysis unit further includes: A third extraction element, used to obtain the original signal and the filtered signal; The second determination element is used to determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If the original signal is equal to zero and the filtered signal is not equal to zero, the motion state is the second state.
[0055] In one possible implementation, the display module includes: A receiving unit, used for acquiring the motion state; A comparison unit, used to determine whether the motion state is the static state: If the motion state is a stationary state, the displayed value is the filtered signal; If the motion state is not a static state, the displayed value is the original signal.
[0056] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0057] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0058] See also Figure 3 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 3 As shown, the electronic device 300 may include: at least one central processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0059] The communication bus 302 is used to realize the connection and communication between these components.
[0060] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0061] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0062] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the central processing unit 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301, but implemented separately through a chip.
[0063] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned central processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0064] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the central processor 301 can be used to call the application of the speed display method stored in the memory 305, and specifically perform the following operations: Collecting an original signal, where the original signal is a moving speed signal sent by a positioning system; Performing low-pass filtering on the original signal to obtain a filtered signal, wherein the filtered signal is a speed signal obtained after the original signal is low-pass filtered; Determine the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state; The motion state is acquired, and a display value is selected based on the motion state, wherein the display value includes the original signal or the filtered signal.
[0065] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0066] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0067] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0068] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0069] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0070] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0071] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0072] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0073] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A moving speed display method, applicable to a moving object equipped with a positioning system, characterized in that: The method comprises: Collecting an original signal, where the original signal is a moving speed signal sent by a positioning system; Performing low-pass filtering on the original signal to obtain a filtered signal, wherein the filtered signal is a speed signal obtained after the original signal is low-pass filtered; Determine the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state; The motion state is acquired, and a display value is selected based on the motion state, wherein the display value includes the original signal or the filtered signal.
2. The method according to claim 1, characterized in that Also includes: Pre-set different acquisition frequencies; Associating each of the acquisition frequencies with each of the motion states; The corresponding acquisition frequency is called based on the motion state.
3. The method according to claim 1, characterized in that The determining of the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state, specifically includes: Acquire the original signal and the filtered signal; Determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If both the original signal and the filtered signal are not equal to zero, the motion state is the running state.
4. The method according to claim 3, characterized in that The motion state also includes a first state, and the first state is determined according to the current original signal and the previous original signal, and the first state is that the moving body is in a just-started state.
5. The method according to claim 4, characterized in that The determining whether the original signal and the filtered signal are equal to zero further includes: Obtaining the current original signal and the current filtered signal; Obtain the previous original signal; Preset error value; Determine whether the current original signal and the current filtered signal are equal to zero: If the current original signal is not equal to zero, and the current filtered signal is equal to zero, then determine whether the absolute value of the difference between the current original signal and the previous original signal is greater than the error value: If the absolute value of the difference between the current original signal and the previous original signal is greater than the error value, the motion state is a stationary state; If the absolute value of the difference between the current original signal and the previous original signal is not greater than the error value, the motion state is the first state.
6. The method according to claim 3, characterized in that The motion state also includes a second state, and the second state is determined according to the original signal and the filtered signal, and the second state is that the moving body has just entered a stop state.
7. The method according to claim 6, characterized in that The determining whether the original signal and the filtered signal are equal to zero further includes: Acquire the original signal and the filtered signal; Determine whether the original signal and the filtered signal are equal to zero: If the original signal and the filtered signal are both equal to zero, the motion state is the static state; If the original signal is equal to zero and the filtered signal is not equal to zero, the motion state is the second state.
8. The method according to claim 1, characterized in that The acquiring the motion state and selecting a display value based on the motion state specifically includes: Acquiring the motion state; Determine whether the motion state is the static state: If the motion state is a stationary state, the displayed value is the filtered signal; If the motion state is not a static state, the displayed value is the original signal.
9. A device for displaying a moving speed, characterized in that: The device comprises: A collection module, used to collect original signals, where the original signals are speed signals sent by the positioning system; A filtering module, used to perform low-pass filtering on the original signal and obtain a filtered signal, wherein the filtered signal is a speed signal obtained after the original signal is low-pass filtered; A judging module, configured to judge the motion state of the moving object according to the original signal and the filtered signal, wherein the motion state at least includes a stationary state and a running state; The display module is used to obtain the motion state and select a display value based on the motion state, wherein the display value includes the original signal or the filtered signal.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
