WO2023005703A9 - Procédé et appareil de contrôle de vibration, dispositif, et support de stockage - Google Patents

Procédé et appareil de contrôle de vibration, dispositif, et support de stockage Download PDF

Info

Publication number
WO2023005703A9
WO2023005703A9 PCT/CN2022/106179 CN2022106179W WO2023005703A9 WO 2023005703 A9 WO2023005703 A9 WO 2023005703A9 CN 2022106179 W CN2022106179 W CN 2022106179W WO 2023005703 A9 WO2023005703 A9 WO 2023005703A9
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
target
time
recovery
component
Prior art date
Application number
PCT/CN2022/106179
Other languages
English (en)
Chinese (zh)
Other versions
WO2023005703A1 (fr
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 WO2023005703A1 publication Critical patent/WO2023005703A1/fr
Publication of WO2023005703A9 publication Critical patent/WO2023005703A9/fr

Links

Images

Classifications

    • 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
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • A63F13/49Saving the game status; Pausing or ending the game
    • A63F13/493Resuming a game, e.g. after pausing, malfunction or power failure
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks

Definitions

  • the present application relates to the field of Internet technology, specifically to the field of computer technology, and in particular to a vibration control method, device, equipment and storage medium.
  • the terminal when there is a vibrating object that needs to vibrate in the business scene presented by the application (such as shooting game scene, driving game scene, music playing scene, etc.), the terminal (such as smart phone, tablet computer, etc.) can drive the built-in vibration The component vibrates, thereby giving the user the experience of vibrating effects.
  • the existing terminal drives the vibrating component to vibrate as follows: setting a target duration for the vibrating component, and controlling the vibrating component to stop vibrating when the vibrating component reaches the target duration.
  • Such a vibration control method is relatively simple, which makes it impossible to achieve a perfect fit between the vibration effect of the vibration component and the application, which affects the user experience, and also brings loss to the vibration component when the vibration duration is fixed and long.
  • the target service scene of the target application includes a target vibration object that needs to be vibrated, notify the terminal to drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target service scene ;
  • the target vibration waveform file When there is a vibration suspension event about the vibration component originating from the target application, record the target vibration waveform file and the current vibration time;
  • the target vibration waveform file includes a plurality of vibration attribute values, and the current vibration time refers to : when the vibration pause event exists, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file;
  • the embodiment of the present application also provides a vibration control method executed by a terminal, the method comprising:
  • the target service scene of the target application includes a target vibration object to be vibrated, in the target service scene, drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object;
  • the target vibration waveform file includes a plurality of vibration attribute values, and when there is the vibration suspension event, the The vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file is the current vibration time, and the current vibration time and the target vibration waveform file are recorded by the target application;
  • the vibration recovery notification is generated according to the vibration recovery time and the recorded target vibration waveform file;
  • the vibration recovery time is determined by the target application to restore the vibration of the vibration component When, and the business scenario of the target application is the target business scenario, it is generated based on the current vibration time;
  • the vibration recovery time and the target vibration waveform file are determined according to the vibration recovery notification, and the vibration component is driven to continue vibrating according to the determined vibration recovery time and the target vibration waveform file.
  • the embodiment of the present application also provides a vibration control method executed by a terminal, the method comprising:
  • the target service scene of the target application includes a target vibration object to be vibrated, in the target service scene, drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object;
  • the target vibration waveform file When there is a vibration suspension event about the vibration component originating from the target application, record the target vibration waveform file and the current vibration time;
  • the target vibration waveform file includes a plurality of vibration attribute values, and the current vibration time refers to : when the vibration pause event exists, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file;
  • the vibration component is driven to continue to vibrate.
  • the embodiment of the present application also provides a vibration control device, which includes:
  • the control unit is configured to notify the terminal to drive the mobile device in the terminal according to the target vibration waveform file associated with the target vibration object in the target service scenario when the target application includes a target vibration object that needs to vibrate.
  • the vibrating components vibrate;
  • a recording unit configured to record the target vibration waveform file and the current vibration time when there is a vibration suspension event about the vibration component originating from the target application;
  • the target vibration waveform file includes a plurality of vibration attribute values, the The current vibration time refers to: when the vibration pause event exists, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file;
  • a processing unit configured to generate a restoration vibration time based on the current vibration time if the business scenario of the target application is the target business scenario when the vibration of the vibration component needs to be restored;
  • the control unit is further configured to generate a vibration recovery notification according to the vibration recovery time and the recorded target vibration waveform file, and send the vibration recovery notification to the terminal, so that the terminal can recover The notification drives the vibrating component to continue vibrating.
  • the embodiment of the present application also provides a vibration control device, which includes:
  • the driving unit is configured to drive the vibration component in the terminal to perform vibration in the target service scenario according to the target vibration waveform file associated with the target vibration object when the target application’s target service scenario includes a target vibration object that needs to vibrate. vibration;
  • the drive unit is configured to control the vibration component to suspend vibration when there is a vibration suspension event about the vibration component originating from the target application;
  • the target vibration waveform file includes a plurality of vibration attribute values.
  • the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file is the current vibration time, and the current vibration time and the target vibration waveform file are recorded by the target application;
  • the receiving unit is configured to receive the vibration recovery notification sent by the target application, the vibration recovery notification is generated according to the recovery vibration time and the recorded target vibration waveform file; the recovery vibration time is determined by the target application to restore the When the vibration component is vibrating, and the business scenario of the target application is the target business scenario, it is generated based on the current vibration time;
  • the determination unit is further configured to determine a recovery vibration time and a target vibration waveform file according to the vibration recovery notification, and drive the vibration component to continue vibrating according to the determined recovery vibration time and target vibration waveform file.
  • the embodiment of the present application also provides a vibration control device, which includes:
  • the driving unit is configured to drive the vibration component in the terminal according to the target vibration waveform file associated with the target vibration object in the target business scenario when the target service scene presented by the target application includes a target vibration object that needs to vibrate to vibrate;
  • a recording unit configured to record the target vibration waveform file and the current vibration time when there is a vibration suspension event about the vibration component originating from the target application;
  • the target vibration waveform file includes a plurality of vibration attribute values, the The current vibration time refers to: when the vibration pause event exists, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file;
  • a processing unit configured to generate a restoration vibration time based on the current vibration time if the business scenario presented by the target application is the target business scenario when the vibration of the vibration component needs to be restored;
  • the driving unit is further configured to drive the vibrating component to continue vibrating according to the resuming vibration time and the recorded target vibration waveform file.
  • the embodiment of the present application also provides a computer device, the computer device includes an input interface and an output interface, and the computer device also includes:
  • processor adapted to implement one or more computer readable instructions
  • a non-volatile computer-readable storage medium stores one or more computer-readable instructions, and the one or more computer-readable instructions are adapted to be loaded by the processor and execute the above-mentioned The steps of any vibration control method.
  • the embodiment of the present application also provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores one or more computer-readable instructions, and the one or more computer-readable instructions are suitable for The above-mentioned vibration control method is loaded and executed by the processor.
  • Fig. 1a is a schematic diagram of a target application presenting a business scenario provided by an embodiment of the present application
  • Fig. 1b is a schematic diagram of another target application presenting business scenario provided by the embodiment of the present application.
  • Fig. 2 is a schematic flow chart of a vibration control method provided in an embodiment of the present application
  • Fig. 3a is a schematic diagram of recording the current vibration time provided by the embodiment of the present application.
  • Fig. 3b is a schematic diagram of restoring the vibration of the vibration component based on the current vibration time provided by the embodiment of the present application;
  • Fig. 4 is a schematic flow chart of a vibration control method provided by another embodiment of the present application.
  • Fig. 5a is a schematic diagram of processing logic of a system vibration interface provided by an embodiment of the present application.
  • Fig. 5b is a schematic diagram of a target application recording the target vibration waveform file and the current vibration time through the vibration controller provided by the embodiment of the present application;
  • Fig. 5c is a schematic diagram of a target application delivering a target vibration waveform file and current vibration time through a vibration controller provided by an embodiment of the present application;
  • Fig. 5d is a schematic flow diagram of a target application interacting with the underlying hardware through the system vibration interface to realize vibration control of the vibration component provided by the embodiment of the present application;
  • Fig. 6 is a schematic flowchart of a vibration control method provided by another embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of a vibration control device provided by an embodiment of the present application.
  • Fig. 8 is a schematic structural diagram of a vibration control device provided by another embodiment of the present application.
  • Fig. 9 is a schematic structural diagram of a vibration control device provided in another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the target application mentioned later may be any application program running on a computer device, and the so-called application program can be understood as a computer program for completing one or more specific tasks.
  • the target application mentioned later may be any of the following: cloud application, APP (application, client), light application, web application, and so on.
  • cloud application refers to the application program installed and running on the cloud server
  • APP refers to the application program installed and running on the terminal
  • Functional Quick App which usually runs as a subroutine in other clients
  • web application refers to an application that supports opening and running in the web page displayed by the browser APP.
  • the target application mentioned later may be any of the following: game application, instant messaging application, content sharing application, audio and video playing application, and so on.
  • the so-called game application refers to: an application program that provides game services for users to support users to play games
  • the so-called instant messaging application refers to: an application program that provides users with instant messaging services to support instant information interaction between users
  • the so-called The content sharing application refers to an application that provides users with content sharing services to support users to share content with the outside world, as well as viewing and commenting on other people’s shared content
  • audio and video playback applications refers to: provides users with audio and video playback services to support users An application that plays associated audio or video.
  • the target application may be various applications.
  • the target application is an APP, and from the perspective of the application business of the application, the target application is a game application; then, the target application can be any ordinary game application, the so-called The common game application of ’ refers to a game application installed and running on a terminal.
  • the target application is a cloud application from the perspective of the running mode of the application, and the target application is a game application from the perspective of the application business of the application; then, the target application can be understood as, the target application It can be understood as any cloud game application.
  • cloud games are based on cloud computing technology, which provides powerful graphics processing capabilities and data computing capabilities for cloud games; the so-called cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers , so that various application systems can obtain computing power, storage space and information services as needed.
  • the target application can present one or more business scenarios to the user.
  • the service scenario presented by the target application may include but not limited to: a session scenario of instant messaging.
  • the business scenarios presented by the target application may include but not limited to: an audio and video search scenario for searching a certain audio or video, and an audio and video playback scenario for playing a certain audio or video.
  • the business scenarios presented by the target application may include, but are not limited to: scenes in which avatars in games drive vehicles (such as cars, boats, etc.), scenes in which avatars in games hold guns A scene of shooting, a scene of virtual characters dancing in the game, a scene of at least two virtual characters in the game competing in a car, and so on.
  • any business scene presented by the target application if the any business scene includes a vibrating object that needs to vibrate, then the any business scene may be called a vibration scene of the target application.
  • the scene of a virtual character driving a vehicle presented in a game application since the scene includes a vibration object that needs to vibrate a vehicle, the scene of a virtual character driving a vehicle presented in a game application can be called is the vibration scene of the target application.
  • the vehicle driven by the two virtual characters The racing car needs to vibrate, that is, the scene includes the vibrating object of the racing car that needs to vibrate. Therefore, the scene in which at least two virtual character objects presented in the game application compete in a racing car can also be called the vibrating scene of the target application.
  • the way the target application presents the business scenario is also different.
  • the target application as a game application and the business scenario as an example where at least two virtual characters in the game are racing a car
  • the target application can be directly run on the terminal where it is located.
  • the game screen of two virtual characters racing a car as shown in Figure 1a is displayed on the terminal screen, thereby presenting the business scenario to the user; if the target application is run in the cloud game server, the target application can use
  • the game screen of the two virtual characters racing is sent to the connected terminal, so that the connected terminal displays the received game screen in sequence on the terminal screen, thereby presenting the business scene for the user, as shown in Figure 1b.
  • the terminal mentioned here refers to: any device that supports the user to hold or touch, and has one or more built-in vibration components; such as smartphones, tablet computers, laptops, smart watches, etc.; among them, the vibration A component is any component that has the ability to vibrate, such as a motor, shrapnel, motor, and so on.
  • an embodiment of the present application proposes a vibration control scheme.
  • the general principle of the vibration control scheme is as follows: when presenting any vibration scene of the target application, the terminal can drive the built-in at least A vibration component vibrates.
  • the target application can record the currently used vibration waveform file and vibration time, so that the vibration of the vibration component needs to be resumed in the target application , the target application can notify the terminal to drive the vibration component to continue to vibrate according to the recorded vibration waveform file and the recorded vibration time, so as to resume the vibration of the vibration component based on the position where the vibration is suspended.
  • the target application when the target application needs to restore the vibration of the vibration component, the target application can also only pass the recorded vibration waveform file without the recorded vibration time; in this case, the target application can notify the terminal according to the recorded vibration Waveform files and other vibration times (such as the initial vibration time in the recorded vibration waveform files, etc.), drive the vibration components to continue to vibrate.
  • the target application may not pass the recorded vibration waveform file and recorded vibration time; in this case, the target application may drive the vibration component to continue vibrating by notifying the terminal according to one or more new vibration waveform files.
  • the vibration control scheme can achieve the following beneficial effects: 1
  • the state of the vibration component can be changed in real time based on the playback or pause of the target application, and the state of the vibration component can be seamlessly switched from the vibration state to the pause state , and seamlessly switch from the pause state to the vibration state, to achieve the purpose of flexibly controlling the vibration pause and vibration recovery of the vibration component, improve the fit between the vibration effect and the target application, and avoid setting the vibration time for the vibration component.
  • the mechanical and solidified vibration mode of stopping the vibration when the vibration time reaches a long time after vibration has brought about the problem of large loss of vibration components in the terminal.
  • an embodiment of the present application proposes a vibration control method, which can be implemented by a target application running on a computer device, and the computer device can be a server or a terminal; for example, when the target application is an APP, that is When the target application is running in the terminal, the vibration control method can be implemented by the terminal through the APP; when the target application is a cloud application, that is, when the target application is not running in the terminal, the vibration control method can be implemented by the cloud server through the cloud application accomplish.
  • the vibration control method is described from the perspective of target application. Please refer to FIG. 2, the vibration control method may include the following steps S201-S205:
  • the terminal presents the target business scenario to the user by displaying a series of pictures describing the target business scenario on the terminal screen; that is, when the terminal presents any business scenario, the terminal screen will display Each frame picture involved in any business scene is displayed in sequence.
  • the meaning of "the target business scene includes the target vibration object that needs to vibrate" mentioned in the embodiment of the present application can be understood as: the screen displayed on the terminal screen includes the target vibration object that needs to vibrate.
  • the target vibration object may refer to any object to be vibrated.
  • the target application is a game application
  • the target business scenario is a scene in which two virtual characters are racing a car presented by the game application
  • the vehicle since in a real racing scene, when two vehicles collide or the vehicle is driving on an uneven road
  • the vehicle usually produces vibration; therefore, in order to create an atmosphere of racing in a real racing scene for the user and improve the user's gaming experience, it is also possible for the vehicle driven by the virtual character to collide or drive on an uneven road during the racing process.
  • control the vehicle driven by the avatar may vibrate.
  • the target vibration object may be any vehicle to be vibrated.
  • the target application running on the computer device can first obtain the target vibration waveform file associated with the target vibration object.
  • the target application running on the computer device can first obtain the target vibration description file associated with the target business scene, which may include: the vibration waveform files associated with each vibration object in the target business scene; then, the computer device
  • the target application running on the above can obtain the vibration waveform file associated with the target vibration object as the target vibration waveform file from the target vibration description file.
  • the target application running on the computer device After the target application running on the computer device obtains the target vibration waveform file, it can send the target vibration waveform file to the terminal to notify the terminal to drive The vibration component inside the terminal vibrates.
  • the target vibration waveform file may include vibration attribute values corresponding to multiple vibration times; correspondingly, the specific method for the terminal to drive the vibration component to vibrate according to the target vibration waveform file may be: according to the order of vibration time from early to late, sequentially The vibration attribute value of each vibration time is used to drive the vibration component to vibrate.
  • the vibration attribute value mentioned here may include at least one of the following: a vibration intensity value under the vibration intensity dimension, a vibration frequency value under the vibration frequency dimension, and so on.
  • the vibration attribute values corresponding to any two vibration times in the target waveform file may be the same or different, which is not limited; and the vibration time mentioned in the embodiment of the present application refers to the vibration time based on the vibration waveform
  • the relative time determined by the starting point is not the system time.
  • the target vibration waveform file may include the vibration attribute value of the 0th second, the vibration attribute value of the 1st second, etc.; it can be seen that the vibration time involved in the target waveform file is different from the device where the target application is located.
  • the system time has nothing to do with it.
  • the target application running by the computer device can also synchronously send a heartbeat signal to the terminal;
  • the heartbeat signal refers to a signal used to instruct the terminal to maintain the vibrating component to vibrate.
  • the embodiment of the present application does not limit the specific form of the heartbeat signal; for example, the heartbeat signal can be a specified value (such as "0", "1” and other values); as another example, the heartbeat signal can also be A preset text message (such as "please keep vibrating", “continue vibrating” and other text messages), and so on.
  • the target application running on the computer device can also generate a heartbeat signal according to the target frequency when the terminal drives the vibration component to vibrate according to the target vibration waveform file after sending the heartbeat signal for the first time;
  • the target frequency can be based on experience values or business Requirement setting, for example, the target frequency can be: the frequency of generating a heartbeat signal every 1 second, or the frequency of generating a heartbeat signal every 2 seconds, and so on.
  • the target application running on the computer device can send the generated heartbeat signal to the terminal after each generation of the heartbeat signal, so that the terminal maintains the vibration of the vibration component based on the heartbeat signal.
  • the terminal maintains the vibration of the vibration component based on the heartbeat signal means: as long as the terminal regularly receives the heartbeat signal every interval corresponding to the target frequency, it can drive the vibration component according to the target vibration waveform file Always vibrate; otherwise, suspend the vibration of the vibrating component.
  • the target frequency is the frequency at which heartbeat signals are generated every 1 second
  • the terminal regularly receives heartbeat signals every 1 second it can drive the vibration component to vibrate according to the standard vibration waveform file; otherwise, the vibration of the vibration component will be suspended.
  • the vibration of the vibrating component is triggered by the presence of a target vibration object that needs to vibrate in the target business scene, in actual practice, there may be situations where the vibration operation for the target vibration object is suspended. Therefore, in the embodiment of the present application, when the vibration of the target vibration object is suspended, the vibration component in the control terminal also suspends vibration, so that the vibration effect of the vibration component is consistent with the vibration effect of the target vibration object, and then the vibration of the vibration component is consistent with the target vibration effect.
  • the perfect fit between applications provides users with a real and complete vibration experience.
  • the target application running on the computer device can actively send a vibration suspension notification to the terminal in response to the vibration suspension operation on the target object, so as to notify the terminal to control the vibration component to suspend vibration.
  • the vibration pause event may include: the target application running on the computer device sends a vibration pause notification to the terminal in response to the vibration pause operation on the target object.
  • the vibration pause operation mentioned above may be any operation that triggers the target vibration object to pause vibration.
  • a trigger operation such as a click operation, a press operation, etc.
  • the target vibration object in pauses the vibration; then, in this case, the trigger operation for the screen pause component can be regarded as a vibration pause operation for the target vibration object.
  • the target application is a game application
  • the target vibration object is a vehicle driven by the virtual character used by the user.
  • Triggering the avatar used by the user to stop driving the vehicle will trigger the vehicle (that is, the target vibration object) to suspend vibration; then, in this case, the game operation that triggers the avatar's life value to be reduced to 0 can be regarded as targeting the target
  • the vibration pause action for the vibration object For another example, if the user closes the picture involved in the target business scene displayed on the terminal screen, the target vibration object will be triggered to suspend vibration; then, in this case, the operation of closing the picture involved in the target business scene, depending on Pauses the action for vibrations on the target vibration object.
  • the specific method for the user to close the screen involved in the target business scenario is not limited here.
  • the user can close the screen involved in the target business scenario by switching the screen involved in the target business scenario to the system main interface of the terminal, or close the screen involved in the target business scenario.
  • the terminal performs a screen-off operation to close the screens and the like involved in the target business scenario.
  • the target application running on the computer device can periodically send a heartbeat signal to the terminal according to the target frequency, so that the terminal maintains the vibration of the vibration component based on the heartbeat signal; in practice, there may be a target When the application is closed abnormally, the target application will not be able to regularly generate and send the heartbeat signal to the terminal according to the target frequency, resulting in the loss of the heartbeat signal. Therefore, in the embodiment of the present application, when the heartbeat signal is lost due to the abnormal shutdown of the target application, the vibration component in the control terminal also suspends the vibration, so that the vibration effect of the vibration component is consistent with the suspension of the target application, and further realizes the vibration component.
  • the vibration pause event may include: a heartbeat signal loss event.
  • the vibration pause event may include at least one of the following: 1 an event in which the target application running on the computer device sends a vibration pause notification to the terminal in response to the vibration pause operation on the target object; and, 2 the heartbeat signal is lost event.
  • the first kind of vibration pause event is actively caused by the target application running on the computer device, and the second kind of vibration pause event is passively caused by the target application.
  • the target application running on the computer device can record the target vibration waveform file and the current vibration time.
  • the target vibration waveform file includes multiple vibration attribute values corresponding to the vibration time; correspondingly, the current vibration time refers to: when the vibration pause event exists, the target vibration waveform file corresponds to the vibration attribute value adopted. vibration time.
  • the terminal initially uses the vibration attribute value of the 0th second in the target vibration waveform file to control the vibration component to vibrate, and then uses the vibration attribute value of the 1st second to control the vibration component to vibrate, and then uses the vibration of the second second Attribute value, control the vibration component to vibrate, and so on; if the terminal is using the vibration attribute value of the 30th second to control the vibration component to vibrate when there is a vibration pause event, the current vibration time can be recorded as the 30th second, as shown in the figure 3a shown.
  • the target application may be restarted in practice. Therefore, after the target application is restarted, it can be determined again that the vibration of the vibration component needs to be restored.
  • the target application can determine that the vibration of the vibration component needs to be restored when detecting the vibration restoration operation on the target vibration object. That is.
  • the situation that the vibration of the vibration component needs to be restored may include at least one of the following: the target application is restarted successfully after being closed abnormally; or, a vibration recovery operation for the target vibration object is detected.
  • the vibration recovery operation mentioned here may be any operation that triggers the target vibration object to resume vibration.
  • the user triggers an operation (such as click operation, press operation, etc.) on the screen playback component on the terminal screen, it will trigger the continuous display of the screen involved in the target business scene on the terminal screen, thereby triggering the target in the screen.
  • the vibration object continues to vibrate; then, in this case, the trigger operation for the screen playing component can be regarded as a vibration recovery operation for the target vibration object.
  • the target application is a game application
  • the target vibration object is a vehicle driven by the virtual character used by the user.
  • the life value of the virtual character used by the user increases to a valid value (such as 20, 30, etc.), then at this time, the virtual character used by the user will be triggered to continue driving the vehicle, thereby triggering the vehicle (that is, the target vibration object) to resume vibration; then, in this case, the life value of the triggered virtual character can be changed from
  • the game operation that increases from 0 to a valid value is regarded as a vibration recovery operation for the target vibration object.
  • the target vibration object will be triggered to resume vibration at this time; then, in this case, the operation of opening the picture involved in the target business scene, Treated as a vibration pause action on the target vibration object.
  • the target application running on the computer device can be based on For the current vibration time, generate a recovery vibration time, and continue to execute the subsequent steps S204-S205.
  • the recovery vibration time refers to: the vibration time for the control vibration component to start to recover vibration; based on the current vibration time, the specific method of generating the recovery vibration time can be any of the following:
  • the 30th second may be determined as the resuming vibration time.
  • the initial vibration time may be determined as the recovery vibration time.
  • the vibration time that is earlier than the current vibration time and differs from the current vibration time by the first specified duration can be determined as the recovery vibration time, etc.; the first specified duration here can be set according to business needs or experience values, such as the first The specified duration is 2 seconds, and the current vibration time is the 30th second, then the 28th second can be determined as the recovery vibration time.
  • the vibration time that is later than the current vibration time and differs from the current vibration time by a second specified duration can be determined as the recovery vibration time; the second specified duration here can be set according to business needs or experience values, such as according to business needs.
  • the second specified duration is set to 2 seconds, and the current vibration time is the 30th second, then the 32nd second can be determined as the recovery vibration time.
  • the target business scenario presented by the target application may be a real-time scenario; in this real-time scenario, the involved images change in real time as time goes by, and when the user pauses the displayed image and replays the image , it needs to jump to the latest real-time screen for display.
  • the vibration time that is later than the current vibration time and has a dynamic duration difference from the current vibration time can be determined as the recovery vibration time; the dynamic duration here is based on the existence of a vibration pause event
  • the time difference between the time and the time when the vibration of the vibrating component needs to be restored is determined.
  • the time when there is a vibration suspension event is the system time 10:58:10
  • the time when the vibration of the vibrating component is determined to be restored is the system time
  • the time is 10:58:15, and the time difference between these two moments is 5, then the dynamic duration can be determined to be 5 seconds. If the current vibration time is the 30th second, the 35th second can be determined as the recovery vibration time .
  • a vibration time can also be preset according to business requirements or experience values, so that the target When the application needs to restore the vibration of the vibration component and the business scenario of the target application is the target business scenario, the preset vibration time can be directly determined as the vibration recovery time.
  • the target application running on the computer device has already sent the target vibration waveform file to the terminal when implementing step S201; therefore, when the target application running on the computer device implements step S204, the Recover the vibration time and the file identification (such as file number, file name, etc.) of the recorded target vibration waveform file, and generate a vibration recovery notification.
  • the vibration recovery notification may include: the file identifier of the target vibration waveform file. Since the data volume of the file identification is usually much smaller than the data volume of the file itself, using this implementation method to generate the vibration recovery notification can effectively reduce the data volume of the vibration recovery notification, thereby saving the resources required for transmitting the vibration recovery notification and shortening the vibration time. Restore the transmission duration of notifications, thereby improving the timeliness of notifications.
  • the specific implementation method of step S204 can be: first, the current vibration time is used as a reference, and the relative time offset between the recovery vibration time and the current vibration time is calculated; for example, the current vibration time is set to be the 30th Seconds: If the recovery time is the 35th second, the relative time offset is 5; if the recovery time is the 28th second, the relative time offset is -2; if the recovery time is the 30th second, the relative The time offset is 0.
  • the target application can determine the file identification of the recorded target vibration waveform file. The target application can then generate a vibration resume notification based on the relative time offset and file identification. That is to say, the vibration recovery notification in this implementation manner may also include a relative time offset in addition to the file identifier.
  • step S204 may be: determine the file identifier of the recorded target vibration waveform file, and directly use the recovery time of vibration and the file identifier to generate a vibration recovery notification. That is to say, the vibration recovery notification in this implementation manner may also include the vibration recovery time in addition to the file identifier.
  • the vibration recovery notification can be generated directly according to the vibration recovery time and the recorded target vibration waveform file. That is, in this implementation manner, the vibration recovery notification may include: a target vibration waveform file.
  • Using this implementation method to generate a vibration recovery notification can directly send the target vibration waveform file to the terminal again, so that even if the terminal has deleted the target vibration waveform file before, there is no need to waste resources and time to request the computer device running the target application to send it Target vibration waveform files, thereby improving the timeliness of vibration recovery.
  • the target application running on the computer device After the target application running on the computer device generates the vibration recovery notification through step S204, it can send the vibration recovery notification to the terminal, so that the terminal first notifies the vibration recovery time and the target vibration waveform file according to the vibration recovery notification, and then Continue to use the vibration attribute values of each vibration time after the recovery vibration time in the target vibration waveform file, and drive the vibration component to continue to vibrate.
  • the recovery vibration time is determined by the aforementioned method 1, that is, the recovery vibration time is equal to the current vibration time, then the seamless connection between the vibration suspension and the recovery vibration of the vibration component can be realized through the embodiment of the application, and the vibration can be improved.
  • the continuity and integrity of the effect for example, the vibration component is suspended at the 30th second (that is, the current vibration time is the 30th second), and the resumed vibration time is the 30th second, then it can be used after the 30th second
  • the vibration attribute value of each vibration time controls the vibration component to continue to vibrate, so that the vibration component starts to resume vibration from the 30th second, as shown in Figure 3b.
  • the playback of the vibration effect of the vibration component can be realized through the embodiment of the present application; for example, the vibration component is at the 30th second If the vibration is suspended, the time to resume the vibration is the 28th second, then the vibration attribute value of each vibration time after the 28th second can be used to control the vibration component to continue to vibrate, so that the vibration component can resume vibration from the 28th second, so as to achieve playback Vibration effect between 28-30 seconds.
  • the application can realize the advancement of the vibration effect of the vibration component; for example, the vibration component pauses the vibration at the 30th second If the recovery vibration time is the 35th second, then the vibration attribute value of each vibration time after the 35th second can be used to control the vibration component to continue to vibrate, so that the vibration component can resume vibration from the 35th second, thereby skipping the 35th second.
  • the vibration effect between 30-35 seconds, to achieve the advancement of the vibration effect.
  • the target application running on the computer device
  • a new vibration description file associated with the new business scene can be obtained, and the new vibration description file includes: vibration waveform files associated with each vibration object in the new business scene.
  • the new vibration description file is sent to the terminal, so that the terminal drives the vibration component to vibrate according to each vibration waveform file in the new vibration description file. That is to say, in this case, the target application may not execute steps S203-S205.
  • the terminal when the target business scene presented by the target application includes a target vibration object that needs to vibrate, the terminal can drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scene.
  • the terminal can be triggered to control the vibration component to suspend the vibration; and when the target application needs to resume the vibration of the vibration component, the terminal will continue to drive the vibration component to vibrate, so as to achieve target-based Play or pause the application, change the state of the vibration component in real time, seamlessly switch, achieve the purpose of flexibly controlling the suspension and recovery of the vibration component, improve the fit between the vibration effect and the target application, and avoid setting the vibration component
  • the vibration time is long, and the vibration is stopped when the vibration time is long after the vibration is started.
  • the target application can also record the target vibration waveform file and the current vibration time, so that when the vibration of the vibration component needs to be resumed, if the target application still presents the target business scene, the target application can be based on the record
  • the current vibration time generates the recovery vibration time; and notifies the terminal to drive the vibration component to continue to vibrate according to the recovery vibration time and the recorded target vibration waveform file.
  • FIG. 4 is a schematic flowchart of another vibration control method provided by an embodiment of the present application, and the method may be executed by the terminal mentioned above.
  • the vibration control method may include the following steps S401-S404:
  • the target business scene of the target application includes a target vibration object to be vibrated
  • the target business scene drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object.
  • the terminal can receive the target vibration waveform file associated with the target vibration object from the target application, and the target vibration waveform file can include vibration attribute values corresponding to multiple vibration times; In the later sequence, the vibration attribute value of each vibration time is used to drive the vibration component to vibrate.
  • the terminal can also receive a heartbeat signal from the target application, which is generated by the target application according to the target frequency; after each heartbeat signal is received, the vibration component can be maintained based on each received heartbeat signal. vibration.
  • the terminal if the terminal detects that the heartbeat signal is lost, it can determine that there is a vibration suspension event related to the vibration component from the target application; or, if the terminal receives the vibration suspension notification sent by the target application, it can determine that there is A vibration pause event on the vibration component from the target application.
  • the specific method for the terminal to detect whether the heartbeat signal is lost can be: the terminal can obtain the latest system time in real time, and calculate the interval between the latest system time and the last time when the heartbeat signal was received; If it is greater than or equal to the interval duration corresponding to the target frequency, it can be determined that the heartbeat signal is lost; if the calculated interval duration is less than the interval duration corresponding to the target frequency, it can be determined that the heartbeat signal is not lost.
  • the target frequency is set to generate a heartbeat signal every 2 seconds
  • the interval corresponding to the target frequency is 2 seconds.
  • set the latest system time as 11:02:36: If the last time the heartbeat signal was received was 11:02:35, then the difference between the latest system time and the last time the heartbeat signal was received can be calculated
  • the interval between the two is 1 second, which is shorter than the interval corresponding to the target frequency. In this case, it can be determined that the heartbeat signal is not lost.
  • the target vibration waveform file includes multiple vibration attribute values.
  • the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file is the current vibration time, and the current vibration time is the same as the target vibration time.
  • the vibration waveform file can be recorded by the target application, so that when the target application needs to restore the vibration of the vibration component, and the business scenario of the target application is the target business scenario, the recovery vibration time can be generated according to the recorded current vibration time, and based on the recovery vibration time and recorded target vibration waveform files to generate vibration recovery notifications.
  • the vibration restoration notification received by the terminal is generated according to the restoration vibration time and the recorded target vibration waveform file;
  • the restoration vibration time is when the target application determines that the vibration of the vibration component needs to be restored, and the business scenario of the target application is In business scenarios, it is generated based on the current vibration time.
  • the vibration recovery notification may include: a relative time offset between the vibration recovery time and the current vibration time; or, the vibration recovery notification may include the vibration recovery time.
  • the cloud server can deliver relevant data (such as target vibration waveform files, vibration recovery notifications, etc.) to the terminal via the Internet through the target application.
  • relevant data such as target vibration waveform files, vibration recovery notifications, etc.
  • the computer device where the target application is located is the same device as the terminal, that is, the target application runs on the terminal, then the interaction between the target application and the terminal can essentially be understood as the interaction between the target application and the underlying hardware in the terminal ; That is to say, the target application sends data to the terminal, which can essentially be understood as the target application sends data to the underlying hardware of the terminal.
  • the target application may deliver relevant data (such as target vibration waveform files, vibration recovery notifications, etc.) to the underlying hardware of the terminal through the system vibration interface in the terminal.
  • the system vibration interface may be an interface that integrates the file delivery function, the heartbeat delivery function, and the notification delivery function.
  • the system vibration interface can also include the following three sub-interfaces:
  • Sub-interface 1 Vibration playback interface; this interface can simultaneously support the settings of cycle, vibration intensity, vibration frequency, vibration mode, and vibration time indication information.
  • the vibration playback interface can be represented by the following code:
  • *@param interval is used to set the cycle interval, and its value range can be 0-1000; the cycle interval refers to the interval between vibrating the vibration object twice according to the target vibration waveform file, and the unit can be ms (milliseconds) or other orders of magnitude unit.
  • *@param amplitude is used to set the vibration intensity value, and its value range can be 1-255; among them, 1 is the smallest and 255 is the largest; this parameter is used to modify the HE file (vibration waveform file) for overall intensity signal adjustment/reduction .
  • *@paramfreq is used to set the vibration frequency value, and its value range can be 1-100; among them, 1 is the smallest and 100 is the largest; this parameter is used as a percentage to modify the HE file and adjust the overall frequency signal.
  • *@parampatten is used to set the vibration mode, the value equal to 0 means the preemption mode, and the value equal to 1 means the overlay mode; this parameter is used to inform the underlying hardware how to superimpose the vibration effect;
  • the so-called overlay mode means that different vibration objects can Fusion vibration, which can simulate the vibration effect caused by the resonance of multiple vibration objects in the real physical environment;
  • the so-called preemption mode means that different vibration objects cannot be fused and superimposed, and a vibration object can only be selected according to the vibration priority of each vibration object Vibrate; for example, select the vibration object with the highest vibration priority from multiple vibration objects to vibrate.
  • *@param level is used to set the vibration priority, and its value range is 1-10; among them, level 10 is the highest, followed by decreasing; this parameter is used in the preemptive mode, the higher the level is, the priority is played.
  • *@relative Time is used to set the vibration time information, which can be the recovery vibration time, or the relative time offset between the recovery vibration time and the current vibration time; when the vibration time information is a relative time offset, Its value can be negative, positive or 0; when the value is negative, it means the playback of the vibration effect; when the value is positive, it means jump to the specified time after the current vibration time and continue to vibrate. When the value is 0, it means continue to vibrate based on the recorded current vibration time.
  • Sub-interface 2 heartbeat delivery interface; this interface can support the delivery of heartbeat signals.
  • the heartbeat delivery interface can be represented by the following code:
  • beat is used to set the interval duration corresponding to the target frequency.
  • Sub-interface 3 Vibration recovery interface; this interface can support the delivery of vibration recovery notifications.
  • the vibration recovery interface can be represented by the following code:
  • relativeTime is used to set the vibration time indication information.
  • a heartbeat mechanism can be added to the system vibration interface, so as to detect whether there is a heartbeat loss based on the heartbeat mechanism. If there is no heartbeat loss, the vibration component can be maintained to continue vibrating according to the target vibration waveform file from the target application; if there is a heartbeat loss, the vibration component is controlled to suspend vibration, as shown in Figure 5a.
  • an independent vibration controller can be further set in the target application to The target application to realize vibration control through the vibration controller.
  • the vibration controller is essentially a software development kit (Software Development Kit, SDK); it is mainly used to automatically record the currently used vibration waveform file and the current vibration time when the heartbeat signal is lost or the target application actively suspends vibration , as shown in Figure 5b. That is to say, when there is a vibration suspension event about the vibration component originating from the target application, the target application can record the target vibration waveform file and the current vibration time through the vibration controller.
  • the target application can also restore the vibration component through the interface of the vibration controller; that is, when the target application actively restores the vibration of the vibration component, it can notify the vibration controller to send the recorded vibration waveform through the interface of the vibration controller
  • the file and the current vibration time are sent to the underlying hardware of the terminal, so that the underlying hardware drives the vibration component to vibrate according to the recorded vibration waveform file and the current vibration time, so as to realize the continued playback of the recorded vibration, as shown in Figure 5c.
  • the target application can also directly send a new vibration description file to the terminal through the vibration controller, or send a recorded vibration waveform file and other vibration times to the terminal.
  • a new vibration description file to the terminal through the vibration controller, or send a recorded vibration waveform file and other vibration times to the terminal.
  • the target application interacts with the underlying hardware through the system vibration interface to realize the specific process of vibration control of the vibration components in the terminal:
  • the target application can detect whether the target service scene includes the target vibration object that needs to vibrate; if it does, determine that the target service scene is a vibration scene; if not, determine that the target service scene is not a vibration scene.
  • the target application can send the target vibration waveform file associated with the target vibration object to the underlying hardware of the terminal through the system vibration interface; and generate a heartbeat signal and send the generated The heartbeat signal is sent to the underlying hardware.
  • the underlying hardware of the terminal can drive the vibration component to vibrate according to the target vibration waveform file in the target business scenario.
  • the underlying hardware can control the vibration component to suspend the vibration, and the target application can record the currently used target vibration through the vibration controller Wave file and current vibration time.
  • the target application can notify the vibration controller to determine the time for restoring the vibration.
  • the time for restoring the vibration can be equal to, earlier than, or later than the current time of vibration.
  • the vibration controller can generate a vibration recovery notification based on the recovery vibration time and the recorded target vibration waveform file, and send the vibration recovery notification to the underlying hardware of the terminal, so that the underlying hardware drives according to the recorded target vibration waveform file and recovery vibration time
  • the vibrating component vibrates to achieve vibration recovery of the vibrating component.
  • the embodiment of this application adopts a standardized interface method, so that the interface layer can support the application layer and the system hardware layer in a unified manner.
  • the innovative design of the application layer does not need to worry about the impact of experience differences caused by mismatching with the underlying hardware layer. It can enrich the development functions of the application layer.
  • the application layer can flexibly control the vibration suspension and recovery of the vibration component; and, when the target application is abnormally exited, the system vibration can also automatically exit, which can effectively improve the fit between the vibration effect of the vibration component and the target application, and improve user experience.
  • the target application and the terminal realize vibration control through interaction as an example; however, in practical applications, the terminal itself can also perform various steps to realize the vibration of the vibration component.
  • Control that is, operations such as recording the target waveform vibration file and the current vibration time performed by the target application, can be performed by the terminal.
  • the embodiment of the present application also proposes a schematic flowchart of the vibration control method shown in FIG. 6; referring to FIG. 6, the vibration control method can be executed by the terminal, and can specifically include the following steps S601-S604:
  • the target vibration waveform file includes a plurality of vibration attribute values corresponding to the vibration time
  • the current vibration time refers to the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file when there is a vibration pause event.
  • the vibration pause event mentioned in step S602 may be: an event of detection of a vibration pause operation on the target vibration object, or detection of an event of abnormal exit of the target application, and so on.
  • the terminal can obtain the new business scenario
  • the associated new vibration description file drives the vibration component to vibrate according to each vibration waveform file in the new vibration description file.
  • the terminal when the target service scene of the target application includes a target vibration object that needs to vibrate, the terminal can drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target service scene.
  • the terminal can be triggered to control the vibration component to suspend the vibration; and when the target application needs to resume the vibration of the vibration component, the terminal will continue to drive the vibration component to vibrate, so as to achieve target-based Play or pause the application, change the state of the vibration component in real time, seamlessly switch, achieve the purpose of flexibly controlling the suspension and recovery of the vibration component, and improve the fit between the vibration effect and the target application.
  • the target vibration waveform file and the current vibration time can also be recorded, so that when the vibration of the vibration component needs to be resumed, if the target application still presents the target business scene, it can be based on the recorded current vibration time Generate the recovery vibration time; thus, according to the recovery vibration time and the target vibration waveform file, the driving vibration component continues to vibrate.
  • the continuity of vibration pause and continuous playback can be realized to a certain extent, and user experience can be further improved.
  • the embodiment of the present application also discloses a vibration control device
  • the vibration control device may be a computer program running on a computer device to realize the function of the target application (including program code).
  • the vibration control device can execute the method shown in Figure 2, please refer to Figure 7, the vibration control device can run the following units:
  • the control unit 701 is configured to notify the terminal to drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target service scenario when the target application includes a target vibration object that needs to vibrate ;
  • the recording unit 702 is used to record the target vibration waveform file and the current vibration time when there is a vibration suspension event about the vibration component from the target application;
  • the target vibration waveform file includes a plurality of vibration attribute values, and the current vibration time refers to: When there is a vibration pause event, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file;
  • the processing unit 703 is configured to generate a restoration vibration time based on the current vibration time if the business scenario of the target application is the target business scenario when the vibration of the vibration component needs to be restored;
  • the control unit 701 is further configured to generate a vibration recovery notification according to the vibration recovery time and the recorded target vibration waveform file, and send the vibration recovery notification to the terminal, so that the terminal drives the vibration component to continue vibrating according to the vibration recovery notification.
  • processing unit 703 when the processing unit 703 is used to generate the vibration recovery notification according to the recovery vibration time and the recorded target vibration waveform file, it can be specifically used for:
  • processing unit 703 when used to generate the vibration recovery notification according to the vibration recovery time and the recorded target vibration waveform file, it can be specifically used for:
  • the processing unit 703 when used to generate the recovery vibration time based on the current vibration time, it may be specifically used for:
  • a vibration time earlier than the current vibration time is determined as the recovery vibration time
  • a vibration time later than the current vibration time is determined as the recovery vibration time.
  • processing unit 703 may also be used to:
  • a heartbeat signal is generated according to the target frequency
  • the generated heartbeat signal is sent to the terminal, so that the terminal maintains the vibration of the vibrating component based on the heartbeat signal.
  • the vibration pause event includes at least one of the following:
  • the target application sends an event of vibration suspension notification to the terminal in response to the vibration suspension operation for the target object; and an event of heartbeat signal loss.
  • control unit 701 can also be used for:
  • the new vibration description file includes: the vibration waveform files associated with each vibration object in the new business scenario;
  • the new vibration description file is sent to the terminal, so that the terminal drives the vibration component to vibrate according to each vibration waveform file in the new vibration description file.
  • the various units in the vibration control device shown in Fig. 7 can be respectively or all combined into one or several other units to form, or some (some) units can be disassembled again. Divided into a plurality of functionally smaller units, this can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit may also be realized by multiple units, or the functions of multiple units may be realized by one unit. In other embodiments of the present application, the vibration-based control device may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented cooperatively by multiple units.
  • a computer device including a processing element such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and a storage element
  • CPU central processing unit
  • RAM random access storage medium
  • ROM read-only storage medium
  • the computer program (comprising program code) of each step involved in the corresponding method shown in Figure 2 is used to construct the vibration control device equipment as shown in Figure 7, and to realize the vibration control device shown in Figure 2 in the embodiment of the present application. Vibration Control Methods.
  • the computer program can be recorded in, for example, a computer-readable recording medium, loaded into the above-mentioned computer device via the computer-readable recording medium, and executed therein.
  • the terminal when the target business scene presented by the target application includes a target vibration object that needs to vibrate, the terminal can drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scene.
  • the terminal can be triggered to control the vibration component to suspend the vibration; and when the target application needs to resume the vibration of the vibration component, the terminal will continue to drive the vibration component to vibrate, so as to achieve target-based Play or pause the application, change the state of the vibration component in real time, seamlessly switch, achieve the purpose of flexibly controlling the suspension and recovery of the vibration component, and improve the fit between the vibration effect and the target application.
  • the target vibration waveform file and the current vibration time can also be recorded, so that when the vibration of the vibration component needs to be resumed, if the target application still presents the target business scene, it can be based on the recorded current vibration time Generate the recovery vibration time; thus, according to the recovery vibration time and the target vibration waveform file, the driving vibration component continues to vibrate.
  • the continuity of vibration pause and continuous playback can be realized to a certain extent, and user experience can be further improved.
  • the vibration control device may be a computer program (including program code) running in a terminal.
  • the vibration control device can execute the method shown in Figure 8, please refer to Figure 8, the vibration control device can run the following units:
  • the driving unit 801 is configured to drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scenario when the target business scene presented by the target application includes a target vibration object to be vibrated;
  • the drive unit 801 is used to control the vibration component to suspend vibration when there is a vibration suspension event about the vibration component from the target application;
  • the target vibration waveform file includes a plurality of vibration attribute values.
  • the target vibration waveform file The vibration time corresponding to the vibration attribute value adopted in is the current vibration time, and the current vibration time and the target vibration waveform file are recorded by the target application;
  • the receiving unit 802 is configured to receive the vibration recovery notification sent by the target application.
  • the vibration recovery notification is generated according to the vibration recovery time and the recorded target vibration waveform file;
  • the vibration recovery time is when the target application determines that the vibration of the vibration component needs to be recovered, and the target When the business scenario of the application is the target business scenario, it is generated based on the current vibration time;
  • the driving unit 801 is further configured to determine the resuming vibration time and the target vibration waveform file according to the vibration resuming notification, and drive the vibrating component to continue vibrating according to the determined resuming vibration time and the target vibration waveform file.
  • the vibration recovery notification includes: the relative time offset between the vibration recovery time and the current vibration time; when the drive unit 801 is used to determine the vibration recovery time according to the vibration recovery notification, it can be specifically used for:
  • the recovery vibration time is calculated.
  • the driving unit 801 can also be used for: maintaining the vibration of the vibrating component based on each received heartbeat signal after each heartbeat signal is received.
  • the drive unit 801 can also be used for:
  • a vibration suspension notification sent by the target application it is determined that there is a vibration suspension event related to the vibration component originating from the target application.
  • the drive unit 801 can also be used for:
  • the new vibration description file is when the target application determines that the vibration of the vibration component needs to be restored.
  • the business scenario presented by the target application is a new business scenario, and the new business scenario includes one or more Obtained when the vibration object needs to vibrate; the new vibration description file includes: the vibration waveform file of each vibration object in the new business scene;
  • the various units in the vibration control device shown in Fig. 8 can be respectively or all combined into one or several other units to form, or some (some) units can be disassembled again. Divided into a plurality of functionally smaller units, this can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit may also be realized by multiple units, or the functions of multiple units may be realized by one unit. In other embodiments of the present application, the vibration-based control device may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented cooperatively by multiple units.
  • a computer device including a processing element such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and a storage element
  • CPU central processing unit
  • RAM random access storage medium
  • ROM read-only storage medium
  • the computer program (including the program code) of each step involved in the corresponding method shown in Figure 4 is used to construct the vibration control device equipment as shown in Figure 8, and to realize the vibration control device shown in Figure 4 in the embodiment of the present application. Vibration Control Methods.
  • the computer program can be recorded in, for example, a computer-readable recording medium, loaded into the above-mentioned computer device via the computer-readable recording medium, and executed therein.
  • the terminal when the target business scene presented by the target application includes a target vibration object that needs to vibrate, the terminal can drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scene.
  • the terminal can be triggered to control the vibration component to suspend the vibration; and when the target application needs to resume the vibration of the vibration component, the terminal will continue to drive the vibration component to vibrate, so as to realize the vibration based on Play or pause the target application, change the state of the vibration component in real time, seamlessly switch, achieve the purpose of flexibly controlling the suspension and recovery of the vibration component, and improve the fit between the vibration effect and the target application.
  • the target vibration waveform file and the current vibration time can also be recorded, so that when the vibration of the vibration component needs to be resumed, if the target application still presents the target business scene, it can be based on the recorded current vibration time Generate the recovery vibration time; thus, according to the recovery vibration time and the target vibration waveform file, the driving vibration component continues to vibrate.
  • the continuity of vibration pause and continuous playback can be realized to a certain extent, and user experience can be further improved.
  • the vibration control device may be a computer program (including program code) running in a terminal.
  • the vibration control device can execute the method shown in Figure 9, please refer to Figure 9, the vibration control device can run the following units:
  • the driving unit 901 is configured to drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scenario when the target business scene presented by the target application includes a target vibration object to be vibrated;
  • the recording unit 902 is used to record the target vibration waveform file and the current vibration time when there is a vibration suspension event about the vibration component originating from the target application;
  • the target vibration waveform file includes multiple vibration attribute values, and the current vibration time refers to: When there is a vibration pause event, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file;
  • the processing unit 903 is configured to generate a recovery vibration time based on the current vibration time if the business scenario presented by the target application is the target business scenario when the vibration of the vibration component needs to be restored;
  • the driving unit 901 is further configured to drive the vibration component to continue to vibrate according to the recovery time of vibration and the recorded target vibration waveform file.
  • the various units in the vibration control device shown in Fig. 9 can be respectively or all combined into one or several other units to form, or some (some) units can be disassembled again. Divided into a plurality of functionally smaller units, this can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit may also be realized by multiple units, or the functions of multiple units may be realized by one unit. In other embodiments of the present application, the vibration-based control device may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented cooperatively by multiple units.
  • a computer device including a processing element such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and a storage element
  • CPU central processing unit
  • RAM random access storage medium
  • ROM read-only storage medium
  • the computer-readable instructions (including program codes) of the steps involved in the corresponding method shown in FIG. 6 are used to construct the vibration control device as shown in FIG.
  • the computer-readable instructions may be recorded, for example, on a computer-readable storage medium, loaded into the above-mentioned computer device through the computer-readable storage medium, and run there.
  • the terminal when the target business scene presented by the target application includes a target vibration object that needs to vibrate, the terminal can drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scene.
  • the terminal can be triggered to control the vibration component to suspend the vibration; and when the target application needs to resume the vibration of the vibration component, the terminal will continue to drive the vibration component to vibrate, so as to achieve target-based Play or pause the application, change the state of the vibration component in real time, seamlessly switch, achieve the purpose of flexibly controlling the suspension and recovery of the vibration component, and improve the fit between the vibration effect and the target application.
  • the target vibration waveform file and the current vibration time can also be recorded, so that when the vibration of the vibration component needs to be resumed, if the target application still presents the target business scene, it can be based on the recorded current vibration time Generate the recovery vibration time; thus, according to the recovery vibration time and the target vibration waveform file, the driving vibration component continues to vibrate.
  • the continuity of vibration pause and continuous playback can be realized to a certain extent, and user experience can be further improved.
  • this embodiment of the present application also provides a computer device.
  • the computer device mentioned here may be the aforementioned terminal; optionally, when the aforementioned When the target application is a cloud application, the computer device may also be a cloud server running the target application.
  • the computer device at least includes a processor 1001, an input interface 1002, an output interface 1003, and a non-volatile computer-readable storage medium 1004; and the processor 1001, the input interface 1002, and the output interface in the computer device 1003 and the non-volatile computer-readable storage medium 1004 can be connected through a bus or other means.
  • the non-volatile computer-readable storage medium 1004 can be stored in the memory of the computer device, and the non-volatile computer-readable storage medium 1004 is used for storing computer-readable instructions, and the processor 1001 (or called CPU (Central Processing Unit, central processing unit)) is the computing core and control core of computer equipment, which is suitable for implementing one or more computer-readable instructions, and is specifically suitable for loading and executing one or more computer-readable instructions to realize the corresponding method flow or the corresponding function.
  • CPU Central Processing Unit, central processing unit
  • the processor 1001 described in the embodiment of the present application can be used to perform a series of vibration control processes, specifically including: in the target business scene presented by the target application When the target vibration object to be vibrated is included, the terminal is notified to drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object in the target business scenario; when there is a vibration from the target application When about the vibration suspension event of the vibration component, record the target vibration waveform file and the current vibration time; the target vibration waveform file includes a plurality of vibration attribute values, and the current vibration time refers to: when there is the vibration suspension event, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file; when the vibration of the vibration component needs to be restored, if the business scene presented by the target application is the target business scene, then Based on the current vibration time, generate a recovery vibration time; generate a vibration recovery notification according to the recovery vibration time and the recorded target vibration waveform file,
  • the processor 1001 described in the embodiment of the present application can be used to perform a series of vibration control processing, specifically including: including the target that needs to be vibrated in the target business scene presented by the target application When vibrating the object, in the target business scenario, drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object; when there is a vibration suspension event about the vibration component originating from the target application When the vibration component is controlled to suspend vibration; the target vibration waveform file includes a plurality of vibration attribute values, and when the vibration pause event exists, the vibration time corresponding to the vibration attribute value adopted in the target vibration waveform file is the current vibration time, the current vibration time and the target vibration waveform file are recorded by the target application; receive the vibration recovery notification sent by the target application, and the vibration recovery notification is based on the recovery vibration time and the recorded target vibration The waveform file is generated; the restoration vibration time is generated based on the current vibration time when the target application determines that the vibration of the vibration component
  • the processor 1001 described in the embodiment of the present application can be used to perform a series of vibration control processing, specifically including: including the target that needs to be vibrated in the target business scene presented by the target application
  • the vibration component in the terminal When vibrating the object, in the target business scenario, drive the vibration component in the terminal to vibrate according to the target vibration waveform file associated with the target vibration object; when there is a vibration suspension about the vibration component originating from the target application
  • the target vibration waveform file includes a plurality of vibration attribute values
  • the current vibration time refers to: when there is the vibration pause event, the target vibration waveform The vibration time corresponding to the vibration attribute value adopted in the file; when the vibration of the vibration component needs to be restored, if the business scenario presented by the target application is the target business scenario, based on the current vibration time, generate Restoring the vibration time; according to the restoring vibration time and the target vibration waveform file, driving the vibrating component to continue vibrating,
  • the embodiment of the present application also provides a non-volatile computer-readable storage medium (Memory).
  • the storage medium is a memory device in a computer device and is used to store programs and data. It can be understood that the storage medium here may include built-in storage media in the computer equipment, and of course may also include extended storage media supported by the computer equipment.
  • the storage medium provides storage space, which stores the operating system of the computer device.
  • one or more computer-readable instructions adapted to be loaded and executed by the processor 1001 are also stored in the storage space, and these instructions may be one or more computer-readable instructions (including program codes).
  • the storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; computer readable storage media.
  • one or more computer-readable instructions stored in the computer-readable storage medium can be loaded and executed by the processor 1001, so as to realize corresponding steps of the method in the above vibration control method embodiment.
  • a computer program product or computer program includes computer-readable instructions, and the computer-readable instructions are stored in a computer-readable storage medium .
  • the processor of the computer device reads the computer-readable instructions from the computer-readable storage medium, and the processor executes the computer-readable instructions, so that the computer device executes the embodiments provided in the various optional modes of the above-mentioned vibration control method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

L'invention concerne un procédé de contrôle de vibration, consistant : lorsqu'un scénario de service cible d'une application cible comprend un objet de vibration cible à faire vibrer, à notifier à un terminal de commander, dans le scénario de service cible, selon un fichier de forme d'onde de vibration cible de l'objet de vibration cible, à un ensemble de vibration de vibrer (S201); lorsqu'un événement de pause de vibration dérivé de l'application cible et concernant l'ensemble de vibration existe, à enregistrer le fichier de forme d'onde de vibration cible et la période de temps de vibration actuelle (S202); lorsque la vibration de l'ensemble de vibration doit être rétablie et si un scénario de service de l'application cible est le scénario de service cible, à générer une période de temps de rétablissement de vibration sur la base de la période de temps de vibration actuelle (S203); et à générer une notification de rétablissement de vibration sur la base de la période de temps de rétablissement de vibration et du fichier de forme d'onde de vibration cible enregistré (S204), et à émettre la notification de rétablissement de vibration au terminal, de sorte que le terminal commande, en fonction de la notification de rétablissement de vibration, à l'ensemble de vibration de continuer à vibrer.
PCT/CN2022/106179 2021-07-27 2022-07-18 Procédé et appareil de contrôle de vibration, dispositif, et support de stockage WO2023005703A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110854628.8 2021-07-27
CN202110854628.8A CN115671712B (zh) 2021-07-27 2021-07-27 振动控制方法、装置、设备及存储介质

Publications (2)

Publication Number Publication Date
WO2023005703A1 WO2023005703A1 (fr) 2023-02-02
WO2023005703A9 true WO2023005703A9 (fr) 2023-03-02

Family

ID=85059328

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106179 WO2023005703A1 (fr) 2021-07-27 2022-07-18 Procédé et appareil de contrôle de vibration, dispositif, et support de stockage

Country Status (2)

Country Link
CN (1) CN115671712B (fr)
WO (1) WO2023005703A1 (fr)

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015028766A (ja) * 2013-06-24 2015-02-12 パナソニックIpマネジメント株式会社 触感呈示装置および触感呈示方法
CN105812567A (zh) * 2016-03-29 2016-07-27 努比亚技术有限公司 移动终端控制装置及方法
CN106598438A (zh) * 2016-12-22 2017-04-26 腾讯科技(深圳)有限公司 一种基于移动终端的场景切换方法及移动终端
CN106657814B (zh) * 2017-01-17 2018-12-04 维沃移动通信有限公司 一种视频录制方法及移动终端
CN107580247B (zh) * 2017-08-30 2021-07-09 瑞声科技(新加坡)有限公司 震动播放方法及装置、电子设备
WO2019220495A1 (fr) * 2018-05-14 2019-11-21 株式会社ソニー・インタラクティブエンタテインメント Dispositif de traitement d'informations
CN109062535B (zh) * 2018-07-23 2021-07-13 Oppo广东移动通信有限公司 发声控制方法、装置、电子装置及计算机可读介质
CN109887528A (zh) * 2019-02-15 2019-06-14 上海艾为电子技术股份有限公司 马达随音频振动的方法及装置、存储介质及电子设备
IT201900014475A1 (it) * 2019-08-09 2021-02-09 Tor Mec Ambrosi S R L Sistema di controllo e metodo per gestire macchine per cucire
CN110568926B (zh) * 2019-08-26 2021-07-30 维沃移动通信有限公司 一种声音信号处理方法及终端设备
CN110597393B (zh) * 2019-09-18 2023-05-05 Oppo(重庆)智能科技有限公司 一种马达振动控制方法、装置及计算机可读存储介质
CN111084983B (zh) * 2019-11-25 2021-12-14 腾讯科技(深圳)有限公司 一种云游戏服务方法、装置、设备及存储介质
CN111249722A (zh) * 2020-01-17 2020-06-09 网易(杭州)网络有限公司 终端设备的控制方法及装置、存储介质、电子设备
CN111552377B (zh) * 2020-03-30 2024-05-17 瑞声科技(新加坡)有限公司 振动信号的生成方法、装置、设备及存储介质
CN111312281B (zh) * 2020-05-09 2020-09-08 北京小米移动软件有限公司 一种触感振动实现方法
CN112269895A (zh) * 2020-11-06 2021-01-26 Oppo广东移动通信有限公司 一种振动控制方法、装置及计算机可读存储介质
CN113018851B (zh) * 2021-05-28 2021-08-06 腾讯科技(深圳)有限公司 游戏处理方法、装置、计算机设备及存储介质
CN114618153A (zh) * 2022-03-15 2022-06-14 网易(杭州)网络有限公司 游戏中振动反馈的方法、装置以及电子设备

Also Published As

Publication number Publication date
WO2023005703A1 (fr) 2023-02-02
CN115671712B (zh) 2023-09-22
CN115671712A (zh) 2023-02-03

Similar Documents

Publication Publication Date Title
US11231841B2 (en) Continuation of playback of media content by different output devices
JP6314217B2 (ja) 様々なビデオ再生シナリオに対する適応表示レートの遷移管理
US9454282B2 (en) Sending application input commands over a network
US9942556B2 (en) Altering streaming video encoding based on user attention
US11065540B2 (en) Game execution device and game program
US9031375B2 (en) Video frame still image sequences
AU2019233201A1 (en) Resource configuration method and apparatus, terminal, and storage medium
JP2017510862A (ja) 描画システム、制御方法、及び記憶媒体
CN101502111A (zh) 同步化媒体体验
US11938406B2 (en) Dynamic allocation of compute resources for highlight generation in cloud gaming systems
WO2019052395A1 (fr) Procédé de présentation de données multimédias, support d'informations et dispositif informatique
US20180270517A1 (en) Decoupled Playback of Media Content Streams
US11366586B2 (en) Streaming application environment with recovery of lost or delayed input events
CN114042310A (zh) 游戏操作数据收集方法、装置、计算机设备及存储介质
WO2023005703A9 (fr) Procédé et appareil de contrôle de vibration, dispositif, et support de stockage
CN115671711B (zh) 基于云游戏的设备控制方法、装置、电子设备和可读介质
CN115364477A (zh) 云游戏控制方法、装置、电子设备及存储介质
US20220040571A1 (en) Systems and methods of transferring state data for applications
CN115576611B (zh) 业务处理方法、装置、计算机设备及存储介质
WO2018121542A1 (fr) Procédé et appareil d'exploitation d'un objet de service et dispositif électronique
US9954718B1 (en) Remote execution of applications over a dispersed network
US20240100440A1 (en) AI Player Model Gameplay Training and Highlight Review
US20240042313A1 (en) Multi-user cross-device synchronization of metaverse instantiation
CN116366915A (zh) 直播特效处理方法、装置、存储介质及计算机设备
CN117714777A (zh) 信号处理方法、装置、显示设备及计算机存储介质

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: 22848308

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE