WO2022110268A1 - Method and apparatus for responding to vibration event, electronic device, and storage medium - Google Patents

Method and apparatus for responding to vibration event, electronic device, and storage medium Download PDF

Info

Publication number
WO2022110268A1
WO2022110268A1 PCT/CN2020/133566 CN2020133566W WO2022110268A1 WO 2022110268 A1 WO2022110268 A1 WO 2022110268A1 CN 2020133566 W CN2020133566 W CN 2020133566W WO 2022110268 A1 WO2022110268 A1 WO 2022110268A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
events
event
mixed
sensation
Prior art date
Application number
PCT/CN2020/133566
Other languages
French (fr)
Chinese (zh)
Inventor
郑亚军
谢兵
邵笑杰
蒋亮
向征
张玉蕾
Original Assignee
瑞声声学科技(深圳)有限公司
瑞声光电科技(常州)有限公司
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 瑞声声学科技(深圳)有限公司, 瑞声光电科技(常州)有限公司 filed Critical 瑞声声学科技(深圳)有限公司
Publication of WO2022110268A1 publication Critical patent/WO2022110268A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/25Output arrangements for video game devices
    • A63F13/28Output arrangements for video game devices responding to control signals received from the game device for affecting ambient conditions, e.g. for vibrating players' seats, activating scent dispensers or affecting temperature or light
    • A63F13/285Generating tactile feedback signals via the game input device, e.g. force feedback
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1037Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted for converting control signals received from the game device into a haptic signal, e.g. using force feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/013Force feedback applied to a game

Definitions

  • the present invention relates to the technical field of electronic devices, and in particular, to a method, apparatus, electronic device and storage medium for responding to vibration events.
  • Vibration sense is one of the indispensable functions of current electronic devices, and high-quality vibration sense can greatly improve the user's experience of using electronic devices. With the enrichment of systems and application functions of electronic devices, more and more vibrations are involved in electronic devices.
  • the electronic device is required to deal with multiple simultaneous vibration events that require vibration. For example, in a game scene, when the game character is carrying a car, the game character needs to shoot, then “riding the car” and “shooting” are two vibration events that require vibration. For another example, when the game character is carrying a car, the electronic device receives a text message notification, then "car ride” and “SMS notification” are two events that require vibration.
  • a method of responding to a vibration event comprising:
  • each vibration event includes the current vibration event and the other vibration events;
  • the vibration sensations corresponding to at least two vibration events in the respective vibration events are selected and mixed to obtain a mixed vibration sensation
  • a device for responding to vibration events comprising:
  • a priority determination module is used to determine the priority corresponding to each vibration event in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment; the vibration events include the current vibration event and the other vibration events;
  • a vibration sensation mixing module configured to select vibration sensations corresponding to at least two vibration events in each of the vibration events based on the priority, and mix them to obtain a mixed vibration sensation
  • a vibration feeling playing module is used to play the mixed vibration feeling.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the vibration events include the current vibration event and the other vibration events; based on the Priority, select and mix vibration sensations corresponding to at least two vibration events in each vibration event to obtain a mixed vibration sensation; play the mixed vibration sensation.
  • the vibration events include the current vibration event and the other vibration events; based on the Priority, select and mix vibration sensations corresponding to at least two vibration events in each vibration event to obtain a mixed vibration sensation; play the mixed vibration sensation.
  • the above-mentioned method, device, electronic device and storage medium for responding to a vibration event the electronic device is in response to detecting the current vibration event and there is a sense of vibration triggered by other vibration events at the current moment, and determines each vibration including the aforementioned current vibration event and other vibration events.
  • the priority corresponding to the event and then based on the priority, the electronic device selects at least two vibration events corresponding to the aforementioned vibration events and mixes them to obtain a mixed vibration sense, so as to drive the vibration of the electronic device through the driving voltage of the corresponding waveform.
  • the device is used to play the mixed vibration sensation, so that when the electronic device detects that multiple vibration events occur at the same time, the generation and playback of the multi-event mixed vibration sensation are automatically executed in real time.
  • FIG. 1 is a schematic structural diagram of an electronic device implementing a method for responding to a vibration event in one embodiment
  • Fig. 2 is a schematic flowchart of multi-vibration event vibratory play in one embodiment
  • FIG. 3 is a schematic flowchart of a method for responding to a vibration event in one embodiment
  • FIG. 4 is a schematic flowchart of a method for responding to a vibration event in another embodiment
  • FIG. 5 is a schematic flow chart of performing vibratory playback of a single vibration event in one embodiment
  • Fig. 6 is a kind of schematic flow chart of performing vibratory play of double vibration events in one embodiment
  • Fig. 7 is another kind of schematic flow chart of performing the vibratory play of double-vibration events in one embodiment
  • FIG. 8 is a schematic flowchart of a vibratory playback of three or more vibration events in one embodiment
  • FIG. 9 is a schematic flow chart of another implementation of vibratory playback of three or more vibration events in one embodiment.
  • FIG. 10 is a structural block diagram of an apparatus for responding to a vibration event in one embodiment
  • FIG. 11 is an internal structure diagram of an electronic device in one embodiment.
  • the method for responding to a vibration event provided by the present invention can be applied to the application environment shown in FIG. 1
  • the application environment can be an electronic device
  • the electronic device can be, but not limited to, various personal computers, notebook computers, smart phones, Tablets and portable wearables.
  • the electronic device may specifically include a trigger, an effect memory, a signal processor, a power amplifier and a vibrator which are connected in sequence.
  • the trigger can call the vibration sensation to the effect memory after the electronic device detects the vibration event.
  • the vibration sensation corresponding to each vibration event is called a single-event vibration sensation;
  • the vibration sensation refers to a vibration effect provided by the vibrator to simulate real vibration, and its representation may include but not limited to excitation voltage, vibrator vibrator acceleration , vibrator vibrator velocity, vibrator vibrator displacement and other waveforms, without loss of generality and in order to simplify the description of the vibration sensation, the present invention will use the waveform of the vibrator vibrator displacement to characterize the vibration sensation in the future.
  • mixing and equalization calculations can be performed in the signal processor.
  • mixing means that when the electronic device judges that multiple vibration events occur at the same time frame by frame, it mixes the vibration sensations corresponding to the multiple vibration events that occur at the same time.
  • the mixed wave can characterize the mixed vibration sense, and then the balance calculation is performed to obtain the balance voltage.
  • the balance refers to the vibration of the vibrator's displacement, speed, acceleration waveform, according to the electromechanical coupling equation of the vibrator, to obtain the driving voltage of the vibrator (ie, the equilibrium voltage).
  • the signal processor can transmit the calculated balanced voltage signal to the vibrator through the power amplifier, so as to drive the vibrator to play the mixed vibration sensation.
  • the multi-vibration event vibration sense means that the electronic device detects vibration events frame by frame. The detection result finds that multiple vibration events occur simultaneously. At this time, the electronic device needs to play the mixed vibration sense corresponding to the multi-vibration event through the vibrator.
  • the electronic device calls the designed single-event vibration sense 1 to single-event vibration sense 3 in the effect memory, and then the single-event vibration sense
  • the displacement waveforms corresponding to 1 to single-event vibration sense 3 are mixed and equalized to obtain the balanced voltage corresponding to the multi-event mixed vibration sense.
  • the electronic device transmits the balanced voltage signal to the vibrator through the power amplifier, and the vibrator can be driven to play. Mixed vibration.
  • the electronic device can determine the priority corresponding to the vibration event 1 to the vibration event 3, so as to clarify the priority order of these vibration events in the process of generating the mixed vibration sensation, so that the electronic device can When generating a mixed vibration sensation, the vibration sensation effect corresponding to the vibration event with higher priority is highlighted, and the vibration sensation effect corresponding to the vibration event with lower priority is weakened or ignored.
  • the priority can be set as an open interface of the electronic device.
  • the interface can be used by electronic device manufacturers to set the priority corresponding to each vibration event, or by electronic device users. It is determined according to the order of the vibration time, so as to achieve the effect of flexible priority configuration and improved vibration experience.
  • a method for responding to a vibration event is provided, the method can be applied to an electronic device, and the method can include the following steps:
  • Step S301 in response to the detection of the current vibration event and the presence of vibration sensations triggered by other vibration events at the current moment, determine the priority corresponding to each vibration event.
  • the electronic device can detect the vibration event frame by frame, wherein the frame-by-frame detection can be the electronic device detecting whether a new vibration event occurs at a certain time interval during its operation.
  • the frame-by-frame detection can be the electronic device detecting whether a new vibration event occurs at a certain time interval during its operation.
  • the new vibration event occurs.
  • the vibration event becomes the current vibration event, and the electronic device needs to call the corresponding vibration sense or call the corresponding single-event vibration sense for the current vibration event.
  • the electronic device detects the current vibration event, it can determine whether there is a vibration sensation triggered by other vibration events at the current moment. If there is a vibration sensation triggered by other vibration events at the current moment, the electronic device determines the corresponding vibration event.
  • each vibration event includes the aforementioned current vibration event and other vibration events.
  • the electronic device when the electronic device detects the current vibration event I1, if it is judged that there is a sense of vibration triggered by, for example, other vibration events I2 at the current moment, the electronic device determines the priority corresponding to the current vibration event I1 and other vibration events I2.
  • the level can be used to characterize the priority order of the current vibration event I1 and other vibration events I2 in the subsequent step of generating the mixed vibration sensation.
  • step S302 based on the priority, the vibration sensations corresponding to at least two vibration events in each vibration event are selected and mixed to obtain a mixed vibration sensation.
  • the electronic device selects vibration sensations corresponding to at least two vibration events among the vibration events and mixes them to obtain a mixed vibration sensation based on the priorities corresponding to the aforementioned vibration events.
  • the electronic device needs to determine at least two vibration events from the aforementioned vibration events, and mix the vibration sensations corresponding to the at least two vibration events. is the priority corresponding to each vibration event.
  • the electronic device can select the required number of vibration events in the order of priority, and mix the vibration sensations corresponding to the selected vibration events to obtain the mixed vibration sensation, that is, the vibration events with relatively high priority can be preferentially selected, For example, when the required number is two, the electronic device may select the two vibration events with the highest priority from each vibration event and mix the vibration sensations corresponding to the two to obtain the mixed vibration sensation.
  • the electronic device when the electronic device performs the mixing process of the vibration sensations corresponding to the selected at least two vibration events, it can also highlight the vibration sensation with a higher priority in the mixed vibration sensation according to the corresponding priority, and weaken the vibration sensation with a higher priority. Low vibration, and for the vibration of the same priority, it can be distributed in the mixed vibration of medium ratio.
  • Step S303 playing the mixed vibration sensation.
  • the electronic device can transmit the balanced voltage corresponding to the mixed vibration to the vibrator, so as to drive the vibrator to play the mixed vibration.
  • the electronic device determines the priority corresponding to each vibration event including the aforementioned current vibration event and other vibration events in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment, Then, based on the priority, the electronic device selects vibration sensations corresponding to at least two vibration events from the aforementioned vibration events and mixes them to obtain a mixed vibration sensation, so as to drive the vibrator of the electronic device through the driving voltage of the corresponding waveform to play the mixed vibration sensation , so that when the electronic device detects that multiple vibration events occur at the same time, the generation and playback of the mixed vibration sensation of multiple events are automatically executed in real time.
  • the method for responding to a vibration event is described as a whole with reference to FIG. 4 .
  • the electronic device detects a new current vibration event, that is, the current vibration event, it calls the corresponding single for the current vibration event.
  • Event vibration sense, and determine whether there is a vibration sense triggered by other vibration events at the current moment, that is, other vibration sense. Among them, if the electronic device does not detect other vibration sensations, the electronic device performs the vibration sensation playback of the newly detected single vibration event. As shown in Figure 5, the electronic device detects the newly generated vibration event 1, and calls the corresponding vibration event 1.
  • the single-event vibration sense 1 is detected, and no other vibration sense is detected at this time, the electronic device outputs the balanced voltage signal corresponding to the single-event vibration sense 1 to the vibrator to drive the vibrator to play the vibration sense 1. If the electronic device detects other vibration sensations, the electronic device performs vibration sensation playback of multiple events. Specifically, the electronic device mixes vibrations corresponding to multiple vibration events frame by frame to form a waveform of mixed vibration sensations and then performs equalization calculation. An equalizing voltage is generated, thereby also outputting the equalizing voltage to the vibrator to drive the vibrator to play the multi-event vibrating sensation.
  • the number of other vibration events existing at the current moment may be one or at least two.
  • the cases where the number of other vibration events is one and at least two are respectively described below.
  • determining the priority corresponding to each vibration event in step S301 may include:
  • the electronic device may determine the respective priority according to the preset vibration sense level corresponding to each vibration event.
  • the preset vibration sense level may be pre-divided according to the importance of the vibration event, and the higher the level, the higher the importance.
  • the preset vibration sense level can be preset in the electronic device, and the electronic device can set the preset vibration sense level corresponding to each vibration event through an open interface.
  • the interface can be provided to the electronic device manufacturer.
  • the preset vibration sense level corresponding to each vibration event is set, and the preset vibration sense level corresponding to each vibration event can also be set by the user of the electronic device.
  • Tables 1 and 2 are examples of the setting of some preset vibration levels, and the specific setting method can be determined according to the actual situation.
  • the vibration sensations corresponding to at least two vibration events in each vibration event are selected and mixed to obtain a mixed vibration sensation, which specifically includes:
  • the vibration sensation mixing weight corresponding to the current vibration event and other vibration events is the same; Vibration events with a higher priority are assigned a higher vibration sensation mixing weight; according to the vibration sensation mixing weight, the current vibration event and the vibration sensations corresponding to other vibration events are mixed to obtain a mixed vibration sensation.
  • the electronic device needs to mix the vibration sensation corresponding to the current vibration event with the vibration sensation corresponding to other vibration events based on the priority of the response.
  • the priorities of the current vibration event and other vibration events may be the same or different. Among them, when the priority of the current vibration event and other vibration events is the same, the vibration sensation mixing weight corresponding to the current vibration event of the electronic device and other vibration events is set to the same, and the priority is different, and the electronic device is the vibration event with a higher priority. A higher vibration sense mixing weight is assigned, and then the electronic device mixes the corresponding vibration sense according to the vibration sense mixing weight to obtain a mixed vibration sense.
  • the vibration-sensing hybrid weight refers to the weight in the weighted superposition process of the two displacement waveforms. The higher the weight, the more prominent the corresponding displacement waveform in the superimposed hybrid waveform.
  • the preset vibration level of vibration event 1 and vibration event 2 are different, the preset vibration level of vibration event 1 is lower than the preset vibration level of vibration event 2, so the electronic device can assign vibration event 2
  • the vibration sense mixing weight is 0.8, and the vibration sense mixing weight 0.2 is assigned to the vibration event 1 to form the mixed vibration sense 2.
  • the vibration displacement of the vibration sense 1 triggered by the vibration event 1 is 0, the mixed vibration sense 2 is played.
  • the vibration perception with a higher preset vibration perception level can be emphasized in the mixed vibration perception, and the two vibration perceptions with the same preset vibration perception level are equally distributed in the mixed vibration perception. Vibrating.
  • determining the priority corresponding to each vibration event in step S301 may include: acquiring a preset vibration level corresponding to each vibration event; and determining the priority according to the preset vibration level corresponding to each vibration event.
  • the electronic device can also determine the priority according to the preset vibration level of these vibration events.
  • the specific setting and determination method of the preset vibration level please refer to the above for other vibration events.
  • the number of events is the way of setting and determining the preset vibration level in one embodiment.
  • step S302 may specifically include: the electronic device may determine at least two vibration events from each vibration event according to the preset vibration sense level in descending order, and The mixed vibrations are obtained by mixing vibrations corresponding to at least two vibration events.
  • the electronic device may select the preset vibration sense levels in descending order of the preset vibration sense levels. For the two highest vibration events, the vibration sensations corresponding to the two vibration events are mixed to obtain a mixed vibration sensation.
  • the electronic device determines at least two vibration events from each vibration event in a descending order of the preset vibration sensation levels, and mixes the vibration sensations corresponding to the at least two vibration events to obtain a mixed Vibration, which can specifically include:
  • the electronic device determines the two vibration events with the highest preset vibration level in each vibration event; if the preset vibration levels corresponding to the two vibration events with the highest preset vibration level are the same, the electronic device will have the highest preset vibration level.
  • the vibration sensation mixing weights corresponding to the two vibration events of the vibration sensation level are set to be the same; if the preset vibration sensation levels corresponding to the two vibration events with the highest preset vibration sensation level are different, the electronic device is the one with the higher preset vibration level.
  • the vibration event of the sense level is assigned a higher vibration sense mixing weight; the electronic device mixes the two vibration events with the highest preset vibration sense level according to the vibration sense mixing weight to obtain a mixed vibration sense.
  • the electronic device uses vibration event 3 as the current vibration event. At this time, there are vibration sensations triggered by vibration event 1 and vibration event 2.
  • the electronic device can select from vibration events 1 to 3 according to the preset vibration sensation level. Two of them are mixed with vibration. Specifically, since vibration event 1 and vibration event 3 are the two vibration events with the highest vibration level among the three vibration events, the electronic device selects vibration event 1 and vibration event 3 to vibrate.
  • the electronic device Since the preset vibration level of vibration event 3 is different from the preset vibration level of vibration event 1 and the preset vibration level of vibration event 3 is higher than the preset vibration level of vibration event 1, the electronic device is in When generating a mixed vibration, a higher vibration mixing weight, such as 0.8, is assigned to vibration 3 of vibration event 3, and a vibration mixing weight such as 0.2 is assigned to vibration 1 of vibration event 1 for mixing. It can be understood that, if the preset vibration sense level of the vibration event 3 is the same as the preset vibration sense level of the vibration event 1, the vibration sense mixing weight of both may be set to 0.5.
  • determining the priority corresponding to each vibration event in step S301 may include: acquiring the event occurrence time corresponding to each vibration event; and determining the priority according to the event occurrence time corresponding to each vibration event.
  • the electronic device can also determine the priority according to the event occurrence time corresponding to each vibration event. Gives the most recent vibration event a higher priority.
  • step S302 may specifically include: the electronic device determines at least two vibration events from each vibration event in the order of the event occurrence time from near to far, and vibrates the at least two vibration events. The vibration sensations corresponding to the events are mixed to obtain the mixed vibration sensations.
  • the electronic device can select the two most recently occurred vibration events, and the two most recently occurred vibration events correspond to the two vibration events.
  • the vibration senses are mixed to obtain a mixed vibration sense.
  • the electronic device determines at least two vibration events from each vibration event in the order of event occurrence time from near to far, and mixes the vibration sensations corresponding to the at least two vibration events to obtain a mixed vibration sensation ,include:
  • the electronic device determines two vibration events with the latest event occurrence time in each vibration event; the electronic device obtains the preset vibration level corresponding to the two vibration events with the latest event occurrence time; if there are two vibration events with the latest event occurrence time If the corresponding preset vibration levels are the same, the electronic device will set the vibration mixing weight corresponding to the two vibration events with the latest event occurrence time to the same; if the preset vibration sense corresponding to the two vibration events with the latest event occurrence time If the levels are different, the electronic device assigns a higher vibration-sensing mixing weight to the vibration event with a higher preset vibration-sensing level; the electronic device mixes the two vibration events with the most recent event occurrence time according to the vibration-sensing mixing weight to obtain a mixed vibration. sense.
  • the electronic device after the electronic device selects the two most recent vibration events from each vibration event, it further mixes the vibration sensations according to the preset vibration sensation levels corresponding to the two vibration events. Specifically, as shown in FIG. 9 , the electronic device regards vibration event 3 as the current vibration event, and at this time there is a vibration sense triggered by vibration event 1 and vibration event 2, and the electronic device is based on the event occurrence time of each vibration event, from the vibration event Select the two most recent vibration events (or new events) from 1 to 3, namely vibration event 2 and vibration event 3, and then the electronic device determines the preset vibration level corresponding to the vibration event 2 and vibration event 3.
  • the preset vibration level of 2 is different from the preset vibration level of vibration event 3 and the preset vibration level of vibration event 3 is higher than the preset vibration level of vibration event 2, and the electronic device is vibrating when generating a mixed vibration.
  • Vibration 3 of event 3 is assigned a higher vibration mixing weight such as 0.8
  • vibration 2 of vibration event 2 is assigned a vibration mixing weight such as 0.2 for mixing. It can be understood that, if the preset vibration sense level of the vibration event 3 is the same as the preset vibration sense level of the vibration event 2, the vibration sense mixing weight of both may be set to 0.5.
  • the vibration sensation can be mixed according to the priority of each vibration event, so that the electronic equipment can automatically generate the mixed vibration sensation and play the effect of the multi-event mixed vibration sensation. , which can efficiently and reliably combine the actual vibration effect design requirements, highlight and distinguish different vibration perceptions, and has high real-time performance and high engineering feasibility.
  • steps in the above flow charts are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the above flow chart may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution sequence of these steps or stages It is also not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of a step or phase within the other steps.
  • an apparatus for responding to a vibration event is provided, and the apparatus 1000 may include:
  • the priority determination module 1001 is used to determine the priority corresponding to each vibration event in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment; the vibration events include the current vibration event and all vibration events. other vibration events;
  • a vibration sensation mixing module 1002 configured to select vibration sensations corresponding to at least two vibration events in each vibration event and mix them based on the priority to obtain a mixed vibration sensation
  • the vibration feeling playing module 1003 is used for playing the mixed vibration feeling.
  • the number of the other vibration events is one; the priority determination module 1001 is further configured to obtain a preset vibration level corresponding to each vibration event; according to the preset vibration level corresponding to each vibration event sense level, determine the priority.
  • the vibration sensation mixing module 1002 is further configured to mix the vibration sensation corresponding to the current vibration event and the other vibration events if the priority of the current vibration event is the same as that of the other vibration events
  • the weight is set to be the same; if the priority of the current vibration event is different from that of the other vibration events, the vibration event with a higher priority is assigned a higher vibration sensation mixing weight; according to the vibration sensation mixing weight, the The vibration sensations corresponding to the current vibration event and the other vibration events are mixed to obtain the mixed vibration sensations.
  • the number of the other vibration events is at least two; the priority determination module 1001 is further configured to acquire a preset vibration level corresponding to each vibration event; Set the vibration level to determine the priority; or, the priority determination module 1001 is further configured to obtain the event occurrence time corresponding to each vibration event; determine the priority according to the event occurrence time corresponding to each vibration event class.
  • the vibration-sensing mixing module 1002 is further configured to, in the case that the priority is represented by the preset vibration-sensing level, select the preset vibration-sensing level from high to low in order from the The at least two vibration events are determined in the vibration events, and the vibration sensations corresponding to the at least two vibration events are mixed to obtain a mixed vibration sensation; when the priority is represented by the occurrence time of the events, according to the The at least two vibration events are determined from the respective vibration events in order of occurrence time of the events from the nearest to the farthest, and the vibration sensations corresponding to the at least two vibration events are mixed to obtain a mixed vibration sensation.
  • the vibration sensation mixing module 1002 is further configured to determine two vibration events with the highest preset vibration sensation level among the vibration events; if the two vibration events with the highest preset vibration sensation level If the corresponding preset vibration sense levels are the same, the vibration sense mixing weights corresponding to the two vibration events with the highest preset vibration sense level are set to be the same; if the two vibration events with the highest preset vibration sense level are If the corresponding preset vibration sense levels are different, a higher vibration sense mixing weight is assigned to the vibration event with a higher preset vibration sense level; The mixed vibration sensation is obtained by mixing the vibration events.
  • the vibration-sensing mixing module 1002 is further configured to determine two vibration events with the latest event occurrence time among the vibration events; obtain the preset corresponding to the two vibration events with the latest event occurrence time Vibration sense level; if the preset vibration sense levels corresponding to the two vibration events with the most recent event occurrence time are the same, then the vibration sense mixing weight corresponding to the two vibration events with the most recent event occurrence time is set to be the same; If the preset vibration sensation levels corresponding to the two vibration events with the latest event occurrence time are different, a higher vibration sensation mixing weight is assigned to the vibration event with a higher preset vibration sensation level; according to the vibration sensation mixing The weight obtains the mixed vibration sensation by mixing the two vibration events with the most recent event occurrence time.
  • each module in the above-mentioned apparatus for responding to a vibration event may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • an electronic device in one embodiment, the electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. 11 .
  • the electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus.
  • the processor of the electronic device is used to provide computing and control capabilities.
  • the memory of the electronic device includes a non-volatile storage medium and an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the electronic device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • the computer program when executed by a processor, implements a method of responding to a vibration event.
  • the display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the electronic device , or an external keyboard, trackpad, or mouse.
  • FIG. 11 is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the electronic device to which the solution of the present invention is applied.
  • the specific electronic device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • an electronic device including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
  • any reference to memory, storage, database or other media used in the various embodiments provided by the present invention may include at least one of non-volatile and volatile memory.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
  • Volatile memory may include random access memory (Random Access Memory) Access Memory, RAM) or external cache memory.
  • RAM may take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (Dynamic Random Access Memory). Access Memory, DRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and apparatus for responding to a vibration event, an electronic device, and a storage medium, relating to the technical field of electronic devices. According to the method, generation and playback of multi-event mixed vibration feelings can be automatically performed in real time when multi-vibration events occur simultaneously. The method comprises: in response to the fact that a current vibration event is detected and vibration feelings triggered by other vibration events exist at the current time point, the electronic device determines the priorities corresponding to all the vibration events comprising the current vibration event and the other vibration events; and then on the basis of the priorities, the electronic device selects, from all the vibration events, vibration feelings corresponding to at least two vibration events for mixing to obtain a mixed vibration feeling, thereby driving a vibrator of the electronic device by means of a driving voltage having a corresponding waveform to play back the mixed vibration feeling.

Description

响应振动事件的方法、装置、电子设备和存储介质Methods, apparatus, electronic devices and storage media for responding to vibration events 技术领域technical field
本发明涉及电子设备技术领域,特别是涉及一种响应振动事件的方法、装置、电子设备和存储介质。The present invention relates to the technical field of electronic devices, and in particular, to a method, apparatus, electronic device and storage medium for responding to vibration events.
背景技术Background technique
振感是目前电子设备所不可或缺的功能之一,优质的振感可以大大的提升用户对电子设备的使用体验。随着电子设备的系统及和应用功能的丰富,电子设备中涉及到的振感也越来越多。Vibration sense is one of the indispensable functions of current electronic devices, and high-quality vibration sense can greatly improve the user's experience of using electronic devices. With the enrichment of systems and application functions of electronic devices, more and more vibrations are involved in electronic devices.
在一些场景之下,需要电子设备应对同时发生的多个需要振感的振动事件。例如,在游戏场景当中,当游戏角色搭载汽车的同时,游戏角色需要射击,那么“搭乘汽车”和“射击”就是两个需要振感的振动事件。又如,当游戏角色搭载汽车的同时,电子设备接收到了短信通知,那么“搭乘汽车”和“短信通知”就是两个需要振感的事件。In some scenarios, the electronic device is required to deal with multiple simultaneous vibration events that require vibration. For example, in a game scene, when the game character is carrying a car, the game character needs to shoot, then "riding the car" and "shooting" are two vibration events that require vibration. For another example, when the game character is carrying a car, the electronic device receives a text message notification, then "car ride" and "SMS notification" are two events that require vibration.
在电子设备上,如上述这些需要振感的振动事件随机发生而不能预先确定其组合,从而也无法通过预先混合好振感以在相应组合的多个振动事件来临时进行响应,目前的技术中也未提供如何响应同时发生的多个振动事件的技术方案。On electronic devices, the above-mentioned vibration events that require vibrational sensations occur randomly and their combinations cannot be determined in advance, so it is also impossible to temporarily respond to multiple vibrational events in the corresponding combination by pre-mixing the vibrational sensations. In the current technology Nor does it provide a technical solution for how to respond to multiple simultaneous vibration events.
有益效果beneficial effect
基于此,有必要针对上述技术问题,提供一种响应振动事件的方法、装置、电子设备和存储介质。Based on this, it is necessary to provide a method, an apparatus, an electronic device and a storage medium for responding to a vibration event in response to the above technical problems.
一种响应振动事件的方法,所述方法包括:A method of responding to a vibration event, the method comprising:
响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;In response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment, determine the priority corresponding to each vibration event; Described each vibration event includes the current vibration event and the other vibration events;
基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;Based on the priority, the vibration sensations corresponding to at least two vibration events in the respective vibration events are selected and mixed to obtain a mixed vibration sensation;
播放所述混合振感。Play the mixed vibe.
一种响应振动事件的装置,包括:A device for responding to vibration events, comprising:
优先级确定模块,用于响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;A priority determination module is used to determine the priority corresponding to each vibration event in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment; the vibration events include the current vibration event and the other vibration events;
振感混合模块,用于基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;A vibration sensation mixing module, configured to select vibration sensations corresponding to at least two vibration events in each of the vibration events based on the priority, and mix them to obtain a mixed vibration sensation;
振感播放模块,用于播放所述混合振感。A vibration feeling playing module is used to play the mixed vibration feeling.
一种电子设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:An electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;播放所述混合振感。In response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment, determine the priority corresponding to each vibration event; the vibration events include the current vibration event and the other vibration events; based on the Priority, select and mix vibration sensations corresponding to at least two vibration events in each vibration event to obtain a mixed vibration sensation; play the mixed vibration sensation.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;播放所述混合振感。In response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment, determine the priority corresponding to each vibration event; the vibration events include the current vibration event and the other vibration events; based on the Priority, select and mix vibration sensations corresponding to at least two vibration events in each vibration event to obtain a mixed vibration sensation; play the mixed vibration sensation.
上述响应振动事件的方法、装置、电子设备和存储介质,电子设备响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定包括前述当前振动事件和其他振动事件的各振动事件所对应的优先级,然后电子设备基于该优先级,从前述各振动事件中选取至少两个振动事件对应的振感进行混合得到混合振感,从而通过相应波形的驱动电压驱动电子设备的振动器以播放该混合振感,以此实现电子设备检测到多振动事件同时发生时,自动实时执行多事件混合振感的生成和播放。The above-mentioned method, device, electronic device and storage medium for responding to a vibration event, the electronic device is in response to detecting the current vibration event and there is a sense of vibration triggered by other vibration events at the current moment, and determines each vibration including the aforementioned current vibration event and other vibration events. The priority corresponding to the event, and then based on the priority, the electronic device selects at least two vibration events corresponding to the aforementioned vibration events and mixes them to obtain a mixed vibration sense, so as to drive the vibration of the electronic device through the driving voltage of the corresponding waveform. The device is used to play the mixed vibration sensation, so that when the electronic device detects that multiple vibration events occur at the same time, the generation and playback of the multi-event mixed vibration sensation are automatically executed in real time.
附图说明Description of drawings
图1为一个实施例中实现响应振动事件的方法的电子设备的结构示意图;1 is a schematic structural diagram of an electronic device implementing a method for responding to a vibration event in one embodiment;
图2为一个实施例中多振动事件振感播放的流程示意图;Fig. 2 is a schematic flowchart of multi-vibration event vibratory play in one embodiment;
图3为一个实施例中响应振动事件的方法的流程示意图;3 is a schematic flowchart of a method for responding to a vibration event in one embodiment;
图4为另一个实施例中响应振动事件的方法的流程示意图;4 is a schematic flowchart of a method for responding to a vibration event in another embodiment;
图5为一个实施例中执行单振动事件的振感播放的流程示意图;5 is a schematic flow chart of performing vibratory playback of a single vibration event in one embodiment;
图6为一个实施例中一种执行双振动事件的振感播放的流程示意图;Fig. 6 is a kind of schematic flow chart of performing vibratory play of double vibration events in one embodiment;
图7为一个实施例中另一种执行双振动事件的振感播放的流程示意图;Fig. 7 is another kind of schematic flow chart of performing the vibratory play of double-vibration events in one embodiment;
图8为一个实施例中一种执行三个或更多振动事件的振感播放的流程示意图;8 is a schematic flowchart of a vibratory playback of three or more vibration events in one embodiment;
图9为一个实施例中另一种执行三个或更多振动事件的振感播放的流程示意图;FIG. 9 is a schematic flow chart of another implementation of vibratory playback of three or more vibration events in one embodiment;
图10为一个实施例中响应振动事件的装置的结构框图;FIG. 10 is a structural block diagram of an apparatus for responding to a vibration event in one embodiment;
图11为一个实施例中电子设备的内部结构图。FIG. 11 is an internal structure diagram of an electronic device in one embodiment.
本发明的实施方式Embodiments of the present invention
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
本发明提供的响应振动事件的方法,可以应用于如图1所示的应用环境中,该应用环境可以是电子设备,该电子设备可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。其中,该电子设备具体可以包括依次连接的触发器、效果存储器、信号处理器、功率放大器和振动器。The method for responding to a vibration event provided by the present invention can be applied to the application environment shown in FIG. 1 , the application environment can be an electronic device, and the electronic device can be, but not limited to, various personal computers, notebook computers, smart phones, Tablets and portable wearables. Wherein, the electronic device may specifically include a trigger, an effect memory, a signal processor, a power amplifier and a vibrator which are connected in sequence.
具体的,触发器可在电子设备检测到振动事件后向效果存储器调用振感。其中,对振动事件进行检测是指按照电子设备交互设计的要求,检测出需要播放振感的振动事件;调用振感是指根据检测到的振动事件,在效果存储器中调用设计好的振感,每个振动事件各自对应的振感称为单事件振感;振感是指由振动器提供的一种模拟真实振动的振动效果,其表征形式可以包括但不限于是激励电压、振动器振子加速度、振动器振子速度和振动器振子位移等波形,不失一般性且为了简化对振感的描述,本发明后续将以振动器振子位移的波形表征振感。Specifically, the trigger can call the vibration sensation to the effect memory after the electronic device detects the vibration event. Among them, the detection of vibration events refers to detecting the vibration events that need to play the vibration sense according to the requirements of the interactive design of electronic equipment; calling the vibration sense refers to calling the designed vibration sense in the effect memory according to the detected vibration events, The vibration sensation corresponding to each vibration event is called a single-event vibration sensation; the vibration sensation refers to a vibration effect provided by the vibrator to simulate real vibration, and its representation may include but not limited to excitation voltage, vibrator vibrator acceleration , vibrator vibrator velocity, vibrator vibrator displacement and other waveforms, without loss of generality and in order to simplify the description of the vibration sensation, the present invention will use the waveform of the vibrator vibrator displacement to characterize the vibration sensation in the future.
向效果存储器调用振感后,可在信号处理器中进行混合、均衡计算。其中,混合是指电子设备逐帧判断多个振动事件同时发生时,将同时发生的多个振动事件对应的振感进行混合,混合的具体方式可以是将表征振感的位移波形进行叠加形成混波,该混波即可表征混合振感,再进行均衡计算得到均衡电压。其中,均衡是指通过振动器振子的位移、速度、加速度的波形,根据振动器的机电耦合方程进行计算,得到振动器的驱动电压(即均衡电压)。然后,信号处理器可将计算得到的均衡电压信号通过功率放大器传递至振动器,以驱动该振动器播放混合振感。After recalling the vibration to the effect memory, mixing and equalization calculations can be performed in the signal processor. Among them, mixing means that when the electronic device judges that multiple vibration events occur at the same time frame by frame, it mixes the vibration sensations corresponding to the multiple vibration events that occur at the same time. The mixed wave can characterize the mixed vibration sense, and then the balance calculation is performed to obtain the balance voltage. Among them, the balance refers to the vibration of the vibrator's displacement, speed, acceleration waveform, according to the electromechanical coupling equation of the vibrator, to obtain the driving voltage of the vibrator (ie, the equilibrium voltage). Then, the signal processor can transmit the calculated balanced voltage signal to the vibrator through the power amplifier, so as to drive the vibrator to play the mixed vibration sensation.
以上述应用场景为基础,结合图2对本发明提供的响应振动事件的方法的基础流程做简要说明,图2所示为本发明一个实施例中多振动事件振感播放的流程示意图。其中,多振动事件振感是指电子设备逐帧对振动事件进行检测,检测结果发现存在有多个振动事件同时发生,此时电子设备需要通过振动器播放该多振动事件对应的混合振感。Based on the above application scenarios, the basic process of the method for responding to vibration events provided by the present invention is briefly described in conjunction with FIG. The multi-vibration event vibration sense means that the electronic device detects vibration events frame by frame. The detection result finds that multiple vibration events occur simultaneously. At this time, the electronic device needs to play the mixed vibration sense corresponding to the multi-vibration event through the vibrator.
具体的,以电子设备检测到振动事件1至振动事件3同时发生为例,电子设备在效果存储器中分别调用设计好的单事件振感1至单事件振感3,然后将该单事件振感1至单事件振感3对应的位移波形进行混合、均衡计算,得到多事件混合振感对应的均衡电压,电子设备将该均衡电压信号通过功率放大器传递至振动器,即可驱动该振动器播放混合振感。对于生成混合振感的过程,在本发明中,电子设备可确定振动事件1至振动事件3对应的优先级,以明确这些振动事件在生成混合振感过程中的优先顺序,从而电子设备可在生成混合振感时突出优先级较高的振动事件所对应的振感效果,弱化或者忽略优先级较低的振动事件所对应的振感效果,优先级的具体确定方式可以包括多种,例如该优先级可作为电子设备的一种开放性接口设置,该接口可供例如电子设备厂商自行设置每个振动事件对应的优先级、也可供电子设备使用者自行设置优先级,又如优先级可根据振动时间发生先后顺序进行确定,达到优先级灵活配置及提升振感体验的效果。Specifically, taking the electronic device detecting the simultaneous occurrence of vibration event 1 to vibration event 3 as an example, the electronic device calls the designed single-event vibration sense 1 to single-event vibration sense 3 in the effect memory, and then the single-event vibration sense The displacement waveforms corresponding to 1 to single-event vibration sense 3 are mixed and equalized to obtain the balanced voltage corresponding to the multi-event mixed vibration sense. The electronic device transmits the balanced voltage signal to the vibrator through the power amplifier, and the vibrator can be driven to play. Mixed vibration. For the process of generating the mixed vibration sensation, in the present invention, the electronic device can determine the priority corresponding to the vibration event 1 to the vibration event 3, so as to clarify the priority order of these vibration events in the process of generating the mixed vibration sensation, so that the electronic device can When generating a mixed vibration sensation, the vibration sensation effect corresponding to the vibration event with higher priority is highlighted, and the vibration sensation effect corresponding to the vibration event with lower priority is weakened or ignored. The priority can be set as an open interface of the electronic device. For example, the interface can be used by electronic device manufacturers to set the priority corresponding to each vibration event, or by electronic device users. It is determined according to the order of the vibration time, so as to achieve the effect of flexible priority configuration and improved vibration experience.
下面结合实施例和相应附图对本发明提供的响应振动事件的方法做进一步说明。The method for responding to a vibration event provided by the present invention will be further described below with reference to the embodiments and corresponding drawings.
在一个实施例中,如图3所示,提供了一种响应振动事件的方法,该方法可以应用于电子设备,该方法可以包括以下步骤:In one embodiment, as shown in FIG. 3, a method for responding to a vibration event is provided, the method can be applied to an electronic device, and the method can include the following steps:
步骤S301,响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级。Step S301 , in response to the detection of the current vibration event and the presence of vibration sensations triggered by other vibration events at the current moment, determine the priority corresponding to each vibration event.
电子设备可逐帧对振动事件进行检测,其中逐帧检测可以是电子设备在其运行过程中按照一定时间间隔检测当前是否有新的振动事件发生,当有新的振动事件发生,该新发生的振动事件成为当前振动事件,电子设备需要为该当前振动事件调用对应的振感或称调用对应的单事件振感。本步骤中,电子设备检测到当前振动事件时,可判断当前时刻是否存在由其他振动事件触发的振感,若当前时刻存在由其他振动事件触发的振感,则电子设备确定各振动事件对应的优先级,该各振动事件包括前述当前振动事件和其他振动事件。The electronic device can detect the vibration event frame by frame, wherein the frame-by-frame detection can be the electronic device detecting whether a new vibration event occurs at a certain time interval during its operation. When a new vibration event occurs, the new vibration event occurs. The vibration event becomes the current vibration event, and the electronic device needs to call the corresponding vibration sense or call the corresponding single-event vibration sense for the current vibration event. In this step, when the electronic device detects the current vibration event, it can determine whether there is a vibration sensation triggered by other vibration events at the current moment. If there is a vibration sensation triggered by other vibration events at the current moment, the electronic device determines the corresponding vibration event. Priority, each vibration event includes the aforementioned current vibration event and other vibration events.
示例性的,电子设备检测到当前振动事件I1时,若判断当前时刻存在由例如其他振动事件I2触发的振感,则电子设备确定当前振动事件I1和其他振动事件I2对应的优先级,该优先级可以用于表征当前振动事件I1和其他振动事件I2在后续生成混合振感的步骤中的优先顺序。Exemplarily, when the electronic device detects the current vibration event I1, if it is judged that there is a sense of vibration triggered by, for example, other vibration events I2 at the current moment, the electronic device determines the priority corresponding to the current vibration event I1 and other vibration events I2. The level can be used to characterize the priority order of the current vibration event I1 and other vibration events I2 in the subsequent step of generating the mixed vibration sensation.
步骤S302,基于优先级,选取各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感。In step S302, based on the priority, the vibration sensations corresponding to at least two vibration events in each vibration event are selected and mixed to obtain a mixed vibration sensation.
本步骤中,电子设备将基于前述各振动事件对应的优先级,选取这些振动事件中的至少两个振动事件对应的振感进行混合得到混合振感。其中,由于振感混合需要至少两种单事件振感,所以电子设备需从前述各振动事件中确定至少两个振动事件,将该至少两个振动事件对应的振感进行混合,而选取的依据是每个振动事件对应的优先级。In this step, the electronic device selects vibration sensations corresponding to at least two vibration events among the vibration events and mixes them to obtain a mixed vibration sensation based on the priorities corresponding to the aforementioned vibration events. Among them, since the vibration sensation mixing requires at least two single-event vibration sensations, the electronic device needs to determine at least two vibration events from the aforementioned vibration events, and mix the vibration sensations corresponding to the at least two vibration events. is the priority corresponding to each vibration event.
具体的,电子设备可按照优先级的顺序选取所需数量的振动事件,将所选取的振动事件对应的振感进行混合得到混合振感,也即优先级相对高的振动事件可被优先选取,例如当所需数量为两个的情况下,电子设备可从各振动事件中选取优先级最高的两个振动事件并将两者对应的振感进行混合得到混合振感。Specifically, the electronic device can select the required number of vibration events in the order of priority, and mix the vibration sensations corresponding to the selected vibration events to obtain the mixed vibration sensation, that is, the vibration events with relatively high priority can be preferentially selected, For example, when the required number is two, the electronic device may select the two vibration events with the highest priority from each vibration event and mix the vibration sensations corresponding to the two to obtain the mixed vibration sensation.
在此基础上,电子设备将所选取至少两个振动事件对应的振感进行混合过程时,还可依据相应的优先级,在混合振感中突出优先级较高的振感,弱化优先级较低的振感,而对于优先级相同的振感,则可在混合振感中等比分配。On this basis, when the electronic device performs the mixing process of the vibration sensations corresponding to the selected at least two vibration events, it can also highlight the vibration sensation with a higher priority in the mixed vibration sensation according to the corresponding priority, and weaken the vibration sensation with a higher priority. Low vibration, and for the vibration of the same priority, it can be distributed in the mixed vibration of medium ratio.
步骤S303,播放混合振感。Step S303, playing the mixed vibration sensation.
参考图1,本步骤中,电子设备可将混合振感对应的均衡电压传递至振动器,以驱动振动器播放混合振感。Referring to FIG. 1 , in this step, the electronic device can transmit the balanced voltage corresponding to the mixed vibration to the vibrator, so as to drive the vibrator to play the mixed vibration.
上述响应振动事件的方法中,电子设备响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定包括前述当前振动事件和其他振动事件的各振动事件所对应的优先级,然后电子设备基于该优先级,从前述各振动事件中选取至少两个振动事件对应的振感进行混合得到混合振感,从而通过相应波形的驱动电压驱动电子设备的振动器以播放该混合振感,以此实现电子设备检测到多振动事件同时发生时,自动实时执行多事件混合振感的生成和播放。In the above-mentioned method for responding to a vibration event, the electronic device determines the priority corresponding to each vibration event including the aforementioned current vibration event and other vibration events in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment, Then, based on the priority, the electronic device selects vibration sensations corresponding to at least two vibration events from the aforementioned vibration events and mixes them to obtain a mixed vibration sensation, so as to drive the vibrator of the electronic device through the driving voltage of the corresponding waveform to play the mixed vibration sensation , so that when the electronic device detects that multiple vibration events occur at the same time, the generation and playback of the mixed vibration sensation of multiple events are automatically executed in real time.
结合图4对本发明上述实施例提供的响应振动事件的方法做整体性说明,如图4所示,电子设备检测到新的当前振动事件即当前振动事件后,为该当前振动事件调用相应的单事件振感,并判断当前时刻是否存在由其他振动事件触发的振感即其他振感。其中,若电子设备未检测到其他振感,电子设备执行对新检测到的单振动事件的振感播放,如图5所示,电子设备检测到新产生的振动事件1,调用振动事件1对应的单事件振感1,且此时未检测到其他振感,电子设备向振动器输出该单事件振感1对应的均衡电压信号以驱动振动器播放振感1。若电子设备检测到其他振感,则电子设备执行对多事件的振感播放,具体来说,电子设备逐帧对多个振动事件对应的振动进行混合,形成混合振感的波形再进行均衡计算生成均衡电压,从而也向振动器输出该均衡电压以驱动振动器播放该多事件的振感。The method for responding to a vibration event provided by the above-mentioned embodiment of the present invention is described as a whole with reference to FIG. 4 . As shown in FIG. 4 , after the electronic device detects a new current vibration event, that is, the current vibration event, it calls the corresponding single for the current vibration event. Event vibration sense, and determine whether there is a vibration sense triggered by other vibration events at the current moment, that is, other vibration sense. Among them, if the electronic device does not detect other vibration sensations, the electronic device performs the vibration sensation playback of the newly detected single vibration event. As shown in Figure 5, the electronic device detects the newly generated vibration event 1, and calls the corresponding vibration event 1. The single-event vibration sense 1 is detected, and no other vibration sense is detected at this time, the electronic device outputs the balanced voltage signal corresponding to the single-event vibration sense 1 to the vibrator to drive the vibrator to play the vibration sense 1. If the electronic device detects other vibration sensations, the electronic device performs vibration sensation playback of multiple events. Specifically, the electronic device mixes vibrations corresponding to multiple vibration events frame by frame to form a waveform of mixed vibration sensations and then performs equalization calculation. An equalizing voltage is generated, thereby also outputting the equalizing voltage to the vibrator to drive the vibrator to play the multi-event vibrating sensation.
电子设备检测到新产生的振动事件时,当前时刻所存在的其他振动事件的数量可以是一个也可以是至少两个。以下对其他振动事件的数量为一个和至少两个的情况分别进行说明。When the electronic device detects a newly generated vibration event, the number of other vibration events existing at the current moment may be one or at least two. The cases where the number of other vibration events is one and at least two are respectively described below.
在其中一些实施例中,前述其他振动事件的数量为一个;步骤S301中的确定各振动事件对应的优先级,可以包括:In some of these embodiments, the number of the aforementioned other vibration events is one; determining the priority corresponding to each vibration event in step S301 may include:
获取各振动事件对应的预设振感等级;根据各振动事件对应的预设振感等级,确定优先级。Acquire the preset vibration sense level corresponding to each vibration event; determine the priority according to the preset vibration sense level corresponding to each vibration event.
本实施例中,在其他振动事件只有一个的情况下,电子设备可按照各振动事件对应的预设振感等级确定各自的优先级。其中,预设振感等级可以按照振动事件的重要程度进行预先划分,等级越高其重要程度也越高。该预设振感等级可以被预先设置在电子设备中,电子设备可以将每个振动事件对应的预设振感等级通过一种开放性接口以供设置,例如该接口可以提供给电子设备厂商自行设置各振动事件对应的预设振感等级、也可以供电子设备使用者自行设置各振动事件对应的预设振感等级。如下表1和表2作为一些预设振感等级的设置示例,具体的设置方式可根据实际情况确定。
Figure 857475dest_path_image001
In this embodiment, when there is only one other vibration event, the electronic device may determine the respective priority according to the preset vibration sense level corresponding to each vibration event. The preset vibration sense level may be pre-divided according to the importance of the vibration event, and the higher the level, the higher the importance. The preset vibration sense level can be preset in the electronic device, and the electronic device can set the preset vibration sense level corresponding to each vibration event through an open interface. For example, the interface can be provided to the electronic device manufacturer. The preset vibration sense level corresponding to each vibration event is set, and the preset vibration sense level corresponding to each vibration event can also be set by the user of the electronic device. The following Tables 1 and 2 are examples of the setting of some preset vibration levels, and the specific setting method can be determined according to the actual situation.
Figure 857475dest_path_image001
在一个实施例中,进一步的,步骤S302中的基于优先级,选取各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感,具体包括:In one embodiment, further, based on the priority in step S302, the vibration sensations corresponding to at least two vibration events in each vibration event are selected and mixed to obtain a mixed vibration sensation, which specifically includes:
若当前振动事件与其他振动事件的优先级相同,则将当前振动事件和其他振动事件对应的振感混合权重设为相同;若当前振动事件与其他振动事件的优先级不同,则为具有更高优先级的振动事件分配更高的振感混合权重;按照振感混合权重,将当前振动事件和其他振动事件对应的振感进行混合,得到混合振感。If the priority of the current vibration event and other vibration events is the same, set the vibration sensation mixing weight corresponding to the current vibration event and other vibration events to the same; Vibration events with a higher priority are assigned a higher vibration sensation mixing weight; according to the vibration sensation mixing weight, the current vibration event and the vibration sensations corresponding to other vibration events are mixed to obtain a mixed vibration sensation.
本实施例中,对于其他振动事件的数量只有一个的情况,电子设备需要基于响应的优先级,将当前振动事件对应的振感与其他振动事件对应的振感进行混合。具体的,当前振动事件与其他振动事件的优先级可以是相同的,也可以是不同的。其中,当前振动事件与其他振动事件的优先级相同时,则电子设备当前振动事件和其他振动事件对应的振感混合权重设为相同,优先级不同,电子设备为具有更高优先级的振动事件分配更高的振感混合权重,然后电子设备按照振感混合权重将相应振感进行混合得到混合振感。其中,振感混合权重是指在两个位移波形进行加权叠加过程中具有的权重,权重越高则相应位移波形在叠加的混合波形中越突出。In this embodiment, in the case where there is only one other vibration event, the electronic device needs to mix the vibration sensation corresponding to the current vibration event with the vibration sensation corresponding to other vibration events based on the priority of the response. Specifically, the priorities of the current vibration event and other vibration events may be the same or different. Among them, when the priority of the current vibration event and other vibration events is the same, the vibration sensation mixing weight corresponding to the current vibration event of the electronic device and other vibration events is set to the same, and the priority is different, and the electronic device is the vibration event with a higher priority. A higher vibration sense mixing weight is assigned, and then the electronic device mixes the corresponding vibration sense according to the vibration sense mixing weight to obtain a mixed vibration sense. The vibration-sensing hybrid weight refers to the weight in the weighted superposition process of the two displacement waveforms. The higher the weight, the more prominent the corresponding displacement waveform in the superimposed hybrid waveform.
结合图6和图7对上述实施例中预设振感等级相同和不同的情况进行辅助说明。In conjunction with FIG. 6 and FIG. 7 , an auxiliary description will be provided for the situations in which the preset vibration sense levels are the same or different in the above-mentioned embodiments.
图6中,电子设备检测到振动事件2作为当前振动事件时,当前时刻存在由振动事件1触发的振感1,电子设备需要将振动事件1的振感1和振动事件2的振感2进行混合,由于振动事件1和振动事件2的预设振感等级相同,则振动事件1和振动事件2对应的振感混合权重相同可均设为0.5形成混合振感1,然后电子设备可以在振动事件1触发的振感1的振动位移为0的时刻播放混合振感1。In Fig. 6, when the electronic device detects the vibration event 2 as the current vibration event, there is a vibration sense 1 triggered by the vibration event 1 at the current moment, and the electronic device needs to compare the vibration sense 1 of the vibration event 1 with the vibration sense 2 of the vibration event 2. Mixing, since the preset vibration level of vibration event 1 and vibration event 2 are the same, the vibration mixing weight corresponding to vibration event 1 and vibration event 2 is the same, and both can be set to 0.5 to form mixed vibration 1, and then the electronic device can vibrate When the vibration displacement of Vibration 1 triggered by Event 1 is 0, the Mixed Vibration 1 will be played.
图7中,由于振动事件1和振动事件2的预设振感等级不同,振动事件1的预设振感等级低于振动事件2的预设振感等级,因此电子设备可为振动事件2分配振感混合权重0.8,为振动事件1分配振感混合权重0.2形成混合振感2,在振动事件1触发的振感1的振动位移为0的时刻播放混合振感2。In FIG. 7, since the preset vibration level of vibration event 1 and vibration event 2 are different, the preset vibration level of vibration event 1 is lower than the preset vibration level of vibration event 2, so the electronic device can assign vibration event 2 The vibration sense mixing weight is 0.8, and the vibration sense mixing weight 0.2 is assigned to the vibration event 1 to form the mixed vibration sense 2. When the vibration displacement of the vibration sense 1 triggered by the vibration event 1 is 0, the mixed vibration sense 2 is played.
通过本实施例提供的方案,能够使得具有更高预设振感等级的振感在混合振感中被强调突出,而对于预设振感等级相同的两个振感则被等比分配在混合振感中。Through the solution provided in this embodiment, the vibration perception with a higher preset vibration perception level can be emphasized in the mixed vibration perception, and the two vibration perceptions with the same preset vibration perception level are equally distributed in the mixed vibration perception. Vibrating.
在另外一些实施例中,前述其他振动事件的数量为至少两个。在一个实施例中,步骤S301中的确定各振动事件对应的优先级,可以包括:获取各振动事件对应的预设振感等级;根据各振动事件对应的预设振感等级,确定优先级。In other embodiments, the number of the aforementioned other vibration events is at least two. In one embodiment, determining the priority corresponding to each vibration event in step S301 may include: acquiring a preset vibration level corresponding to each vibration event; and determining the priority according to the preset vibration level corresponding to each vibration event.
电子设备面对其他振动事件的数量为至少两个的情况,也可以根据这些振动事件的预设振感等级确定优先级,该预设振感等级的具体设置和确定方式可参考如上针对其他振动事件的数量为一个的实施例中对预设振感等级的设置和确定方式。When the number of other vibration events is at least two, the electronic device can also determine the priority according to the preset vibration level of these vibration events. For the specific setting and determination method of the preset vibration level, please refer to the above for other vibration events. The number of events is the way of setting and determining the preset vibration level in one embodiment.
进一步的,优先级由预设振感等级表征的情况下,步骤S302具体可以包括:电子设备可按照预设振感等级从高到低的顺序从各振动事件中确定至少两个振动事件,并将至少两个振动事件对应的振感进行混合得到混合振感。Further, in the case where the priority is represented by the preset vibration sense level, step S302 may specifically include: the electronic device may determine at least two vibration events from each vibration event according to the preset vibration sense level in descending order, and The mixed vibrations are obtained by mixing vibrations corresponding to at least two vibration events.
示例性的,优先级由预设振感等级表征的情况下,所需混合的振感数量为两个时,电子设备可按照预设振感等级从高到低的顺序选取预设振感等级最高的两个振动事件,将该两个振动事件对应的振感进行混合得到混合振感。Exemplarily, in the case where the priority is represented by a preset vibration sense level, when the number of vibration senses to be mixed is two, the electronic device may select the preset vibration sense levels in descending order of the preset vibration sense levels. For the two highest vibration events, the vibration sensations corresponding to the two vibration events are mixed to obtain a mixed vibration sensation.
在电子设备面对其他振动事件的数量为至少两个的情况下,可从中挑选两个具有最高预设振感等级的振动事件并将其振感进行混合,以保证高等级事件和相应振感辨识度。基于此,在一些实施例中,电子设备按照预设振感等级从高到低的顺序从各振动事件中确定至少两个振动事件,并将至少两个振动事件对应的振感进行混合得到混合振感,可以具体包括:In the case that the number of other vibration events faced by the electronic device is at least two, two vibration events with the highest preset vibration level can be selected from them and their vibration levels can be mixed to ensure high-level events and corresponding vibration levels. resolution. Based on this, in some embodiments, the electronic device determines at least two vibration events from each vibration event in a descending order of the preset vibration sensation levels, and mixes the vibration sensations corresponding to the at least two vibration events to obtain a mixed Vibration, which can specifically include:
电子设备确定各振动事件中具有最高预设振感等级的两个振动事件;若具有最高预设振感等级的两个振动事件对应的预设振感等级相同,则电子设备将具有最高预设振感等级的两个振动事件对应的振感混合权重设为相同;若具有最高预设振感等级的两个振动事件对应的预设振感等级不同,则电子设备为具有更高预设振感等级的振动事件分配更高的振感混合权重;电子设备按照振感混合权重将具有最高预设振感等级的两个振动事件进行混合得到混合振感。The electronic device determines the two vibration events with the highest preset vibration level in each vibration event; if the preset vibration levels corresponding to the two vibration events with the highest preset vibration level are the same, the electronic device will have the highest preset vibration level. The vibration sensation mixing weights corresponding to the two vibration events of the vibration sensation level are set to be the same; if the preset vibration sensation levels corresponding to the two vibration events with the highest preset vibration sensation level are different, the electronic device is the one with the higher preset vibration level. The vibration event of the sense level is assigned a higher vibration sense mixing weight; the electronic device mixes the two vibration events with the highest preset vibration sense level according to the vibration sense mixing weight to obtain a mixed vibration sense.
如图8所示,电子设备将振动事件3作为当前振动事件,此时存在由振动事件1和振动事件2触发的振感,电子设备可按照预设振感等级从振动事件1至3中挑选其中两个进行振感混合,具体的,由于振动事件1和振动事件3为这三个振动事件中具有最高振感等级的两个振动事件,因此电子设备选取振动事件1和振动事件3进行振感混合,而由于振动事件3的预设振感等级与振动事件1的预设振感等级不同且振动事件3的预设振感等级高于振动事件1的预设振感等级,电子设备在生成混合振感时为振动事件3的振感3分配更高的振感混合权重如0.8,为振动事件1的振感1分配振感混合权重如0.2进行混合。可以理解的是,若振动事件3的预设振感等级与振动事件1的预设振感等级相同,则可以将两者的振感混合权重均设为0.5。As shown in FIG. 8 , the electronic device uses vibration event 3 as the current vibration event. At this time, there are vibration sensations triggered by vibration event 1 and vibration event 2. The electronic device can select from vibration events 1 to 3 according to the preset vibration sensation level. Two of them are mixed with vibration. Specifically, since vibration event 1 and vibration event 3 are the two vibration events with the highest vibration level among the three vibration events, the electronic device selects vibration event 1 and vibration event 3 to vibrate. Since the preset vibration level of vibration event 3 is different from the preset vibration level of vibration event 1 and the preset vibration level of vibration event 3 is higher than the preset vibration level of vibration event 1, the electronic device is in When generating a mixed vibration, a higher vibration mixing weight, such as 0.8, is assigned to vibration 3 of vibration event 3, and a vibration mixing weight such as 0.2 is assigned to vibration 1 of vibration event 1 for mixing. It can be understood that, if the preset vibration sense level of the vibration event 3 is the same as the preset vibration sense level of the vibration event 1, the vibration sense mixing weight of both may be set to 0.5.
在另外一个实施例中,步骤S301中的确定各振动事件对应的优先级,可以包括:获取各振动事件对应的事件发生时间;根据各振动事件对应的事件发生时间,确定优先级。In another embodiment, determining the priority corresponding to each vibration event in step S301 may include: acquiring the event occurrence time corresponding to each vibration event; and determining the priority according to the event occurrence time corresponding to each vibration event.
电子设备面对其他振动事件的数量为至少两个的情况下,除根据预设振感等级确定优先级以外,电子设备还可以根据各振动事件对应的事件发生时间确定优先级,例如电子设备可以将最近发生的振动事件设为更高的优先级。When the number of other vibration events faced by the electronic device is at least two, in addition to determining the priority according to the preset vibration level, the electronic device can also determine the priority according to the event occurrence time corresponding to each vibration event. Gives the most recent vibration event a higher priority.
进一步的,优先级由事件发生时间表征的情况下,步骤S302具体可以包括:电子设备按照事件发生时间从近到远的顺序从各振动事件中确定至少两个振动事件,并将至少两个振动事件对应的振感进行混合得到混合振感。Further, in the case where the priority is represented by the event occurrence time, step S302 may specifically include: the electronic device determines at least two vibration events from each vibration event in the order of the event occurrence time from near to far, and vibrates the at least two vibration events. The vibration sensations corresponding to the events are mixed to obtain the mixed vibration sensations.
示例性的,优先级由事件发生时间表征的情况下,所需混合的振感数量为两个时,电子设备可从中挑选最近发生的两个振动事件,将该两个最近发生的振动事件对应的振感进行混合得到混合振感。Exemplarily, in the case where the priority is represented by the event occurrence time, when the number of vibration sensations to be mixed is two, the electronic device can select the two most recently occurred vibration events, and the two most recently occurred vibration events correspond to the two vibration events. The vibration senses are mixed to obtain a mixed vibration sense.
在电子设备面对其他振动事件的数量为至少两个的情况下,可从中挑选最近发生的两个振动事件并将其振感进行混合,以保证新振动事件和相应振感辨识度。基于此,在一些实施例中,电子设备按照事件发生时间从近到远的顺序从各振动事件中确定至少两个振动事件,并将至少两个振动事件对应的振感进行混合得到混合振感,包括:When the number of other vibration events faced by the electronic device is at least two, the two most recent vibration events can be selected from them and their vibration sensations can be mixed to ensure the recognition of the new vibration event and the corresponding vibration sensation. Based on this, in some embodiments, the electronic device determines at least two vibration events from each vibration event in the order of event occurrence time from near to far, and mixes the vibration sensations corresponding to the at least two vibration events to obtain a mixed vibration sensation ,include:
电子设备确定各振动事件中具有最近事件发生时间的两个振动事件;电子设备获取具有最近事件发生时间的两个振动事件对应的预设振感等级;若具有最近事件发生时间的两个振动事件对应的预设振感等级相同,则电子设备将具有最近事件发生时间的两个振动事件对应的振感混合权重设为相同;若具有最近事件发生时间的两个振动事件对应的预设振感等级不同,则电子设备为具有更高预设振感等级的振动事件分配更高的振感混合权重;电子设备按照振感混合权重将具有最近事件发生时间的两个振动事件进行混合得到混合振感。The electronic device determines two vibration events with the latest event occurrence time in each vibration event; the electronic device obtains the preset vibration level corresponding to the two vibration events with the latest event occurrence time; if there are two vibration events with the latest event occurrence time If the corresponding preset vibration levels are the same, the electronic device will set the vibration mixing weight corresponding to the two vibration events with the latest event occurrence time to the same; if the preset vibration sense corresponding to the two vibration events with the latest event occurrence time If the levels are different, the electronic device assigns a higher vibration-sensing mixing weight to the vibration event with a higher preset vibration-sensing level; the electronic device mixes the two vibration events with the most recent event occurrence time according to the vibration-sensing mixing weight to obtain a mixed vibration. sense.
本实施例主要是电子设备从各振动事件中挑选出最近发生的两个振动事件后,进一步依照这两个振动事件对应的预设振感等级对其振感进行混合。具体的,如图9所示,电子设备将振动事件3作为当前振动事件,此时存在由振动事件1和振动事件2触发的振感,电子设备按照各振动事件的事件发生时间,从振动事件1至3中挑选最近发生的两个振动事件(或称新事件)即振动事件2和振动事件3,然后电子设备确定该振动事件2和振动事件3对应的预设振感等级,由于振动事件2的预设振感等级与振动事件3的预设振感等级不同且振动事件3的预设振感等级高于振动事件2的预设振感等级,电子设备在生成混合振感时为振动事件3的振感3分配更高的振感混合权重如0.8,为振动事件2的振感2分配振感混合权重如0.2进行混合。可以理解的是,若振动事件3的预设振感等级与振动事件2的预设振感等级相同,则可以将两者的振感混合权重均设为0.5。In this embodiment, after the electronic device selects the two most recent vibration events from each vibration event, it further mixes the vibration sensations according to the preset vibration sensation levels corresponding to the two vibration events. Specifically, as shown in FIG. 9 , the electronic device regards vibration event 3 as the current vibration event, and at this time there is a vibration sense triggered by vibration event 1 and vibration event 2, and the electronic device is based on the event occurrence time of each vibration event, from the vibration event Select the two most recent vibration events (or new events) from 1 to 3, namely vibration event 2 and vibration event 3, and then the electronic device determines the preset vibration level corresponding to the vibration event 2 and vibration event 3. Since the vibration event The preset vibration level of 2 is different from the preset vibration level of vibration event 3 and the preset vibration level of vibration event 3 is higher than the preset vibration level of vibration event 2, and the electronic device is vibrating when generating a mixed vibration. Vibration 3 of event 3 is assigned a higher vibration mixing weight such as 0.8, and vibration 2 of vibration event 2 is assigned a vibration mixing weight such as 0.2 for mixing. It can be understood that, if the preset vibration sense level of the vibration event 3 is the same as the preset vibration sense level of the vibration event 2, the vibration sense mixing weight of both may be set to 0.5.
本发明提供的响应振动事件的方法,针对多个振动事件同时发生,可按照各振动事件的优先级进行振感混合,实现电子设备自动执行混合振感生成,并播放多事件混合振感的效果,能够高效、可靠地结合实际振感效果设计需求,凸显和区分不同的振感且具有较高的实时性与较高的工程化可行性。In the method for responding to vibration events provided by the present invention, for the simultaneous occurrence of multiple vibration events, the vibration sensation can be mixed according to the priority of each vibration event, so that the electronic equipment can automatically generate the mixed vibration sensation and play the effect of the multi-event mixed vibration sensation. , which can efficiently and reliably combine the actual vibration effect design requirements, highlight and distinguish different vibration perceptions, and has high real-time performance and high engineering feasibility.
应该理解的是,虽然上述流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the above flow charts are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the above flow chart may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution sequence of these steps or stages It is also not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of a step or phase within the other steps.
在一个实施例中,如图10所示,提供了一种响应振动事件的装置,该装置1000可以包括:In one embodiment, as shown in FIG. 10, an apparatus for responding to a vibration event is provided, and the apparatus 1000 may include:
优先级确定模块1001,用于响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;The priority determination module 1001 is used to determine the priority corresponding to each vibration event in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment; the vibration events include the current vibration event and all vibration events. other vibration events;
振感混合模块1002,用于基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;A vibration sensation mixing module 1002, configured to select vibration sensations corresponding to at least two vibration events in each vibration event and mix them based on the priority to obtain a mixed vibration sensation;
振感播放模块1003,用于播放所述混合振感。The vibration feeling playing module 1003 is used for playing the mixed vibration feeling.
在一个实施例中,所述其他振动事件的数量为一个;优先级确定模块1001,进一步用于获取所述各振动事件对应的预设振感等级;根据所述各振动事件对应的预设振感等级,确定所述优先级。In one embodiment, the number of the other vibration events is one; the priority determination module 1001 is further configured to obtain a preset vibration level corresponding to each vibration event; according to the preset vibration level corresponding to each vibration event sense level, determine the priority.
在一个实施例中,振感混合模块1002,进一步用于若所述当前振动事件与所述其他振动事件的优先级相同,则将所述当前振动事件和所述其他振动事件对应的振感混合权重设为相同;若所述当前振动事件与所述其他振动事件的优先级不同,则为具有更高优先级的振动事件分配更高的振感混合权重;按照所述振感混合权重,将所述当前振动事件和所述其他振动事件对应的振感进行混合,得到所述混合振感。In one embodiment, the vibration sensation mixing module 1002 is further configured to mix the vibration sensation corresponding to the current vibration event and the other vibration events if the priority of the current vibration event is the same as that of the other vibration events The weight is set to be the same; if the priority of the current vibration event is different from that of the other vibration events, the vibration event with a higher priority is assigned a higher vibration sensation mixing weight; according to the vibration sensation mixing weight, the The vibration sensations corresponding to the current vibration event and the other vibration events are mixed to obtain the mixed vibration sensations.
在一个实施例中,所述其他振动事件的数量为至少两个;优先级确定模块1001,进一步用于获取所述各振动事件对应的预设振感等级;根据所述各振动事件对应的预设振感等级,确定所述优先级;或者,优先级确定模块1001,进一步用于获取所述各振动事件对应的事件发生时间;根据所述各振动事件对应的事件发生时间,确定所述优先级。In one embodiment, the number of the other vibration events is at least two; the priority determination module 1001 is further configured to acquire a preset vibration level corresponding to each vibration event; Set the vibration level to determine the priority; or, the priority determination module 1001 is further configured to obtain the event occurrence time corresponding to each vibration event; determine the priority according to the event occurrence time corresponding to each vibration event class.
在一个实施例中,振感混合模块1002,进一步用于所述优先级由所述预设振感等级表征的情况下,按照所述预设振感等级从高到低的顺序从所述各振动事件中确定所述至少两个振动事件,并将所述至少两个振动事件对应的振感进行混合得到混合振感;所述优先级由所述事件发生时间表征的情况下,按照所述事件发生时间从近到远的顺序从所述各振动事件中确定所述至少两个振动事件,并将所述至少两个振动事件对应的振感进行混合得到混合振感。In one embodiment, the vibration-sensing mixing module 1002 is further configured to, in the case that the priority is represented by the preset vibration-sensing level, select the preset vibration-sensing level from high to low in order from the The at least two vibration events are determined in the vibration events, and the vibration sensations corresponding to the at least two vibration events are mixed to obtain a mixed vibration sensation; when the priority is represented by the occurrence time of the events, according to the The at least two vibration events are determined from the respective vibration events in order of occurrence time of the events from the nearest to the farthest, and the vibration sensations corresponding to the at least two vibration events are mixed to obtain a mixed vibration sensation.
在一个实施例中,振感混合模块1002,进一步用于确定所述各振动事件中具有最高预设振感等级的两个振动事件;若所述具有最高预设振感等级的两个振动事件对应的预设振感等级相同,则将所述具有最高预设振感等级的两个振动事件对应的振感混合权重设为相同;若所述具有最高预设振感等级的两个振动事件对应的预设振感等级不同,则为具有更高预设振感等级的振动事件分配更高的振感混合权重;按照所述振感混合权重将所述具有最高预设振感等级的两个振动事件进行混合得到所述混合振感。In one embodiment, the vibration sensation mixing module 1002 is further configured to determine two vibration events with the highest preset vibration sensation level among the vibration events; if the two vibration events with the highest preset vibration sensation level If the corresponding preset vibration sense levels are the same, the vibration sense mixing weights corresponding to the two vibration events with the highest preset vibration sense level are set to be the same; if the two vibration events with the highest preset vibration sense level are If the corresponding preset vibration sense levels are different, a higher vibration sense mixing weight is assigned to the vibration event with a higher preset vibration sense level; The mixed vibration sensation is obtained by mixing the vibration events.
在一个实施例中,振感混合模块1002,进一步用于确定所述各振动事件中具有最近事件发生时间的两个振动事件;获取所述具有最近事件发生时间的两个振动事件对应的预设振感等级;若所述具有最近事件发生时间的两个振动事件对应的预设振感等级相同,则将所述具有最近事件发生时间的两个振动事件对应的振感混合权重设为相同;若所述具有最近事件发生时间的两个振动事件对应的预设振感等级不同,则为具有更高预设振感等级的振动事件分配更高的振感混合权重;按照所述振感混合权重将所述具有最近事件发生时间的两个振动事件进行混合得到所述混合振感。In one embodiment, the vibration-sensing mixing module 1002 is further configured to determine two vibration events with the latest event occurrence time among the vibration events; obtain the preset corresponding to the two vibration events with the latest event occurrence time Vibration sense level; if the preset vibration sense levels corresponding to the two vibration events with the most recent event occurrence time are the same, then the vibration sense mixing weight corresponding to the two vibration events with the most recent event occurrence time is set to be the same; If the preset vibration sensation levels corresponding to the two vibration events with the latest event occurrence time are different, a higher vibration sensation mixing weight is assigned to the vibration event with a higher preset vibration sensation level; according to the vibration sensation mixing The weight obtains the mixed vibration sensation by mixing the two vibration events with the most recent event occurrence time.
关于响应振动事件的装置的具体限定可以参见上文中对于响应振动事件的方法的限定,在此不再赘述。上述响应振动事件的装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于电子设备中的处理器中,也可以以软件形式存储于电子设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the apparatus for responding to a vibration event, reference may be made to the definition of the method for responding to a vibration event above, which will not be repeated here. Each module in the above-mentioned apparatus for responding to a vibration event may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种电子设备,该电子设备可以是终端,其内部结构图可以如图11所示。该电子设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该电子设备的处理器用于提供计算和控制能力。该电子设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该电子设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种响应振动事件的方法。该电子设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该电子设备的输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, an electronic device is provided, the electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. 11 . The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. The computer program, when executed by a processor, implements a method of responding to a vibration event. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the electronic device , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图11中示出的结构,仅仅是与本发明方案相关的部分结构的框图,并不构成对本发明方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 11 is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the electronic device to which the solution of the present invention is applied. The specific electronic device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,还提供了一种电子设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, an electronic device is also provided, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided by the present invention may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (Random Access Memory) Access Memory, RAM) or external cache memory. By way of illustration and not limitation, RAM may take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (Dynamic Random Access Memory). Access Memory, DRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are more specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present invention, several modifications and improvements can be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (10)

  1. 一种响应振动事件的方法,其特征在于,所述方法包括:A method of responding to a vibration event, the method comprising:
    响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;In response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment, determine the priority corresponding to each vibration event; Described each vibration event includes the current vibration event and the other vibration events;
    基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;Based on the priority, the vibration sensations corresponding to at least two vibration events in the respective vibration events are selected and mixed to obtain a mixed vibration sensation;
    播放所述混合振感。Play the mixed vibe.
  2. 根据权利要求1所述的方法,其特征在于,所述其他振动事件的数量为一个;所述确定各振动事件对应的优先级,包括:The method according to claim 1, wherein the number of the other vibration events is one; and the determining the priority corresponding to each vibration event comprises:
    获取所述各振动事件对应的预设振感等级;obtaining the preset vibration level corresponding to each vibration event;
    根据所述各振动事件对应的预设振感等级,确定所述优先级。The priority is determined according to the preset vibration sense level corresponding to each vibration event.
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感,包括:The method according to claim 2, characterized in that, based on the priority, selecting vibration sensations corresponding to at least two vibration events in each vibration event to mix to obtain a mixed vibration sensation, comprising:
    若所述当前振动事件与所述其他振动事件的优先级相同,则将所述当前振动事件和所述其他振动事件对应的振感混合权重设为相同;If the priority of the current vibration event and the other vibration events is the same, set the vibration sensation mixing weight corresponding to the current vibration event and the other vibration events to the same;
    若所述当前振动事件与所述其他振动事件的优先级不同,则为具有更高优先级的振动事件分配更高的振感混合权重;If the priority of the current vibration event is different from that of the other vibration events, assign a higher vibration-sensing mixing weight to the vibration event with a higher priority;
    按照所述振感混合权重,将所述当前振动事件和所述其他振动事件对应的振感进行混合,得到所述混合振感。According to the vibration sensation mixing weight, the current vibration event and the vibration sensations corresponding to the other vibration events are mixed to obtain the mixed vibration sensation.
  4. 根据权利要求1所述的方法,其特征在于,所述其他振动事件的数量为至少两个;以及,The method of claim 1, wherein the number of the other vibration events is at least two; and,
    所述确定各振动事件对应的优先级,包括:The determining the priority corresponding to each vibration event includes:
    获取所述各振动事件对应的预设振感等级;obtaining the preset vibration level corresponding to each vibration event;
    根据所述各振动事件对应的预设振感等级,确定所述优先级;determining the priority according to the preset vibration level corresponding to each vibration event;
    或者,or,
    所述确定各振动事件对应的优先级,包括:The determining the priority corresponding to each vibration event includes:
    获取所述各振动事件对应的事件发生时间;Obtain the event occurrence time corresponding to each vibration event;
    根据所述各振动事件对应的事件发生时间,确定所述优先级。The priority is determined according to the event occurrence time corresponding to each vibration event.
  5. 根据权利要求4所述的方法,其特征在于,所述基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感,包括:The method according to claim 4, wherein, based on the priority, selecting vibration sensations corresponding to at least two vibration events in each of the vibration events and mixing them to obtain a mixed vibration sensation, comprising:
    所述优先级由所述预设振感等级表征的情况下,按照所述预设振感等级从高到低的顺序从所述各振动事件中确定所述至少两个振动事件,并将所述至少两个振动事件对应的振感进行混合得到混合振感;In the case where the priority is represented by the preset vibration sense level, the at least two vibration events are determined from the vibration events according to the sequence of the preset vibration sense level from high to low, and all vibration events are determined. Mixing the vibration sensations corresponding to the at least two vibration events to obtain a mixed vibration sensation;
    所述优先级由所述事件发生时间表征的情况下,按照所述事件发生时间从近到远的顺序从所述各振动事件中确定所述至少两个振动事件,并将所述至少两个振动事件对应的振感进行混合得到混合振感。In the case where the priority is represented by the event occurrence time, the at least two vibration events are determined from the vibration events in the order of the event occurrence time from near to far, and the at least two vibration events are assigned to The vibration sensations corresponding to the vibration events are mixed to obtain the mixed vibration sensations.
  6. 根据权利要求5所述的方法,其特征在于,所述按照所述预设振感等级从高到低的顺序从所述各振动事件中确定所述至少两个振动事件,并将所述至少两个振动事件对应的振感进行混合得到混合振感,包括:The method according to claim 5, wherein the at least two vibration events are determined from the vibration events according to the preset vibration level in descending order, and the at least two vibration events are The vibration sensations corresponding to the two vibration events are mixed to obtain a mixed vibration sensation, including:
    确定所述各振动事件中具有最高预设振感等级的两个振动事件;Determine the two vibration events with the highest preset vibration sensation level among the vibration events;
    若所述具有最高预设振感等级的两个振动事件对应的预设振感等级相同,则将所述具有最高预设振感等级的两个振动事件对应的振感混合权重设为相同;If the preset vibration sense levels corresponding to the two vibration events with the highest preset vibration sense level are the same, set the vibration sense mixing weight corresponding to the two vibration events with the highest preset vibration sense level to the same;
    若所述具有最高预设振感等级的两个振动事件对应的预设振感等级不同,则为具有更高预设振感等级的振动事件分配更高的振感混合权重;If the preset vibration sense levels corresponding to the two vibration events with the highest preset vibration sense level are different, assign a higher vibration sense mixing weight to the vibration event with the higher preset vibration sense level;
    按照所述振感混合权重将所述具有最高预设振感等级的两个振动事件进行混合得到所述混合振感。The mixed vibration sensation is obtained by mixing the two vibration events with the highest preset vibration sensation level according to the vibration sensation mixing weight.
  7. 根据权利要求5或6所述的方法,其特征在于,所述按照所述事件发生时间从近到远的顺序从所述各振动事件中确定所述至少两个振动事件,并将所述至少两个振动事件对应的振感进行混合得到混合振感,包括:The method according to claim 5 or 6, wherein the at least two vibration events are determined from the vibration events in the order of the occurrence time of the events from the nearest to the farthest, and the at least two vibration events are The vibration sensations corresponding to the two vibration events are mixed to obtain a mixed vibration sensation, including:
    确定所述各振动事件中具有最近事件发生时间的两个振动事件;Determine two vibration events with the most recent event occurrence time among the vibration events;
    获取所述具有最近事件发生时间的两个振动事件对应的预设振感等级;Obtain the preset vibration level corresponding to the two vibration events with the latest event occurrence time;
    若所述具有最近事件发生时间的两个振动事件对应的预设振感等级相同,则将所述具有最近事件发生时间的两个振动事件对应的振感混合权重设为相同;If the preset vibration sensation levels corresponding to the two vibration events with the latest event occurrence time are the same, set the vibration sensation mixing weight corresponding to the two vibration events with the latest event occurrence time as the same;
    若所述具有最近事件发生时间的两个振动事件对应的预设振感等级不同,则为具有更高预设振感等级的振动事件分配更高的振感混合权重;If the preset vibration sense levels corresponding to the two vibration events with the most recent event occurrence time are different, assign a higher vibration sense mixing weight to the vibration event with a higher preset vibration sense level;
    按照所述振感混合权重将所述具有最近事件发生时间的两个振动事件进行混合得到所述混合振感。The mixed vibration sensation is obtained by mixing the two vibration events with the latest event occurrence time according to the vibration sensation mixing weight.
  8. 一种响应振动事件的装置,其特征在于,包括:A device for responding to a vibration event, comprising:
    优先级确定模块,用于响应于检测到当前振动事件且当前时刻存在由其他振动事件触发的振感,确定各振动事件对应的优先级;所述各振动事件包括所述当前振动事件和所述其他振动事件;A priority determination module is used to determine the priority corresponding to each vibration event in response to detecting the current vibration event and the vibration sense triggered by other vibration events at the current moment; the vibration events include the current vibration event and the other vibration events;
    振感混合模块,用于基于所述优先级,选取所述各振动事件中的至少两个振动事件对应的振感进行混合,得到混合振感;A vibration sensation mixing module, configured to select vibration sensations corresponding to at least two vibration events in each vibration event and mix them based on the priority to obtain a mixed vibration sensation;
    振感播放模块,用于播放所述混合振感。A vibration feeling playing module is used to play the mixed vibration feeling.
  9. 一种电子设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的方法的步骤。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when the processor executes the computer program.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
