Sliding signal processing method and device and vehicle

By obtaining the position information and signals of sliding operations in the terminal device, performing mapping conversion and sending control signals when preset conditions are met, the response lag problem caused by fast slide is solved, and the user experience and system efficiency are improved.

CN119166028APending Publication Date: 2024-12-20BEIJING XIAOPENG AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411050386.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

When the user slides the slider quickly, the control signal received by the terminal device is slower than the reception speed, resulting in lag in function response and affecting the user experience.

Method used

By obtaining the position information and signals of the sliding operation, the mapping conversion process is performed, and the control signal at the current time is only sent when the preset trigger condition is met, the signal quantity is reduced, the control signal is temporarily stored using the cache space, saving storage space, and according to the time interval Set commands to configure preset time periods to optimize responses.

Benefits of technology

It reduces the lag in functional response, improves user-perceived coherence and system processing efficiency, and optimizes the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166028A_ABST
    Figure CN119166028A_ABST
Patent Text Reader

Abstract

The invention provides a sliding signal processing method and device and a vehicle. The method comprises the steps that a target function area is displayed; responding to a sliding operation acting on the target functional area, and obtaining position information and a sliding signal of the sliding operation; performing mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function; determining a control signal at the current moment according to a preset trigger condition and the control signal of the target function; and sending the control signal at the current moment to a responder, so that the responder controls the target function according to the control signal corresponding to the current moment. According to the application, the semaphore needing to be sent to the responder can be reduced, so that the load of the responder is reduced; in addition, lag of function response is reduced, and coherence of user perception is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control signal processing, and in particular to a sliding signal processing method, device and vehicle. Background Art

[0002] In interactive software on many terminals, the adjustment of a large number of software functions is completed by the user by sliding the slider on the bar control, such as the volume adjustment function, the light adjustment function, or the screen brightness adjustment function. As the slider slides on the bar control, the application will continue to receive control signals sent by the slider. However, when the application processes these received control signals, it processes them in the order in which they are received by the queue. Therefore, when the user slides faster, the queue will receive and accumulate a large number of control signals. In some cases, the application processes the control signals slower than the receiving speed, and the function response lags, resulting in incoherent user perception and affecting the user experience. Summary of the invention

[0003] The present invention application provides a sliding signal processing method, device and vehicle, which reduce the lag of functional response and improve the continuity of user perception.

[0004] In order to solve the above technical problems, the first aspect of the present invention provides a sliding signal processing method, comprising:

[0005] Display the target functional area;

[0006] In response to a sliding operation on the target functional area, acquiring position information and a sliding signal of the sliding operation;

[0007] Performing mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function;

[0008] Determine the control signal at the current moment according to the preset trigger condition and the control signal of the target function; send the control signal at the current moment to the responder, so that the responder controls the target function according to the control signal corresponding to the current moment.

[0009] The present application performs mapping conversion processing based on the position information and the sliding signal to obtain the control signal of the target function. When the preset trigger condition is met, only the control signal corresponding to the current moment is sent to the responder. Compared with the method of continuously sending control signals to the responder in the prior art, the amount of signals that need to be sent to the responder is reduced, thereby reducing the load on the responder, avoiding the situation where the responder processes the control signal slower than the receiving speed, reducing the lag of the function response, improving the continuity of user perception, and optimizing the user experience.

[0010] In some implementations of the first aspect, determining the control signal at the current moment according to the preset trigger condition and the control signal of the target function includes:

[0011] Comparing the buffer signal in the preset buffer space with the control signal of the target function;

[0012] When the result of the comparison operation indicates that the cache signal is different from the control signal of the target function, updating the cache signal stored in the cache space according to the control signal of the target function;

[0013] When a preset trigger condition is met, the buffer signal currently stored in the buffer space is determined as the control signal at the current moment.

[0014] This implementation method compares the cache signal and the control signal in the cache space, and when the comparison result indicates that the two are inconsistent, stores the control signal of the target function in the cache space, and uses the cache space to temporarily store the latest control signal. No additional space is required to store a large number of control signals obtained by mapping conversion, thereby effectively saving storage space.

[0015] In some implementations of the first aspect, before determining the buffer signal stored in the buffer space at the current moment as the control signal at the current moment, the method includes:

