WO2022057677A1 - 振动控制方法、装置、电子设备和计算机可读存储介质 - Google Patents

振动控制方法、装置、电子设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2022057677A1
WO2022057677A1 PCT/CN2021/116837 CN2021116837W WO2022057677A1 WO 2022057677 A1 WO2022057677 A1 WO 2022057677A1 CN 2021116837 W CN2021116837 W CN 2021116837W WO 2022057677 A1 WO2022057677 A1 WO 2022057677A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
target
information
parameter
interface
Prior art date
Application number
PCT/CN2021/116837
Other languages
English (en)
French (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 腾讯科技(深圳)有限公司
Priority to EP21868502.2A priority Critical patent/EP4119207A4/en
Publication of WO2022057677A1 publication Critical patent/WO2022057677A1/zh

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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user

Definitions

  • the present application relates to the field of computer and Internet technologies, and in particular, to a vibration control method, apparatus, electronic device, and computer-readable storage medium.
  • a vibration control method, apparatus, electronic device, and computer-readable storage medium are provided.
  • An embodiment of the present application proposes a vibration control method, which is executed by an electronic device.
  • the method includes: acquiring vibration support information of a target device; acquiring target vibration description information, where the target vibration description information is used to describe vibration special effects in a target scene; Perform conversion processing on the target vibration description information according to the vibration support information to obtain target vibration execution information; and transmit the target vibration execution information to the target device, so that the target device executes the target vibration according to the target vibration information. Vibrate.
  • An embodiment of the present application provides a vibration control device, the vibration control device includes: a vibration support information acquisition module, a vibration description information acquisition module, a vibration execution information acquisition module, and a vibration control module.
  • An embodiment of the present application provides a computer-readable storage medium, which stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, causes the processor to perform the steps of the above-mentioned vibration control method.
  • An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor causes the processor to execute the above vibration control method A step of.
  • the embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the vibration control method described above.
  • target vibration execution information adapted to the target device is obtained by processing the target vibration description information through the vibration support information of the target device, and then The target vibration interface of the target device is called according to the target vibration execution information, so that the target device vibrates to realize the vibration effect.
  • the target vibration description information can be processed according to the vibration support information of different devices to obtain vibration execution information adapted to the vibration interface of the device, so that different devices can realize the same vibration effect.
  • Fig. 3 is a flow chart of a vibration control method according to an exemplary embodiment.
  • Fig. 4 is a schematic diagram showing a vibration effect according to an exemplary embodiment.
  • Fig. 9 is a schematic diagram showing a target direction determination according to an exemplary embodiment.
  • Fig. 10 is a vibration control frame diagram according to an exemplary embodiment.
  • Fig. 11 is a schematic diagram of vibration control according to an exemplary embodiment.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments can be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
  • the same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.
  • FIG. 1 shows a schematic diagram of an exemplary system architecture of a vibration control method or a vibration control apparatus that can be applied to the embodiments of the present application.
  • the server 105 may, for example, obtain vibration support information of the target device; the server 105 may, for example, obtain target vibration description information, which is used to describe the vibration special effects in the target scene; the server 105 may, for example, based on the vibration support information The target vibration description information is converted and processed to obtain the target vibration execution information. The server 105 may, for example, transmit the target vibration execution information to the target device, so that the target device vibrates according to the target vibration execution information.
  • the numbers of terminal devices, networks and servers in FIG. 1 are only illustrative, and the server 105 may be an entity server, or may be composed of multiple servers, and may have any number of terminal devices, network and server.
  • computer system 200 includes a central processing unit (CPU) 201 that can be loaded into random access memory (RAM) 203 according to computer readable instructions stored in read only memory (ROM) 202 or from storage section 208 Various suitable actions and processes are performed by computer readable instructions in the . Also stored in RAM 203 are various computer-readable instructions and data required for the operation of system 200.
  • the CPU 201, the ROM 202, and the RAM 203 are connected to each other through a bus 204.
  • An input/output (I/O) interface 205 is also connected to the bus 204 .
  • the following components are connected to the I/O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section including a hard disk, etc. 208; and a communication section 209 including a network interface card such as a LAN card, a modem, and the like.
  • the communication section 209 performs communication processing via a network such as the Internet.
  • a drive 210 is also connected to the I/O interface 205 as needed. Removable media 211, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are mounted on drive 210 as needed so that computer-readable instructions read therefrom are mounted into storage section 208 as needed.
  • a computer-readable storage medium can be any tangible medium that contains or stores computer-readable instructions that can be used by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable computer-readable instruction code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable storage medium other than a computer-readable storage medium that can be sent, propagated, or transmitted for use by or in connection with the instruction execution system, apparatus, or device computer-readable instructions.
  • Computer readable instruction code embodied on a computer readable storage medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • modules and/or units and/or units involved in the embodiments of the present application may be implemented in software or hardware.
  • the described modules and/or units and/or units may also be provided in a processor, for example, it may be described as: a processor includes a sending unit, an obtaining unit, a determining unit and a first processing unit. Wherein, the names of these modules and/or units and/or units do not constitute limitations on the modules and/or units and/or units themselves under certain circumstances.
  • the vibration interface of different devices may be different (the interface name and interface parameters may be different), and different devices may also support different vibration effects (some only support the adjustment of vibration intensity, Some can support the adjustment of complex vibration effects such as vibration intensity, vibration frequency, and vibration decay time).
  • the present application provides a vibration method that can control the vibration of a target device according to target vibration description information describing a lower vibration special effect of a target scene, so that different devices can achieve the same target vibration effect.
  • Fig. 3 is a flow chart of a vibration control method according to an exemplary embodiment.
  • the methods provided in the embodiments of the present application may be processed by any electronic device with computing processing capabilities, such as the server 105 and/or the terminal devices 102 and 103 in the above-mentioned embodiment of FIG. 1 .
  • the terminal device 101 , 102 is an example of the execution body for illustration, but the present application is not limited to this.
  • the vibration control method provided by the embodiment of the present application may include the following steps.
  • step S1 the vibration support information of the target device is acquired.
  • the target device may refer to any device requiring vibration control, such as a mobile phone, a gamepad, a smart helmet, and the like.
  • step S2 target vibration description information is obtained, where the target vibration description information is used to describe the vibration special effect in the target scene.
  • the target vibration description information may be in the form of a string or in the form of text, for example, it may be text such as JOSON (JavaScript Object Notation, a lightweight data format), yml format, and xml format. form,.
  • the vibration special effects in the target scene can be described by specific parameter values (for example, the vibration frequency is XX Hz, and the vibration time is XX seconds), or abstract parameters (for example, the vibration frequency is XX gear, The vibration intensity is XX gear, etc.) to describe the vibration special effects in the target scene.
  • specific parameter values for example, the vibration frequency is XX Hz, and the vibration time is XX seconds
  • abstract parameters for example, the vibration frequency is XX gear, The vibration intensity is XX gear, etc.
  • vibration effect 401 (vibrating at the first frequency) and the vibration effect 402 (vibrating at the second frequency) as shown in FIG. 4 to achieve the vibration effect as shown at 403 .
  • the target vibration description information provided in this embodiment of the present application may be composed of multiple vibration sensing units, and each vibration unit may describe a vibration effect, so that the vibration description information may include more complex and diverse vibration effects.
  • the target vibration description information may include a vibration sensing unit that can describe a continuous vibration effect, a vibration sensing unit that can describe a short-term vibration effect, and a vibration sensing unit that can describe a rapid vibration first and then a slow vibration.
  • the he file contains two parts:
  • the Metadata field part includes basic information such as the version of the vibration effect, the creation time, and the description of the vibration effect;
  • the specific vibration effect is described by the Pattern field, and the content of the Pattern field is one or more Event arrays.
  • Each Event describes a vibration unit (each vibration unit can be used to describe a vibration effect).
  • the Event vibration sensing unit can include the following:
  • EventType describes the type of vibration effect.
  • EventTime relative start time, a floating point number in seconds.
  • the Parameters field includes vibration intensity, vibration frequency, time required to achieve full vibration, decay time, etc.
  • Curve is used to describe the dynamic vibration effect curve, which is used to realize the smooth transition of the dynamic change effect.
  • the vibration effect parameters are abstract from 0 to 1, 0 is the minimum value supported by the platform, and 1 is the maximum value supported by the platform.
  • the vibration description information provided by this embodiment can, on the one hand, describe the vibration special effects of the target application (for example, the target game) in the target scene in a more abstract manner, so as to ensure that each device can realize the vibration special effects described in the vibration description information;
  • the vibration sensing units in the vibration description information can be reused, which greatly saves development resources.
  • step S3 the target vibration description information is converted according to the vibration support information to obtain target vibration execution information.
  • the target vibration description information may be converted according to the vibration support information of the target device to obtain the target vibration execution information.
  • the target device when the target device receives vibration parameters through the vibration parameter interface to control the vibration of the target device, it is necessary to convert the vibration description parameters in the target vibration description information into vibration parameters adapted to the vibration parameter interface through a preset conversion protocol;
  • the target vibration description information can be directly transmitted to the vibration description information interface;
  • the target vibration description information can be parsed into each vibration sensor unit, so that each vibration unit can be respectively transmitted to the vibration sensor unit interface in the target device.
  • step S4 the target vibration execution information is transmitted to the target device, so that the target device vibrates according to the target vibration execution information.
  • the target vibration execution information adapted to the target device is obtained by processing the target vibration description information by the vibration support information of the target device, and then the target vibration interface of the target device is called according to the target vibration execution information, Make the target device vibrate to achieve the target vibration effect.
  • the target vibration description information can be processed according to the vibration support information of different devices to obtain vibration execution information adapted to the vibration interface of the device, so that different devices can achieve the same vibration effect, thereby Resolved an issue where devices were not compatible with vibration effects.
  • FIG. 5 is a flowchart of steps S3 and S4 in FIG. 3 in an exemplary embodiment.
  • the target vibration description information may describe the target vibration effect through a vibration description parameter
  • the vibration description parameter may refer to a specific parameter describing the vibration (for example, the vibration frequency is XX Hz), or it may refer to It is an abstract parameter that describes the vibration (for example, the vibration frequency is XX gear).
  • the vibration description parameters in the target vibration description information include: vibration duration, vibration intensity, vibration frequency, vibration acceleration, vibration enhancement time (during the vibration enhancement time, the target device is accelerated at a certain vibration acceleration) and At least one of the vibration decay time (during which the target device decelerates with a certain vibration acceleration).
  • the input parameters of the vibration parameter interface may be some specific parameter values (for example, the vibration frequency is XX Hz, the vibration time is XX seconds, etc.).
  • the target vibration performance information may refer to a vibration parameter that can be adapted to a vibration parameter interface of the target device.
  • step S3 in FIG. 3 may include the following steps.
  • step S311 when the vibration support information is a vibration parameter supported by the target device through the vibration parameter interface, a target provider that provides the vibration parameter interface is determined.
  • the vibration parameter interface in the target device may be provided by the device provider of the target device (for example, Apple mobile phone IOS 13.0 or later models), or may be provided by the motor provider of the motor in the target device (the motor provides The supplier can design and provide the vibration parameter interface for the target device).
  • the device provider of the target device for example, Apple mobile phone IOS 13.0 or later models
  • the motor provider of the motor in the target device the motor provides The supplier can design and provide the vibration parameter interface for the target device.
  • different vibration parameter interfaces may support different types of vibration parameters.
  • some vibration parameter interfaces may support string-type vibration parameters, and some vibration parameter interfaces may support file-type vibration parameters.
  • some vibration parameter interfaces may support vibration parameters of yml file type, and some vibration parameter interfaces may support vibration parameter types of JOSON file type.
  • vibration parameter interfaces may have different definitions of vibration intensity and vibration frequency from the definitions in the target vibration description information.
  • some conversion protocols may be stored in advance to convert the vibration description parameters in the target vibration description information into vibration parameters supported by the vibration parameter interface.
  • the file format of the target vibration description information needs to be converted into a file format supported by the vibration parameter interface of the target device.
  • the conversion protocol between the file type of the target vibration description information and the file type supported by the vibration parameter interface may be stored in advance, and the conversion protocol between the vibration description parameters in the target vibration description information and the vibration parameters, etc. .
  • the conversion protocol can convert the target vibration description information in JOSON format into a yml file supported by the vibration parameter interface, and convert the vibration description parameters in the target vibration description information to the vibration parameters supported by the vibration parameter interface (for example, if the vibration parameter The vibration frequency in the interface is the same as the vibration effect described by the vibration frequency of 12 Hz in the target vibration description information. Then, the vibration description parameters in the target vibration description information: the vibration frequency is set to 2, and the vibration parameters are converted into vibration parameters.
  • the vibration frequency is 12 Hz; for example, if the vibration frequency in the vibration parameter interface is 12 Hz and the vibration effect described in the target vibration description information is the same as the vibration frequency of 13 Hz, then you need to set the target vibration description information: vibration Frequency 13 Hz, converted to vibration parameters: vibration frequency 12 Hz).
  • the above-described conversion protocol can be associated with a target provider of the vibration parameter interface to determine the target conversion protocol with knowledge of the target provider.
  • step S312 a target conversion protocol is determined according to the target provider.
  • the target conversion protocol can be determined.
  • the vibration interface is also provided by the equipment provider, the final vibration parameter interface may be different due to different equipment providers, different service systems, different equipment models, etc. Therefore, different conversion protocols need to be set for different equipment providers, different equipment models, and different service systems.
  • the target conversion protocol may include a first conversion protocol and a second conversion protocol, wherein the first conversion protocol is a conversion protocol set for a vibration parameter interface provided by a device provider, and the second conversion protocol is a conversion protocol provided by the motor The conversion protocol for the vibration parameter interface settings provided by the provider.
  • the target conversion protocol may be determined by the following steps:
  • the target conversion protocol may be determined by the following steps: determining a second conversion protocol according to the motor provider information, so as to convert the vibration description parameter into the second conversion protocol according to the second conversion protocol the vibration parameter.
  • step S313 the vibration description parameters are converted into the vibration parameters according to the target conversion protocol.
  • the file format of the target vibration description information can be converted into a file format supported by the vibration parameter interface of the target device through the target conversion protocol, and the system description parameters in the target vibration description information can be converted into the vibration parameter interface. Supported vibration parameters.
  • step S4 in FIG. 3 may include the following steps.
  • step S411 the vibration parameter is transmitted to the vibration parameter interface of the target device, so that the target device vibrates according to the vibration parameter.
  • the target vibration parameter interface of the target device may not support all vibration parameters converted from vibration description parameters, for example, the IOS 10 system may not support more complex vibration parameters (the system may only support vibration intensity , while parameters such as vibration decay time are not supported).
  • the vibration can be simulated by the following steps.
  • the vibration parameters include a first vibration parameter and a second vibration parameter, wherein the first vibration parameter is adapted to the vibration parameter interface, and the second vibration parameter is not adapted to the vibration parameter interface, then the vibration can be simulated by the following steps.
  • the vibration description parameters are converted through the target conversion protocol to obtain the first vibration parameters; the first vibration parameters are transmitted to the vibration parameter interface of the target device, so that the target device vibrates according to the first vibration parameters to simulate the realization of the target Vibration effect.
  • the target conversion protocol is simply and conveniently determined through the target provider information, and on the other hand, the target vibration description parameters are converted into vibration parameters adapted to the vibration parameter interface through the target conversion protocol, and the target is controlled.
  • the device vibrates to achieve the target vibration effect.
  • FIG. 6 is a flowchart of steps S3 and S4 in FIG. 3 in an exemplary embodiment.
  • the target vibration description information may include at least one vibration sensing unit, each of which describes a vibration effect.
  • the target vibration interface of the target device may be a vibration sensing unit interface
  • the vibration sensing unit interface may be an interface provided by a service system or an interface provided by a motor manufacturer.
  • the input parameter of the vibration unit interface may be the vibration sensor unit.
  • step S3 in FIG. 3 may include the following steps.
  • step S321 when the vibration support information is a vibration sensor unit supported by the target device through the vibration sensor unit interface, each vibration sensor unit is parsed from the target vibration description information.
  • step S4 in FIG. 3 may include the following steps.
  • step S421 each vibration-sensing unit obtained through analysis is transmitted to the vibration-sensing unit interface of the target device, so that the target device vibrates according to each vibration-sensing unit obtained through analysis.
  • the input parameter of the vibration sensing unit interface may be the vibration sensing unit
  • the file type supported by the vibration sensing unit interface may be different from the file type between the target vibration description information, so when each vibration sensing unit is transmitted When you interface to the vibration sensor unit, you may need to convert each vibration sensor unit to a file type supported by the vibration sensor unit interface.
  • the technical solution provided by this embodiment parses the target description information into multiple vibration units, and then invokes the vibration sensor unit interface of the target device through the vibration sensor unit, so that the target device vibrates to achieve the target vibration effect.
  • FIG. 7 is a flowchart of steps S3 and S4 in FIG. 3 in an exemplary embodiment.
  • the target vibration interface of the target device may be a vibration description information interface
  • the vibration description information interface may be an interface provided by a service system or an interface provided by a motor manufacturer.
  • the input parameter of the vibration description information interface may be vibration description information
  • the vibration description information may be file type description information or character string type description information.
  • step S3 in FIG. 3 may include the following steps.
  • step S331 the target path and target handle of the target vibration description information are obtained.
  • Step S4 in FIG. 3 may include the following steps.
  • step S432 the target vibration description information, the target path or the target handle are transmitted to the vibration description information interface of the target device, so that the target device vibrates according to the target vibration description information .
  • the target vibration description information can be obtained through the target vibration description information, the target path of the target vibration description information, or the target handle of the target vibration description information.
  • the device vibrates to achieve the target vibration effect.
  • the input parameter of the vibration description information interface may be vibration description information
  • the file type supported by the vibration description information interface may be different from the file type between the target vibration description information, so when the target description text is transmitted to the When using the vibration description information interface, it may be necessary to convert the target vibration description information to a file type supported by the vibration description information interface.
  • the vibration description information is character string type description information
  • the vibration support information is the character string vibration description information supported by the target device through the vibration description information interface
  • the string type target vibration description information may be transmitted The interface to the vibration description information of the target device, so that the target device can realize the target vibration effect according to the character string type target vibration description information.
  • the technical solution provided by this embodiment invokes the vibration sensing unit interface of the target device through the target vibration description information, so that the target device realizes the target vibration effect.
  • FIG. 8 is a flowchart of step S4 in FIG. 3 in an exemplary embodiment.
  • the target device may include at least two motors, and the vibration description information will also include corresponding description information describing the at least two motors, so the vibration support information will also include support information of the at least two motors.
  • the vibration support information will also include support information of the at least two motors.
  • step S4 in FIG. 3 may include the following steps.
  • step S441 the position information of the at least two motors is acquired from the target device.
  • the above-mentioned position information may refer to the coordinate information of the motor in the target space coordinate system, wherein the target space coordinate system may be the space coordinate system as shown in FIG. coordinate system inside.
  • step S442 a first motor and a second motor are determined among the at least two motors according to the position information.
  • a target direction may be first determined in the target space coordinate system, and the target direction may be, for example, along a certain coordinate axis, taking the origin as the starting point and taking the counterclockwise direction as the target direction, and so on.
  • the coordinate origin 1 can be used as the starting point, and the counterclockwise direction can be used as the motor in the target device for labeling, and the first motor and the second motor can be determined in turn...
  • the motor determined by the above method can ensure that the vibration effect is consistent regardless of whether the target device is horizontal or vertical, that is, the vibration with the same effect is performed in the same orientation (for example, the same orientation of the device display screen).
  • step S443 the first motor support information and the second motor support information are transmitted to the target vibration interface of the target device, so as to control the vibration of the first motor through the first motor support information, and through the The second motor support information controls the vibration of the second motor.
  • this embodiment only takes the first motor and the second motor as examples, and the target device may also have a third motor, a fourth motor, etc., and the vibration control methods of the third motor and the fourth motor are similar to this embodiment. .
  • the technical solution provided by this embodiment encodes the at least two motors by using the position information of the at least two motors, so that no matter how the target device changes (horizontal screen or vertical screen), the first motor is relative to the device in the device.
  • the relative position of the screen is unchanged (for example, the first motor is always close to the upper left corner of the screen, and the second motor is always far away from the upper left corner of the screen); on the other hand, the first motor is controlled by the first motor support information, and the The second motor support information controls the second motor, so that no matter how the target device changes, the overall vibration effect of the motor will not change.
  • Fig. 10 is a vibration control frame diagram according to an exemplary embodiment.
  • the above vibration control framework diagram may include vibration description information (Haptic Effects), intermediate conversion layer (TGPA), and vibration runtime (Haptic Runtime) units in the target application.
  • the vibration description information can be composed of multiple vibration units (Haptic Unit).
  • the target application can use the game vibration effects interface (Haptic Effects Interface, HEI) to interact with the vibration description information and the intermediate conversion layer, and the intermediate conversion layer can use the vibration runtime service interface (Haptic Runtime Interface, HEI) HRI) interface realizes information interaction with each device in the vibration runtime unit.
  • Haptic Effects Interface Haptic Effects Interface
  • HRI vibration runtime service interface
  • the game vibration special effect interface may specifically include the following interfaces:
  • Fig. 11 is a schematic diagram of vibration control according to an exemplary embodiment.
  • the vibration control method may include the following steps.
  • the intermediate conversion layer 1102 When the target application 1101 starts up, the intermediate conversion layer 1102 firstly communicates with the target device 1103 through the getVendorSupportStrategy interface, and obtains the vibration support information of the target device 1103; if the target application 1101 needs the vibration service, it will initiate communication to the intermediate conversion layer 1102 through the isHeSupport interface.
  • Vibration service support request to determine whether the current device supports the playback of the vibration effect, and the intermediate conversion layer 1102 will return the vibration support result of the current device; if the target device 1103 supports vibration, the target application 1101 passes hePlay(string) or hePlay(file)
  • the interface transmits the target vibration description information to the intermediate conversion layer 1102; the intermediate conversion layer 1102 processes the target vibration description information according to the vibration support information of the target device 1103 to obtain the target vibration execution information; the intermediate conversion layer 1102 passes the target vibration execution information through hrPlayUnit , hrPlayEffects etc.
  • the target vibration interface of the target device 1103 are transmitted to the target vibration interface of the target device 1103, so that the target device 1103 realizes the target vibration effect according to the target vibration execution information;
  • the target application 1101 obtains the vibration stop parameter (that is, the target stop parameter)
  • the target stop parameter can be passed through heStop is transmitted to the intermediate conversion layer 1102; the intermediate conversion layer 1102 then transmits the target stop parameter to the target device 1103 through the hrStop interface to control the target device 1103 to stop vibrating.
  • the intermediate conversion layer 1102 processes the target vibration description information according to the vibration support information of the target device 1103, and obtaining the target vibration execution information may include the following situations:
  • the vibration support information of the target device 1103 is that the target device 1103 supports vibration parameters through the vibration parameter interface
  • obtain the target provider that provides the vibration parameter interface this vibration parameter interface can be provided by a motor manufacturer, a mobile phone manufacturer or other manufacturers, this The application does not limit the provider of the vibration parameter interface
  • determine the target conversion protocol according to the target provider and then convert the vibration description parameters into vibration parameters according to the target conversion protocol, to transmit the vibration parameters to the vibration parameter interface of the target device 1103, So that the target device 1103 achieves the target vibration effect according to the vibration parameters.
  • each vibration sensor unit is parsed from the target vibration description information; then each resolved vibration sensor unit is transmitted to the target.
  • the vibration support information of the target device 1103 is that the target device 1103 supports the vibration description information through the vibration description information interface, then transfer the target vibration description information to the vibration description information interface of the target device 1103, so that the target device 1103 can play the target vibration Describe the information to achieve the target vibration effect.
  • the transmission of the target vibration description information to the intermediate conversion layer 1102 by the target application 1101 may include the following situations:
  • the target application 1101 after the target application 1101 initiates a vibration service support request to the intermediate conversion layer 1102 through the isHeSupport interface, it can obtain the vibration support information of the target device 1103, and the target application 1101 can send the request to the intermediate conversion layer according to the vibration support information of the target device 1103. 1102 Input target vibration description information.
  • the vibration support information is that the target device 1103 supports file type vibration description information
  • the file type target vibration description information is transmitted to the intermediate conversion layer 1102
  • the vibration support information of the target device 1103 is that the target device 1103 supports string type vibration description information
  • the string type target vibration description information is transmitted to the intermediate conversion layer 1102 .
  • the file-type target vibration description information may refer to vibration description text information in formats such as JOSON, yml, and xml.
  • the target vibration execution information adapted to the target device is obtained by processing the target vibration description information through the vibration support information of the target device, and then the target vibration interface of the target device is called according to the target vibration execution information, so that the target The device achieves the target vibration effect.
  • the target vibration description information can be processed according to the vibration support information of different devices to obtain vibration execution information adapted to the vibration interface of the device, so that different devices can achieve the same vibration effect.
  • Fig. 12 is a block diagram of a vibration control apparatus according to an exemplary embodiment. 12
  • the vibration control device 1200 provided in the embodiment of the present application may include: a vibration support information acquisition module 1201, a vibration description information acquisition module 1202, a vibration execution information acquisition module 1203, and a vibration control module 1204.
  • the vibration support information obtaining module 1201 may be configured to obtain vibration support information of the target device.
  • the vibration description information obtaining module 1202 may be configured to obtain target vibration description information, where the target vibration description information is used to describe the vibration special effect in the target scene.
  • the vibration execution information obtaining module 1203 may be configured to perform conversion processing on the target vibration description information according to the vibration support information to obtain target vibration execution information.
  • the vibration control module 1204 may be configured to transmit the target vibration execution information to the target device, so that the target device vibrates according to the target vibration execution information.
  • the target vibration description information includes vibration description parameters
  • the target vibration interface includes a vibration parameter interface
  • the target vibration execution information includes vibration parameters
  • the vibration execution information acquisition module 1203 may include: a target provider determination unit, a target conversion protocol determination unit, and a vibration parameter acquisition unit
  • the vibration control module 1204 may include a first control unit.
  • the target provider determination unit may be configured to determine a target provider that provides the vibration parameter interface if the vibration support information is that the target device supports vibration parameters through the vibration parameter interface.
  • the target conversion protocol determination unit may be configured to determine a target conversion protocol according to the target provider.
  • the vibration parameter acquisition unit may convert the vibration description parameters into the vibration parameters according to the target conversion protocol.
  • the first control unit may be configured to transmit the vibration parameter to the vibration parameter interface of the target device, so that the target device vibrates according to the vibration parameter.
  • the vibration parameter includes a first vibration parameter and a second vibration parameter, the first vibration parameter is adapted to the vibration parameter interface, and the second vibration parameter is not suitable for the vibration parameter interface match.
  • the vibration parameter acquisition unit may include: a first vibration parameter acquisition subunit, which may be configured to perform conversion processing on the vibration description parameters through the target conversion protocol to obtain the first vibration parameter .
  • the first control unit may include: a first vibration parameter transmission sub-unit, which may be configured to transmit the first vibration parameter to the vibration parameter interface of the target device, so that the target device can transmit the first vibration parameter according to the first vibration parameter interface. Vibration parameters simulate the vibration.
  • the target translation protocol includes a first translation protocol.
  • the target conversion protocol determination unit may include: a device provider determination subunit and a first conversion protocol acquisition unit.
  • the device provider determining subunit may be configured to acquire target model information of the target device, device provider information of the target device, and Target service system information in the target device.
  • the first conversion protocol acquisition subunit may be configured to determine the first conversion protocol according to the target model information, the equipment provider information and the target service system information, so as to convert all the data according to the first conversion protocol.
  • the vibration description parameters are converted into the vibration parameters.
  • the target translation protocol includes a second translation protocol.
  • the target conversion protocol determination unit may include a motor provider determination unit and a second conversion protocol determination unit.
  • the motor provider determining unit may be configured to acquire information of the motor provider providing the vibration parameter interface if the target provider is a motor provider providing the vibration parameter interface for the target device.
  • the second conversion protocol determination unit may be configured to determine the second conversion protocol according to the motor provider information, so as to convert the vibration description parameters into the vibration parameters according to the second conversion protocol.
  • the target vibration description information includes at least one vibration sensing unit
  • the target vibration interface includes a vibration sensing unit interface
  • the vibration execution information acquisition module 1203 may include: a parsing unit, and the vibration control module 1204 may include: a third control unit.
  • the parsing unit may be configured to parse each vibration sensing unit from the target vibration description information if the vibration support information is that the target device supports a vibration sensing unit through the vibration sensing unit interface.
  • the third control unit may be configured to transmit the resolved vibration sensing units to the vibration sensing unit interface of the target device, so that the target device vibrates according to the resolved vibration sensing units.
  • the target vibration interface includes a vibration description information interface
  • the vibration execution information is the target vibration description information
  • the vibration control module may include: a fourth control unit.
  • the fourth control unit may be configured to transmit the target vibration description information to all the target device's vibration description information if the vibration support information is that the target device supports vibration description information through the vibration description information interface. and the vibration description information interface, so that the target device vibrates according to the target vibration description information.
  • the vibration support information includes a first motor vibration parameter and a second motor vibration parameter.
  • the target device includes at least two motors, and the vibration support information includes first motor support information and second motor support information.
  • the vibration control module 1204 may include: a position information acquisition unit, a motor determination unit, and a motor control unit.
  • the position information obtaining unit may be configured to obtain the position information of the at least two motors from the target device.
  • the motor determination unit may be configured to determine a first motor and a second motor among the at least two motors according to the position information.
  • the motor control unit may be configured to transmit the first motor support information and the second motor support information to a target vibration interface of the target device to control the first motor vibration through the first motor support information, The second motor vibration is controlled by the second motor support information.
  • the position information includes target coordinate information of the at least two motors in a target space coordinate system.
  • the motor determination unit may include: a target direction determination subunit and a motor determination subunit.
  • the target direction determination subunit may be configured to determine the target direction in the target space coordinate system.
  • the motor determination subunit may be configured to determine the first motor and the second motor among the at least two motors along the target direction and according to the target coordinate information.
  • the vibration description information obtaining module 1202 may include: a vibration service support request obtaining unit, a vibration support information returning unit, and a target vibration description information receiving unit.
  • the vibration service support request obtaining unit may be configured to receive a vibration service support request of the target application.
  • the vibration support information returning unit may be configured to, in response to the vibration service support request, return the vibration support information of the target device to the target application.
  • the target vibration description information receiving unit may be configured to receive the target vibration description information returned by the target application in response to the vibration support information.
  • the target vibration description information includes file-type target vibration description information.
  • the target vibration description information receiving unit may include: a file-type target vibration description information acquisition subunit.
  • the file-type target vibration description information acquisition subunit may be configured to receive, if the vibration support information is the target device support file-type vibration description information, receive the information returned by the target application in response to the vibration support information File type target vibration description information.
  • the target vibration description information includes character string type target vibration description information.
  • the target vibration description information receiving unit may include: character string type target vibration description information.
  • the character string-type target vibration description information can be configured to receive the character string returned by the target application in response to the vibration support information if the vibration support information is that the target device supports string-type vibration description information. String type target vibration description information.
  • the vibration description parameters include at least one of: vibration duration, vibration intensity, vibration frequency, vibration acceleration, vibration enhancement time, and vibration decay time.
  • the vibration control device further includes: a stop parameter acquisition module and a vibration stop control module.
  • the stop parameter acquisition module may be configured to acquire target stop parameters.
  • the vibration stop control module may be configured to control the target device to stop vibration according to the target stop parameter.
  • each functional module of the vibration control apparatus 1200 of the exemplary embodiment of the present application corresponds to the steps of the above-mentioned exemplary embodiment of the vibration control method, it will not be repeated here.
  • the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions of the embodiments of the present application may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.), including several instructions It is used to cause a computing device (which may be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present application, such as one or more steps shown in FIG. 3 .
  • a computing device which may be a personal computer, a server, a mobile terminal, or a smart device, etc.

Landscapes

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

Abstract

一种振动控制方法、装置、电子设备和计算机可读存储介质,该方法包括:获取目标设备的振动支持信息(S1);获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效(S2);根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息(S3);将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动(S4)。

Description

振动控制方法、装置、电子设备和计算机可读存储介质
本申请要求于2020年09月18日提交中国专利局,申请号为2020109853611,申请名称为“震动控制方法、装置、电子设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机与互联网技术领域,尤其涉及一种振动控制方法、装置、电子设备和计算机可读存储介质。
背景技术
当前大多数智能设备均已支持振动效果,而设备振动对于游戏来说,可以带来更丰富的触觉效果,极大的拓展游戏交互体验。
由于智能终端的***、硬件种类繁多,对于一个游戏振动场景来说,目前的振动特效只能用于相同的硬件设备、相同的平台,无法将同一振动效果适配到不同的硬件设备、不同的平台中,即存在设备不兼容振动效果的问题
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本申请的背景的理解。
发明内容
根据本申请提供的各种实施例,提供一种振动控制方法、装置、电子设备和计算机可读存储介质。
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。
本申请实施例提出一种振动控制方法,由电子设备执行,该方法包括:获取目标设备的振动支持信息;获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效;根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息;及将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
本申请实施例提供了一种振动控制装置,所述振动控制装置包括:振动支持信息获取模块、振动描述信息获取模块、振动执行信息获取模块以及振动控制模块。
其中,所述振动支持信息获取模块可以配置为获取目标设备的振动支持信息;所述振动描述信息获取模块可以配置为获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效;所述振动执行信息获取模块可以配置为根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息;及所述振动控制模块可以配置为将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
本申请实施例提供一种计算机可读存储介质,存储有计算机可读指令,所述计算机可读指令被处理器执行时,使得所述处理器执行上述振动控制方法的步骤。
本申请实施例提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述振动控制方法的步骤。
本申请实施例提出一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述振动控制方法。
本申请某些实施例提供的振动控制方法、装置及电子设备和计算机可读存储介质,通过目标设备的振动支持信息对目标振动描述信息进行处理获得了适配目标设备的目标振动执行信息,然后根据目标振动执行信息调用目标设备的目标振动接口,使得目标设备振动以实现振动特效。根据本申请提供的技术方案,可以根据不同设备的振动支持信息对目标振动描述信息进行处理,以获得与该设备的振动接口适配的振动执行信息,使得不同的设备可以实现同一振动特效。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了可以应用于本申请实施例的振动控制方法或振动控制装置的示例性***架构的示意图。
图2是根据一示例性实施例示出的一种应用于振动控制装置的计算机***的结构示意图。
图3是根据一示例性实施例示出的一种振动控制方法的流程图。
图4是根据一示例性实施例示出的一种振动效果的示意图。
图5是图3中步骤S3和步骤S4在一示例性实施例中的流程图。
图6是图3中步骤S3和步骤S4在一示例性实施例中的流程图。
图7是图3中步骤S3和步骤S4在一示例性实施例中的流程图。
图8是图3中步骤S4在一示例性实施例中的流程图。
图9是根据一示例性实施例示出的一种目标方向确定的示意图。
图10是根据一示例性实施例示出的一种振动控制框架图。
图11是根据一示例性实施例示出的一种振动控制示意图。
图12是根据一示例性实施例示出的一种振动控制装置的框图。
具体实施方式
现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本申请将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。
本申请所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本申请的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而省略特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本申请的各方面。
附图仅为本申请的示意性图解,图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和步骤,也不是必须按所描述的顺序执行。例如,有的步骤还可以分解,而有的步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。
本说明书中,用语“一个”、“一”、“该”、“所述”和“至少一个”用以表示存在一个或多个要素/组成部分/等;用语“包含”、“包括”和“具有”用以表示开放式的包括在内的意思并且是指除了列出的要素/组成部分/等之外还可存在另外的要素/组成部分/等;用语“第一”、“第二”和“第三”等仅作为标记使用,不是对其对象的数量限制。
下面结合附图对本申请示例实施方式进行详细说明。
图1示出了可以应用于本申请实施例的振动控制方法或振动控制装置的示例性***架构的示意图。
如图1所示,***架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。其中,终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机、台式计算机、可穿戴设备、虚拟现实设备、智能家居等等。
服务器105可以是提供各种服务的服务器,例如对用户利用终端设备101、102、103所进行操作的装置提供支持的后台管理服务器。后台管理服务器可以对接收到的请求等数据进行分析等处理,并将处理结果反馈给终端设备。
服务器105可例如获取目标设备的振动支持信息;服务器105可例如获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效;服务器105可例如根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息。服务器105可例如将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动 执行信息进行振动。
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的,服务器105可以是一个实体的服务器,还可以为多个服务器组成,根据实际需要,可以具有任意数目的终端设备、网络和服务器。
下面参考图2,其示出了适于用来实现本申请实施例的终端设备的计算机***200的结构示意图。图2示出的终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图2所示,计算机***200包括中央处理单元(CPU)201,其可以根据存储在只读存储器(ROM)202中的计算机可读指令或者从储存部分208加载到随机访问存储器(RAM)203中的计算机可读指令而执行各种适当的动作和处理。在RAM 203中,还存储有***200操作所需的各种计算机可读指令和数据。CPU 201、ROM 202以及RAM 203通过总线204彼此相连。输入/输出(I/O)接口205也连接至总线204。
以下部件连接至I/O接口2 05:包括键盘、鼠标等的输入部分206;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分207;包括硬盘等的储存部分208;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分209。通信部分209经由诸如因特网的网络执行通信处理。驱动器210也根据需要连接至I/O接口205。可拆卸介质211,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器210上,以便于从其上读出的计算机可读指令根据需要被安装入储存部分208。
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读存储介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分209从网络上被下载和安装,和/或从可拆卸介质211被安装。在该计算机程序被中央处理单元(CPU)201执行时,执行本申请的***中限定的上述功能。
需要说明的是,本申请所示的计算机可读存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计 算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储计算机可读指令的有形介质,该计算机可读指令可以被指令执行***、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的计算机可读指令代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读存储介质,该计算机可读存储介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的计算机可读指令。计算机可读存储介质上包含的计算机可读指令代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。
附图中的流程图和框图,图示了按照本申请各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的模块和/或单元和/或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块和/或单元和/或单元也可以设置在处理器中,例如,可以描述为:一种处理器包括发送单元、获取单元、确定单元和第一处理单元。其中,这些模块和/或单元和/或单元的名称在某种情况下并不构成对该模块和/或单元和/或单元本身的限定。
作为另一方面,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读存储介质承载有一个或者多个计算机可读指令,当上述一个或者多个计算机可读指 令被一个该设备执行时,使得该设备可实现功能包括:获取目标设备的振动支持信息;获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效;根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息;将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
随着智能终端设备的发展,越来越多的设备支持振动效果,而振动对于游戏来说可以带来更丰富的触觉效果,极大地拓展了游戏交互体验。但是对于目前的设备来说,不同设备的振动接口可能会不同(接口名称、接口参数都可能会不统一),不同设备还可能会支持不同的振动效果(有的仅支持对振动强度的调节,有的可以支持振动强度、振动频率、振动衰退时间等复杂振动效果的调节)。
目前来说,若想要使得同一游戏在不同的设备中达到同样的振动效果,需要针对不同的设备分别进行不同的开发,极大地浪费了人力、物力资源,成本高昂。
本申请提供了一种可以根据描述目标场景的下振动特效的目标振动描述信息对目标设备的振动进行控制的振动方法,以使得不同的设备均可以达到同样的目标振动效果。
图3是根据一示例性实施例示出的一种振动控制方法的流程图。本申请实施例所提供的方法可以由任意具备计算处理能力的电子设备处理,例如上述图1实施例中的服务器105和/或终端设备102、103,在下面的实施例中,以终端设备101、102为执行主体为例进行举例说明,但本申请并不限定于此。
参照图3,本申请实施例提供的振动控制方法可以包括以下步骤。
在步骤S1中,获取目标设备的振动支持信息。
在一些实施例中,目标设备可以指的是任意需要进行振动控制的设备,例如手机、游戏手柄、智能头盔等。
在一些实施例中,振动支持信息可以指目标设备中的目标振动接口信息以及该目标振动接口的参数支持信息。例如,有的目标设备的目标振动接口可能由马达提供商(提供马达的商家)提供,该接口可能支持比较具体的振动参数(例如振动频率为XX赫兹,振动时间为XX秒等具体的参数值);例如,有的目标设备的目标振动接口可能由目标设备上的目标服务***(例如安卓***)提供,该接口既可能会支持具体的振动参数(如振动频率为XX赫兹等具体的参数值),也可能会支持振动描述信息等对目标应用场景下的振动特效进行抽象 描述的信息;有的可能支持比较少的振动参数(例如只支持振动时间、振动强度等比较简单的振动功能参数;有的可能支持比较复杂多样的振动参数。
在步骤S2中,获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效。
在一些实施例中,目标振动描述信息可以指的是对目标场景下的振动特效进行描述的信息。其中,目标场景可以是任意需要振动效果的场景,比如,游戏中的精彩场景、应用的消息提醒场景、智能手机的来电提醒场景等等。
在一些实施例中,目标振动描述信息可以是字符串形式的,也可以是文本形式的,例如可以是JOSON(JavaScript Object Notation,一种轻量级的数据格式)、yml格式、xml格式等文本形式,。
在一些实施例中,既可以通过具体的参数值(例如振动频率为XX赫兹,振动时间为XX秒)对目标场景下的振动特效进行描述,也可以通过抽象参数(例如振动频率为XX档、振动强度为XX档等)对目标场景下的振动特效进行描述。
在一些目标应用中,为了表达更丰富的振感,常常需要将多个振动效果组合起来实现。在一些实施例中,可能需要将如图4所示的振动效果401(以第一频率振动)和振动效果402(以第二频率振动)组合,以实现如403所示的振动效果。
因此,本申请实施例提供的目标振动描述信息可以由多个振感单元组成,每个振撼单元可以描述一种振动效果,以使得振动描述信息可以包括比较复杂、多样的振动效果。例如,目标振动描述信息中可以包括一种可以描述持续振动效果的振感单元、一种可以描述短暂振动效果的振感单元以及一种可以描述先急速振动后缓慢振动的振感单元等。
本实施例将以以下案例对目标振动描述信息进行说明。
Figure PCTCN2021116837-appb-000001
Figure PCTCN2021116837-appb-000002
Figure PCTCN2021116837-appb-000003
详细说明如下:
he文件包含两个部分:
1)Metadata字段部分包括振动效果的版本,创建时间,振动效果描述等基本信息;
2)具体的振动效果由Pattern字段描述,Pattern字段内容是一个或者多个Event数组。每个Event描述一个振感单元(每个振感单元可以用来描述一种振动效果)。
其中,Event振感单元可以包括以下内容:
a)EventType描述振动效果类型。
b)EventTime,相对开始时间,浮点数,单位为秒。
c)EventDuration,持续时间,浮点数,单位为秒。
d)Parameters字段包括振动强度,振动频率,达到全部振动所需时间,衰减时间等。
e)Curve用来描述动态振动效果曲线,用来实现动态变化效果的平滑过渡。
f)振动效果参数取值均为0到1的抽象,0为平台支持的最小值,1为平台支持的最大值。
本实施例提供的振动描述信息,一方面可以比较抽象的对目标应用(例如目标游戏)在目标场景下的振动特效进行描述,以保证各个设备均能实现该振动描述信息中描述的振动特效;另一方面,振动描述信息中的振感单元可以复用,极大的节约了开发资源。
在步骤S3中,根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息。
在一些实施例中,可以根据目标设备的振动支持信息对目标振动描述信息进行转换处理,以获得目标振动执行信息。
例如,当目标设备通过振动参数接口接收振动参数,以控制目标设备振动时,需要通过预设的转换协议将目标振动描述信息中的振动描述参数转换为与振动参数接口适配的振动参数;当目标设备通过振动描述信息接口接收振动描述信息以控制目标设备振动时,则可以将目标振动描述信息直接传输至该振动描述信息接口;当目标设备通过振感单元接口接收目标振动描述信息中的振感单元时,则可以将目标振动描述信息解析为各个振感单元,以便将该各个振撼单元分别传输至目标设备中的振感单元接口。
在步骤S4中,将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
本申请实施例提供的振动控制方法,通过目标设备的振动支持信息对目标振动描述信息进行处理获得了适配目标设备的目标振动执行信息,然后根据目标振动执行信息调用目标设备的目标振动接口,使得目标设备振动以实现目标振动效果。根据本申请提供的技术方案,可以根据不同设备的振动支持信息对目标振动描述信息进行处理,以获得与该设备的振动接口适配的振动执行信息,使得不同的设备可以实现同一振动效果,从而解决了设备不兼容振动效果的问题。
图5是图3中步骤S3和步骤S4在一示例性实施例中的流程图。
在一些实施例中,目标振动描述信息可以通过振动描述参数对目标振动效果进行描述,振动描述参数既可以指的是对振动进行描述的具体参数(例如振动频率为XX赫兹),也可 以指的是对振动进行描述的抽象参数(例如振动频率为XX档)。
在一些实施例中,目标振动描述信息中的振动描述参数包括:振动持续时间、振动强度、振动频率、振动加速度、振动增强时间(在振动增强时间内目标设备以某一振动加速度进行加速)以及振动衰减时间(在振动衰减时间内目标设备以某一振动加速度进行减速)中的至少一个。
在一些实施例中,该振动参数接口的输入参数可以是一些具体的参数值(例如振动频率为XX赫兹、振动时间为XX秒等)。
在一些实施例中,目标振动执行信息可以指的是能够与目标设备的振动参数接口适配的振动参数。
参考图5,图3中步骤S3可以包括以下步骤。
在步骤S311中,当所述振动支持信息为所述目标设备通过所述振动参数接口支持的振动参数时,确定提供所述振动参数接口的目标提供方。
在一些实施例中,目标设备中的振动参数接口可以是由目标设备的设备提供商提供(例如苹果手机IOS 13.0以上机型),也可以是由目标设备中马达的马达提供商提供(马达提供商可以为目标设备中设计并提供振动参数接口)。
在一些实施例中,不同振动参数接口可能会支持不同类型的振动参数例如有的振动参数接口可能支持字符串型的振动参数,有的振动参数接口可能支持文件型的振动参数。例如有的振动参数接口可能会支持yml文件类型的振动参数,有的振动参数接口可能会支持JOSON文件类型的振动参数类型。
另外,不同的振动参数接口可能对振动强度、振动频率的定义等可能会与目标振动描述信息中的定义不同。
因此,需要将目标振动描述信息中的振动描述参数转换至成语振动参数接口适配的振动参数。
在一些实施例中,可以预先存储一些转换协议,以将目标振动描述信息中的振动描述参数转换为振动参数接口支持的振动参数。需要时还需要将目标振动描述信息的文件格式转换为目标设备的振动参数接口所支持的文件格式。
在一些实施例中,可以预先存储目标振动描述信息的文件类型与振动参数接口所支持的文件类型之间的转换协议,存储目标振动描述信息中的振动描述参数与振动参数之间的转换 协议等。例如,该转换协议可以将JOSON格式的目标振动描述信息转换为振动参数接口支持的yml文件,并将目标振动描述信息中的振动描述参数转换为振动参数接口所支持的振动参数(例如若振动参数接口中的振动频率为2档与目标振动描述信息中振动频率为12赫兹所描述的振动效果相同,那么就需要将目标振动描述信息中振动描述参数:振动频率为2档,转换为振动参数后为:振动频率为12赫兹;再例如若振动参数接口中的振动频率为12赫兹与目标振动描述信息中振动频率为13赫兹所描述的振动效果相同,那么就需要将目标振动描述信息中:振动频率13赫兹,转换为振动参数:振动频率为12赫兹)。
可以理解的是,本申请对上述转换协议的内容、格式等均不做限制,可以根据实际需要进行设定。
在一些实施例中,可以将上述转换协议与振动参数接口的目标提供方进行关联,以便在知道目标提供方的情况下确定目标转换协议。
在步骤S312中,根据所述目标提供方确定目标转换协议。
在一些实施例中,由于已经针对不同目标提供方预先存储了不同的转换协议,所以当目标提供方确定之后,便可以确定目标转换协议。
但是,在实际操作中,即使是同样由设备提供商提供的振动接口,也可能会由于设备提供商的不同、服务***的不同,设备型号的不同等,导致最终的振动参数接口不同。所以需要针对不同设备提供商、不同的设备型号以及不同的服务***等设置不同的转换协议。
在一些实施例中,目标转换协议可以包括第一转换协议和第二转换协议,其中第一转换协议是为由设备提供商提供的振动参数接口设置的转换协议,第二转换协议是为由马达提供商提供的振动参数接口设置的转换协议。
在一些实施例中,若目标提供方是设备提供商,则可以通过以下步骤确定目标转换协议:
获取目标设备的目标型号信息、目标设备的设备提供商信息以及目标设备中的目标服务***信息;根据目标型号信息、设备提供商信息和目标服务***信息确定第一转换协议,以便根据第一转换协议将所述振动描述参数转换为所述振动参数。
在一些实施例中,若目标提供方是马达提供商,则可以通过以下步骤确定目标转换协议:根据马达提供商信息确定第二转换协议,以便根据第二转换协议将所述振动描述参数转换为所述振动参数。
在步骤S313中,根据所述目标转换协议将所述振动描述参数转换为所述振动参数。
在一些实施例中,可以通过目标转换协议将目标振动描述信息的文件格式转换为目标设备的振动参数接口所支持的文件格式,并将目标振动描述信息中的***描述参数转换为振动参数接口所支持的振动参数。
参考图5,图3中步骤S4可以包括以下步骤。
在步骤S411中,将所述振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述振动参数进行振动。
在另外一些实施例中,目标设备的目标振动参数接口可能不能支持所有的由振动描述参数转换过来的振动参数,例如IOS 10***可能不能支持比较复杂的振动参数(该***可能只能支持振动强度,而对于振动衰减时间等参数不支持)。在这种情况下,可以通过以下步骤进行模拟振动。
假设振动参数包括第一振动参数和第二振动参数,其中第一振动参数与振动参数接口适配,第二振动参数与振动参数接口不适配,那么可以通过以下步骤进行模拟振动。
通过目标转换协议对振动描述参数进行转换处理,以获得第一振动参数;将第一振动参数传输至目标设备的振动参数接口,以便目标设备根据所述第一振动参数进行振动,以模拟实现目标振动效果。
本实施例提供的技术方案,一方面通过目标提供方信息简单便捷地确定了目标转换协议,另一方面通过目标转换协议将目标振动描述参数转换为了与振动参数接口适配的振动参数,控制目标设备振动以实现了目标振动效果。
图6是图3中步骤S3和步骤S4在一示例性实施例中的流程图。
在一些实施例中,目标振动描述信息可以包括至少一个振感单元,每个振感单元描述一种振动效果。
在一些实施例中,目标设备的目标振动接口可以是振感单元接口,该振感单元接口可以是由服务***提供的接口,也可以是由马达厂商提供的接口。
在一些实施例中,该振撼单元接口的输入参数可以就是振感单元。
参考图6,图3中步骤S3可以包括以下步骤。
在步骤S321中,当所述振动支持信息为所述目标设备通过所述振感单元接口支持的振感单元时,从所述目标振动描述信息中解析出各个振感单元。
参考图6,图3中步骤S4可以包括以下步骤。
在步骤S421中,将解析出的各个振感单元传输给所述目标设备的所述振感单元接口,以便所述目标设备根据解析出的各个振感单元进行振动。
在一些实施例中,虽然振感单元接口的输入参数可以是振感单元,但是振感单元接口支持的文件类型可能与目标振动描述信息之间的文件类型不同,所以在将各个振感单元传输给振感单元接口时,可能需要将各个振感单元转换为振感单元接口支持的文件类型。
本实施例提供的技术方案通过将目标描述信息解析为多个振撼单元,然后通过振感单元调用了目标设备的振感单元接口,使得目标设备振动以实现目标振动效果。
图7是图3中步骤S3和步骤S4在一示例性实施例中的流程图。
在一些实施例中,目标设备的目标振动接口可以是振动描述信息接口,该振动描述信息接口可以是由服务***提供的接口,也可以是由马达厂商提供的接口。
在一些实施例中,该振动描述信息接口的输入参数可以就是振动描述信息,该振动描述信息可以是文件型描述信息也可以是字符串型描述信息。
在一些实施例中,当振动描述信息是文件型描述信息,且振动支持信息为目标设备通过振动描述信息接口支持的文件型振动描述信息时,则图3中步骤S3可以包括以下步骤。
在步骤S331中,获取所述目标振动描述信息的目标路径、目标句柄。
图3中步骤S4可以包括以下步骤。
在步骤S432中,将所述目标振动描述信息、所述目标路径或者所述目标句柄传输至所述目标设备的所述振动描述信息接口,以便所述目标设备根据所述目标振动描述信息进行振动。
在一些实施例中,通过目标振动描述信息、目标振动描述信息的目标路径或者目标振动描述信息的目标句柄,均可以获得目标振动描述信息,通过目标振动描述信息调用振动描述信息接口,可以使得目标设备振动以实现目标振动效果。
在一些实施例中,虽然振动描述信息接口的输入参数可以是振动描述信息,但是振动描述信息接口支持的文件类型可能与目标振动描述信息之间的文件类型不同,所以在将目标描述文本传输给振动描述信息接口时,可能需要将目标振动描述信息转换为振动描述信息接口支持的文件类型。
在一些实施例中,当振动描述信息是字符串型描述信息,且振动支持信息为目标设备通 过振动描述信息接口支持的字符串振动描述信息时,则可以将字符串型的目标振动描述信息传输至目标设备的振动描述信息接口,以便目标设备根据字符串型目标振动描述信息实现目标振动效果。
本实施例提供的技术方案通过目标振动描述信息调用了目标设备的振感单元接口,以使得目标设备实现目标振动效果。
图8是图3中步骤S4在一示例性实施例中的流程图。
在一些实施例中,目标设备可能会包括至少两个马达,振动描述信息中也会对应的包括对至少两个马达进行描述的描述信息,所以振动支持信息也会包括至少两个马达的支持信息,例如可以包括第一马达支持信息和第二马达支持信息。
参考图8,图3中步骤S4可以包括以下步骤。
在步骤S441中,从所述目标设备中获取所述至少两个马达的位置信息。
在一些实施例中,上述位置信息可以指的是马达在目标空间坐标系中的坐标信息,其中目标空间坐标系可以是如图9所示的空间坐标系等可以将目标设备的实体全部囊括在内的坐标系。
在步骤S442中,根据所述位置信息在所述至少两个马达中确定第一马达和第二马达。
在一些实施例中,可以首先在目标空间坐标系中确定一个目标方向,该目标方向可例如是沿着某一坐标轴方向、以原点为起始点以逆时针方向为目标方向等。
如图9所示,可以以坐标原点1为起始点,以逆时针方向为目标设备中的马达进行标号,依次确定第一马达和第二马达…
通过上述方法确定的马达,可以保证无论目标设备是横屏还是竖屏,振动效果是一致的,即均在同一方位(例如设备显示画面的同一方方位)进行同样效果的振动。
在步骤S443中,将所述第一马达支持信息和所述第二马达支持信息传输至所述目标设备的目标振动接口,以通过第一马达支持信息控制所述第一马达振动,通过所述第二马达支持信息控制所述第二马达振动。
可以理解的是,本实施例仅以第一马达、第二马达为例,目标设备还可以存在第三马达、第四马达等,第三马达和第四马达的振动控制方式与本实施例类似。
本实施例提供的技术方案,一方面,通过至少两个马达的位置信息对至少两个马达进行 了编码,以使无论目标设备如何变化(横屏或者竖屏),第一马达相对于设备中画面的相对位置是不变的(例如第一马达始终靠近画面的左上角,第二马达始终远离画面的左上角);另一方面,通过第一马达支持信息对对第一马达进行控制,通过第二马达支持信息对第二马达进行控制控制,使得无论目标设备如何变化,马达的整体振动效果不会发生改变。
图10是根据一示例性实施例示出的一种振动控制框架图。参考图10,上述振动控制框架图可以包括目标应用中的振动描述信息(Haptic Effects)、中间转换层(TGPA)以及振动运行时(Haptic Runtime)单元等。其中,振动描述信息可以由多个振感单元(Haptic Unit)组成。
在一些实施例中,目标应用中可以通过游戏振动特效接口(Haptic Effects Interface,HEI)将振动描述信息与中间转换层进行信息的交互,中间转换层可以通过振动运行时服务接口(Haptic Runtime Interface,HRI)接口实现与振动运行时单元中的各个设备进行信息的交互。
在一些实施例中,振动运行时服务接口可以具体包括以下接口:
1、getVendorSupportStrategy:
功能:查询目标设备的振动支持信息
返回:返回是否支持以及目标设备的马达个数。
2、hrPlayUnit:
功能:播放一个振动单元
3、hrPlayEffects:
功能:播放一个振动描述信息
4、hrStop:
功能:停止播放振动效果
在一些实施例中,游戏振动特效接口可以具体包括以下接口:
5、isHeSupport:
功能:确认是否支持游戏振动描述
接口提供方:TGPA
调用方:目标应用
6、hePlay(file):
功能:播放一个振动效果描述文件,默认为不循环(支持循环播放)
接口提供方:TGPA
接口调用方:目标应用
7、hePlay(string):
功能:播放一个振动描述信息字符串
接口提供方:TGPA
接口调用方:目标应用
8、heStop:
功能:停止播放振动效果
接口提供方:TGPA
接口调用方:目标应用
图11是根据一示例性实施例示出的一种振动控制示意图。结合图10所示的振动控制框架图,振动控制方法可以包括以下步骤。
在目标应用1101启动时,中间转换层1102首先通过getVendorSupportStrategy接口与目标设备1103进行初始化通信,获取目标设备1103的振动支持信息;目标应用1101如果需要振动服务,会通过isHeSupport接口向中间转换层1102发起振动服务支持请求,以确定当前设备是否支持振动效果的播放,中间转换层1102会返回当前设备的振动支持结果;若目标设备1103支持振动,则目标应用1101通过hePlay(string)或hePlay(file)接口将目标振动描述信息传输给中间转换层1102;中间转换层1102根据目标设备1103的振动支持信息对目标振动描述信息进行处理,获得目标振动执行信息;中间转换层1102将目标振动执行信息通过hrPlayUnit、hrPlayEffects等传输至目标设备1103的目标振动接口,以便目标设备1103根据目标振动执行信息实现目标振动效果;当目标应用1101获取振动停止参数时(即目标停止参数),可以将该目标停止参数通过heStop传输至中间转换层1102;中间转换层1102再通过hrStop接口将该目标停止参数传输给目标设备1103,以控制目标设备1103停止振动。
在一些实施例中,中间转换层1102根据目标设备1103的振动支持信息对目标振动描述信息进行处理,获得目标振动执行信息可以包括以下情况:
1、若目标设备1103的振动支持信息为目标设备1103通过振动参数接口支持振动参数, 则获取提供振动参数接口的目标提供方(该振动参数接口可以由马达厂商、手机厂商或者其他厂商提供,本申请对振动参数接口的提供方不做限制),根据目标提供方确定目标转换协议,然后根据目标转换协议将振动描述参数转换为振动参数,以将振动参数传输至目标设备1103的振动参数接口,以便目标设备1103根据振动参数实现目标振动效果。
2、若目标设备1103的振动支持信息为目标设备1103通过振感单元接口支持振感单元,则从目标振动描述信息中解析出各个振感单元;然后将解析出的各个振感单元传输给目标设备1103的所述振感单元接口,以便目标设备1103播放各个振感单元以实现所述目标振动效果。
3、若目标设备1103的振动支持信息为目标设备1103通过振动描述信息接口支持振动描述信息,则将目标振动描述信息之间传输至目标设备1103的振动描述信息接口,以便目标设备1103播放目标振动描述信息以实现目标振动效果。
在一些实施例中,目标应用1101将目标振动描述信息传输给中间转换层1102可以包括以下几种情况:
在一些实施例中,目标应用1101通过isHeSupport接口向中间转换层1102发起振动服务支持请求后,可以获取目标设备1103的振动支持信息,目标应用1101可以根据目标设备1103的振动支持信息向中间转换层1102输目标振动描述信息。
例如,若振动支持信息为目标设备1103支持文件型振动描述信息,则向中间转换层1102传输文件型目标振动描述信息;若目标设备1103的振动支持信息为目标设备1103支持字符串型振动描述信息,则向中间转换层1102传输字符串型目标振动描述信息。
其中,文件型目标振动描述信息可以指的是JOSON、yml、xml等格式的振动描述文本信息。
本实施例提供的技术方案,通过目标设备的振动支持信息对目标振动描述信息进行处理获得了适配目标设备的目标振动执行信息,然后根据目标振动执行信息调用目标设备的目标振动接口,使得目标设备实现目标振动效果。根据本申请提供的技术方案,可以根据不同设备的振动支持信息对目标振动描述信息进行处理,以获得与该设备的振动接口适配的振动执行信息,使得不同的设备可以实现同一振动效果。
图12是根据一示例性实施例示出的一种振动控制装置的框图。参照图12,本申请实施 例提供的振动控制装置1200可以包括:振动支持信息获取模块1201、振动描述信息获取模块1202、振动执行信息获取模块1203以及振动控制模块1204。
其中,所述振动支持信息获取模块1201可以配置为获取目标设备的振动支持信息。所述振动描述信息获取模块1202可以配置为获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效。所述振动执行信息获取模块1203可以配置为根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息。所述振动控制模块1204可以配置为将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
在一些实施例中,所述目标振动描述信息包括振动描述参数,所述目标振动接口包括振动参数接口,所述目标振动执行信息包括振动参数。
在一些实施例中,所述振动执行信息获取模块1203可以包括:目标提供方确定单元、目标转换协议确定单元、振动参数获取单元,所述振动控制模块1204可以包括第一控制单元。
其中,所述目标提供方确定单元可以配置为若所述振动支持信息为所述目标设备通过振动参数接口支持振动参数,则确定提供所述振动参数接口的目标提供方。所述目标转换协议确定单元可以配置为根据所述目标提供方确定目标转换协议。所述振动参数获取单元可以根据所述目标转换协议将所述振动描述参数转换为所述振动参数。所述第一控制单元可以配置为将所述振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述振动参数进行振动。
在一些实施例中,所述振动参数包括第一振动参数和第二振动参数,所述第一振动参数与所述振动参数接口适配,所述第二振动参数与所述振动参数接口不适配。
在一些实施例中,所述振动参数获取单元可以包括:第一振动参数获取子单元,可以配置为通过所述目标转换协议对所述振动描述参数进行转换处理,以获得所述第一振动参数。所述第一控制单元可以包括:第一振动参数传输子单元,可以配置文将所述第一振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述第一振动参数模拟进行振动。
在一些实施例中,所述目标转换协议包括第一转换协议。
在一些实施例中,所述目标转换协议确定单元可以包括:设备提供商确定子单元和第一转换协议获取单元。
其中,所述设备提供商确定子单元可以配置为若所述目标提供方是所述目标设备的设备提供商,则获取所述目标设备的目标型号信息、所述目标设备的设备提供商信息以及所述目标设备中的目标服务***信息。所述第一转换协议获取子单元可以配置为根据所述目标型号信息、所述设备提供商信息和所述目标服务***信息确定所述第一转换协议,以便根据所述第一转换协议将所述振动描述参数转换为所述振动参数。
在一些实施例中,所述目标转换协议包括第二转换协议。
在一些实施例中,所述目标转换协议确定单元可以包括:马达提供商确定单元和第二转换协议确定单元。
其中,所述马达提供商确定单元可以配置为若所述目标提供方是为所述目标设备提供振动参数接口的马达提供商,则获取提供所述振动参数接口的马达提供商信息。所述第二转换协议确定单元可以配置为根据所述马达提供商信息确定所述第二转换协议,以便根据所述第二转换协议将所述振动描述参数转换为所述振动参数。
在一些实施例中,所述目标振动描述信息包括至少一个振感单元,所述目标振动接口包括振感单元接口。
在一些实施例中,所述振动执行信息获取模块1203可以包括:解析单元,所述振动控制模块1204可以包括:第三控制单元。
其中,所述解析单元可以配置为若所述振动支持信息为所述目标设备通过所述振感单元接口支持振感单元,则从所述目标振动描述信息中解析出各个振感单元。所述第三控制单元可以配置为将解析出的各个振感单元传输给所述目标设备的所述振感单元接口,以便所述目标设备根据解析出的各个振感单元进行振动。
在一些实施例中,所述目标振动接口包括振动描述信息接口,所述振动执行信息为所述目标振动描述信息。
在一些实施例中,所述振动控制模块可以包括:第四控制单元。
其中,所述第四控制单元可以配置为若所述振动支持信息为所述目标设备通过所述振动描述信息接口支持振动描述信息,则将所述目标振动描述信息传输至所述目标设备的所述振动描述信息接口,以便所述目标设备根据所述目标振动描述信息进行振动。
在一些实施例中,所述振动支持信息包括第一马达振动参数和第二马达振动参数。
在一些实施例中,所述目标设备包括至少两个马达,所述振动支持信息包括第一马达支 持信息和第二马达支持信息。
在一些实施例中其中,所述振动控制模块1204可以包括:位置信息获取单元、马达确定单元以及马达控制单元。
其中,所述位置信息获取单元可以配置为从所述目标设备中获取所述至少两个马达的位置信息。所述马达确定单元可以配置为根据所述位置信息在所述至少两个马达中确定第一马达和第二马达。所述马达控制单元可以配置为将所述第一马达支持信息和所述第二马达支持信息传输至所述目标设备的目标振动接口,以通过第一马达支持信息控制所述第一马达振动,通过所述第二马达支持信息控制所述第二马达振动。
在一些实施例中,所述位置信息包括所述至少两个马达在目标空间坐标系下的目标坐标信息。所述马达确定单元可以包括:目标方向确定子单元和马达确定子单元。
其中,所述目标方向确定子单元可以配置为在所述目标空间坐标系确定目标方向。所述马达确定子单元可以配置为沿着所述目标方向并根据所述目标坐标信息在所述至少两个马达中确定所述第一马达和所述第二马达。
在一些实施例中,所述振动描述信息获取模块1202可以包括:振动服务支持请求获取单元、振动支持信息返回单元以及目标振动描述信息接收单元。
其中,所述振动服务支持请求获取单元可以配置为接收目标应用的振动服务支持请求。所述振动支持信息返回单元可以配置为响应所述振动服务支持请求,向所述目标应用返回所述目标设备的振动支持信息。所述目标振动描述信息接收单元可以配置为接收所述目标应用响应所述振动支持信息返回的所述目标振动描述信息。
在一些实施例中,所述目标振动描述信息包括文件型目标振动描述信息。
在一些时候死里中,所述目标振动描述信息接收单元可以包括:文件型目标振动描述信息获取子单元。
其中,所述文件型目标振动描述信息获取子单元可以配置为若所述振动支持信息为所述目标设备支持文件型振动描述信息,则接收所述目标应用响应所述振动支持信息返回的所述文件型目标振动描述信息。
在一些实施例中,所述目标振动描述信息包括字符串型目标振动描述信息。
在一些实施例中,所述目标振动描述信息接收单元可以包括:字符串型目标振动描述信息。
其中,所述字符串型目标振动描述信息可以配置文若所述振动支持信息为所述目标设备支持字符串型振动描述信息,则接收所述目标应用响应所述振动支持信息返回的所述字符串型目标振动描述信息。
在一些实施例中,所述振动描述参数包括:振动持续时间、振动强度、振动频率、振动加速度、振动增强时间以及振动衰减时间中的至少一个。
在一些实施例中,所述振动控制装置还包括:停止参数获取模块和振动停止控制模块。
其中,所述停止参数获取模块可以配置为获取目标停止参数。所述振动停止控制模块可以配置为根据所述目标停止参数控制所述目标设备停止振动。
由于本申请的示例实施例的振动控制装置1200的各个功能模块与上述振动控制方法的示例实施例的步骤对应,因此在此不再赘述。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,本申请实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者智能设备等)执行根据本申请实施例的方法,例如图3的一个或多个所示的步骤。
此外,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本申请的其他实施例。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未申请的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由权利要求指出。
应当理解的是,本申请并不限于这里已经示出的详细结构、附图方式或实现方法,相反,本申请意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。