PCT/CN2020/133566 2020-11-26 2020-12-03 Method and apparatus for responding to vibration event, electronic device, and storage medium WO2022110268A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011359116.6 2020-11-26
CN202011359116.6A CN112394817B (en) 2020-11-26 2020-11-26 Method, apparatus, electronic device and storage medium for responding to vibration event

Publications (1)

Publication Number Publication Date
WO2022110268A1 true WO2022110268A1 (en) 2022-06-02

Family

ID=74604634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/133566 WO2022110268A1 (en) 2020-11-26 2020-12-03 Method and apparatus for responding to vibration event, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN112394817B (en)
WO (1) WO2022110268A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115483865A (en) * 2022-08-31 2022-12-16 歌尔股份有限公司 Collision protection method and device for motor oscillator, terminal device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115591226B (en) * 2021-07-08 2023-09-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299479A (en) * 1998-02-03 2001-06-13 因维伯诺有限公司 System and method for vibro generations
CN101621566A (en) * 2008-06-30 2010-01-06 Lg电子株式会社 Distinguishing input signals detected by a mobile terminal
US20130038603A1 (en) * 2011-08-09 2013-02-14 Sungho Bae Apparatus and method for generating sensory vibration
CN104267842A (en) * 2014-09-11 2015-01-07 惠州Tcl移动通信有限公司 Touch display panel and touch feedback method thereof
CN109587576A (en) * 2018-12-06 2019-04-05 网易(杭州)网络有限公司 Exchange method and device, the storage medium and electronic device of terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998041835A1 (en) * 1997-03-17 1998-09-24 Hitachi, Ltd. Vibration exciting apparatus and vibration testing apparatus for structure using same
CN105843270A (en) * 2016-03-31 2016-08-10 南京航空航天大学 Helicopter multi-frequency vibration active control method
JP6888960B2 (en) * 2016-07-26 2021-06-18 任天堂株式会社 Vibration control system, vibration control method and vibration control program
CN110058676A (en) * 2018-11-28 2019-07-26 瑞声科技(新加坡)有限公司 A kind of method for oscillating, electronic equipment and storage medium
CN111580644B (en) * 2020-04-14 2023-04-28 瑞声科技(新加坡)有限公司 Signal processing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299479A (en) * 1998-02-03 2001-06-13 因维伯诺有限公司 System and method for vibro generations
CN101621566A (en) * 2008-06-30 2010-01-06 Lg电子株式会社 Distinguishing input signals detected by a mobile terminal
US20130038603A1 (en) * 2011-08-09 2013-02-14 Sungho Bae Apparatus and method for generating sensory vibration
CN104267842A (en) * 2014-09-11 2015-01-07 惠州Tcl移动通信有限公司 Touch display panel and touch feedback method thereof
CN109587576A (en) * 2018-12-06 2019-04-05 网易(杭州)网络有限公司 Exchange method and device, the storage medium and electronic device of terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115483865A (en) * 2022-08-31 2022-12-16 歌尔股份有限公司 Collision protection method and device for motor oscillator, terminal device and storage medium