[0016] When it is determined that the preset time period has ended, or when it is detected that the queue of signals to be processed by the responder is empty, or when it is determined that the hardware timer has ended periodic timing, it is determined that the preset trigger condition is met.

[0017] This implementation method determines that the preset trigger condition is satisfied when it is determined that the preset time period has ended, thereby ensuring that the responder can receive the control signal on time to further improve the continuity of user perception; determines that the preset trigger condition is satisfied when it is detected that the responder's queue of pending signals is empty, so that the responder can continue to process the control signal and improve the utilization rate of the responder's signal processing queue; determines that the preset trigger condition is satisfied when the hardware timer expires, which can further reduce the system load and improve the real-time response performance.

[0018] In some implementations of the first aspect, before the determining that the preset trigger condition is satisfied, the process includes:

[0019] In response to the time interval setting instruction, the preset time period is configured according to the time interval setting instruction.

[0020] This implementation method determines the preset time period through the time interval setting instruction, and can be flexibly customized according to the demand control of the application scenario, and the granularity of functional response and user perception can be determined according to the needs.

[0021] In some implementations of the first aspect, the target functional area includes a first position and a second position; and in response to a sliding operation on the target functional area, acquiring position information and a sliding signal of the sliding operation includes:

[0022] In response to a drawing operation of sliding from the first position to the second position; obtaining position information of the second position, and obtaining a sliding signal from the first position to the second position.

[0023] In some implementations of the first aspect, the responding to the drawing operation of sliding from the first position to the second position includes:

[0024] Capacitance change information of the touch screen is acquired; and according to the capacitance change information, a drawing operation of sliding from a first position to a second position is identified and responded to.

[0025] The second aspect of the present invention provides a sliding signal processing device, including a display module, an acquisition module, a mapping conversion module and a sending module; wherein:

[0026] The display module is used to display the target functional area;

[0027] The acquisition module is used to respond to the sliding operation on the target functional area and acquire the position information and sliding signal of the sliding operation;

[0028] The mapping conversion module is used to perform mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function;

[0029] The sending module is used to determine the control signal at the current moment according to the preset trigger condition and the control signal of the target function; and send the control signal at the current moment to the responder so that the responder controls the target function according to the control signal corresponding to the current moment.

[0030] In some implementations of the second aspect, the sending module includes a determining unit, where the determining unit is configured to:

[0031] Comparing the buffer signal in the preset buffer space with the control signal of the target function;

[0032] When the result of the comparison operation indicates that the cache signal is different from the control signal of the target function, updating the cache signal stored in the cache space according to the control signal of the target function;

[0033] When a preset trigger condition is met, the buffer signal currently stored in the buffer space is determined as the control signal at the current moment.

[0034] In some implementations of the second aspect, the sliding signal processing device further includes a condition judgment module, which is configured to, before the sending module determines the buffer signal stored in the buffer space at the current moment as the control signal at the current moment:

[0035] When it is determined that the preset time period has ended, or when it is detected that the queue of signals to be processed by the responder is empty, or when it is determined that the hardware timer has ended periodic timing, it is determined that the preset trigger condition is met.

[0036] In some implementations of the second aspect, the sliding signal processing apparatus further includes a time period configuration module, wherein the time period configuration module is configured to, before the sending module determines that the preset trigger condition is satisfied:

[0037] In response to the time interval setting instruction, the preset time period is configured according to the time interval setting instruction.

[0038] In some implementations of the second aspect, the target functional area includes a first position and a second position; and the acquisition module acquires the position information and the sliding signal of the sliding operation in response to the sliding operation on the target functional area, including:

[0039] The acquisition module responds to the drawing operation of sliding from the first position to the second position; acquires the position information of the second position, and acquires the sliding signal from the first position to the second position.

[0040] In some implementations of the second aspect, the acquisition module includes a response unit, and the response unit is configured to:

[0041] Get the capacitance change information of the touch screen;

[0042] According to the capacitance change information, a drawing operation of sliding from a first position to a second position is identified and responded to.

[0043] A third aspect of the present application provides a vehicle, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the slip signal processing method when executing the computer program. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 : A flow chart of an implementation of the sliding signal processing method provided in the present application.