Claims (20)

  1. 一种振动控制方法,由电子设备执行,其特征在于,包括:
    获取目标设备的振动支持信息;
    获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效;
    根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息;及
    将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
  2. 根据权利要求1所述方法,其特征在于,所述目标振动描述信息包括振动描述参数,所述目标设备的目标振动接口包括振动参数接口,所述目标振动执行信息包括振动参数;其中,根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息,包括:
    当所述振动支持信息为所述目标设备通过所述振动参数接口支持的振动参数时,确定提供所述振动参数接口的目标提供方;
    根据所述目标提供方确定目标转换协议;及
    根据所述目标转换协议将所述振动描述参数转换为所述振动参数;
    其中,将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动,包括:
    将所述振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述振动参数进行振动。
  3. 根据权利要求2所述方法,其特征在于,所述振动参数包括第一振动参数和第二振动参数,所述第一振动参数与所述振动参数接口适配,所述第二振动参数与所述振动参数接口不适配;其中,根据所述目标转换协议将所述振动描述参数转换为所述振动参数,包括:
    通过所述目标转换协议对所述振动描述参数进行转换处理,以获得所述第一振动参数;
    其中,将所述振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述振动参数进行振动,包括:
    将所述第一振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述第一振动参数模拟进行振动。
  4. 根据权利要求2所述方法,其特征在于,所述目标转换协议包括第一转换协议;其中,根据所述目标提供方确定目标转换协议,包括:
    当所述目标提供方为所述目标设备的设备提供商时,获取所述目标设备的目标型号信息、所述目标设备的设备提供商信息以及所述目标设备中的目标服务***信息;及
    根据所述目标型号信息、所述设备提供商信息和所述目标服务***信息确定所述第一转换协议,以便根据所述第一转换协议将所述振动描述参数转换为所述振动参数。
  5. 根据权利要求2所述方法,其特征在于,所述目标转换协议包括第二转换协议;其中,根据所述目标提供方确定目标转换协议,包括:
    当所述目标提供方为所述目标设备提供振动参数接口的马达提供商时,获取提供所述振动参数接口的马达提供商信息;及
    根据所述马达提供商信息确定所述第二转换协议,以便根据所述第二转换协议将所述振动描述参数转换为所述振动参数。
  6. 根据权利要求1所述方法,其特征在于,所述目标振动描述信息包括至少一个振感单元,所述目标设备的目标振动接口包括振感单元接口;其中,根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息,包括:
    当所述振动支持信息为所述目标设备通过所述振感单元接口支持的振感单元时,从所述目标振动描述信息中解析出各个振感单元;
    其中,将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动,包括:
    将所述各个振感单元传输给所述目标设备的所述振感单元接口,以便所述目标设备根据解析出的各个振感单元进行振动。
  7. 根据权利要求1所述方法,其特征在于,所述目标设备的目标振动接口包括振动描述信息接口,所述振动执行信息为所述目标振动描述信息;其中,将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动,包括:
    当所述振动支持信息为所述目标设备通过所述振动描述信息接口支持的振动描述信息,将所述目标振动描述信息传输至所述目标设备的所述振动描述信息接口,以便所述目标设备根据所述目标振动描述信息进行振动。
  8. 根据权利要求1所述方法,其特征在于,所述目标设备包括至少两个马达,所述振动 支持信息包括第一马达支持信息和第二马达支持信息;其中,将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动,包括:
    从所述目标设备中获取所述至少两个马达的位置信息;
    根据所述位置信息在所述至少两个马达中确定第一马达和第二马达;及
    将所述第一马达支持信息和所述第二马达支持信息传输至所述目标设备的目标振动接口,以通过第一马达支持信息控制所述第一马达振动,通过所述第二马达支持信息控制所述第二马达振动。
  9. 根据权利要求8所述方法,其特征在于,所述位置信息包括所述至少两个马达在目标空间坐标系下的目标坐标信息;其中,根据所述位置信息在所述至少两个马达中确定第一马达和第二马达,包括:
    在所述目标空间坐标系确定目标方向;及
    沿着所述目标方向并根据所述目标坐标信息在所述至少两个马达中确定所述第一马达和所述第二马达。
  10. 根据权利要求1所述方法,其特征在于,获取目标振动描述信息,包括:
    接收目标应用的振动服务支持请求;
    响应所述振动服务支持请求,向所述目标应用返回所述目标设备的振动支持信息;及
    接收所述目标应用响应所述振动支持信息返回的所述目标振动描述信息。
  11. 根据权利要求10所述方法,其特征在于,所述目标振动描述信息包括文件型目标振动描述信息;其中,接收所述目标应用响应所述振动支持信息返回的所述目标振动描述信息,包括:
    当所述振动支持信息为所述目标设备支持的文件型振动描述信息,接收所述目标应用响应所述振动支持信息返回的所述文件型目标振动描述信息。
  12. 根据权利要求11所述方法,其特征在于,所述目标振动描述信息包括字符串型目标振动描述信息;其中,接收所述目标应用响应所述振动支持信息返回的所述目标振动描述信息,包括:
    当所述振动支持信息为所述目标设备支持的字符串型振动描述信息,接收所述目标应用响应所述振动支持信息返回的所述字符串型目标振动描述信息。
  13. 一种振动控制装置,其特征在于,包括:
    振动支持信息获取模块,配置为获取目标设备的振动支持信息;
    振动描述信息获取模块,配置为获取目标振动描述信息,所述目标振动描述信息用于描述目标场景下的振动特效;
    振动执行信息获取模块,配置为根据所述振动支持信息对所述目标振动描述信息进行转换处理,获得目标振动执行信息;及
    振动控制模块,配置为将所述目标振动执行信息传输至所述目标设备,以便所述目标设备根据所述目标振动执行信息进行振动。
  14. 根据权利要求13所述装置,其特征在于,所述目标振动描述信息包括振动描述参数,所述目标振动接口包括振动参数接口,所述目标振动执行信息包括振动参数;
    所述振动执行信息获取模块包括:目标提供方确定单元、目标转换协议确定单元、振动参数获取单元,所述振动控制模块包括第一控制单元;
    其中,所述目标提供方确定单元配置为当所述振动支持信息为所述目标设备通过振动参数接口支持的振动参数时,确定提供所述振动参数接口的目标提供方;所述目标转换协议确定单元配置为根据所述目标提供方确定目标转换协议;所述振动参数获取单元配置为根据所述目标转换协议将所述振动描述参数转换为所述振动参数;所述第一控制单元配置为将所述振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述振动参数进行振动。
  15. 根据权利要求14所述装置,其特征在于,所述振动参数包括第一振动参数和第二振动参数,所述第一振动参数与所述振动参数接口适配,所述第二振动参数与所述振动参数接口不适配;所述振动参数获取单元包括:
    第一振动参数获取子单元配置为通过所述目标转换协议对所述振动描述参数进行转换处理,以获得所述第一振动参数;所述第一控制单元包括:第一振动参数传输子单元配置为将所述第一振动参数传输至所述目标设备的所述振动参数接口,以便所述目标设备根据所述第一振动参数模拟进行振动。
  16. 根据权利要求14所述装置,其特征在于,所述目标转换协议包括第一转换协议;所述目标转换协议确定单元包括:设备提供商确定子单元和第一转换协议获取单元;
    其中,所述设备提供商确定子单元配置为当所述目标提供方为所述目标设备的设备提供商时,获取所述目标设备的目标型号信息、所述目标设备的设备提供商信息以及所述目标设 备中的目标服务***信息;所述第一转换协议获取子单元配置为根据所述目标型号信息、所述设备提供商信息和所述目标服务***信息确定所述第一转换协议,以便根据所述第一转换协议将所述振动描述参数转换为所述振动参数。
  17. 根据权利要求14所述装置,其特征在于,所述目标转换协议包括第二转换协议;
    所述目标转换协议确定单元包括:马达提供商确定单元和第二转换协议确定单元。
    其中,所述马达提供商确定单元配置为当所述目标提供方为所述目标设备提供振动参数接口的马达提供商时,获取提供所述振动参数接口的马达提供商信息;所述第二转换协议确定单元配置为根据所述马达提供商信息确定所述第二转换协议,以便根据所述第二转换协议将所述振动描述参数转换为所述振动参数。
  18. 根据权利要求13所述装置,其特征在于,所述目标振动描述信息包括至少一个振感单元,所述目标振动接口包括振感单元接口;
    所述振动执行信息获取模块包括:解析单元,所述振动控制模块包括:第三控制单元;
    其中,所述解析单元配置为当所述振动支持信息为所述目标设备通过所述振感单元接口支持的振感单元时,从所述目标振动描述信息中解析出各个振感单元;所述第三控制单元配置为将所述各个振感单元传输给所述目标设备的所述振感单元接口,以便所述目标设备根据解析出的各个振感单元进行振动。
  19. 一种电子设备,其特征在于,包括:存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如权利要求1至12中任一项所述方法的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被处理器执行时,使得所述处理器执行如权利要求1至12中任一项所述方法的步骤。