Also Published As

Publication number Publication date
CN112394817B (en) 2022-04-26
CN112394817A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US9030428B2 (en) Generating haptic effects for dynamic events
JP5538674B2 (en) Method for analyzing device environment and device using the same
US10725972B2 (en) Continuous and concurrent device experience in a multi-device ecosystem
EP2648071B1 (en) Sound to haptic effect conversion system using multiple actuators
US10061385B2 (en) Haptic feedback for a touch input device
WO2022110268A1 (en) Method and apparatus for responding to vibration event, electronic device, and storage medium
KR20120134132A (en) Method and apparatus for providing cooperative enablement of user input options
WO2020192296A1 (en) Interface display method and terminal device
JP2009523268A (en) Providing applications over the network
US10075293B2 (en) Information processing apparatus, information processing method, and recording medium
WO2020108102A1 (en) Vibration method, electronic device and storage medium
JP2021072625A (en) Method and system of fairly charging for speech time of video call introducing new people
CN107835984B (en) Thermal mitigation user experience
US20220300144A1 (en) Method, system, and non-transitory computer readable record medium for providing chatroom in 3d form
KR20210093003A (en) Method and system for providing conversation with artificial intelligence character
JP2010176238A (en) Service providing system, service providing method, and program
US10912994B2 (en) Vibration control system, vibration control apparatus and vibration control method
CN114042310A (en) Game operation data collection method and device, computer equipment and storage medium
CN103458092A (en) Mobile terminal touch player and touch play method
KR20200137908A (en) Method for managing chatting rooms in portable terminal and apparatus therefore
WO2022166795A1 (en) Method for evaluating vibration of terminal in game scene, apparatus, medium and electronic device
JP7277777B2 (en) Sound reproduction program, sound reproduction device and sound generation method
CN113253848A (en) Method and device for controlling tactile feedback and electronic equipment comprising device
JPWO2020153251A1 (en) Voice chat device, voice chat method and program
WO2021233378A1 (en) Method and apparatus for configuring video special effect, device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20963156

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20963156

Country of ref document: EP

Kind code of ref document: A1