[0045] Figure 2 : A schematic diagram of the architecture of an example of the sliding signal processing method provided in the present application.

[0046] Figure 3 : A flow chart of an example of a sliding signal processing method provided in the present application.

[0047] Figure 4 : A structural schematic diagram of an implementation scheme of a sliding signal processing device provided in the present application.

[0048] Figure 5 : A structural schematic diagram of another embodiment of the sliding signal processing device provided in the present application.

[0049] Figure 6 : A structural schematic diagram of another embodiment of the sliding signal processing device provided in the present application. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] Embodiment 1

[0052] As described in the relevant technology, in a large number of interactive software designed with UI (User Interface) functions, the adjustment of most functions is completed by the user by sliding the slider on the bar control. For example, the volume adjustment function, the light adjustment function or the screen brightness adjustment function. As the slider slides on the bar control, the application will continue to receive control signals sent by the slider. However, when the application processes these received control signals, it processes them in the order in which the queue receives them. Therefore, when the user slides faster, the queue will receive and accumulate a large number of control signals. In some cases, the application processes the control signals slower than the receiving speed, and the function response is delayed, resulting in incoherent user perception and affecting the user experience.

[0053] In addition, in existing technologies, such as some Android-based car cockpit software, the vehicle functions are usually adjusted by sliding sliders to send control signals to the middleware. The middleware then passes the signal to other control units; after processing, the result is set asynchronously through the callback interface. However, this asynchronous processing mechanism and the delay in the control unit processing time will cause the following problems:

[0054] (1) Slider rebound or freeze. Since the continuous sliding of the slider will continue to send control signals, and the control unit will delay returning a set of results after processing, the slider position will rebound or freeze when the interface slides, affecting the user experience.

[0055] (2) Frequent signal transmission. During the continuous sliding process of the slider, a large number of control signals will be generated and sent to the middleware, which increases the load of the system, and unnecessary signal transmission will waste system resources.

[0056] (3) Interface update lag: Due to the delay of asynchronous callback, the actual status of the function in the software system depends on the callback of the downstream responder for display. The application layer updates the slider display position only after receiving the callback, which will cause the interface update lag and the user's perception of incoherence. For example, it takes a certain amount of time for the responder to process the data continuously sent by the slider one by one. When the user stops sliding the slider, the responder still has unprocessed data to continue processing, and after processing, it will be returned to the slider of the software system. As a result, when the user stops sliding the slider, the slider will continue to slide.

[0057] For one or more of the above technical issues, please refer to Figure 1 , Figure 1 The present invention provides a sliding signal processing method, which can be applied to vehicles or terminal devices, including but not limited to smart phones, laptops, tablet computers, desktop computers or vehicle-mounted terminals. Figure 1 As shown, the sliding signal processing method of the present application includes steps S101 to S104, which are described in detail as follows:

[0058] Step S101, displaying the target functional area.

[0059] In this step, the terminal device is provided with or externally connected to a display unit, which includes but is not limited to a display screen and a projector.

[0060] The terminal device displays an application page on the display unit, and the application interface is provided with the target function area. For example, the application page can be an application page loaded based on a browser, or can be a car cockpit software based on an Android system. The car cockpit software has an interactive function based on the application interface, and the user can operate on the car cockpit software to make several adjustments to the car cockpit.

[0061] The target function area is provided with a target slider or a bar control, and the target slider may be hidden. In addition to the target function area, the application interface may also include several other function areas. Each function area corresponds to at least one business function. These business functions or target functions may correspond to adjustments including but not limited to light brightness, audio volume, in-car air conditioning temperature or screen brightness.

[0062] Step S102, in response to a sliding operation on the target functional area, obtaining position information and a sliding signal of the sliding operation.

[0063] On a terminal device, the sliding signal processing method of the present invention is mainly applied to a sliding signal processing side of the device, which is in communication connection with a responder.

[0064] The user slides on the target function area of ​​the terminal device application interface with a finger or a stylus, and the user's finger or stylus moves on the bar control, for example, from a first position to a second position, and generates a sliding signal and corresponding position information during the operation. In step S103, the sliding signal processor processes the sliding signal and the position signal and sends them to the responder, so that the responder executes the subsequent steps.