PCT/CN2021/116837 2020-09-18 2021-09-07 振动控制方法、装置、电子设备和计算机可读存储介质 WO2022057677A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21868502.2A EP4119207A4 (en) 2020-09-18 2021-09-07 VIBRATION CONTROL METHOD AND APPARATUS, AND ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010985361.1A CN112121411A (zh) 2020-09-18 2020-09-18 震动控制方法、装置、电子设备和计算机可读存储介质
CN202010985361.1 2020-09-18

Publications (1)

Publication Number Publication Date
WO2022057677A1 true WO2022057677A1 (zh) 2022-03-24

Family

ID=73842951

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/116837 WO2022057677A1 (zh) 2020-09-18 2021-09-07 振动控制方法、装置、电子设备和计算机可读存储介质

Country Status (3)

Country Link
EP (1) EP4119207A4 (zh)
CN (3) CN112121411A (zh)
WO (1) WO2022057677A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115202767A (zh) * 2022-09-19 2022-10-18 腾讯科技(深圳)有限公司 一种振动控制方法、装置、设备及计算机可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112121411A (zh) * 2020-09-18 2020-12-25 腾讯科技(深圳)有限公司 震动控制方法、装置、电子设备和计算机可读存储介质
CN114870395B (zh) 2021-02-05 2023-09-15 腾讯科技(深圳)有限公司 游戏场景的终端振动检测方法、装置、介质及设备
EP4117170A4 (en) * 2021-05-20 2023-09-20 Honor Device Co., Ltd. METHOD AND DEVICE FOR ADJUSTING THE VIBRATION WAVEFORM OF A LINEAR MOTOR

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140092003A1 (en) * 2012-09-28 2014-04-03 Min Liu Direct haptic feedback
CN104915125A (zh) * 2015-06-15 2015-09-16 腾讯科技(深圳)有限公司 移动设备的控制方法、控制***及移动设备
CN108837504A (zh) * 2018-06-05 2018-11-20 网易(杭州)网络有限公司 竞速游戏中的信息处理方法、装置、设备及存储介质
CN110010151A (zh) * 2018-12-31 2019-07-12 瑞声科技(新加坡)有限公司 一种音频信号处理方法及设备、存储介质
CN111111157A (zh) * 2019-12-20 2020-05-08 瑞声科技(新加坡)有限公司 马达触感信号生成方法和马达触感信号生成接口
CN111352509A (zh) * 2020-03-03 2020-06-30 瑞声科技(新加坡)有限公司 一种振动控制方法、存储介质及设备
CN112121411A (zh) * 2020-09-18 2020-12-25 腾讯科技(深圳)有限公司 震动控制方法、装置、电子设备和计算机可读存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080048837A (ko) * 2006-11-29 2008-06-03 삼성전자주식회사 촉각 피드백을 출력하는 장치 및 방법
US9558637B2 (en) * 2013-09-10 2017-01-31 Immersion Corporation Systems and methods for performing haptic conversion
US10254836B2 (en) * 2014-02-21 2019-04-09 Immersion Corporation Haptic power consumption management
US10268286B2 (en) * 2014-12-23 2019-04-23 Immersion Corporation Controlling power distribution to haptic output devices
US20180004291A1 (en) * 2016-07-01 2018-01-04 Immersion Corporation Cloud Connected Haptic Platform
US20190103004A1 (en) * 2017-10-02 2019-04-04 Immersion Corporation Haptic pitch control
CN109379485B (zh) * 2018-09-26 2021-03-19 腾讯数码(天津)有限公司 应用程序的反馈方法、装置、终端及存储介质
CN109908578B (zh) * 2019-01-28 2022-07-05 努比亚技术有限公司 一种游戏震感控制方法、终端及计算机可读存储介质
WO2020258225A1 (zh) * 2019-06-28 2020-12-30 瑞声声学科技(深圳)有限公司 游戏手柄、游戏手柄的振动方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140092003A1 (en) * 2012-09-28 2014-04-03 Min Liu Direct haptic feedback
CN104915125A (zh) * 2015-06-15 2015-09-16 腾讯科技(深圳)有限公司 移动设备的控制方法、控制***及移动设备
CN108837504A (zh) * 2018-06-05 2018-11-20 网易(杭州)网络有限公司 竞速游戏中的信息处理方法、装置、设备及存储介质
CN110010151A (zh) * 2018-12-31 2019-07-12 瑞声科技(新加坡)有限公司 一种音频信号处理方法及设备、存储介质
CN111111157A (zh) * 2019-12-20 2020-05-08 瑞声科技(新加坡)有限公司 马达触感信号生成方法和马达触感信号生成接口
CN111352509A (zh) * 2020-03-03 2020-06-30 瑞声科技(新加坡)有限公司 一种振动控制方法、存储介质及设备
CN112121411A (zh) * 2020-09-18 2020-12-25 腾讯科技(深圳)有限公司 震动控制方法、装置、电子设备和计算机可读存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115202767A (zh) * 2022-09-19 2022-10-18 腾讯科技(深圳)有限公司 一种振动控制方法、装置、设备及计算机可读存储介质
CN115202767B (zh) * 2022-09-19 2022-11-25 腾讯科技(深圳)有限公司 一种振动控制方法、装置、设备及计算机可读存储介质

