CN114320078B - Control method and device for sliding touch glass lifting switch - Google Patents

Control method and device for sliding touch glass lifting switch Download PDF

Info

Publication number
CN114320078B
CN114320078B CN202111438079.2A CN202111438079A CN114320078B CN 114320078 B CN114320078 B CN 114320078B CN 202111438079 A CN202111438079 A CN 202111438079A CN 114320078 B CN114320078 B CN 114320078B
Authority
CN
China
Prior art keywords
trigger
time
type
pressure
trigger signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111438079.2A
Other languages
Chinese (zh)
Other versions
CN114320078A (en
Inventor
邵伟
姚高飞
林军昌
张旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hozon New Energy Automobile Co Ltd
Original Assignee
Hozon New Energy Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hozon New Energy Automobile Co Ltd filed Critical Hozon New Energy Automobile Co Ltd
Priority to CN202111438079.2A priority Critical patent/CN114320078B/en
Publication of CN114320078A publication Critical patent/CN114320078A/en
Application granted granted Critical
Publication of CN114320078B publication Critical patent/CN114320078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Window Of Vehicle (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and a device for a sliding touch glass lifting switch, comprising the steps of obtaining a real-time parameter of pressure induction, judging that the real-time parameter reaches a standard value, triggering vibration feedback, and generating a trigger signal at the same time; acquiring a first trigger type of the trigger signal, and executing lifting operation according to the information of the trigger point if the first trigger type is the first type; and if the first trigger type is the second type, continuously acquiring the subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position. The invention can effectively prevent false touch and has point control touch control and sliding touch control.

Description

Control method and device for sliding touch glass lifting switch
Technical Field
The invention relates to the technical field of touch switches, in particular to a control method and device for a sliding touch glass lifting switch.
Background
Along with the development of automobile industry technologies, a touch type glass lifting switch also becomes a development trend; in order to adapt to the operation habits of various driving groups, the touch type glass lifting switch adopts a point-to-touch and sliding touch strategy, and simultaneously has pressure sensing and vibration feedback, so that the convenience and the technological sense of use are improved.
Disclosure of Invention
The invention aims to provide a control method and a device for a sliding touch glass lifting switch, which can effectively prevent false touch and simultaneously have point control touch control and sliding touch control.
According to a first aspect of the present invention, there is provided a control method of a sliding touch glass-frame lifter switch, including:
acquiring a real-time parameter of pressure induction, and triggering vibration feedback and generating a trigger signal if the real-time parameter reaches a standard value;
acquiring a first trigger type of the trigger signal, and executing lifting operation according to the information of the trigger point if the first trigger type is the first type;
and if the first trigger type is the second type, continuously acquiring the subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position.
Further, the device also comprises a plurality of pressure sensing areas, wherein the pressure sensing areas comprise an ascending triggering area, a descending triggering area and a sliding pressing area;
the ascending trigger area and the descending trigger area are trigger points of a first type; the sliding pressing area is a trigger point of a second type;
the ascending triggering area, the descending triggering area and the sliding pressing area are respectively provided with a pressure sensor and a vibration feedback device;
the information of the ascending triggering area is ascending, and the information of the descending triggering area is descending.
The sliding pressing area is strip-shaped, and the ascending triggering area and the descending triggering area are respectively arranged at two ends of the sliding pressing area.
Further, acquiring a real-time parameter of pressure sensing, and triggering vibration feedback if the real-time parameter reaches a standard value, and simultaneously generating a trigger signal, wherein the method specifically comprises the following steps:
predefining a standard value of pressure sensing;
detecting pressure values on each sensing area, and acquiring real-time parameters of pressure sensing;
when the pressure sensing parameter value on any sensing area is detected to reach the standard value, triggering vibration feedback on the sensing area;
stopping vibration feedback when the pressure-induced parameter value is lower than the standard value;
synchronously generating a trigger signal aiming at an induction area triggering vibration feedback, wherein the trigger signal comprises the information of the induction area and the duration time of pressure induction above a standard value;
the information includes rising and falling.
Further, the method also comprises the generation of a first trigger type:
acquiring the trigger signal, reading the information of the induction area, and dividing the trigger type of the trigger signal according to the information of the induction area; the trigger type comprises a first type and a second type;
inquiring a pressure-sensing parameter curve of the sensing area in the stage, and associating a time point when the pressure-sensing parameter reaches a standard value for the first time with the trigger type to generate a first trigger type.
Further, if the first trigger type is the first type, performing lifting operation according to the information of the trigger point location, which specifically includes:
predefining a trigger time; predefining a first hover time;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a first type;
reading the information of the sensing area of the current trigger signal, and inquiring the duration time when the pressure sensing of the current trigger signal is above a standard value;
when the duration is less than the trigger time, not responding to the current trigger signal;
when the duration reaches the trigger time, performing lifting/lowering operation according to the information of the induction area;
detecting a pressure-induced parameter change in real time when the duration reaches the first hover time, and stopping the raising/lowering operation when the pressure-induced parameter value is lower than the standard value;
refreshing the pressure-sensing parameter curve of the current stage.
Further, if the first trigger type is the second type, continuously acquiring a subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position, wherein the lifting operation specifically comprises:
predefining a second hover time; predefining acquisition time; predefining a reference direction corresponding to the information, wherein the information comprises ascending and descending directions, and the reference direction comprises an ascending direction and a descending direction;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a second type;
continuously acquiring the subsequent generation position of the trigger signal, and continuously acquiring the acquisition time;
if the subsequent generation position of the trigger signal is not changed, the current trigger signal is not responded;
if the subsequent generation position of the trigger signal changes, acquiring the sliding direction of the position change;
judging whether the sliding direction has a directionality with the reference direction:
if not, not responding to the current trigger signal
If so, defining a reference direction with the same directionality as the current sliding direction as a generating condition;
executing lifting/lowering operation according to the specific type of the information corresponding to the generation condition;
detecting a change in a pressure-induced parameter in real time when it is detected that a duration of the pressure-induced being above a standard value exceeds the second hover time during performing a lifting/lowering operation, the lifting/lowering operation being stopped when a value of the pressure-induced parameter is below the standard value;
refreshing the pressure-sensing parameter curve of the current stage.
Further, the method also comprises the step of pressure-induced interrupt connection, and specifically comprises the following steps:
the duration of the follow-up delay is predefined,
when the detected pressure sensing parameter value is reduced below a standard value, synchronously starting the accumulated interrupt time;
when the interrupt time is smaller than the continuous delay time, the current state is maintained, and a response request is not sent to the outside;
when the interrupt time reaches the continuous delay time, a response request is sent to the outside;
and resetting the interrupt time when the parameter value is restored to be above the standard value.
According to a second aspect of the present invention, there is provided a control device of a slide-touch glass-frame lifter switch, comprising:
and the lifting triggering module is used for: acquiring a real-time parameter of pressure induction, judging that the real-time parameter reaches a standard value, triggering vibration feedback, and generating a trigger signal at the same time;
a first execution module: acquiring a first trigger type of the trigger signal, and if the first trigger type is the first type, executing lifting operation according to the information of the trigger point position;
and a second execution module: and if the first trigger type is the second type, continuously acquiring the subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position.
According to a third aspect of the present invention there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method steps of any one of the above-mentioned first aspects when the computer program is executed.
According to a fourth aspect of the present invention there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the method steps of any of the first aspects described above.
The beneficial effects of the invention are as follows:
the invention provides a control method and a device for a sliding touch glass lifting switch, which can integrate a sliding and point-control touch glass lifting switch adjusting strategy and can effectively prevent misoperation. Meanwhile, the device has pressure sensing and vibration feedback, and has the operation experience of a conventional mechanical key.
The switch is small in size, saves the arrangement space of the whole vehicle and reduces the weight of the whole vehicle. Brings technological sense for the whole car and has novel operation experience. The number of the switch mould is reduced relative to the mechanical physical key mould, and the mould cost and the development workload are reduced.
The glass lifting device can realize glass lifting in two modes of sliding touch and point control touch synchronously.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to identify like elements. The drawings, which are included in the description, illustrate some, but not all embodiments of the invention. Other figures can be derived from these figures by one of ordinary skill in the art without undue effort.
Fig. 1 is a flowchart of a control method of a sliding touch glass lifter switch according to an embodiment of the present invention;
fig. 2 is a block diagram of a control device of a sliding touch glass lifter switch according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a system according to an embodiment of the present invention;
fig. 5 is a schematic layout diagram of a touch switch according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention and the technical solutions in the prior art, the following description will explain the specific embodiments of the present invention with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the invention, from which other drawings and other embodiments can be obtained by a person skilled in the art without undue effort. The term "design azimuth" merely means a relative positional relationship between the respective members, not an absolute positional relationship.
Example 1
According to a first aspect of the present invention, there is provided a method for controlling a sliding touch type glass-frame lifter switch, as shown in fig. 1, which is a flowchart of a method for controlling a sliding touch type glass-frame lifter switch, comprising:
step S101: and acquiring the real-time parameters of the pressure induction, judging that the real-time parameters reach the standard values, triggering vibration feedback, and generating a trigger signal.
In the embodiment of the invention, a plurality of pressure sensing areas can be arranged, and the pressure sensing areas at least comprise a rising trigger area, a falling trigger area and a sliding pressing area. Specifically, the sliding pressing area is in a strip shape, and the ascending triggering area and the descending triggering area are respectively arranged at two ends of the sliding pressing area, as shown in fig. 5.
The ascending triggering area and the descending triggering area can be provided with independent pressure sensors and vibration feedback devices; the sliding pressing area can be provided with a pressure sensor group and a plurality of vibration feedback devices so as to detect the pressure change direction and position of finger pressure sliding and synchronously perform vibration feedback.
In the embodiment of the invention, the ascending trigger area and the descending trigger area are point control touches, and can be defined as a first type of trigger point position; the sliding press area is a sliding touch and can be defined as a trigger point of a second type.
The information of the rising trigger area is defined as rising and the information of the falling trigger area is defined as falling. The sliding pressing area does not have clear ascending and descending attributes, and can define the sliding direction, and when the sliding pressing area slides in the ascending triggering area, the information of the sliding direction definition is ascending; when sliding in the direction of the descending trigger area, the sliding direction defines the information to which the descending trigger area belongs as descending.
In the embodiment of the invention, the pressure sensing can be uniformly detected, and after the pressure sensing value reaches the standard value, specific trigger point position inquiry and judgment are carried out to synchronously generate the trigger signal, and the specific steps comprise:
predefining a standard value of pressure sensing;
detecting pressure values on each sensing area, and acquiring real-time parameters of pressure sensing;
when the pressure sensing parameter value on any sensing area is detected to reach the standard value, triggering vibration feedback on the sensing area;
stopping vibration feedback when the pressure-induced parameter value is lower than the standard value;
and synchronously generating a trigger signal aiming at the sensing area triggering the vibration feedback, wherein the trigger signal comprises the information of the sensing area and the duration of which the pressure sensing is above a standard value.
In the embodiment of the invention, the pressure value on any sensing area can be monitored, and in order to avoid false touch, certain limitation can be carried out on the triggering conditions, such as parameters of the pressure value and the change direction of the pressure. Based on the two trigger types of the invention, trigger conditions are defined respectively.
It will be appreciated that, regarding the magnitude of the parameter initially defined as the pressure value of the trigger condition, when the pressure value reaches the standard value, the basic condition for triggering lifting is provided, and specifically, whether to perform lifting operation or not is determined according to the subsequent change of the pressure.
In the embodiment of the invention, when the pressure born by the sensing area reaches the standard value, vibration feedback is generated, so that an operator can be indirectly prompted that the pressure triggering requirement is met, the continuous increase of the pressure value is not needed, and the current force is kept. Meanwhile, the vibration feedback can give certain physical feedback to operators, so that the force application position is determined, and the operation feeling is optimized. The vibration feedback can also make the unstable false touch body vibrate and slide down.
And when the pressure value is lower than the standard value, synchronously stopping feedback vibration. Further, the stopping of the feedback vibration may be performed in association with the interrupt continuation.
It will be appreciated that each sensing region is independently provided with vibration feedback means, and that when the value of the pressure-sensing parameter in that region reaches a standard value, only that region produces vibration feedback.
Step S102: and acquiring the first trigger type of the trigger signal, and executing lifting operation according to the information of the trigger point position if the first trigger type is the first type.
In the embodiment of the invention, when the parameter value of the sensing pressure reaches the standard value, the generated trigger signal can be used for judging the attribution of the area, so that the execution of the lifting operation has definite directivity, such as descending, ascending and the like.
Based on the continuous operation of the pressure sensor, real-time pressure value parameters can be obtained, namely the duration time of the pressure sensing above the standard value can be calculated, and whether the lifting operation is executed can be judged according to the duration time. If the touch is a false touch with shorter duration, false touch signals can be directly screened and removed.
In the embodiment of the invention, the sensing areas are divided, and each sensing area has different functions, so that when a trigger signal is acquired, the source area of the signal is determined quickly, so that the determination of the subsequent functions is realized.
The strategy of the invention is to define a staged control period, and in one control period, drawing a pressure-induced parameter curve, and when the pressure-induced parameter value reaches a standard value, defining the first trigger and generating a first trigger type at the same time; the trigger type comprises a first type and a second type, and the trigger type is associated with the sensing area.
The generation of the first trigger type specifically comprises the following steps:
acquiring the trigger signal, reading the information of the induction area, and dividing the trigger type of the trigger signal according to the information of the induction area; the trigger type comprises a first type and a second type;
inquiring a pressure-sensing parameter curve of the sensing area in the stage, and associating a time point when the pressure-sensing parameter reaches a standard value for the first time with the trigger type to generate a first trigger type.
In the embodiment of the invention, when the trigger signal is obtained, the area to which the trigger signal belongs can be determined, and because the information of the sensing area is fixed, when the pressure sensing value reaches the standard value, the attribute of the trigger signal is determined, and the first trigger type generated according to the information not only comprises the information of the trigger type, but also comprises the specific source of the trigger signal and the trigger time.
If the first trigger type is the first type, for point control touch, lifting operation can be executed according to the information of the trigger point, and the specific steps include:
predefining a trigger time; predefining a first hover time;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a first type;
reading the information of the sensing area of the current trigger signal, and inquiring the duration time when the pressure sensing of the current trigger signal is above a standard value;
when the duration is less than the trigger time, not responding to the current trigger signal;
when the duration reaches the trigger time, performing lifting/lowering operation according to the information of the induction area;
detecting a pressure-induced parameter change in real time when the duration reaches the first hover time, and stopping the raising/lowering operation when the pressure-induced parameter value is lower than the standard value;
refreshing the pressure-sensing parameter curve of the current stage.
In the embodiment of the present invention, when the trigger type is the first type, the following three execution operations may be included:
the first is false triggering, that is, the duration is less than the triggering time, and the lifting operation request of the triggering signal can not be responded.
The second type is normal triggering, that is, the duration reaches the triggering time, and the ascending or descending operation can be executed according to the belonging information of the area to which the triggering signal belongs. The belonging area is a rising trigger area, and the belonging information is rising, namely, rising operation is executed; and if the belonging area is a descending triggering area, the belonging information is descending, namely, descending operation is executed.
And thirdly, temporary stop triggering, namely, when the duration time is still unchanged and accumulated to reach the first hover time after reaching the triggering time, entering a temporary stop triggering mode, monitoring the pressure-sensing parameter change in real time, and stopping the current lifting/lowering operation when the pressure-sensing parameter value is lower than the standard value.
It will be appreciated that if the duration is long, it may be automatically raised until the window is fully closed. And simultaneously locking the triggering condition until the pressure sensing is disappeared or the vehicle is restarted.
In the embodiment of the invention, after the lifting operation is finished or the response is canceled, the pressure-sensing parameter curve in the current stage can be refreshed, the defined first trigger type is canceled, and the first trigger type is redefined after the next control period arrives.
It should be clear that the definition of the first trigger type is only performed once in one cycle, whether it is a trigger signal of the first type or a trigger signal of the second type; if the response fails (does not respond) or the response is completed, ending the control period and refreshing the parameter curve; waiting for the next control period to be entered.
Step S103: and if the first trigger type is the second type, continuously acquiring the subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position.
In the embodiment of the present invention, unlike a point control touch, a sliding touch defines ascending or descending belonging information in a sliding direction, so when determining that a first trigger type is a second type, it is necessary to continuously collect subsequent pressure trigger position changes to determine the sliding direction, so as to determine the belonging information, and specific steps include:
predefining a second hover time; predefining acquisition time; predefining a reference direction corresponding to the information, wherein the information comprises ascending and descending directions, and the reference direction comprises an ascending direction and a descending direction;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a second type;
continuously acquiring the subsequent generation position of the trigger signal, and continuously acquiring the acquisition time;
if the subsequent generation position of the trigger signal is not changed, the current trigger signal is not responded;
if the subsequent generation position of the trigger signal changes, acquiring the sliding direction of the position change;
judging whether the sliding direction has a directionality with the reference direction:
if not, not responding to the current trigger signal
If so, defining a reference direction with the same directionality as the current sliding direction as a generating condition;
executing lifting/lowering operation according to the specific type of the information corresponding to the generation condition;
detecting a change in a pressure-induced parameter in real time when it is detected that a duration of the pressure-induced being above a standard value exceeds the second hover time during performing a lifting/lowering operation, the lifting/lowering operation being stopped when a value of the pressure-induced parameter is below the standard value;
refreshing the pressure-sensing parameter curve of the current stage.
In the embodiment of the invention, a plurality of pressure sensors can be arranged in the sliding trigger area to form a strip-shaped sensing area, each pressure sensor is a sensing strip, when a finger slides, the sliding direction can be obtained based on the pressure value change of each pressure sensor, and therefore the judgment of the rising or falling of the information is realized.
The sliding direction can be roughly defined as one end to the other end of the sensing area, when more sensing strips exist, the sliding direction generates a certain degree of deviation based on the actual sliding effect, but the deviation angle is always not more than 90 degrees, so that a co-directional threshold value can be preset for carrying out co-directional judgment, and if the deviation does not exceed the co-directional threshold value, the co-directional judgment is judged to be provided; otherwise, it is not provided.
For sliding without the orientation, the sliding can be removed and not responded. The sliding with the directionality should be responded.
Since the generation condition of the sliding direction having the anisotropy is to slide in this direction, the information of the direction corresponding to the generation condition is a determination condition: if the information is ascending, executing ascending operation; if the information is descending, executing descending operation.
After the ascent/descent operation is determined, during the execution of the ascent/descent operation, a duration in which the pressure sensing in the sliding trigger area is above the standard may be monitored, and if the duration exceeds the second hover time, a temporary stop mode is entered, and when it is monitored that the parameter value of the pressure sensing is below the standard value, the current ascent/descent operation is stopped. The window glass is in a hovering state
In the embodiment of the invention, the sliding distance can be judged, and if the sliding distance is insufficient, the sliding distance of one acquisition time is increased; if the sliding distance is sufficient, a direction determination is made.
Based on the above method steps, in the embodiment of the present invention, the method further includes a pressure-induced interrupt connection, and the specific steps include:
predefining a splice delay time;
when the detected pressure sensing parameter value is reduced below a standard value, synchronously starting the accumulated interrupt time;
when the interrupt time is smaller than the continuous delay time, the current state is maintained, and a response request is not sent to the outside;
when the interrupt time reaches the continuous delay time, a response request is sent to the outside;
and resetting the interrupt time when the parameter value is restored to be above the standard value.
In the embodiment of the invention, the pressure sensing stage can divide pressure interruption into error interruption and normal interruption; when the false interrupt occurs, the intermittent connection can be performed in the middle to keep the current lifting operation to be stably executed; when normal interruption occurs, the control method according to the invention is executed.
It can be understood that when a fault exists in the local sensor in the sliding trigger area, for example, the fault of the sensing strip in the middle area can not generate pressure sensing, and when the sensing strips on two sides can still continue to sense, a fault can appear on the pressure parameter curve formed by the sliding finger, and the original operation effect can be effectively and continuously maintained by means of intermittent connection.
It should be clear that the method steps in the first embodiment are applicable to a control strategy for a single window, but that the glass lifter switch of the present invention may be provided for each window of a vehicle for controlling the corresponding window; when the method is applied to the main driving position, corresponding control strategies can be set for windows at other positions so as to realize control of the main driving on the other windows.
Example two
According to a second aspect of the present invention, there is provided a control device for a slide-touch glass-frame lifter switch. As shown in fig. 2, a block diagram of a control device for a sliding touch window regulator switch includes:
the lift trigger module 201: acquiring a real-time parameter of pressure induction, judging that the real-time parameter reaches a standard value, triggering vibration feedback, and generating a trigger signal at the same time;
the first execution module 202: acquiring a first trigger type of the trigger signal, and if the first trigger type is the first type, executing lifting operation according to the information of the trigger point position;
the second execution module 203: and if the first trigger type is the second type, continuously acquiring the subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position.
It can be understood that the apparatus provided in the embodiment of the present invention is applicable to the method described in the first embodiment, and specific functions of each module may refer to the above method flow, which is not repeated herein.
Based on the method described in the first embodiment and the device described in the second embodiment, the invention also provides a system working schematic diagram, as shown in fig. 4, when the touch switch function is triggered, the switch judges the request type according to the operation action of the user, the corresponding request signal is transmitted to the DCU module through the LIN bus, and the DCU module controls the forward and reverse rotation and hovering of the window lifting motor according to the signal, so as to realize the lifting of the window glass.
Example III
The embodiment of the invention provides electronic equipment for realizing the method in the first embodiment. Fig. 3 is a schematic entity structure of an electronic device according to an embodiment of the present invention. The electronic device may include: at least one central processing unit, at least one network interface, a control interface, a memory, at least one communication bus.
The communication bus is used for realizing connection communication and information interaction among all the components.
The network interface may optionally include a standard wired interface, a wireless interface (e.g., wi-Fi interface), among others.
The control interface is used for outputting control operation according to the instruction.
Wherein the central processor may comprise one or more processing cores. The central processing unit connects the respective parts in the whole terminal by various interfaces and lines, and performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory according to the method of the first embodiment.
The Memory may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory may be used to store instructions, programs, code sets, or instruction sets. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), a method for implementing the above-described embodiment one, etc.; the storage data area may store data or the like referred to in the above respective method embodiments.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first embodiment described above. The computer readable storage medium may include, among other things, any type of disk including floppy disks, optical disks, DVDs, CD-ROMs, micro-drives, and magneto-optical disks, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present invention may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by hardware associated with a program that is stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific examples described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (7)

1. A control method of a sliding touch glass-frame lifter switch, characterized by comprising:
acquiring a real-time parameter of pressure induction, and triggering vibration feedback and generating a trigger signal if the real-time parameter reaches a standard value;
the first trigger type of the trigger signal is obtained, and the generation of the first trigger type specifically comprises the following steps:
acquiring the trigger signal, reading the information of the induction area, and dividing the trigger type of the trigger signal according to the information of the induction area; the trigger type comprises a first type and a second type;
inquiring a pressure-sensing parameter curve of the sensing area in the stage, and associating a time point when the pressure-sensing parameter reaches a standard value for the first time with the trigger type to generate a first trigger type;
if the first trigger type is the first type, lifting operation is executed according to the information of the trigger point position; the method specifically comprises the following steps:
predefining a trigger time; predefining a first hover time;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a first type;
reading the information of the sensing area of the current trigger signal, and inquiring the duration time when the pressure sensing of the current trigger signal is above a standard value;
when the duration is less than the trigger time, not responding to the current trigger signal;
when the duration reaches the trigger time, performing lifting/lowering operation according to the information of the induction area;
detecting a pressure-induced parameter change in real time when the duration reaches the first hover time, and stopping the raising/lowering operation when the pressure-induced parameter value is lower than the standard value;
refreshing a pressure-induced parameter curve at the current stage;
if the first trigger type is the second type, continuously acquiring a subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position; the method specifically comprises the following steps:
predefining a second hover time; predefining acquisition time; predefining a reference direction corresponding to the information, wherein the information comprises ascending and descending directions, and the reference direction comprises an ascending direction and a descending direction;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a second type;
continuously acquiring the subsequent generation position of the trigger signal, and continuously acquiring the acquisition time;
if the subsequent generation position of the trigger signal is not changed, the current trigger signal is not responded;
if the subsequent generation position of the trigger signal changes, acquiring the sliding direction of the position change;
judging whether the sliding direction has a directionality with the reference direction:
if not, not responding to the current trigger signal;
if so, defining a reference direction with the same directionality as the current sliding direction as a generating condition;
executing lifting/lowering operation according to the specific type of the information corresponding to the generation condition;
detecting a change in a pressure-induced parameter in real time when it is detected that a duration of the pressure-induced being above a standard value exceeds the second hover time during performing a lifting/lowering operation, the lifting/lowering operation being stopped when a value of the pressure-induced parameter is below the standard value;
refreshing the pressure-sensing parameter curve of the current stage.
2. The method for controlling a sliding touch glass-frame lifter switch according to claim 1, further comprising a plurality of pressure sensing areas including a rising trigger area, a falling trigger area, and a sliding pressing area;
the ascending trigger area and the descending trigger area are trigger points of a first type; the sliding pressing area is a trigger point of a second type;
the ascending triggering area, the descending triggering area and the sliding pressing area are respectively provided with a pressure sensor and a vibration feedback device;
the information of the ascending triggering area is ascending, and the information of the descending triggering area is descending.
3. The method for controlling a sliding touch glass lifting switch according to claim 1, wherein the method for controlling a sliding touch glass lifting switch is characterized by obtaining a real-time parameter of pressure sensing, and triggering vibration feedback if the real-time parameter is judged to have reached a standard value, and generating a trigger signal at the same time, and specifically comprises the following steps:
predefining a standard value of pressure sensing;
detecting pressure values on each sensing area, and acquiring real-time parameters of pressure sensing;
when the pressure sensing parameter value on any sensing area is detected to reach the standard value, triggering vibration feedback on the sensing area;
stopping vibration feedback when the pressure-induced parameter value is lower than the standard value;
synchronously generating a trigger signal aiming at an induction area triggering vibration feedback, wherein the trigger signal comprises the information of the induction area and the duration time of pressure induction above a standard value;
the information includes rising and falling.
4. The method for controlling a sliding touch glass-frame riser switch according to claim 1, further comprising a pressure-sensitive interrupt, comprising:
predefining a splice delay time;
when the detected pressure sensing parameter value is reduced below a standard value, synchronously starting the accumulated interrupt time;
when the interrupt time is smaller than the continuous delay time, the current state is maintained, and a response request is not sent to the outside;
when the interrupt time reaches the continuous delay time, a response request is sent to the outside;
and resetting the interrupt time when the parameter value is restored to be above the standard value.
5. A control device of a sliding touch glass-frame riser switch, characterized by comprising:
and the lifting triggering module is used for: acquiring a real-time parameter of pressure induction, judging that the real-time parameter reaches a standard value, triggering vibration feedback, and generating a trigger signal at the same time;
a first execution module: acquiring a first trigger type of the trigger signal, and if the first trigger type is the first type, executing lifting operation according to the information of the trigger point position; the method specifically comprises the following steps:
predefining a trigger time; predefining a first hover time;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a first type;
reading the information of the sensing area of the current trigger signal, and inquiring the duration time when the pressure sensing of the current trigger signal is above a standard value;
when the duration is less than the trigger time, not responding to the current trigger signal;
when the duration reaches the trigger time, performing lifting/lowering operation according to the information of the induction area;
detecting a pressure-induced parameter change in real time when the duration reaches the first hover time, and stopping the raising/lowering operation when the pressure-induced parameter value is lower than the standard value;
refreshing a pressure-induced parameter curve at the current stage;
and a second execution module: if the first trigger type is the second type, continuously acquiring the subsequent generation position of the trigger signal, and executing lifting operation according to the information corresponding to the generation condition of the subsequent generation position; the method specifically comprises the following steps:
predefining a second hover time; predefining acquisition time; predefining a reference direction corresponding to the information, wherein the information comprises ascending and descending directions, and the reference direction comprises an ascending direction and a descending direction;
acquiring the first trigger type of the current trigger signal, wherein the read trigger type is a second type;
continuously acquiring the subsequent generation position of the trigger signal, and continuously acquiring the acquisition time;
if the subsequent generation position of the trigger signal is not changed, the current trigger signal is not responded;
if the subsequent generation position of the trigger signal changes, acquiring the sliding direction of the position change;
judging whether the sliding direction has a directionality with the reference direction:
if not, not responding to the current trigger signal;
if so, defining a reference direction with the same directionality as the current sliding direction as a generating condition;
executing lifting/lowering operation according to the specific type of the information corresponding to the generation condition;
detecting a change in a pressure-induced parameter in real time when it is detected that a duration of the pressure-induced being above a standard value exceeds the second hover time during performing a lifting/lowering operation, the lifting/lowering operation being stopped when a value of the pressure-induced parameter is below the standard value;
refreshing a pressure-induced parameter curve at the current stage;
the generation of the first trigger type specifically comprises the following steps:
acquiring the trigger signal, reading the information of the induction area, and dividing the trigger type of the trigger signal according to the information of the induction area; the trigger type comprises a first type and a second type;
inquiring a pressure-sensing parameter curve of the sensing area in the stage, and associating a time point when the pressure-sensing parameter reaches a standard value for the first time with the trigger type to generate a first trigger type.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, carries out the steps of a method for controlling a sliding-touch glass-lifter switch according to any of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of a method for controlling a sliding-touch glass-frame lifter switch according to any one of claims 1 to 4.
CN202111438079.2A 2021-11-30 2021-11-30 Control method and device for sliding touch glass lifting switch Active CN114320078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111438079.2A CN114320078B (en) 2021-11-30 2021-11-30 Control method and device for sliding touch glass lifting switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111438079.2A CN114320078B (en) 2021-11-30 2021-11-30 Control method and device for sliding touch glass lifting switch

Publications (2)

Publication Number Publication Date
CN114320078A CN114320078A (en) 2022-04-12
CN114320078B true CN114320078B (en) 2023-07-21

Family

ID=81046660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111438079.2A Active CN114320078B (en) 2021-11-30 2021-11-30 Control method and device for sliding touch glass lifting switch

Country Status (1)

Country Link
CN (1) CN114320078B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0723505Y2 (en) * 1989-07-21 1995-05-31 小島プレス工業株式会社 Power window lift control circuit
CN203669603U (en) * 2013-07-26 2014-06-25 广州森下电装科技有限公司 Screen sliding control device for lifting up and putting down automotive glass
WO2015045063A1 (en) * 2013-09-26 2015-04-02 富士通株式会社 Drive control apparatus, electronic device, and drive control method
CN103726737A (en) * 2013-12-20 2014-04-16 中原工学院 Electric-window touch-type lifting control system
KR101844251B1 (en) * 2016-12-12 2018-04-02 쌍용자동차 주식회사 Convenient device control system using window glass of car
CN206859967U (en) * 2017-07-05 2018-01-09 喻云丁 A kind of touch drop window button of automobile
CN110685533A (en) * 2019-08-26 2020-01-14 林亚建 Vehicle window lifting control device
WO2021133682A1 (en) * 2019-12-24 2021-07-01 International Automotive Components Group Gmbh Switch device with integrated touch sensor
CN111114470A (en) * 2020-01-06 2020-05-08 海拉(厦门)电气有限公司 Automobile glass based on intelligent actuator and control method of trunk
CN113356720A (en) * 2020-03-06 2021-09-07 佛吉亚(中国)投资有限公司 Control device and method for automobile window
CN213661590U (en) * 2020-12-23 2021-07-09 科世达(上海)机电有限公司 Vehicle window glass lifting switch
CN113279657B (en) * 2021-04-20 2023-02-03 华人运通(江苏)技术有限公司 Window control method, window control device and vehicle

Also Published As

Publication number Publication date
CN114320078A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN101963873B (en) Method for setting and calibrating capacitive-type touch panel capacitance base value
EP3453663B1 (en) Floor monitoring method, electronic device and computer storage medium for use when robot riding elevator
EP3407165A2 (en) Method of associating user input with a device
CN104246675A (en) Apparatus and method for performing proximity detection according to capacitive sensing output and status output
EP3425491A1 (en) Data processing method and apparatus
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
JP2019053782A (en) Method for dynamic and automatic creation of user interface
CN108733302B (en) Gesture triggering method
CN107239166A (en) It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN109976656B (en) Page turning control method for browsing webpage and user terminal
CN114320078B (en) Control method and device for sliding touch glass lifting switch
CN110375417B (en) Control method and device of voice module and air conditioner
CN113342204B (en) Touch control system adapting method, device, equipment, storage medium and program product
WO2021218900A1 (en) Vehicle control method, apparatus and system
KR102579856B1 (en) METHOD AND SYSTEM FOR PROCESSING VEHICLE EVENT CONSIDERING IoT DEVICES
CN112861096A (en) Touch panel control device and operation method thereof
CN110825306A (en) Braille input method, device, terminal and readable storage medium
CN114626421A (en) Vehicle window anti-pinch self-learning method, device, equipment and storage medium
CN111045339A (en) Method for describing intelligent household environment requirements based on user behaviors
CN105700734A (en) Touch operation detection apparatus
CN114211486B (en) Robot control method, robot and storage medium
CN113251620B (en) Method and device for controlling primary and secondary air conditioners and intelligent air conditioner
CN105117148A (en) Smart watch adjustment and control method and smart watch
CN106293431A (en) Handwriting input recognition methods, system and electronic installation
CN111775148B (en) Robot control method and device, storage medium and robot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang

Applicant after: United New Energy Automobile Co.,Ltd.

Address before: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang

Applicant before: Hezhong New Energy Vehicle Co.,Ltd.

GR01 Patent grant
GR01 Patent grant