[0065] In some embodiments, the sliding operation may include a drawing operation. Step S102 responds to the sliding operation on the target functional area and obtains the position information and sliding signal of the sliding operation, including: responding to the drawing operation of sliding from the first position to the second position; obtaining the position information at the second position, and the sliding signal from the first position to the second position. This embodiment can determine that the (hidden or displayed) target slider has shifted by responding to the drawing operation of sliding from the first position to the second position, obtaining the position information and sliding signal, and accurately obtaining the position information of the second position, and the sliding signal from the first position to the second position.

[0066] In some preferred embodiments, the response to the drawing operation of sliding from the first position to the second position includes: obtaining capacitance change information of the touch screen; and identifying and responding to the drawing operation of sliding from the first position to the second position according to the capacitance change information. When the user touches the display screen, the capacitance of the pixel corresponding to the touch position will change. Therefore, by detecting the capacitance change information of each pixel point, the user's drawing operation can be effectively identified, and the position information of sliding from the first position to the second position can be obtained, so as to accurately locate the user's drawing trajectory.

[0067] Step S103: performing mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function.

[0068] In this step, the position information may be the coordinate position at each moment. The coordinate position at each moment may be obtained based on the above capacitance change information. The sliding signal refers to a signal that needs to be sent downstream when the finger or stylus slides to the corresponding value.

[0069] Exemplarily, based on the position information, it is determined that when the finger or stylus slides from "0" to "3" in the bar control, the sliding signals of the point values ​​of 1, 2, and 3 can be sent to the downstream in sequence. Correspondingly, taking the volume as an example, when the target function corresponds to the volume, the volume can correspond to 10%, 20%, and 30%. The correspondence between the volume percentage and the position information and the sliding signal can be established through a mapping conversion process. For example, in this example, the point values ​​1, 2, and 3 correspond to sliding signals, the coordinates corresponding to each point value are the position information, and 10%, 20%, and 30% correspond to the volume control signal. Examples such as screen brightness and light brightness can be inferred from the above-mentioned volume example, so they will not be repeated.

[0070] Step S104, determining the control signal at the current moment according to the preset trigger condition and the control signal of the target function; sending the control signal at the current moment to the responder, so that the responder controls the target function according to the control signal corresponding to the current moment.

[0071] In this step, in the past time period, when the finger or stylus slides from "0" to "4" on the bar control, the sliding signals corresponding to the point values ​​of 1, 2, 3 and 4 are sent to the downstream in sequence. When the asynchronous callback scheme of the prior art is adopted, the responder needs to process the control signals of the functions corresponding to the sliding signals of the point values ​​of 1, 2, 3 and 4 in sequence. However, since the responder processes the control signals in sequence according to the order in which the control signals are received in the queue, if the responder does not process in time, the user may actually slide to "4", but the point value corresponding to the sliding signal remains at "2". When implementing the present application, when the preset trigger condition is met, the control signal "4" at the current moment can be sent directly to the responder, and the sending of the control signals corresponding to "1", "2" and / or "3" is omitted. At this time, the sending amount of the control signal can be reduced, the system load can be reduced, and the flexibility of the sliding adjustment can be improved. It has better coherence for user perception and the user experience is optimized.

[0072] In a preferred embodiment, determining the control signal at the current moment based on the preset trigger condition and the control signal of the target function includes: comparing the cache signal in the preset cache space with the control signal of the target function; when the result of the comparison operation indicates that the cache signal is different from the control signal of the target function, updating the cache signal stored in the cache space according to the control signal of the target function; when the preset trigger condition is met, determining the cache signal stored in the cache space at the current moment as the control signal at the current moment.

[0073] This implementation compares the cache signal and the control signal in the cache space, and when the comparison result indicates that the two are inconsistent, stores the control signal of the target function in the cache space, and uses the cache space to temporarily store the latest control signal. No additional space is required to store a large number of control signals obtained by mapping conversion, thereby effectively saving storage space. At this time, both the signal processing party and the responding party do not need to open up additional storage space for storing sliding signals or control signals.

[0074] In some preferred embodiments, before determining the cache signal stored in the cache space at the current moment as the control signal at the current moment, it includes: when it is determined that the preset time period has ended, or when it is detected that the queue of pending signals of the responder is empty, or when it is determined that the hardware timer periodic timing has ended, it is determined that the preset trigger condition is met.