Also Published As

Publication number Publication date
EP4119207A4 (en) 2023-11-01
CN114191809A (zh) 2022-03-18
CN116603228A (zh) 2023-08-18
EP4119207A1 (en) 2023-01-18
CN114191809B (zh) 2023-04-18
CN112121411A (zh) 2020-12-25

Similar Documents

Publication Publication Date Title
WO2022057677A1 (zh) 振动控制方法、装置、电子设备和计算机可读存储介质
US10791200B2 (en) Method, apparatus and server for providing voice service
CN105611364B (zh) 便携数码设备与大屏幕互动的方法、装置及***
WO2019037660A1 (zh) 设备控制方法、装置、终端设备和操作***
US11360737B2 (en) Method and apparatus for providing speech service
CN109857506B (zh) 引导信息的实现方法、装置、电子设备和存储介质
US20220365985A1 (en) Page jump method and apparatus, electronic device and computer-readable storage medium
US20170286269A1 (en) Local Chat Service Simulator for Bot Development
WO2020248745A1 (zh) 用户界面中字符的显示方法、装置、电子设备及存储介质
WO2015176352A1 (zh) 一种基于安卓***的应用间信息交互方法及装置
CN111930973A (zh) 多媒体数据的播放方法、装置、电子设备及存储介质
WO2020233168A1 (zh) 图片类评论数据的网络存储方法、装置、电子设备及介质
WO2019109916A1 (zh) 网页资源获取方法、终端设备、服务器及***
CN111857658A (zh) 一种渲染动态组件的方法、装置、介质和电子设备
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
JP2020004379A (ja) 情報をリリースするための方法と装置、ならびに情報を処理するための方法と装置
CN110618768B (zh) 信息呈现方法和装置
WO2022142568A1 (zh) 内容显示方法及装置
CN114489891A (zh) 云应用程序的控制方法、***、装置、可读介质和设备
US20220215482A1 (en) User information processing method, apparatus, electronic device, and computer storage medium
WO2021147466A1 (zh) 消息处理方法、装置及电子设备
WO2020186927A1 (zh) 数据分享方法、装置、设备及介质
CN110618811B (zh) 信息呈现方法和装置
CN111752644A (zh) 接口模拟方法、装置、设备及存储介质
CN111382039A (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: 21868502

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021868502

Country of ref document: EP

Effective date: 20221013

NENP Non-entry into the national phase

Ref country code: DE