[0075] By implementing this preferred embodiment, when determining that the preset trigger condition is satisfied at the end of the preset time period (i.e., implementing a timer or timer through software), it can be ensured that the responder can receive the control signal on time, so as to further improve the continuity of user perception; when detecting or monitoring that the responder's queue of pending signals is empty, it is determined that the preset trigger condition is satisfied, so that the responder can continue to process the control signal, thereby improving the utilization efficiency of the responder's signal processing queue; when the hardware timer is finished, it is determined that the preset trigger condition is satisfied, which can further reduce the system load and improve the real-time response performance.

[0076] Further, before the judgment that the preset trigger condition is met, it includes: responding to a time interval setting instruction, and configuring the preset time period according to the time interval setting instruction. In this embodiment, the preset time period is determined by the time interval setting instruction, and can be flexibly customized according to the demand control of the application scenario, and the granularity of the function response and user perception can be determined according to the needs. For example, in the sliding process, when the point value definition is relatively refined, such as when the corresponding volume value is "10%", "20%", "30%", the time period can be lengthened at this time to reduce the frequency of sending control signals to the responder. When the corresponding volume value is "1%", "2%", "3%", "4%"..., the time period can be shortened at this time, and the sending frequency can be increased to meet the real-time requirements of the sliding operation and improve the response speed of the function. Therefore, the user can pre-configure the preset time period through the time interval setting instruction according to actual needs to meet the specific granularity requirements of the application scenario. In addition, when the queue of pending signals of the responder is empty, the time waiting for the function response can be compressed to a minimum at this time. The application determines that the trigger condition is met at this time and can also meet the requirements of the real-time function response.

[0077] In a multi-core processor environment, for example, for application scenarios where multiple business functions are controlled, the present application can use each functional area as a target functional area to execute the above sliding signal processing method, thereby improving the system response speed and data processing capabilities through multi-threaded parallel processing of sliding data and callback results. In a distributed system, multiple instances based on the above sliding signal processing method can work together to achieve global throttling control through network communication, greatly reducing the system load from the overall perspective of the system and improving the system processing speed.

[0078] In addition, the sliding signal processing method of the present invention can be implemented by designing a throttling tool, such as Figure 2 and Figure 3 shown. Figure 2 The example architecture is shown below. Figure 3 A flowchart of the example.

[0079] in, Figure 2 The Users shown in the figure represent the user layer, and the user's continuous sliding can send down events through the user layer, that is, the sliding signal described in this application. MidLayer represents the middle layer. The Throttle layer is the throttling tool ThrottleUti ls, which receives the event of the User layer and filters the data (that is, according to the preset trigger condition and the control signal of the target function described in this application, determines the control signal at the current moment), and the MidLayer layer receives the throttled data, thereby sending the throttled data to the responder to achieve the adjustment of the target function. Figure 2 The normal mode does not use the sliding signal processing method of the present application, and the throttling mode uses the Throttles tool based on the sliding signal processing method of the present application.

[0080] The Thrott l eUtils throttling tool allows users to set the throttling time interval according to their needs and flexibly define appropriate throttling strategies to control the throttling granularity. At the same time, the tool can be designed as a lightweight utility that does not rely on complex third-party libraries, is simple and easy to use, does not require the introduction of a large number of external dependencies, and maintains excellent performance; in addition, by using generics, Thrott l eUtils is not limited to data types and is applicable to various environments.

[0081] Exemplarily, Throttles throttles the data by setting a time interval to ensure that data is not sent within a limited time period, until a specified time point is reached and the onSendRequest interface is used to notify the start of data sending.

[0082] When the middleware and responder have finished processing, the result is called back to Throttle Utils through the callback interface InterruptRequest. Throttle Utils obtains the most recently recorded data and returns the result data through the onSendRequest interface. When the UI receives the data, it starts to send data downstream. If InterruptRequest is not connected or there is no callback method, Throttle Utils can throttle according to the custom time. After throttling, it obtains the most recently recorded data and notifies the UI (User Interface).

[0083] also, Figure 3 In the application example provided, the throttling tool Throttles workflow includes steps (1) to (10):

[0084] (1) The user slides the interface with his finger.

[0085] (2) The sliding of a finger triggers a change in the screen capacitance, and the changed capacitance can provide feedback on the position of the finger.

[0086] (3) The software interface draws the image according to the screen feedback position, and continuously draws according to the user's finger sliding continuous input position to achieve the sliding effect.

[0087] (4) The software system simultaneously maps and converts the location information and the actual sent signal, and outputs the actual sent signal value.

[0088] (5) The downlink signal is input into the cache space of ThrottleUties for throttling processing. The cache space only stores the latest set of data.

[0089] (6) Start the countdown of the throttling tool and store the latest signal value generated by the sliding within the countdown period.

[0090] (7) When the countdown ends or the signal responder completes the previous signal processing, proceed to step (8); if the condition is not met, proceed to step (9).

[0091] (8) Send the latest set of data in the Throttles Cache space to the signal responder.

[0092] (9) Continue to receive the slider signal and replace the value in the cache during the time interval or before the waiting signal response ends, so as to keep the value in the cache in the latest state.

[0093] (10) If the responder completes data processing in advance, the current round of throttling can be ended in advance, and then step (5) can be entered until the user does not slide further.

[0094] In this example, it is possible to flexibly determine whether to start the throttling state, that is, to determine whether to adopt the sliding signal processing method of the present application; at the same time, it is possible to flexibly determine whether to adopt the timer or timer of the present application to control the granularity of the sliding signal processing, meet the needs of different application scenarios, and improve the applicability and practicality of the sliding signal processing method.

[0095] Accordingly, refer to Figure 4 The present invention also provides a sliding signal processing device, including a display module 401, an acquisition module 402, a mapping conversion module 403 and a sending module 404; wherein,

[0096] The display module 401 is used to display the target functional area;

[0097] The acquisition module 402 is used to respond to the sliding operation on the target functional area and acquire the position information and sliding signal of the sliding operation;

[0098] The mapping conversion module 403 is used to perform mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function;

[0099] The sending module 404 is used to determine the control signal at the current moment according to the preset trigger condition and the control signal of the target function; and send the control signal at the current moment to the responder so that the responder controls the target function according to the control signal corresponding to the current moment.

[0100] In some implementations, the sending module 404 includes a determining unit, and the determining unit is configured to:

[0101] A comparison operation is performed on a cache signal in a preset cache space and a control signal of the target function; when the result of the comparison operation indicates that the cache signal is different from the control signal of the target function, the cache signal stored in the cache space is updated according to the control signal of the target function; when a preset trigger condition is met, the cache signal stored in the cache space at a current moment is determined as the control signal at the current moment.

[0102] In some implementations, such as Figure 5 As shown, the sliding signal processing device further includes a condition judgment module 505, and the condition judgment module 505 is used before the sending module determines the buffer signal stored in the buffer space at the current moment as the control signal at the current moment:

[0103] When it is determined that the preset time period has ended, or when it is detected that the queue of signals to be processed by the responder is empty, or when it is determined that the hardware timer has ended periodic timing, it is determined that the preset trigger condition is met.

[0104] In some implementations, such as Figure 6 As shown, the sliding signal processing device further includes a time period configuration module 606, and the time period configuration module 606 is used for, before the sending module determines that the preset trigger condition is met:

[0105] In response to the time interval setting instruction, the preset time period is configured according to the time interval setting instruction.

[0106] In some implementations, the target functional area includes a first position and a second position; the acquisition module 402 acquires the position information and the sliding signal of the sliding operation in response to the sliding operation on the target functional area, including:

[0107] The acquisition module 402 responds to the drawing operation of sliding from the first position to the second position; acquires the position information of the second position, and acquires the sliding signal from the first position to the second position.

[0108] In some implementations, the acquisition module 402 includes a response unit, and the response unit is used to:

[0109] Capacitance change information of the touch screen is acquired; and according to the capacitance change information, a drawing operation of sliding from a first position to a second position is identified and responded to.

[0110] Correspondingly, the present application also provides a vehicle, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the sliding signal processing method when executing the computer program.

[0111] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal, and various interfaces and lines are used to connect various parts of the entire terminal.

[0112] The memory can be used to store the computer program, and the processor realizes various functions of the terminal by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0113] Compared with the prior art, the present invention has at least the following beneficial effects:

[0114] The present application performs mapping conversion processing based on the position information and the sliding signal to obtain the control signal of the target function. When the preset trigger condition is met, only the control signal corresponding to the current moment is sent to the responder. Compared with the method of continuously sending control signals to the responder in the prior art, the amount of signals that need to be sent to the responder is reduced, thereby reducing the load on the responder, avoiding the situation where the responder processes the control signal slower than the receiving speed, reducing the lag of the function response, improving the continuity of user perception, and optimizing the user experience.

[0115] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A sliding signal processing method, characterized in that: include: Display the target functional area; In response to a sliding operation on the target functional area, acquiring position information and a sliding signal of the sliding operation; Performing mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function; Determine the control signal at the current moment according to the preset trigger condition and the control signal of the target function; send the control signal at the current moment to the responder, so that the responder controls the target function according to the control signal corresponding to the current moment.

2. A sliding signal processing method as claimed in claim 1, characterized in that: The determining the control signal at the current moment according to the preset trigger condition and the control signal of the target function includes: Comparing the buffer signal in the preset buffer space with the control signal of the target function; When the result of the comparison operation indicates that the cache signal is different from the control signal of the target function, updating the cache signal stored in the cache space according to the control signal of the target function; When a preset trigger condition is met, the buffer signal currently stored in the buffer space is determined as the control signal at the current moment.

3. A sliding signal processing method as claimed in claim 2, characterized in that: Before determining the cache signal stored in the cache space at the current moment as the control signal at the current moment, the method includes: When it is determined that the preset time period has ended, or when it is detected that the queue of signals to be processed by the responder is empty, or when it is determined that the hardware timer has ended periodic timing, it is determined that the preset trigger condition is met.

4. A sliding signal processing method as claimed in claim 3, characterized in that: Before the determining that the preset trigger condition is met, the method includes: In response to the time interval setting instruction, the preset time period is configured according to the time interval setting instruction.

5. A sliding signal processing method as claimed in claim 1, characterized in that: The target functional area includes a first position and a second position; The step of responding to the sliding operation on the target functional area and acquiring the position information and the sliding signal of the sliding operation includes: In response to a drawing operation of sliding from the first position to the second position; The position information of the second position is acquired, and a sliding signal from the first position to the second position is acquired.

6. A sliding signal processing device, characterized in that: It includes a display module, an acquisition module, a mapping conversion module and a sending module; among which, The display module is used to display the target functional area; The acquisition module is used to respond to the sliding operation on the target functional area and acquire the position information and sliding signal of the sliding operation; The mapping conversion module is used to perform mapping conversion processing according to the position information and the sliding signal to obtain a control signal corresponding to the target function; The sending module is used to determine the control signal at the current moment according to the preset trigger condition and the control signal of the target function; and send the control signal at the current moment to the responder so that the responder controls the target function according to the control signal corresponding to the current moment.

7. A sliding signal processing device as claimed in claim 6, characterized in that: The sending module includes a determining unit, and the determining unit is used to: Comparing the buffer signal in the preset buffer space with the control signal of the target function; When the result of the comparison operation indicates that the cache signal is different from the control signal of the target function, updating the cache signal stored in the cache space according to the control signal of the target function; When a preset trigger condition is met, the buffer signal currently stored in the buffer space is determined as the control signal at the current moment.

8. A sliding signal processing device as claimed in claim 7, characterized in that: The sliding signal processing device further includes a condition judgment module, which is used for, before the sending module determines the buffer signal stored in the buffer space at the current moment as the control signal at the current moment: When it is determined that the preset time period has ended, or when it is detected that the queue of signals to be processed by the responder is empty, or when it is determined that the hardware timer has ended periodic timing, it is determined that the preset trigger condition is met.

9. A sliding signal processing device as claimed in claim 6, characterized in that: The sliding signal processing device further includes a time period configuration module, and the time period configuration module is used for: before the sending module determines that the preset trigger condition is met: In response to the time interval setting instruction, the preset time period is configured according to the time interval setting instruction.

10. A vehicle, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a sliding signal processing method as claimed in any one of claims 1 to 5 is implemented.