WO2023279898A1 - 一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品 - Google Patents

一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品 Download PDF

Info

Publication number
WO2023279898A1
WO2023279898A1 PCT/CN2022/096857 CN2022096857W WO2023279898A1 WO 2023279898 A1 WO2023279898 A1 WO 2023279898A1 CN 2022096857 W CN2022096857 W CN 2022096857W WO 2023279898 A1 WO2023279898 A1 WO 2023279898A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
target
description file
scene
business
Prior art date
Application number
PCT/CN2022/096857
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 腾讯科技(深圳)有限公司
Publication of WO2023279898A1 publication Critical patent/WO2023279898A1/zh
Priority to US18/227,566 priority Critical patent/US20230364505A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • 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/20Input arrangements for video game devices
    • A63F13/22Setup operations, e.g. calibration, key configuration or button assignment
    • 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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • 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/90Constructional details or arrangements of video game devices not provided for in groups A63F13/20 or A63F13/25, e.g. housing, wiring, connections or cabinets
    • A63F13/92Video game devices specially adapted to be hand-held while playing
    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Definitions

  • the present application relates to the field of computer technology, and in particular to a business processing method, device, electronic equipment, computer readable storage medium and computer program product.
  • Most terminals are configured with one or more vibration objects, such as a single motor or multiple motors, to enable the terminal to support vibration output.
  • the terminal adapts these vibration objects according to its own strategy.
  • the adaptation scheme based on the vibration object in the existing terminal cannot well adapt to different business scenarios, resulting in unstable vibration effects.
  • the embodiment of the present application proposes a business processing method, device, electronic equipment, computer-readable storage medium, and computer program product, which can adapt the vibration object in the business terminal based on the business scene, thereby providing a scene consistent with the business scene Need to match the vibration effect.
  • An embodiment of the present application provides a business processing method, the method including:
  • the vibration description file of the target business scene is obtained, and the vibration description file includes the vibration parameters of the vibration source in the target business scene;
  • the vibration description file is sent to the business terminal, and the business terminal is used to drive the adapted target vibration object to vibrate according to the vibration description file in the target business scenario.
  • An embodiment of the present application provides a business processing method, the method including:
  • the application client recognizes that the target business scene is a business scene to be vibrated, then receive the vibration description file of the target business scene sent by the application client, and the vibration description file includes the vibration parameters of the vibration source in the target business scene;
  • the target vibration object is driven to vibrate according to the vibration description file.
  • An embodiment of the present application provides a first service processing device, which includes:
  • An identification unit configured to identify a target business scenario
  • An acquisition unit configured to acquire a vibration description file of the target business scene if it is identified that the target business scene is a business scene to be vibrated, and the vibration description file includes vibration parameters of vibration sources in the target business scene ;
  • the sending unit is configured to send the vibration description file to a service terminal, and the service terminal is used to drive the adapted target vibration object to vibrate according to the vibration description file in the target service scenario.
  • An embodiment of the present application provides a second service processing device, which includes:
  • the receiving unit is configured to receive the vibration description file of the target business scene sent by the application client, the vibration description file is sent when the application client recognizes that the target business scene is a business scene to be vibrated, the The vibration description file includes the vibration parameters of the vibration source in the target business scene;
  • a determination unit configured to determine an adapted target vibration object according to the vibration description file
  • the vibration unit is configured to drive the target vibration object to vibrate according to the vibration description file in the target service scenario.
  • An embodiment of the present application provides an electronic device for business processing.
  • the electronic device includes a memory and a processor.
  • the memory stores a computer program.
  • the computer program is executed by the processor, the business processing method on the application client side is implemented, or the A service processing method on the service terminal side.
  • An embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor of an electronic device, implements a business processing method on the application client side, or Realize the service processing method on the service terminal side.
  • An embodiment of the present application provides a computer program product or computer program, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium; the processor of the electronic device reads the computer-readable storage medium The computer instruction is fetched, and the processor executes the computer instruction to realize the service processing method on the application client side, or realize the service processing method on the service terminal side.
  • the vibration description file of the target business scene can be obtained, and the vibration description file includes the vibration parameters of the vibration sources in the target business scene;
  • the application client sends the vibration description file to the business terminal, and the business terminal adapts the target vibration object based on the vibration description file, and drives the target vibration object to vibrate in the target business scene according to the vibration description file, so that the business terminal Adapt the vibration object according to the actual needs of the terminal side. It can not only select the target vibration object that is suitable for the target business scenario to provide vibration services for the target business scenario, but also ensure that the vibration effect of the target vibration object conforms to the target business scenario. Scene requirements; therefore, the stability of the vibration effect can be improved.
  • Fig. 1a is a schematic diagram of the principle of a business processing solution provided by an embodiment of the present application
  • Figure 1b is a schematic structural diagram of a block chain provided by the embodiment of the present application.
  • Figure 1c is a schematic structural diagram of another blockchain provided by the embodiment of the present application.
  • FIG. 2 is a schematic diagram of the architecture of a service processing system provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a scenario of a service processing method provided by an embodiment of the present application.
  • Fig. 4 is a schematic flow chart of a business processing method provided by an embodiment of the present application.
  • Fig. 5a is a schematic diagram of the distribution of vibration objects of a service terminal provided by an embodiment of the present application.
  • Fig. 5b is a schematic diagram of the distribution of vibration objects of another service terminal provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of a vibration description file according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of waveform generation of a game scene provided by an embodiment of the present application.
  • Fig. 8 is a schematic diagram of another business processing method provided by the embodiment of the present application.
  • Fig. 9 is a schematic structural diagram of a service processing device provided by an embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of another service processing device provided by the embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the embodiment of the present application proposes a service processing method based on vibration adaptation between an application client and a service terminal.
  • the business processing method firstly configure the vibration description file of the target business scene that needs to be vibrated in advance, and then send the configured vibration description file of the target business scene to the service terminal through the application client corresponding to the target business scene, so that After the business terminal receives the vibration description file of the target business scene, it adapts the corresponding target driving object (such as a motor) at the local end, and drives the target vibration object to vibrate, so that the output matches the target business scene and conforms to the target business
  • the vibration waveform required by the scene can improve the vibration effect of the target business scene.
  • the target business scene may include but not limited to virtual scenes such as game scenes, live broadcast scenes, and information interaction scenes.
  • the application client refers to the client used to run the target business scenario, including but not limited to application (Application, APP), website, applet, etc.
  • the target business scenario is a game scenario
  • the application client is the The game APP corresponding to the game scene.
  • the application client runs in the business terminal, and based on the operating environment (hardware or software environment) provided by the business terminal, it displays the interface elements in the target business scene (such as scene pictures, roles in the scene, operation controls, etc.), and responds to the target Various operations in business scenarios, various interactions in target business scenarios, etc.
  • Service terminals may include, but are not limited to: mobile phones, computers, handheld devices, vehicle-mounted devices, and so on.
  • the target business scene as the target game scene
  • the application client as the game client
  • the business terminal as an intelligent terminal running the game client
  • the principle of the business processing method provided by the embodiment of the present application will be described in detail.
  • FIG. 1a is a schematic diagram of a scenario of a service processing method provided by an embodiment of the present application; the scenario of the service processing method is described here with reference to FIG. 1a.
  • the game client performs scene recognition and vibration triggering. That is to say, on the game client side, the game client can respond to the operation of the game developer to determine whether the target business scene needs to trigger vibration based on the scene requirements of the target business scene. Determine the vibration source; for example: according to the design of the game, when a game character A appears in a certain game scene, the vibration needs to be triggered; then the game scene can be the target business scene, and the vibration source in the target business scene is the game character A .
  • the vibration waveform editor when the game developer uses the vibration waveform editor to configure the vibration waveform for the vibration source in the target business scene that requires vibration, the vibration waveform editor also receives the vibration waveform setting operation; thus, the vibration waveform editor responds to the vibration waveform Set the operation to configure the vibration waveform for the vibration source in the target business scenario to achieve waveform configuration.
  • multiple vibration sources can be included in the target business scenario, so multiple vibration sources can correspond to the same vibration waveform (that is, multiple vibration sources produce the same vibration effect), and multiple vibration sources can also each correspond to a Vibration waveform (that is, the vibration effect produced by each vibration source is different).
  • the vibration waveform editor when the game developer uses the vibration waveform editor to edit the vibration waveform of the vibration source, the vibration waveform editor also receives the vibration waveform editing operation; thus, the vibration waveform editor responds to the vibration waveform editing operation, by editing Vibration waveform to realize waveform debugging and multi-motor simulation, so as to obtain the vibration description file of the target business scenario.
  • editing the vibration waveform may include the following five steps, and each step will be described separately below.
  • the game client calls the vibration waveform editor to debug the vibration waveform and obtain the initial parameters of the vibration source.
  • the debugging process is to output according to the configuration of the vibration waveform, and constantly adjust the parameters to make the output waveform consistent with the configured vibration waveform as much as possible, and when the output waveform is consistent with the configured vibration waveform, the parameters corresponding to the output waveform will be Determined as the initial parameters of the vibration source; the initial parameters may include initial attribute parameters and initial control parameters of the vibration source.
  • the vibration waveform editor can perform vibration simulation according to the initial parameters of the vibration source.
  • the process of vibration simulation is a process of simulating the vibration of the vibration source according to the initial parameters of the vibration source through software (such as program code) or hardware (such as motor, sensor, etc.).
  • the vibration waveform editor compares the matching degree between the vibration effect generated by the vibration simulation and the specified vibration effect corresponding to the target business scenario; among them, the matching degree is used to measure the vibration effect generated by the vibration simulation and the target business scenario.
  • the matching degree between the specified vibration effects corresponding to the scene requirements if the matching degree is greater than the set threshold, it means that the vibration effect generated by the vibration simulation meets the scene requirements of the target business scenario; otherwise, if the matching degree is not greater than the set threshold, it means The vibration effect generated by the vibration simulation does not meet the scene requirements of the target business scenario, and the initial parameters need to be optimized so that the vibration effect of the final vibration simulation can meet the scene requirements of the target business scenario.
  • the vibration waveform editor optimizes the initial parameters of the vibration source according to the matching degree after the vibration simulation, and obtains the vibration parameters of the vibration source; , the vibration effect generated by the initial attribute parameters does not meet the scene requirements of the target business scenario. Vibrate again to optimize the initial attribute parameters in the initial parameters of the vibration source, so that the vibration source vibrates at a suitable position. Another example: if it is found according to the matching degree that when the vibration source vibrates according to the vibration intensity indicated by the initial control parameters, the vibration effect generated by the initial attribute parameters does not meet the scene requirements of the target business scene.
  • the initial control parameters in the initial parameters of the vibration source can be adjusted to optimize it to an appropriate vibration intensity. It can be understood that, by vibrating according to the optimized vibration parameters of the vibration source, a vibration waveform matching the scene requirements of the target business scene can be obtained.
  • the vibration waveform editor generates the vibration description file of the target business scene according to the vibration parameters of the optimized vibration source.
  • the vibration description file of the target game scene may include vibration parameters of a vibration source (for example, game character A) in the target game scene, and the vibration parameters may include attribute parameters of the vibration source and control parameters set for the vibration source.
  • the attribute parameters here may include but not limited to any of the following: the position, orientation, and coordinates of the vibration source (such as game character A) in the target game scene.
  • the control parameter may be, for example, any of the following: vibration start time, vibration end time, vibration duration, vibration frequency (referred to as vibration frequency), and vibration intensity (referred to as vibration intensity).
  • the game client can send the vibration description file of the target game scene to the smart terminal.
  • the smart terminal After the smart terminal obtains the vibration description file of the target game scene sent by the game client, it will analyze the waveform based on the vibration description file, and Find the target motor (called the target vibration object) suitable for the vibration source according to the distribution of its own motors to realize motor identification; for example: the picture of the target game scene is displayed on the screen of the smart terminal in full screen, according to the The coordinates in the target game scene, find the target motor whose distribution position in the smart terminal is the same as or close to the coordinates (the distance difference between the distribution position and the coordinates is less than the specified distance).
  • the target vibration object suitable for the vibration source according to the distribution of its own motors to realize motor identification
  • the smart terminal drives the adapted target motor to vibrate to realize motor drive; it can be understood that since the distribution position of the target motor is the same or similar to the coordinates of the vibration source, during the game, the vibration of the target motor makes the user
  • the feeling is that the vibration source (game character A) is vibrating, which can improve the vibration effect and improve the game experience.
  • the game client sets the vibration waveform of the target game scene by calling the vibration waveform editor to provide initial vibration parameters; and combined with the smart terminal Interact with the game client to realize the debugging of the vibration waveform, so that the final vibration parameters can be confirmed and output on the smart terminal side. Therefore, the embodiment of the present application not only considers the requirements of the game client, but also can take into account the vibration characteristics of the smart terminal itself, so as to realize adaptive intelligent vibration according to different scenes and objects, and further improve the vibration effect.
  • the business processing method provided by the embodiment of the application can be combined with blockchain technology; for example, data such as the vibration description file of the target business scene and the vibration capability information of the business terminal can be uploaded to the blockchain for processing. Save, so as to ensure that these data on the blockchain are not easy to be tampered with.
  • Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain is essentially a decentralized database, which is a series of data blocks associated with each other using cryptographic methods. Each data block contains a batch of network transaction information to verify the validity of its information. (anti-counterfeiting) and generate the next block.
  • the block chain may consist of multiple blocks; wherein, the first block may be called a genesis block.
  • the genesis block includes a block header and a block body.
  • the input information feature value, version number, time stamp and difficulty value are stored in the block header, and the input information is stored in the block body; the next block of the genesis block is based on the genesis block.
  • the parent block, the next block also includes the block header and the block body.
  • the block header stores the input information feature value of the current block, the block header feature value of the parent block, the version number, the timestamp and the difficulty value.
  • the block data stored in each block in the blockchain is associated with the block data stored in the parent block, ensuring the security of the input information in the block.
  • the vibration description file can be added to the block body of the target block , and perform a hash operation on the style file in the block body to obtain the Merkle hash value.
  • a random number can be generated using a random algorithm, and the calculated Merkle hash value, random number, version number, previous block hash value, current timestamp and current difficulty value are used to form the block of the target block.
  • Block header as shown in Figure 1c.
  • the version number refers to the version information of the relevant block protocol in the blockchain
  • the hash value of the parent block refers to the characteristic value of the block header of the previous block
  • the current timestamp refers to the time when the block header is composed The system time
  • the current difficulty value refers to the calculated difficulty value, which is a fixed value within a fixed time period and will be determined again after the fixed time period exceeds.
  • a characteristic value algorithm such as the SHA256 algorithm
  • the number of times can be determined according to the difficulty of calculation. The greater the difficulty of calculation, the more times of hash operations.
  • FIG. 2 is a schematic structural diagram of a business processing system provided by an embodiment of the present application.
  • the architecture diagram of the business processing system may include: an application client and a business terminal; wherein, the application client may be an application running on the business terminal, that is, a program that needs to be installed in the operating system to run, such as a game application, instant Communication application; the application client can also be a small program running in the business terminal, or the application client can be a website, etc., that is, a program that only needs to be downloaded to the browser environment to run; the application client can also be an operating system Native programs or software modules in .
  • the application client may be an application running on the business terminal, that is, a program that needs to be installed in the operating system to run, such as a game application, instant Communication application
  • the application client can also be a small program running in the business terminal, or the application client can be a website, etc., that is, a program that only needs to be downloaded to the browser environment to run
  • the application client can
  • business terminals can be mobile phones, tablet computers, notebook computers, handheld computers, mobile Internet devices (MID, Mobile Internet Device), vehicles, vehicle-mounted devices, roadside devices, aircraft, wearable devices, smart TVs, etc., such as smart Watches, smart bracelets, pedometers, etc., and other devices with business processing functions.
  • MID Mobile Internet Device
  • vehicles such as smart Watches, smart bracelets, pedometers, etc., and other devices with business processing functions.
  • the application client identifies the target business scene. If the application client recognizes that the target business scene is a business scene that needs to be vibrated, and determines that the target business scene is a business scene to be vibrated, the application client obtains the target business scene.
  • the vibration description file of the scene wherein the vibration description file of the target business scene includes the vibration parameters of the vibration source in the target business scene.
  • the application client sends the vibration description file of the target service scene to the service terminal. After the service terminal obtains the vibration description file of the target business scene, it can drive the adapted target vibration object to vibrate in the target business scene according to the vibration description file of the target business scene.
  • the service terminal can receive the vibration description file of the target business scene sent by the application client;
  • the vibration description file determines the adapted target vibration object; finally, the service terminal drives the target vibration object to vibrate in the target business scenario according to the vibration description file of the target business scenario.
  • the service terminal can drive one or more adapted A motor (called the target vibration object) vibrates accordingly.
  • the target vibration object vibrates accordingly.
  • page rendering can be performed in the user interface according to the vibration of these motors, so as to provide users with intuitive and rich game images.
  • the principle of applying the business processing system provided by the embodiment of this application to the game scene will be described. If the picture of the target game scene is displayed on the screen of the service terminal in full screen, then according to the coordinates of the vibration source in the target game scene, find the target motor in the service terminal whose distribution position is the same as or close to the coordinates. Furthermore, the service terminal drives the adapted target motor to vibrate.
  • the picture of the target game scene includes four vibration sources that need to vibrate: game character A, game character B, game character C, and game character D, according to these four game characters
  • the coordinates in the game screen can determine the motors whose distribution positions (such as coordinates) are the same or close to the coordinates of the four game characters in the game screen in the terminal; thus, the game character A matches the target in the business terminal
  • the motor can be motor 201
  • the target motor for game character B in the business terminal can be motor 202
  • the target motor for game character C in the business terminal can be motor 203
  • the target motor for game character D in the business terminal can be motor 203.
  • the target motor for adaptation may be motor 204 .
  • the service terminal can drive the motor 201 to vibrate according to the vibration parameters about the vibration source (game character A);
  • the service terminal can drive the motor 203 to vibrate according to the vibration parameters related to the vibration source (game character C).
  • the service terminal can first convert the coordinates of the vibration source in the target game scene according to the display ratio. The corresponding coordinates when the screen is displayed in full screen, and then find the target motors whose distribution positions in the business terminal are the same or similar to the converted coordinates. Furthermore, the service terminal drives the adapted target motor to vibrate.
  • the business processing system for implementing the business processing method provided by the embodiment of the present application can be deployed on the nodes of the block chain, for example, the business terminal can be regarded as the node device of the block chain, and together constitute the block chain The internet. Therefore, in the embodiment of the present application, the business processing flow corresponding to the vibration description file of the target business scene can be executed on the blockchain, which can not only ensure the fairness of the business processing flow, but also make the business processing flow traceable. Thereby improving the security of the business process.
  • FIG. 3 is a schematic diagram of a scenario of a service processing method provided by an embodiment of the present application.
  • the application client can be an APP for realizing the live video service, and the APP runs on the terminal device 320 used by the viewer user, and the viewer user
  • the terminal device 320 used is the service terminal described in the embodiment of this application.
  • a communication connection can be established in a wired or wireless manner.
  • the terminal device 320 can synchronize the live video scene of the anchor user in real time, and when it is recognized that a certain live video scene needs to trigger vibration, obtain the vibration description file corresponding to the live video scene, wherein the vibration description file includes Vibration parameters of the vibration source in the live video scene.
  • the vibration parameters of the vibration source may include attribute parameters of the vibration source (such as the anchor user) in the live broadcast scene, and the attribute parameters may include any of the following: coordinates and orientation.
  • the vibration parameters of the vibration source may be the coordinates of the vibration source, and there is a one-to-one correspondence between the coordinates of the vibration source and the vibration objects.
  • the terminal device 320 After the terminal device 320 obtains the vibration description file corresponding to the current live image scene, it drives the corresponding target vibration object (such as a motor) to vibrate in the current live image scene according to the obtained vibration description file.
  • the number of vibration objects required for vibration may be one or multiple, which is not specifically limited in this embodiment of the present application.
  • the way for the terminal device 320 to obtain the vibration description file can be: after the anchor user starts the live broadcast, the terminal device 320 can obtain the general vibration description file set or defined in advance by the developer, and then based on The acquired general vibration description files, when each live video scene requiring vibration is identified, the vibration description file corresponding to the current live video scene requiring vibration is determined from these general vibration description files.
  • the method for the terminal device 320 to acquire the vibration description file may also be: when the terminal device 320 recognizes the current live video scene that needs vibration, it acquires the vibration description file corresponding to the current live video scene that needs vibration in real time. Not specifically limited.
  • the terminal device 320 can display the current live broadcast to the audience in real time on the playback interface 300 of the terminal device 320 picture.
  • the playback interface 300 may include the real-time live broadcast picture shown by the anchor user, and may also include comments made by other online viewers (user A, user B, user C, etc.) who are watching the current live broadcast in the comment area.
  • the vibration of the adapted vibration object is the same as the terminal device is a computer, and the corresponding audience user uses the computer to watch the anchor user's video During live video broadcasting, the vibration conditions of the adapted vibration objects may be different.
  • terminal devices based on different operating systems can also be individually configured accordingly.
  • the vibration of the adapted vibration object is the same as that of the audience user using the Apple operating system.
  • the vibration conditions of the adapted vibration objects may also be different.
  • the vibration description file configured in advance by the user is adapted to the vibration object included in the service terminal, so as to determine the target vibration object that the service terminal needs to drive in the target business scene, and according to the user's advance
  • the configured vibration description file vibrates to achieve the adaptation effect between the business terminal and the application client.
  • FIG. 4 is a schematic flow chart of a service processing method provided in an embodiment of the present application.
  • the service processing method can be executed by an application client, such as a game client, a live broadcast client, an instant messaging client, and other application programs, and the application client can also be a small program or a website.
  • the service processing method may include steps 410 to 430 , and each step will be described below.
  • Step 410 Identify target business scenarios.
  • the target business scene can be any game scene in the game application, for example, the scene corresponding to two game characters fighting, interacting, etc., or any game character rotating, jumping or moving The corresponding scene when isochronous.
  • the target business scenario can also be any live broadcast scene in the live broadcast application.
  • the live broadcast scene can be a video live broadcast scene, and the live broadcast scene can also be an audio live broadcast scene.
  • the anchor user performs a talent show (such as dancing, singing, etc.) ) corresponding to the live broadcast scene.
  • the target business scenario can also be any information interaction scenario in an instant messaging application, for example, a scenario corresponding to two or more social users chatting in a chat group of an instant messaging application, or any social interaction The scene corresponding to when the user receives and browses the social information in the social platform, etc.
  • the embodiment of this application does not specifically limit the target service scenario.
  • Step 420 If it is identified that the target business scene is a business scene to be vibrated, obtain a vibration description file of the target business scene, and the vibration description file includes vibration parameters of vibration sources in the target business scene.
  • the application client when the application client identifies the target business scene, it can judge the scene type of the target business scene.
  • the target business scenario is a game scene where two game characters are fighting, interacting, etc.
  • the target business scenario is a live broadcast scene corresponding to a host user performing a talent show (such as dancing, singing, etc.) on a live broadcast platform, etc.
  • the target service scenario is a service scenario that requires vibration.
  • the method for the application client to obtain the vibration description file of the target business scenario may be obtained in advance, that is, the application client can obtain the to the vibration description file of the target business scenario.
  • the method for the application client to obtain the vibration description file of the target business scene can also be obtained in real time during the operation of the target business scene, that is, after the target business scene is identified as the business scene to be vibrated, then the vibration of the target business scene is obtained description file.
  • the embodiment of the present application does not specifically limit the timing for the application client to obtain the vibration description file of the target service scene.
  • the vibration description file of the target business scene includes the vibration parameters of the vibration source in the target business scene.
  • the vibration parameters include attribute parameters of the vibration source in the target business scenario, and control parameters configured for the vibration source in the target business scenario.
  • Attribute parameters include any of the following: coordinates, orientation.
  • the control parameters include at least one of the following: vibration start time, vibration duration, vibration end time, vibration frequency, and vibration intensity.
  • the coordinates refer to the coordinates corresponding to the position of the vibration source in the scene picture of the target business scene; the orientation is from the center point of the scene picture of the target business scene to the position of the vibration source direction.
  • the vibration source refers to the business object that needs to vibrate in the target business scene.
  • the vibration source can be a game character in the game scene.
  • a vibration object refers to a hardware device that can implement vibration operations.
  • a vibration object can be a motor, a sensor, and other devices.
  • the attribute parameters of the vibration object can include coordinates, for example, the coordinates can be expressed as (x1, y1), (x2, y2), etc.
  • the attribute parameters of the vibration object can include orientation, for example, the orientation can be expressed as east, south, west, north Wait.
  • the coordinates refer to the coordinates corresponding to the distribution position of the vibration object in the service terminal entity; the orientation is from the center point of the service terminal to the distribution position of the vibration object in the service terminal entity direction.
  • the vibration source is any game character in the game scene
  • the vibration object may be a motor corresponding to the game character in the game scene.
  • the game screen is displayed in full screen in the user interface of the business terminal, there is a need to fight between game character A and game character B, and the coordinates of game character A in the game screen are (x1, y1 ), and the game character A needs to fight continuously for 10 milliseconds (ms) during the fighting process, the vibration frequency is 50, and the vibration intensity is 80; the coordinates of the game character B in the game screen are (x2, y2), and the game character B is in During the fighting process, it is necessary to continue fighting for 12ms, the vibration frequency is 60, and the vibration intensity is 70.
  • the motor suitable for the game character A can be the motor 1 whose distribution position is (x1, y1) in the service terminal, or the distribution position is close to (x1, y1) (that is, the distribution position is the same as (x1, y1)
  • the distance between the motor 1 is less than the distance threshold
  • the motor suitable for the game character B can be the motor 2 with the distribution position (x2, y2) in the business terminal, or the distribution position is close to (x2, y2) (that is, the distance between the distribution position and (x2, y2) is less than the distance threshold).
  • the coordinates of the vibration source and the vibration object are not necessarily the same, and it only needs to meet the mutual adaptation between the vibration source and the vibration object.
  • the application client can obtain the vibration capability of the service terminal, and then update the vibration description file of the target service scene according to the vibration capability of the service terminal, so that the updated vibration description file of the target service scene is consistent with the vibration description file of the service terminal.
  • the method for the application client to obtain the vibration capability of the service terminal may be: by calling the application program interface (Application Program Interface, API) provided by the service terminal to obtain the vibration capability information of the service terminal, wherein the vibration capability information is used to indicate the service
  • the vibration capability of the terminal the vibration capability information includes M vibration objects and attribute parameters of the M vibration objects that the service terminal can provide, where M is a positive integer.
  • the application client can use the API of the service terminal to identify the vibration objects included in the service terminal and the distribution of the vibration objects, so as to obtain the vibration capability of the service terminal.
  • FIG. 5a is a schematic diagram of distribution of vibration objects of a service terminal provided by an embodiment of the present application. It can be seen from FIG. 5 a that the current service terminal can provide two vibration objects, and the two vibration objects may be a motor 501 and a sensor 502 respectively.
  • FIG. 5b which is a schematic diagram of distribution of vibration objects of another service terminal provided by an embodiment of the present application. It can be seen from FIG.
  • the current service terminal can provide four vibration objects
  • the four vibration objects may be the motor 510 , the motor 520 , the motor 530 and the motor 540 .
  • the application client can also acquire the attribute parameters (including any one of coordinates and orientation) of each vibration object, and then determine the vibration capability information of the service terminal based on the acquired attribute parameters of each vibration object.
  • the application client can configure the vibration description file of the target business scene according to the scene requirements of the target business scene.
  • the configured vibration description file can be a common vibration description in various types of business terminals. document.
  • the application client can perform corresponding configurations according to the game effect that the game scenario needs to achieve.
  • the scene requirement of the game scene is: a game effect of virtual fighting between two game characters
  • the application client can, based on the scene requirement of the game scene, based on the expected game effect on the content side (application client), Determine the number of vibration objects that need to be used under the game effect (such as 2 vibration objects) and the attribute parameters corresponding to each vibration object (such as one vibration object for the east and south positions).
  • the target business scenario is any information interaction scenario in an instant messaging application.
  • the information interaction scenario is a group chat scenario of multiple social users
  • the social user B that the social user A cares about can remind the social user A when the social user B that the social user A cares about releases a social message in the group chat.
  • the application client can determine the number of vibration objects (such as one vibration object) and the attribute parameters corresponding to each vibration object that need to be used in the target business scenario based on the effect of the expected reminder.
  • the application client can configure correspondingly according to the scenario requirements of different business scenarios that require vibration, so as to obtain multiple vibration description files that can be used in various types of business terminals.
  • a business scenario Can correspond to a vibration description file.
  • the service processing method may further include: the application client obtains the vibration capability of the service terminal,
  • the application client can first obtain the vibration capability information of the service terminal through the API provided by the service terminal.
  • the vibration capability information is used to indicate the vibration capability of the service terminal;
  • the vibration capability information includes M vibration objects that the service terminal can provide and the Attribute parameters of M vibration objects, the vibration objects include any of the following: motors, sensors.
  • the application client updates the vibration description file of the target service scenario according to the vibration capability of the service terminal, so that the updated vibration description file of the target service scenario matches the vibration capability of the service terminal, so that the updated target service scenario
  • the vibration description file can be personalized and applied to the service terminal to realize the personalized vibration configuration for the service terminal.
  • the application client can perform corresponding configurations according to the game effect that the game scenario needs to achieve. If the game scene needs to achieve the game effect of virtual fighting between four game characters, the application client can determine the number of vibration objects (such as 4 vibration objects) that need to be used under the game effect based on the expected game effect. ) and the attribute parameters corresponding to each vibration object (such as one vibration object for each of the east, south, west, and north positions). For example, if the currently obtained vibration capability of the service terminal indicates that the service terminal includes 6 vibration objects, then the application client can select 4 vibration objects that can achieve the expected game effect from the 6 vibration objects based on the scene requirements.
  • the number of vibration objects such as 4 vibration objects
  • the application client can select 4 vibration objects that can achieve the expected game effect from the 6 vibration objects based on the scene requirements.
  • the application client can parameters to update the vibration description file of the target business scenario.
  • the application client can also combine the vibration capabilities of the current business terminal for personalized configuration, so that the generated vibration description file can be better in the target business scenario.
  • the vibration capability of the current service terminal is adapted to improve the vibration effect of the service terminal.
  • the application client configures the vibration description file of the target business scenario according to the scenario requirements of the target business scenario, which may include: first, determining the vibration source in the target business scenario according to the scenario requirements of the target business scenario, calling the vibration
  • the waveform editor is used to configure the vibration waveform for the vibration source; then, call the vibration waveform editor to edit the vibration waveform and generate the vibration description file of the target business scene.
  • the application client calls the vibration waveform editor to edit the vibration waveform, and generates the vibration description file of the target business scene, which may include: first, the application client calls the vibration waveform editor to debug the vibration waveform , to obtain the initial parameters of the vibration source; then, the application client calls the vibration waveform editor to perform vibration simulation according to the initial parameters of the vibration source, and compares the matching degree between the vibration effect generated by the vibration simulation and the target business scenario; next , the application client calls the vibration waveform editor to optimize the initial parameters of the vibration source according to the matching degree, and obtains the vibration parameters of the vibration source; finally, the application client generates the vibration description file of the target business scenario according to the vibration parameters of the vibration source.
  • the application client can use a vibration editing tool (such as a vibration waveform editor) to edit the waveform of the vibration source in the target business scene requiring vibration to obtain the corresponding vibration waveform.
  • a vibration editing tool such as a vibration waveform editor
  • the application client uses the vibration waveform editor to generate a vibration waveform that matches the vibration source in the target business scenario, and debugs the vibration waveform. After debugging, the initial parameters of the vibration source can be obtained.
  • the application client can also use the vibration waveform editor to perform a simulation test on the vibration effect that needs to be realized in the target business scenario, wherein the simulation test can include vibration simulation according to the initial parameters of the vibration source. Compare the matching degree between the vibration effect generated by the vibration simulation and the specified vibration effect corresponding to the target business scenario.
  • the matching degree after the simulation test reaches the matching degree threshold, you can directly use the initial parameters of the vibration source as the vibration source parameter. If the matching degree after the simulation test does not reach the matching degree threshold, it is necessary to optimize the initial parameters of the vibration source according to the matching degree, and use the optimized initial parameters as the vibration parameters of the vibration source. Finally, the application client generates the vibration description file of the target business scene according to the vibration parameters of the vibration source.
  • the way for the vibration waveform editor to optimize the initial parameters of the vibration source can be: the vibration waveform editor edits and debugs the vibration waveform of the vibration source again, so as to determine the optimized vibration waveform according to the edited and debugged vibration waveform.
  • Initial parameters of the vibration source the vibration waveform editor repeats the vibration simulation operation according to the optimized initial parameters of the vibration source until the matching degree between the vibration effect generated by the vibration simulation and the specified vibration effect corresponding to the target business scenario reaches the matching degree threshold.
  • the vibration waveform editor determines the vibration parameters of the vibration source, and generates a vibration description file of the target business scene according to the vibration parameters of the vibration source.
  • the vibration description file of the target service scene sent by the application client to the service terminal may be transmitted in the form of a coded data group, or in the form of a data linked list, or in the form of a table
  • the transmission mode of the vibration description file is not specifically limited in this embodiment of the present application.
  • the way of transmitting the vibration description file in the transmission mode of the coded data group is taken as an example for illustration.
  • FIG. 6 is a schematic diagram of a vibration description file in the embodiment of the present application.
  • the vibration description file of the target business scene can include the vibration parameters of the vibration source in the target business scene, and the vibration parameters include the attribute parameters of the vibration source in the target business scene and are configured for the vibration source in the target business scene control parameters.
  • the vibration parameter may include multiple fields, the type of each field, and the description and relevant remarks of each field.
  • the field is "Time” and the type is “shaping”, this field is used to indicate “vibration start time, the unit is ms"; the field is “Duration”, and the type is “shaping”, this field is used to indicate “vibration duration , the unit is ms”; the field is “Freq”, the type is “integer”, this field is used to represent “vibration frequency, the value is 0-100”; another example, the field is "Intensity”, the type is “integer”, This field is used to indicate "vibration intensity, the value is 0-100”; the above field whose type is “shaping” can be used to indicate the control parameters of the vibration source.
  • the field is "Coordinate” and the type is "shaping two-dimensional data".
  • This field is used to represent the coordinates of the vibration source.
  • the field whose type is "shaping two-dimensional data" can be used to represent the attribute parameters of the vibration source, such as coordinates, orientation etc.
  • Step 430 Send the vibration description file to the service terminal, so that the service terminal drives the adapted target vibration object to vibrate in the target service scenario according to the vibration description file.
  • the application client before the application client sends the vibration description file of the target service scene to the service terminal, it can also detect whether the vibration description file of the target service scene matches the vibration capability of the service terminal; The step of sending the vibration description file of the target service scene to the service terminal. If not, the step of sending the vibration description file of the target service scene to the service terminal is not performed, but the vibration description file is updated based on the vibration capability of the service terminal.
  • the application client can continue to judge whether the vibration description file of the target service scene matches the vibration capability of the service terminal.
  • the vibration description file of the target business scene includes 4 vibration objects in the target business scene, and includes attribute parameters corresponding to each vibration object.
  • the vibration capability information of the service terminal acquired by the application client includes six vibration objects that the service terminal can provide, and attribute parameters of the six vibration objects. Then, the application client bases on the 4 vibration objects required in the vibration description file, the attribute parameters of each of the 4 vibration objects, the 6 vibration objects that the service terminal can provide, and each of the 6 vibration objects attribute parameters of a vibration object, and judge whether the vibration description file of the target business scene matches the vibration capability of the business terminal.
  • the application client can determine the target The vibration description file of the service scene matches the vibration capability of the service terminal.
  • the four vibration objects are vibration objects in the east, south, west, and north directions respectively, and all the six vibration objects provided by the service terminal are vibration objects in the east direction, then the application client can determine the vibration of the target business scene The description file does not match the vibration capability of the service terminal.
  • the application client judges whether the vibration description file of the target business scene matches the vibration capability of the business terminal, it can also continue to judge according to the control parameters of the vibration object. For example, when it is determined that the attribute parameters of the vibration objects match, it is also necessary to determine the control parameters corresponding to each vibration object.
  • the control parameters include at least one of the following: vibration start time, vibration duration, vibration end time, vibration frequency, and vibration intensity.
  • the application client sends the vibration description file of the target service scene to the service terminal, it first detects whether the vibration capability of the service terminal matches the vibration description file configured in advance by the application client, and after confirming the match Only then will the step of sending the vibration description file of the target business scene to the business terminal be executed; in this way, the business terminal can accurately vibrate based on the vibration description file, so the vibration effect can be improved; in addition, the vibration capability of the business terminal and the vibration description file In the case of mismatch, the resource consumption caused by sending invalid data is reduced, so that the vibration efficiency can be improved.
  • vibration prompt information can be output, wherein the vibration prompt information is used to prompt that vibration is to be triggered in the target business scene, that is to say, vibration is about to be triggered in the target business scene.
  • the vibration prompt information can be displayed on the user interface of the service terminal in the form of text, voice, floating window, marquee, etc., so as to remind the user that the vibration will be triggered in the target service scene.
  • FIG. 7 is a schematic flowchart of waveform generation of a game scene provided by an embodiment of the present application.
  • motor identification is performed, that is, the application client can use the API of the service terminal to identify the vibration objects (such as motors) included in the service terminal and the distribution of the vibration objects, and obtain the Vibration capability information of service terminals.
  • the acquired vibration capability information of the service terminal can be prompted to the user, so that the user can personalize and configure the corresponding vibration description file for the service terminal based on the vibration capability information of the service terminal.
  • the application client also obtains a personalized Vibration profile for the optimized configuration.
  • the application client identifies each game scene in the game application, and if it recognizes that the target business scene is a business scene that needs vibration, then obtain the vibration waveform (wherein, the vibration waveform can be transmitted in the form of a vibration profile).
  • the application client sends the vibration description file matching the target business scenario to the business terminal, so that the business terminal drives the adapted motor or sensor to vibrate according to the vibration description file corresponding to the target business scenario; correspondingly, the business terminal
  • a corresponding interface is presented by means of page rendering for viewing by the user.
  • the vibration description file of the target business scene when the application client recognizes that the target business scene requires vibration, the vibration description file of the target business scene can be obtained, and the vibration description file of the target business scene includes the vibration source in the target business scene The vibration parameters of the target business scene; the application client sends the vibration description file of the target business scene to the business terminal, and the business terminal adapts the target vibration object based on the vibration description file of the target business scene, and according to the vibration description file of the target business scene Drive the target vibration object to vibrate, so that the service terminal can adapt the vibration object based on the actual needs of the business side, and can choose the target vibration object that is suitable for the target business scene to provide vibration services for the target business scene.
  • the vibration object of the service terminal is driven to vibrate, so that the vibration object of the service terminal can adapt to the application client, and the application client and When the service terminals are adapted to each other, the vibration efficiency of the vibration objects of the service terminals can be improved.
  • FIG. 8 is a schematic flowchart of another business processing method provided by an embodiment of the present application.
  • the service processing method may be executed by a service terminal, such as a game terminal, a terminal device in a live broadcast scene, an instant messaging terminal, and the like.
  • a service terminal such as a game terminal, a terminal device in a live broadcast scene, an instant messaging terminal, and the like.
  • the business processing method may include steps 810 to 830, and each step will be described below.
  • Step 810 If the application client recognizes that the target business scene is a business scene to be vibrated, then receive the vibration description file of the target business scene sent by the application client.
  • the vibration description file includes the vibration parameters of the vibration sources in the target business scene.
  • the service terminal can also verify the identity information of the application client, and if the verification of the identity information of the application client passes, obtain the The vibration description file of the target business scenario.
  • the identity information of the client may include an identifier of the client, etc., which is not specifically limited in this embodiment of the present application.
  • Step 820 Determine an adapted target vibration object according to the vibration description file.
  • the number of vibration objects in the target vibration object may be one or multiple.
  • the vibration object may be at least one of a motor or a sensor.
  • the vibration object may also be other devices capable of performing vibration operations, which is not specifically limited in this embodiment of the present application.
  • the vibration parameter includes an attribute parameter of the vibration source in the target business scene; the attribute parameter includes any of the following: coordinates and orientation.
  • the service terminal determines the target vibration object for adaptation according to the vibration description file of the target service scene, which may include the following steps: first, the service terminal acquires vibration capability information, wherein the vibration capability information is used to indicate the vibration capability of the service terminal, and the vibration capability information includes The M vibration objects that the service terminal can provide, and the attribute parameters of the M vibration objects. Then, the service terminal determines an adapted target vibration object from the M vibration objects according to the attribute parameters of the vibration source in the target service scene in the vibration parameters. Wherein, the attribute parameter of the target vibration object matches the attribute parameter of the vibration source in the target service scene in the vibration parameter.
  • the vibration object is a motor
  • the vibration capability information acquired by the business terminal includes: 4 motors, and the distribution of these 4 motors in the business terminal, so that the business terminal can According to the distribution in , determine the attribute parameters of each of the 4 motors.
  • the four motors are motor 510, motor 520, motor 530, and motor 540, and these four motors are evenly distributed in the service terminal, respectively in the upper left corner, upper right corner, lower left corner, and right corner. Each orientation of the lower corner corresponds to the distribution, so the attribute parameters of each of the four motors can be determined.
  • the attribute parameters of the vibration source in the target business scene in the vibration parameters are two vibration sources located in the upper left corner and the lower right corner, then according to the correspondence between the attribute parameters of the vibration source and the distribution of the target vibration objects in the business terminal relationship, it can be determined that the target vibration object is the motor 510 distributed in the upper left corner and the motor 540 distributed in the lower right corner in the service terminal.
  • the target vibration object matching the vibration capability information of the business terminal itself is adapted, so that developers can be better adapted Scenario requirements configured in advance.
  • the vibration parameters include control parameters configured for the vibration source in the target business scenario; the control parameters include at least one of the following: vibration start time, vibration duration, vibration end time, vibration frequency, and vibration intensity.
  • the service terminal driving the target vibration object to vibrate according to the vibration description file of the target service scene in the target service scene may include: in the target service scene, the service terminal drives the target vibration object to vibrate according to the control parameters.
  • the vibration description file can be shown in Figure 6, and the vibration description file can include the vibration parameters of the vibration source in the target business scene, and the vibration parameters include the control parameters configured for the vibration source in the target business scene, as shown in Figure 6
  • the control parameters shown may include the following information: vibration start time (unit ms), vibration duration (unit ms), vibration end time (unit ms, vibration end time can be calculated according to the vibration start time and vibration duration, or can be Direct configuration), vibration frequency (value range is 0-100), and vibration intensity (value range is 0-100).
  • the service terminal drives the corresponding target vibration object to vibrate in the target service scene according to the information included in the control parameters. For example, if the target business scene is any game scene in the game application, the business terminal drives the target vibration object to vibrate, and renders the page through the rendering engine in the business terminal to present a picture to the user. It can be: the game screen when two game characters are engaged in virtual fighting, or the game screen when any game character performs virtual rotation, virtual jump or virtual movement during the game. For another example, if the target business scene is any live scene in the live broadcast application, the service terminal drives the target vibration object to vibrate, and renders the page through the rendering engine in the service terminal to present a picture to the user.
  • the picture can be: the live broadcast picture presented by the anchor user when performing a talent show (singing, dancing, etc.) in the live broadcast.
  • the business terminal drives the target vibration object to vibrate, and renders the page through the rendering engine in the business terminal to present a picture to the user.
  • the displayed screen may be: when a social user receives a social message sent by another social user, the window interface corresponding to the social message is a chat screen when flickering or shaking.
  • the vibration description file of the target business scene is generated based on editing of the vibration waveform corresponding to the target business scene by the user or developer on the application client side.
  • the service terminal determines the vibration strategy that needs to drive the target vibration object to vibrate according to the vibration description file in the target service scenario, and the service terminal can vibrate based on the finally determined vibration strategy.
  • the service processing method provided by the embodiment of the present application not only considers the needs of the application client, but also can take into account the vibration characteristics of the service terminal itself, and achieves the adaptation effect between the service terminal and the application client, thereby improving the vibration of the service terminal. Vibration effect during the process.
  • FIG. 9 is a schematic structural diagram of a service processing device provided in an embodiment of the present application.
  • the first service processing apparatus 900 may be applied to the application client corresponding to FIG. 4 .
  • the first service processing device 900 may be a computer program (including program code) running in a lightweight node, for example, the first service processing device 900 is an application software; the first service processing device 900 may be used to execute the application
  • the embodiment provides a service processing method on the application client side. Each unit included in the first service processing apparatus 900 will be described respectively below.
  • An identification unit 901 configured to identify a target business scenario
  • the obtaining unit 902 is configured to obtain a vibration description file of the target business scene if it is recognized that the target business scene is a service scene to be vibrated, and the vibration description file includes the vibration of the vibration source in the target business scene parameter;
  • the sending unit 903 is configured to send the vibration description file to a service terminal, and the service terminal is configured to drive the adapted target vibration object to vibrate according to the vibration description file in the target service scenario.
  • the first service processing device 900 further includes a configuration unit 904 configured to configure the vibration description file according to the scenario requirements of the target business scenario; wherein the vibration parameters include at least one of the following: Types: attribute parameters, control parameters; the attribute parameters include any of the following: coordinates, orientation; the control parameters include at least one of the following: vibration start time, vibration duration, vibration end time, vibration frequency, vibration intensity.
  • the vibration parameters include at least one of the following: Types: attribute parameters, control parameters; the attribute parameters include any of the following: coordinates, orientation; the control parameters include at least one of the following: vibration start time, vibration duration, vibration end time, vibration frequency, vibration intensity.
  • the configuration unit 904 is further configured to determine the vibration source in the target business scenario according to the scenario requirements of the target business scenario; configure the vibration waveform for the vibration source; The vibration waveform is edited to generate the vibration description file.
  • the configuration unit 904 is further configured to debug the vibration waveform to obtain the initial parameters of the vibration source; perform vibration simulation according to the initial parameters of the vibration source; compare the The degree of matching between the vibration effect generated by the vibration simulation and the specified vibration effect corresponding to the target business scene; optimizing the initial parameters of the vibration source according to the matching degree to obtain the vibration parameters; generating the vibration parameters according to the vibration parameters Describe the vibration description file.
  • both the configuration of the vibration waveform and the editing process of the vibration waveform are implemented by calling a vibration waveform editor.
  • the configuration unit 904 is further configured to obtain the vibration capability of the service terminal; update the vibration description file according to the vibration capability of the service terminal, and the updated vibration description file and The vibration capabilities of the service terminals are matched.
  • the configuration unit 904 is further configured to obtain the vibration capability information of the service terminal by calling the application programming interface API provided by the service terminal, and the vibration capability information is used to indicate that the service The vibration capability of the terminal; wherein, the vibration capability information includes M vibration objects in the service terminal and M attribute parameters of the vibration objects, and M is a positive integer; the vibration objects include any of the following: ,sensor.
  • the target business scene is any game scene in the game application;
  • the first business processing device 900 further includes an output unit 905 configured to output a vibration prompt when entering the target business scene information, the vibration prompt information is used to prompt that vibration is to be triggered in the target service scene.
  • FIG. 10 is a schematic structural diagram of another service processing device provided by an embodiment of the present application.
  • the second service processing apparatus 1000 may be applied to the service terminal corresponding to FIG. 8 .
  • the second service processing device 1000 may be a computer program (including program code) running in a lightweight node, for example, the second service processing device 1000 is an application software; the second service processing device 1000 may be used to execute the application implementation The service processing method on the service terminal side provided by the example.
  • Each unit included in the second service processing apparatus 1000 will be described respectively below.
  • the receiving unit 1001 is configured to receive the vibration description file of the target business scene sent by the application client, the vibration description file is sent when the application client recognizes that the target business scene is a business scene to be vibrated,
  • the vibration description file includes vibration parameters of vibration sources in the target business scene;
  • a determining unit 1002 configured to determine an adapted target vibration object according to the vibration description file
  • the vibration unit 1003 is configured to drive the target vibration object to vibrate according to the vibration description file in the target service scenario.
  • the vibration parameters include at least one of the following: attribute parameters and control parameters;
  • the attribute parameters include any of the following: coordinates and orientation;
  • the control parameters include at least one of the following: vibration start time , Vibration duration, vibration end time, vibration frequency, vibration intensity.
  • the determination unit 1002 is further configured to acquire vibration capability information, the vibration capability information is used to indicate the vibration capability of the service terminal, and the vibration capability information Including M vibration objects in the service terminal and attribute parameters of the M vibration objects, where M is a positive integer; according to the attribute parameters, determine the adapted target vibration object from the M vibration objects , the attribute parameter of the target vibration object matches the attribute parameter.
  • the vibration unit 1003 is further configured to drive the target vibration object to vibrate according to the control parameter in the target service scenario.
  • FIG. 11 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the computer equipment 1100 (referred to as electronic equipment for business processing) is used to execute the steps of Fig. 4 and Fig. 8, and the computer equipment 1100 includes: one or more processors 1110; one or more input devices 1120, Multiple output devices 1130 and memory 1140 .
  • the aforementioned processor 1110 , input device 1120 , output device 1130 and memory 1140 are connected through a bus 1150 .
  • the memory 1140 is used to store a computer program, the computer program includes program instructions, and the processor 1110 is used to call the program instructions stored in the memory 1140 to execute a service processing method on the application client side or a service processing method on the service terminal side.
  • the computer equipment described in this embodiment of the application can execute the description of the business processing method corresponding to FIG. 4 and FIG. 8, and can also execute the first business processing device 900 corresponding to FIG.
  • the description of the service processing device 1000 will not be repeated here.
  • the description of the beneficial effects of adopting the same business processing method will not be repeated here.
  • the embodiment of the present application also provides a computer storage medium, and the computer storage medium stores the computer programs executed by the first business processing device 900 and the second business processing device 1000, and the computer
  • the program includes program instructions, and when the processor executes the above program instructions, it can execute the business processing methods corresponding to FIG. 4 and FIG. 8 .
  • the program instructions for executing the business processing method may be deployed on one computer device, or executed on multiple computer devices located at one location, or distributed in multiple locations and interconnected by a communication network Executed on multiple computer devices, multiple computer devices distributed in multiple locations and interconnected through a communication network can form a blockchain system.
  • An embodiment of the present application provides 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 instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device can execute the business processing method corresponding to FIG. 4 and FIG. 8 .

Landscapes

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

Abstract

一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,该业务处理方法包括:识别目标业务场景;若识别到目标业务场景是需要振动的业务场景,则获取目标业务场景的振动描述文件,振动描述文件包括目标业务场景中的振动源的振动参数;将振动描述文件发送至业务终端,业务终端用于在目标业务场景下,按照振动描述文件驱动适配的目标振动对象进行振动。

Description

一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品
相关申请的交叉引用
本申请基于申请号为202110759903.8、申请日为2021年07月05日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及计算机技术领域,尤其涉及一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品。
背景技术
大部分终端中都配置有一个或多个振动对象,例如配置单马达或多马达,用来使终端能够支持振动输出。目前终端都是按照自身的策略对这些振动对象进行适配。实践发现,基于现有终端中的振动对象的适配方案,无法很好的适应不同的业务场景,导致振动效果不稳定。
发明内容
本申请实施例提出了一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,可以基于业务场景来对业务终端中的振动对象进行适配,从而提供与业务场景的场景需求相匹配的振动效果。
本申请实施例提供一种业务处理方法,该方法包括:
识别目标业务场景;
若识别到目标业务场景是待振动的业务场景,则获取目标业务场景的振动描述文件,振动描述文件包括目标业务场景中的振动源的振动参数;
将振动描述文件发送至业务终端,业务终端用于在目标业务场景下,按照振动描述文件驱动适配的目标振动对象进行振动。
本申请实施例提供一种业务处理方法,该方法包括:
若应用客户端识别到目标业务场景是待振动的业务场景,则接收应用客户端发送的目标业务场景的振动描述文件,振动描述文件包括目标业务场景中的振动源的振动参数;
根据振动描述文件确定适配的目标振动对象;
在目标业务场景下,按照振动描述文件驱动目标振动对象进行振动。
本申请实施例提供一种第一业务处理装置,该装置包括:
识别单元,配置为识别目标业务场景;
获取单元,配置为若识别到所述目标业务场景是待振动的业务场景,则获取所述目标业务场景的振动描述文件,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
发送单元,配置为将所述振动描述文件发送至业务终端,所述业务终端用于在所述目标业务场景下,按照所述振动描述文件驱动适配的目标振动对象进行振动。
本申请实施例提供一种第二业务处理装置,该装置包括:
接收单元,配置为接收应用客户端发送的目标业务场景的振动描述文件,所述振动描述文件是当所述应用客户端识别到所述目标业务场景是待振动的业务场景时所发送的,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
确定单元,配置为根据所述振动描述文件确定适配的目标振动对象;
振动单元,配置为在所述目标业务场景下,按照所述振动描述文件驱动所述目标振动对象进行振动。
本申请实施例提供一种用于业务处理的电子设备,该电子设备包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时,实现应用客户端侧的业务处理方法,或者实现业务终端侧的业务处理方法。
本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被电子设备的处理器读取并执行时,实现应用客户端侧的业务处理方法,或者实现业务终端侧的业务处理方法。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中;电子设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,实现应用客户端侧的业务处理方法,或者实现业务终端侧的业务处理方法。
本申请实施例中,当应用客户端识别到目标业务场景是待振动的业务场景时,可以获取目标业务场景的振动描述文件,该振动描述文件中包括目标业务场景中的振动源的振动参数;应用客户端将振动描述文件发送至业务终端,业务终端基于振动描述文件来适配目标振动对象,并按照振动描述文件在目标业务场景下驱动该目标振动对象进行振动,这样使得业务终端基于业务客户端侧的实际需求来对振动对象进行适配,既能够选用与目标业务场景相适配的目标振动对象来为目标业务场景提供振动服务,同时又保证目标振动对象的振动效果符合目标业务场景的场景需求;因此,能够提升振动效果的稳定性。
附图说明
为了更清楚地说明本申请实施例技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1a是本申请实施例提供的一种业务处理方案的原理示意图;
图1b是本申请实施例提供的一种区块链的结构示意图;
图1c是本申请实施例提供的另一种区块链的结构示意图;
图2是本申请实施例提供的一种业务处理系统的架构示意图;
图3是本申请实施例提供的一种业务处理方法的场景示意图;
图4是本申请实施例提供的一种业务处理方法的流程示意图;
图5a是本申请实施例提供的一种业务终端的振动对象的分布情况的示意图;
图5b是本申请实施例提供的另一种业务终端的振动对象的分布情况的示意图;
图6是本申请实施例一种振动描述文件的示意图;
图7是本申请实施例提供的一种游戏场景的波形生成的流程示意图;
图8是本申请实施例提供的另一种业务处理方法的场景示意图;
图9是本申请实施例提供的一种业务处理装置的结构示意图;
图10是本申请实施例提供的另一种业务处理装置的结构示意图;
图11是本申请实施例提供的一种计算机设备的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
本申请实施例提出了一种基于应用客户端与业务终端适配振动的业务处理方法。该业务处理方法先通过提前配置好需要进行振动的目标业务场景的振动描述文件,然后通过目标业务场景对应的应用客户端将配置好的该目标业务场景的振动描述文件发送给业务终端,以使业务终端收到目标业务场景的振动描述文件之后,在本端适配相应的目标驱动对象(如马达),并驱动该目标振动对象进行振动,从而输出与目标业务场景相匹配、且符合目标业务场景的场景需求的振动波形,能够提升目标业务场景的振动效果。其中,目标业务场景可以包括但不限于游戏场景等虚拟场景、直播场景、信息交互场景。应用客户端是指用于运行目标业务场景的客户端,包 括但不限于应用程序(Application,APP)、网站、小程序等等,例如:目标业务场景为游戏场景,那么应用客户端即为该游戏场景对应的游戏APP。应用客户端运行于业务终端中,基于业务终端所提供的运行环境(硬件或软件环境)来展示目标业务场景中的界面元素(如场景画面、场景中的角色、操作控件等等),响应目标业务场景中的各种操作,实现目标业务场景中的各种交互等等。业务终端可以包括但不限于:手机、电脑、掌上设备、车载设备等等。
下面以目标业务场景为目标游戏场景,应用客户端为游戏客户端,业务终端为运行有游戏客户端的智能终端为例,对本申请实施例提供的业务处理方法的原理进行详细说明。
请参见图1a,图1a是本申请实施例提供的一种业务处理方法的场景示意图;这里结合图1a说明该业务处理方法的场景。
(1)首先,游戏客户端进行场景识别和振动触发。也就是说,在游戏客户端侧,游戏客户端可以响应于游戏开发人员的操作,以基于目标业务场景的场景需求确定该目标业务场景是否需要触发振动,如果确定需要振动则在目标业务场景中确定振动源;例如:按照游戏的设计,当某游戏场景中出现游戏角色A时,需要触发振动;那么该游戏场景则可以为目标业务场景,并且目标业务场景中的振动源即为游戏角色A。又如:当某个游戏场景中的游戏角色A需要执行触发振动的操作时,如旋转、跳跃、射击等操作,可以确定此时该游戏角色A需要触发振动;那么该游戏场景则可以为目标业务场景,并且目标业务场景中的振动源即为游戏角色A。
其次,当游戏开发人员利用振动波形编辑器为需要振动的目标业务场景中的振动源配置振动波形时,振动波形编辑器也就接收到振动波形设置操作;从而,震动波形编辑器响应于振动波形设置操作,为目标业务场景中的振动源配置振动波形,以实现波形配置。可以理解的是,目标业务场景中可以包含多个振动源,那么多个振动源可以对应同一个振动波形(即多个振动源产生相同的振动效果),多个振动源也可以各自分别对应一个振动波形(即每个振动源产生的振动效果均不同)。
再次,当游戏开发人员利用振动波形编辑器对振动源的振动波形进行编辑处理时,振动波形编辑器也就接收到振动波形编辑操作;从而,震动波形编辑器响应于振动波形编辑操作,通过编辑振动波形,来实现波形调试和多马达模拟,从而得到目标业务场景的振动描述文件。
在本申请实施例中,编辑振动波形可包括以下五个步骤,下面对各步骤分别进行说明。
第一个步骤,游戏客户端调用振动波形编辑器对振动波形进行调试处理,得到振动源的初始参数。此处,调试处理的过程是按照振动波形的配置进行输出,并不断调整参数使输出波形与配置的振动波形尽量保持一致,以及在输出波形与配置的振动波形一致时,将输出波形对应的参数确定为 振动源的初始参数;该初始参数可以包括振动源的初始属性参数和初始控制参数。
第二个步骤,振动波形编辑器可以按照振动源的初始参数进行振动模拟。其中,振动模拟的过程是通过软件(如程序代码)或硬件(如马达、传感器等)按照振动源的初始参数模拟振动源的振动的过程。
第三个步骤,振动波形编辑器比对振动模拟产生的振动效果与目标业务场景对应的指定振动效果之间的匹配度;其中,匹配度用于衡量振动模拟产生的振动效果与目标业务场景的场景需求所对应的指定振动效果之间的匹配程度,匹配度大于设定阈值,说明振动模拟产生的振动效果是合乎目标业务场景的场景需求的;反之,匹配度不大于设定阈值,则说明振动模拟产生的振动效果是不符合目标业务场景的场景需求的,需要对初始参数进行优化,以使最终振动模拟的振动效果能够符合目标业务场景的场景需求。
第四个步骤,振动波形编辑器根据振动模拟后的匹配度优化振动源的初始参数,得到振动源的振动参数;例如:若根据匹配度发现当振动源在初始属性参数指示的位置产生振动时,初始属性参数所产生的振动效果并不符合目标业务场景的场景需求,相对于目标业务场景的场景需求,所产生的游戏交互体验较差,那么此时可以通过改变初始属性参数指示的位置来进行再次振动,来优化振动源的初始参数中的初始属性参数,以使振动源在合适的位置进行振动。再如:若根据匹配度发现当振动源按照初始控制参数指示的振动强度进行振动时,初始属性参数所产生的振动效果并不符合目标业务场景的场景需求,相对于目标业务场景的场景需求,所产生的游戏交互体验较差,那么此时可以调整振动源的初始参数中的初始控制参数,使其优化为合适的振动强度。可以理解的是,按照优化得到的振动源的振动参数进行振动,可以得到与目标业务场景的场景需求相匹配的振动波形。
第四个步骤,振动波形编辑器根据优化得到的振动源的振动参数生成目标业务场景的振动描述文件。目标游戏场景的振动描述文件可包括目标游戏场景中的振动源(例如游戏角色A)的振动参数,该振动参数可以包括振动源的属性参数和针对振动源设置的控制参数。此处的属性参数可以包括但不限于以下任一种:振动源(如游戏角色A)在目标游戏场景中的位置、方位、坐标。控制参数例如可以是以下任一种:振动开始时间,振动结束时间,振动持续时长,振动的频率(称为振动频率),以及振动的强度(称为振动强度)。
(2)在游戏应用运行的过程中,游戏客户端识别到目标游戏场景是需要振动的游戏场景,则游戏客户端获取该目标游戏场景的振动描述文件。
(3)游戏客户端可以将目标游戏场景的振动描述文件下发给智能终端,智能终端在获取到游戏客户端发送的目标游戏场景的振动描述文件之后, 基于振动描述文件进行波形解析,并据对自身马达的分布情况找到与该振动源相适配的目标马达(称为目标振动对象),以实现马达识别;例如:目标游戏场景的画面全屏显示于智能终端的屏幕中,根据振动源在目标游戏场景中的坐标,找到智能终端中分布位置与该坐标相同或相近(分布位置与该坐标之间的距离差低于指定距离)的目标马达。进而,智能终端驱动适配的目标马达进行振动,以实现马达驱动;可以理解的是,由于目标马达的分布位置与振动源的坐标相同或相近,因此在游戏过程中,目标马达的振动让用户感觉就是振动源(游戏角色A)在振动,从而能够提升振动效果,提升游戏体验。
还可以理解的是,本申请实施例中,游戏客户端基于目标游戏场景的场景需求,通过调用振动波形编辑器对目标游戏场景的振动波形进行设置,提供了初始的振动参数;并结合智能终端与游戏客户端之间的交互,以实现对振动波形的调试,从而能够在智能终端侧确认并输出最终的振动参数。由此,本申请实施例既考虑了游戏客户端的需求,也能够兼顾智能终端自身的振动特性,从而能够实现根据不同场景和对象的自适应的智能化震动,进而能够提升振动效果。
在申请实施例中,本申请实施例提供的业务处理方法可与区块链技术相结合;例如可以将目标业务场景的振动描述文件、业务终端的振动能力信息等数据上传至区块链中进行保存,从而保证区块链上的这些数据不易被篡改。
其中,区块链(Blockchain)是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。参见图1b所示,该区块链可由多个区块组成;其中,第一个区块可称为创始块。创始块中包括区块头和区块主体,区块头中存储有输入信息特征值、版本号、时间戳和难度值,区块主体中存储有输入信息;创始块的下一区块以创始块为父区块,下一区块中同样包括区块头和区块主体,区块头中存储有当前区块的输入信息特征值、父区块的区块头特征值、版本号、时间戳和难度值,并以此类推,使得区块链中每个区块中存储的区块数据均与父区块中存储的区块数据存在关联,保证了区块中输入信息的安全性。
基于此,下面以将振动描述文件存储至区块链为例,对如何将数据存储至区块链的具体实施方式进行阐述:首先,可将振动描述文件添加至目标区块的区块主体中,并对区块主体中的样式文件进行哈希运算,得到默克尔哈希值。其次,可采用随机算法生成一个随机数,并采用计算得到的默克尔哈希值、随机数、版本号、上一区块哈希值、当前时间戳以及当前难度值组成目标区块的区块头部,如图1c所示。其中,版本号是指区块链 中相关区块协议的版本信息;父区块哈希值是指上一区块的区块头部的特征值;当前时间戳是指组成区块头部时的系统时间;当前难度值是指计算的难度值,该难度值在固定时间段内为定值,并在超出固定时间段后再次进行确定。然后,可采用特征值算法(如SHA256算法)对区块头部所包含的内容进行一次或多次哈希运算,得到目标区块的区块头部的特征值;此处的哈希运算的次数可根据计算难度确定,计算难度越大,哈希运算的次数越多。在基于上述步骤得到目标区块后,可将该目标区块广播给区块链网络中的各个共识节点进行共识处理;在通过共识处理后,将目标区块添加至区块链上。
请参见图2,图2是本申请实施例提供的一种业务处理系统的架构示意图。该业务处理系统的架构图可以包括:应用客户端以及业务终端;其中,应用客户端可以是运行于业务终端中的一个应用,即需要在操作系统中安装才能运行的程序,如游戏应用、即时通信应用;应用客户端也可以是运行于业务终端中的一个小程序,或者应用客户端为网站等,即只需要下载到浏览器环境中就可以运行的程序;应用客户端还可以是操作系统中的原生程序或软件模块。另外,业务终端等可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Device)、车辆、车载设备、路边设备、飞行器、可穿戴设备、智能电视等,例如智能手表、智能手环、计步器等,等具有业务处理功能的设备。
在本申请实施例中,应用客户端识别目标业务场景,若应用客户端识别出该目标业务场景是需要振动的业务场景,确定目标业务场景是待振动的业务场景,则应用客户端获取目标业务场景的振动描述文件,其中,目标业务场景的振动描述文件包括目标业务场景中的振动源的振动参数。然后,应用客户端将目标业务场景的振动描述文件发送至业务终端。业务终端获取到目标业务场景的振动描述文件之后,可以在目标业务场景下按照目标业务场景的振动描述文件驱动适配的目标振动对象进行振动。
在本申请实施例中,若应用客户端识别到目标业务场景是待振动的业务场景,则业务终端可以接收应用客户端发送的目标业务场景的振动描述文件;然后,业务终端根据目标业务场景的振动描述文件确定适配的目标振动对象;最后,业务终端在目标业务场景下按照目标业务场景的振动描述文件驱动目标振动对象进行振动。
举例来说,目标业务场景为游戏场景,则业务终端可以在游戏场景中的每一个游戏场景中按照应用客户端所下发的该游戏场景所对应的振动描述文件,驱动适配的一个或者多个马达(称为目标振动对象)进行相应的振动。进而,基于业务终端中一个或多个马达的振动,在用户界面中可以根据这些马达的振动情况进行页面渲染,从而为用户提供直观、丰富的游戏画面。
接下来以目标业务场景为游戏场景为例,将本申请实施例提供的业务 处理系统应用于游戏场景时的原理进行相关说明。若目标游戏场景的画面全屏显示于业务终端的屏幕中,则根据振动源在目标游戏场景中的坐标,找到业务终端中分布位置与该坐标相同或相近的目标马达。进而,业务终端驱动适配的目标马达进行振动。如图2所示,在业务处理系统中,目标游戏场景的画面中包括4个需要振动的振动源:游戏角色A、游戏角色B、游戏角色C、以及游戏角色D,根据这4个游戏角色在游戏画面中的坐标,可以在终端中确定分布位置(例如坐标)与这4个游戏角色在游戏画面中的坐标相同或相近的马达;从而,游戏角色A在业务终端中相适配的目标马达可以为马达201,游戏角色B在业务终端中相适配的目标马达可以为马达202,游戏角色C在业务终端中相适配的目标马达可以为马达203,游戏角色D在业务终端中相适配的目标马达可以为马达204。其中,当游戏角色A需要执行射击操作而触发振动时,根据本申请实施例提供的业务处理方法,业务终端可根据关于该振动源(游戏角色A)的振动参数来驱动马达201进行振动;当游戏角色C需要执行移动操作而触发振动时,根据本申请实施例提供的业务处理方法,业务终端可根据关于该振动源(游戏角色C)的振动参数来驱动马达203进行振动。
另外,若目标游戏场景的画面非全屏(如按照75%、50%等显示比例)显示于业务终端的屏幕中,那么,业务终端可以按照显示比例先将振动源在目标游戏场景中的坐标转换为画面全屏显示时对应的坐标,然后再找到业务终端中分布位置与该转换后的坐标相同或相近的目标马达。进而,业务终端驱动适配的目标马达进行振动。
需要说明的是,可以将本申请实施例提供的用于实现业务处理方法的业务处理系统部署在区块链的节点上,例如可以将业务终端当成区块链的节点设备,共同构成区块链网络。因此本申请实施例中获取目标业务场景的振动描述文件对应的业务处理流程可以在区块链上执行,这样既可以保证业务处理流程的公平公正化,同时可以使得业务处理流程具备可追溯性,从而提升业务处理流程的安全性。
可以理解的是,本申请实施例描述的业务处理系统的架构示意图是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着业务处理系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
下面以目标业务场景为视频直播场景为例说明本申请实施例提供的业务处理方法。参见图3所示,图3是本申请实施例提供的一种业务处理方法的场景示意图。如图3所示,在将该业务处理方法应用在视频直播场景中时,应用客户端可以是用于实现视频直播业务的APP,该APP运行于观众用户所使用的终端设备320,则观众用户所使用的终端设备320为本申请实施例所述的业务终端。并且,主播用户所使用的终端设备310与观众用 户所使用的终端设备320之间可以通过有线或者无线的方式建立通信连接。下面说明业务处理方法在该视频直播场景中的应用过程。
在直播场景中,终端设备320可以实时同步主播用户的直播画面场景,并当识别到某个直播画面场景需要触发振动时,获取该直播画面场景所对应的振动描述文件,其中,振动描述文件包括在该直播画面场景中的振动源的振动参数。在本申请实施例中,振动源的振动参数可以包括直播画面场景中的振动源(例如主播用户)的属性参数,属性参数可以包括以下任一种:坐标、方位。在本申请实施例中,振动源的振动参数可以为振动源的坐标,振动源的坐标与振动对象之间存在一一对应关系。从而,在终端设备320获取到当前直播画面场景所对应的振动描述文件之后,在当前直播画面场景下按照所获取到的振动描述文件驱动相应的目标振动对象(如马达)进行振动。其中,振动所需的振动对象的数量可以为一个,也可以为多个,本申请实施例对此不做具体限定。
当然,在视频直播场景中,终端设备320获取振动描述文件的方式可以是:在主播用户开启直播之后,终端设备320即可获取到开发人员提前设置或者定义好的通用的振动描述文件,然后基于所获取到的通用的振动描述文件,在识别到每个需要振动的直播画面场景时,从这些通用的振动描述文件中确定出当前需要振动的直播画面场景所对应的振动描述文件。终端设备320获取振动描述文件的方式还可以是:终端设备320在识别到当前需要振动的直播画面场景时,实时获取当前需要振动的直播画面场景所对应的振动描述文件,本申请实施例对此不做具体限定。
终端设备320在当前直播画面场景下按照所获取到的振动描述文件驱动相应的目标振动对象(如马达)进行振动的过程中,可以在终端设备320的播放界面300中向观众用户实时展示当前直播画面。例如,播放界面300中可以包括主播用户所展示的实时直播画面,还可以包括正在观看当前直播的其他在线观众(用户A、用户B以及用户C等)在评论区所发表的评论。
另外,基于不同类型的终端设备,还可以相应进行个性化的配置。例如,若终端设备为手机,则观众用户在使用手机观看主播用户的视频直播场景时,所适配的振动对象的振动情况,与终端设备为电脑,相应的观众用户在使用电脑观看主播用户的视频直播场景时,所适配的振动对象的振动情况可以不同。或者,基于不同操作系统的终端设备,也可以相应进行个性化的配置。例如,终端设备的操作系统为安卓操作系统,则观众用户在使用安卓操作系统下的终端设备观看主播用户的视频直播场景时,所适配的振动对象的振动情况,与观众用户在使用苹果操作系统下的终端设备观看主播用户的视频直播场景时,所适配的振动对象的振动情况也可以不同。
本申请实施例通过基于用户提前配置好的振动描述文件,并与业务终 端所包括的振动对象之间进行适配,从而确定业务终端需要在目标业务场景下驱动的目标振动对象,并按照用户提前配置好的振动描述文件进行振动,达到了业务终端与应用客户端之间的适配效果。
基于以上分析,下面结合图4对本申请的业务处理方法进行描述。请参见图4,图4是本申请实施例提供的一种业务处理方法的流程示意图。该业务处理方法可以由应用客户端执行,该应用客户端例如可以为游戏客户端、直播客户端以及即时通信客户端等应用程序,应用客户端也可以为小程序或网站等等。如图4所示,该业务处理方法可包括步骤410至步骤430,下面对各步骤分别进行说明。
步骤410:识别目标业务场景。
本申请实施例中,目标业务场景可以为游戏应用中的任一个游戏场景,例如两个游戏角色之间在进行搏击、交互等时所对应的场景,或者任一游戏角色在旋转、跳跃或者移动等时所对应的场景。当然,目标业务场景也可以为直播应用中的任一直播场景,直播场景可以为视频直播场景,直播场景也可以为音频直播场景,例如,主播用户在直播平台进行才艺展示(如跳舞、唱歌等)时所对应的直播场景。另外,目标业务场景也可以为即时通信应用中的任一信息交互场景,例如,两个或者多个社交用户在即时通信应用的聊天群组中进行聊天时所对应的场景,或者,任一社交用户在接收并浏览社交平台中的社交信息时所对应的场景等。本申请实施例对目标业务场景不做具体限定。
步骤420:若识别到目标业务场景是待振动的业务场景,则获取目标业务场景的振动描述文件,振动描述文件包括目标业务场景中的振动源的振动参数。
在本申请实施例中,应用客户端在识别目标业务场景时,可以对目标业务场景的场景类型进行判断,若应用客户端判断出目标业务场景是需要振动的业务场景,则确定目标业务场景是待振动的业务场景,从而触发执行获取目标业务场景的振动描述文件的步骤。例如,目标业务场景为两个游戏角色之间在进行搏击、交互等的游戏场景,或者目标业务场景为主播用户在直播平台进行才艺展示(如跳舞、唱歌等)时所对应的直播场景等,均可判定为该目标业务场景是需要振动的业务场景。
在本申请实施例中,应用客户端获取目标业务场景的振动描述文件的方式可以是预先获取的,即应用客户端通过预先响应于开发人员配置目标业务场景的振动描述文件的操作,即可获取到目标业务场景的振动描述文件。当然,应用客户端获取目标业务场景的振动描述文件的方式也可以是在运行目标业务场景中实时获取的,即当识别到目标业务场景为待振动的业务场景之后,再获取目标业务场景的振动描述文件。本申请实施例对应用客户端获取目标业务场景的振动描述文件的时机并不做具体限定。
其中,目标业务场景的振动描述文件包括目标业务场景中的振动源的 振动参数。其中,振动参数包括目标业务场景中的振动源的属性参数,以及针对目标业务场景中的振动源而配置的控制参数。属性参数包括以下任一种:坐标、方位。控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。
可以理解的是,振动源的属性参数中,坐标指的是振动源在目标业务场景的场景画面中所在位置对应的坐标;方位是从目标业务场景的场景画面的中心点指向振动源所在位置的方向。
本申请实施例中,振动源是指在目标业务场景中需要进行振动的业务对象,例如目标业务场景为游戏场景,则振动源可以为游戏场景中的游戏角色。振动对象是指可以实现振动操作的硬件设备,例如振动对象可以为马达、传感器等设备。其中,振动对象的属性参数可以包括坐标,例如坐标可以表示为(x1,y1),(x2,y2)等,振动对象的属性参数可以包括方位,例如方位可以表示为东、南、西、北等。可以理解的是,振动对象的属性参数中,坐标指的是振动对象在业务终端实体中的分布位置对应的坐标;方位是从业务终端的中心点指向振动对象在业务终端实体中的分布位置的方向。当目标业务场景的场景画面全屏显示于业务终端的屏幕中时,目标业务场景的场景画面的中心点与业务终端的中心点重合。
其中,在目标业务场景下,振动源与业务终端中的振动对象之间可一一对应。例如,振动源为游戏场景中的任一游戏角色,那么,振动对象可以为该游戏场景中对应该游戏角色的马达。例如,在某一游戏画面中,该游戏画面全屏显示于业务终端的用户界面中,游戏角色A与游戏角色B之间需要进行搏击,游戏角色A在该游戏画面中的坐标为(x1,y1),以及游戏角色A在搏击过程中需要持续搏击10毫秒(ms),振动频率为50,振动强度为80;游戏角色B在游戏画面中的坐标为(x2,y2),以及游戏角色B在搏击过程中需要持续搏击12ms,振动频率为60,振动强度为70。那么,与游戏角色A相适配的马达可以为在业务终端中分布位置为(x1,y1)的马达1,或者是分布位置与(x1,y1)相近(即分布位置与(x1,y1)之间的距离小于距离阈值)的马达1,与游戏角色B相适配的马达可以为在业务终端中分布位置为(x2,y2)的马达2,或者是分布位置与(x2,y2)相近(即分布位置与(x2,y2)之间的距离小于距离阈值)的马达2。需要说明的是,振动源的坐标与振动对象的坐标之间不一定是相同的,只需要满足振动源与振动对象之间相互适配即可。
在本申请实施例中,应用客户端可以获取业务终端的振动能力,然后按照业务终端的振动能力,更新目标业务场景的振动描述文件,使更新后的目标业务场景的振动描述文件与业务终端的振动能力相匹配。其中,应用客户端获取业务终端的振动能力的方式可以为:通过调用业务终端提供的应用程序接口(Application Program Interface,API),获取业务终端的振动能力信息,其中,振动能力信息用于指示业务终端的振动能力,振动能 力信息包括业务终端能够提供的M个振动对象及M个振动对象的属性参数,M为正整数。
在本申请实施例中,应用客户端可以利用业务终端的API识别业务终端所包括的振动对象以及振动对象的分布情况,从而获取业务终端的振动能力。如图5a所示,图5a是本申请实施例提供的一种业务终端的振动对象的分布情况的示意图。由图5a可知,当前业务终端能够提供2个振动对象,这2个振动对象可以分别为马达501和传感器502。又如,请参见图5b,图5b是本申请实施例提供的另一种业务终端的振动对象的分布情况的示意图。由图5b可知,当前业务终端能够提供4个振动对象,这4个振动对象可以分别为马达510、马达520、马达530和马达540。这里,应用客户端还可以获取每个振动对象的属性参数(包括坐标、方位中的任一种),然后基于所获取的每个振动对象的属性参数,确定业务终端的振动能力信息。
在本申请实施例中,应用客户端可以按照目标业务场景的场景需求,配置目标业务场景的振动描述文件,此时所配置的振动描述文件可以是在各种类型的业务终端中通用的振动描述文件。
举例来说,若目标业务场景是游戏应用中的任一个游戏场景,则应用客户端可以根据该游戏场景需要达到的游戏效果,进行相应的配置。如该游戏场景的场景需求为:两个游戏角色之间进行虚拟搏击的游戏效果,则应用客户端可以基于该游戏场景的场景需求,在内容端(应用客户端)基于该预期的游戏效果,确定在该游戏效果下需要使用的振动对象的数量(如2个振动对象)以及各个振动对象所对应的属性参数(如东、南方位各一个振动对象)。
又如,目标业务场景是即时通信应用中的任一个信息交互场景,如该信息交互场景为多个社交用户群聊的场景,针对任一社交用户A,若群聊的多个社交用户中有社交用户A关心的社交用户B,则当该社交用户A所关心的社交用户B在群聊时发布社交消息时,可以提醒社交用户A。则应用客户端可以基于该预期需要提醒的效果,确定在该目标业务场景下需要使用的振动对象的数量(如1个振动对象)以及各个振动对象所对应的属性参数。
基于上述方式,应用客户端可以针对不同的需要振动的业务场景的场景需求,进行相应的配置,从而得到多个可以是在各种类型的业务终端中通用的振动描述文件,其中,一个业务场景可以对应一个振动描述文件。
在本申请实施例中,应用客户端在获得适应于各种类型的业务终端中通用的目标业务场景的振动描述文件之后,该业务处理方法还可以包括:应用客户端获取业务终端的振动能力,这里,应用客户端可先通过业务终端提供的API来获取业务终端的振动能力信息,该振动能力信息用于指示业务终端的振动能力;振动能力信息包括业务终端能够提供的M个振动对象及该M个振动对象的属性参数,振动对象包括以下任一种:马达、传感 器。然后应用客户端按照业务终端的振动能力,更新目标业务场景的振动描述文件,使更新后的目标业务场景的振动描述文件与业务终端的振动能力相匹配,这样就可以使得更新后的目标业务场景的振动描述文件能够个性化的应用于业务终端中,实现针对业务终端的个性化的振动配置。
例如,若目标业务场景是游戏应用中的任一个游戏场景,则应用客户端可以根据该游戏场景需要达到的游戏效果,进行相应的配置。如该游戏场景需要达到四个游戏角色之间进行虚拟搏击的游戏效果,则应用客户端可以基于该预期的游戏效果,确定在该游戏效果下需要使用的振动对象的数量(如4个振动对象)以及各个振动对象所对应的属性参数(如东、南、西、北方位各一个振动对象)。例如,若当前所获取到的业务终端的振动能力中指示该业务终端包括6个振动对象,则应用客户端可以基于场景需求从这6个振动对象中挑选出可以达到预期游戏效果的4个振动对象,以及所挑选出来的4个振动对象中各个振动对象的属性参数,更新目标业务场景的振动描述文件。又如,若当前所获取到的业务终端的振动能力信息中指示该业务终端包括3个振动对象,则应用客户端可以根据这3个振动对象,以及这3个振动对象中各个振动对象的属性参数,更新目标业务场景的振动描述文件。
可以理解的是,应用客户端在基于目标业务场景的场景需求的情况下,还可以结合到当前业务终端的振动能力进行个性化配置,从而使得生成的振动描述文件可以在目标业务场景下更好的适配当前业务终端的振动能力,从而提高了业务终端的振动效果。
在本申请实施例中,应用客户端按照目标业务场景的场景需求,配置目标业务场景的振动描述文件,可以包括:首先,按照目标业务场景的场景需求确定目标业务场景中的振动源,调用振动波形编辑器为为振动源配置振动波形;然后,调用振动波形编辑器对振动波形进行编辑处理,生成目标业务场景的振动描述文件。
在本申请实施例中,应用客户端调用振动波形编辑器对振动波形进行编辑处理,生成目标业务场景的振动描述文件,可以包括:首先,应用客户端调用振动波形编辑器对振动波形进行调试处理,得到振动源的初始参数;然后,应用客户端调用振动波形编辑器来按照振动源的初始参数进行振动模拟,并比对振动模拟产生的振动效果与目标业务场景之间的匹配度;接下来,应用客户端调用振动波形编辑器来根据匹配度优化振动源的初始参数,得到振动源的振动参数;最后,应用客户端根据振动源的振动参数生成目标业务场景的振动描述文件。
在本申请实施例中,应用客户端可以利用振动编辑工具(例如振动波形编辑器)对需要振动的目标业务场景中的振动源进行波形编辑,得到对应的振动波形。例如,应用客户端利用振动波形编辑器生成与目标业务场景中的振动源相匹配的振动波形,并对该振动波形进行调试处理,调试处 理后即可得到该振动源的初始参数。另外,应用客户端还可以利用振动波形编辑器对目标业务场景下所需要实现的振动效果进行模拟测试,其中,模拟测试可以包括按照振动源的初始参数进行振动模拟。比对振动模拟产生的振动效果与目标业务场景对应的指定振动效果之间的匹配度,若模拟测试后的匹配度达到匹配度阈值,则可以直接将该振动源的初始参数作为振动源的振动参数。若模拟测试后的匹配度未达到匹配度阈值,则需要根据匹配度优化振动源的初始参数,并将优化后的初始参数作为振动源的振动参数。最后,应用客户端根据振动源的振动参数生成目标业务场景的振动描述文件。
其中,振动波形编辑器优化振动源的初始参数的方式可以为:振动波形编辑器对该振动源的振动波形进行再次编辑以及调试处理,从而再根据编辑以及调试处理后的振动波形确定优化后的振动源的初始参数。接下来,振动波形编辑器根据优化后的振动源的初始参数重复执行振动模拟的操作,直至振动模拟产生的振动效果与目标业务场景对应的指定振动效果之间的匹配度达到匹配度阈值为止。最后,振动波形编辑器确定出该振动源的振动参数,并根据振动源的振动参数生成目标业务场景的振动描述文件。
在本申请实施例中,由应用客户端发送至业务终端的目标业务场景的振动描述文件可以是以编码数据组的方式传输的,也可以是以数据链表的方式传输的,还可以是以表格的方式传输的,等等,本申请实施例对振动描述文件的传输方式并不做具体限定。
本申请实施例中以编码数据组的传输方式传输振动描述文件的方式为例进行说明,请参见图6,图6是本申请实施例一种振动描述文件的示意图。如图6所示,该目标业务场景的振动描述文件可以包括目标业务场景中的振动源的振动参数,振动参数包括目标业务场景中振动源的属性参数及针对目标业务场景中的振动源而配置的控制参数。并且,振动参数可以包括多个字段,每个字段的类型,以及每个字段的说明和相关备注。例如,字段为“Time”,类型为“整形”,该字段用于表示“振动开始时间,单位是ms”;字段为“Duration”,类型为“整形”,该字段用于表示“振动持续时长,单位是ms”;字段为“Freq”,类型为“整形”,该字段用于表示“振动频率,取值为0-100”;又如,字段为“Intensity”,类型为“整形”,该字段用于表示“振动强度,取值为0-100”;以上类型为“整形”的字段可以用于表示振动源的控制参数。还如,字段为“Coordinate”,类型为“整形二维数据”,该字段用于表示振动源坐标,类型为“整形二维数据”的字段可以用于表示振动源的属性参数,如坐标、方位等。
步骤430:将振动描述文件发送至业务终端,使业务终端在目标业务场景下,按照振动描述文件驱动适配的目标振动对象进行振动。
在本申请实施例中,应用客户端在将目标业务场景的振动描述文件发送至业务终端之前,还可以检测目标业务场景的振动描述文件与业务终端 的振动能力是否匹配;若匹配,则执行将目标业务场景的振动描述文件发送至业务终端的步骤。若不匹配,则不执行将目标业务场景的振动描述文件发送至业务终端的步骤,而是基于业务终端的振动能力更新振动描述文件。
在本申请实施例中,在所获取到的振动描述文件适用于各种类型的业务终端的情况下,则应用客户端可以继续判断目标业务场景的振动描述文件与业务终端的振动能力是否匹配。
示例性地,目标业务场景的振动描述文件包括目标业务场景中的4个振动对象,以及包括各个振动对象所对应的属性参数。另外,应用客户端获取到业务终端的振动能力信息包括业务终端可以提供6个振动对象,以及包括这6个振动对象的属性参数。然后,应用客户端根据振动描述文件中所需的4个振动对象、这4个振动对象中每个振动对象的属性参数、业务终端可以提供的6个振动对象、以及这6个振动对象中每个振动对象的属性参数,判断目标业务场景的振动描述文件与业务终端的振动能力是否匹配。例如,4个振动对象分别为东、南、西、北方位的振动对象,业务终端提供的6个振动对象中包括了东、南、西、北方位的振动对象,则应用客户端可以确定目标业务场景的振动描述文件与业务终端的振动能力匹配。又如,4个振动对象分别为东、南、西、北方位的振动对象,业务终端提供的6个振动对象中均是方位为东的振动对象,则应用客户端可以确定目标业务场景的振动描述文件与业务终端的振动能力不匹配。
当然,应用客户端判定目标业务场景的振动描述文件与业务终端的振动能力是否匹配时,还可以根据振动对象的控制参数继续进行判定。例如,在确定了振动对象的属性参数相匹配的情况下,还需要对每个振动对象所对应的控制参数进行判定。其中,控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。在振动描述文件中包括的各个振动源的控制参数均与业务终端中所能提供的振动对象的控制参数之间相匹配时,即可确定目标业务场景的振动描述文件与业务终端的振动能力相匹配。
可以理解的是,应用客户端在向业务终端发送目标业务场景的振动描述文件之前,先检测业务终端的振动能力是否与应用客户端所提前配置的振动描述文件相匹配,并在确定相匹配之后才会执行向业务终端发送目标业务场景的振动描述文件的步骤;如此,业务终端能够基于振动描述文件实现准确地振动,因此,能够提升振动效果;另外,在业务终端的振动能力与振动描述文件不匹配的情况下,降低了无效数据的发送导致的资源消耗,从而可以提高振动效率。
在本申请实施例中,如果目标业务场景是游戏应用中的任一个游戏场景。那么在进入目标业务场景时,可以输出振动提示信息,其中,振动提示信息用于提示目标业务场景中待触发振动,也就是说,目标业务场景中 即将触发振动。其中,振动提示信息可以以文字、语音、悬浮窗、跑马灯等方式在业务终端中的用户界面进行显示,以此来提醒用户在目标业务场景下即将触发振动。
接下来,结合以上描述来说明本申请实施例的业务处理方法在目标业务场景为游戏场景时的处理过程。
举例来说,请参见图7,图7是本申请实施例提供的一种游戏场景的波形生成的流程示意图。首先进行马达识别,也就是说,应用客户端可以利用业务终端的API识别业务终端所包括的振动对象(比如,马达)以及振动对象的分布情况,并根据业务终端中的振动对象的分布情况获取业务终端的振动能力信息。然后,可以将所获取到的业务终端的振动能力信息提示用户,从而用户可以基于业务终端的振动能力信息为业务终端进行个性化配置相应的振动描述文件,如此,应用客户端也就获得了个性化配置的振动描述文件。然后进行场景识别,也就是说,应用客户端在游戏应用中识别各个游戏场景,若识别到目标业务场景是需要振动的业务场景,则获取与目标业务场景所匹配的振动波形(其中,振动波形可以以振动描述文件的方式传输)。最后,应用客户端将与目标业务场景所匹配的振动描述文件下发至业务终端,以使业务终端根据目标业务场景对应的振动描述文件驱动适配的马达或者传感器进行振动;相应地,业务终端在振动过程中通过页面渲染的方式呈现出对应的界面以供用户观看。
本申请实施例中,当应用客户端识别到目标业务场景是需要振动的业务场景时,可以获取目标业务场景的振动描述文件,该目标业务场景的振动描述文件中包括目标业务场景中的振动源的振动参数;应用客户端将目标业务场景的振动描述文件发送至业务终端,业务终端基于目标业务场景的振动描述文件来适配目标振动对象,并按照目标业务场景的振动描述文件在目标业务场景下驱动该目标振动对象进行振动,这样使得业务终端基于业务侧的实际需求来对振动对象进行适配,既能够选用与目标业务场景相适配的目标振动对象来为目标业务场景提供振动服务,同时又能够保证目标振动对象的振动效果符合目标业务场景的场景需求,提升了振动效果。另外,基于应用客户端侧所配置的目标业务场景的振动描述文件,来驱动业务终端的振动对象进行振动,使得业务终端的振动对象能够与应用客户端之间相互适配,在应用客户端和业务终端相互适配的情况下,可以提高业务终端的振动对象的振动效率。
接下来,请参见图8,图8是本申请实施例提供的另一种业务处理方法的流程示意图。该业务处理方法可以由业务终端执行,该业务终端例如可以为游戏终端、直播场景中的终端设备以及即时通信终端,等等。如图7所示,该业务处理方法可包括步骤810至步骤830,下面对各步骤分别进行说明。
步骤810:若应用客户端识别到目标业务场景是待振动的业务场景,则 接收应用客户端发送的目标业务场景的振动描述文件,振动描述文件包括目标业务场景中的振动源的振动参数。
其中,业务终端在接收应用客户端发送的目标业务场景的振动描述文件之后,还可以对应用客户端的身份信息进行校验,若对应用客户端的身份信息校验通过,则获取应用客户端发送的目标业务场景的振动描述文件。其中,客户端的身份信息可以包括客户端的标识等,本申请实施例对此不做具体限定。通过身份信息校验的这种方式,可以保证业务终端所获取到的振动描述文件的安全性。
步骤820:根据振动描述文件确定适配的目标振动对象。
其中,目标振动对象中振动对象的数量可以为一个,也可以为多个。振动对象可以为马达或者传感器中的至少一种,当然,振动对象还可以为其它可以执行振动操作的设备,本申请实施例对此不做具体限定。
本申请实施例中,振动参数包括目标业务场景中的振动源的属性参数;属性参数包括以下任一种:坐标、方位。业务终端根据目标业务场景的振动描述文件确定适配的目标振动对象,可以包括如下步骤:首先,业务终端获取振动能力信息,其中,振动能力信息用于指示业务终端的振动能力,振动能力信息包括业务终端能够提供的M个振动对象,以及M个振动对象的属性参数。然后,业务终端根据振动参数中的目标业务场景中的振动源的属性参数,从M个振动对象中确定适配的目标振动对象。其中,目标振动对象的属性参数与振动参数中目标业务场景中的振动源的属性参数相匹配。
举例来说,振动对象为马达,并且业务终端所获取到的振动能力信息包括:4个马达,以及这4个马达在业务终端中的分布情况,从而业务终端可以根据这4个马达在业务终端中的分布情况,确定4个马达中各个马达的属性参数。如图5b所示,这4个马达分别为马达510、马达520、马达530和马达540,并且这4个马达之间在业务终端中均匀分布,分别在左上角、右上角、左下角、右下角各个方位对应分布,因此可以确定出这4个马达中各个马达的属性参数。若振动参数中的目标业务场景中的振动源的属性参数为位于左上角和右下角的2个振动源,则根据振动源的属性参数与目标振动对象在业务终端中的分布情况之间的对应关系,可以确定目标振动对象为在业务终端中分布于左上角的马达510和分布于右下角的马达540。
可以理解的是,基于应用客户端所下发的目标业务场景的振动描述文件,来适配出与业务终端自身的振动能力信息相适配的目标振动对象,使得可以更好的适配开发人员提前配置好的场景需求。
S830:在目标业务场景下,按照振动描述文件驱动目标振动对象进行振动。
本申请实施例中,振动参数包括针对目标业务场景中的振动源而配置 的控制参数;控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。那么,业务终端在目标业务场景下按照目标业务场景的振动描述文件驱动目标振动对象进行振动,可以包括:在目标业务场景下,业务终端驱动目标振动对象按照控制参数进行振动。
举例来说,振动描述文件可以如图6所示,振动描述文件中可以包括目标业务场景中的振动源的振动参数,振动参数包括针对目标业务场景中的振动源而配置的控制参数,图6所示的控制参数可以包括以下信息:振动开始时间(单位ms),振动持续时长(单位ms),振动结束时间(单位ms,振动结束时间可根据振动开始时间和振动持续时长计算得到,也可以直接配置),振动频率(取值范围为0-100),以及振动强度(取值范围为0-100)。
在本申请实施例中,业务终端按照控制参数中所包括的信息,在目标业务场景下驱动相应的目标振动对象进行振动。例如,若目标业务场景为游戏应用中的任一游戏场景,则业务终端驱动目标振动对象进行振动,并通过业务终端中的渲染引擎进行页面渲染,以向用户呈现出画面,所呈现出的画面可以为:两个游戏角色之间进行虚拟搏击时的游戏画面,或者任一游戏角色在游戏过程中进行虚拟旋转、虚拟跳跃或者虚拟移动时的游戏画面。又如,若目标业务场景为直播应用中的任一直播场景,则业务终端驱动目标振动对象进行振动,并通过业务终端中的渲染引擎进行页面渲染,以向用户呈现出画面,所呈现出来的画面可以为:主播用户在直播进行才艺展示(唱歌、跳舞等)时所呈现出来的直播画面。还如,若目标业务场景为即时通信应用中的任一信息交互场景,则业务终端驱动目标振动对象进行振动,并通过业务终端中的渲染引擎进行页面渲染,以向用户呈现出画面,所呈现出来的画面可以为:某一社交用户在接收到其它社交用户所发送的社交消息时,该社交消息所对应的窗口界面为闪烁、抖动时的聊天画面。
本申请实施例提供的业务处理方法,通过在应用客户端侧基于用户或开发人员对目标业务场景对应的振动波形的编辑,生成目标业务场景的振动描述文件。并结合业务终端与应用客户端之间的交互,在业务终端确定需要在目标业务场景下按照振动描述文件驱动目标振动对象进行振动的振动策略,业务终端可以基于最终所确定的振动策略进行振动。可见,本申请实施例提供的业务处理方法既考虑了应用客户端的需求,也能够兼顾业务终端自身振动特性,达到了业务终端与应用客户端之间的适配效果,从而能够提升业务终端在振动过程中的振动效果。
请参见图9,图9是本申请实施例提供的一种业务处理装置的结构示意图。该第一业务处理装置900可应用于图4对应的应用客户端中。第一业务处理装置900可以是运行于轻量节点中的一个计算机程序(包括程序代码),例如该第一业务处理装置900为一个应用软件;该第一业务处理装置 900可以用于执行本申请实施例提供的应用客户端侧的业务处理方法。下面对第一业务处理装置900所包括的各个单元分别进行说明。
识别单元901,配置为识别目标业务场景;
获取单元902,配置为若识别到所述目标业务场景是待振动的业务场景,则获取所述目标业务场景的振动描述文件,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
发送单元903,配置为将所述振动描述文件发送至业务终端,所述业务终端用于在所述目标业务场景下,按照所述振动描述文件驱动适配的目标振动对象进行振动。
在本申请实施例中,所述第一业务处理装置900还包括配置单元904,配置为按照所述目标业务场景的场景需求,配置所述振动描述文件;其中,所述振动参数包括以下至少一种:属性参数、控制参数;所述属性参数包括以下任一种:坐标、方位;所述控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。
在本申请实施例中,所述配置单元904,还配置为按照所述目标业务场景的场景需求,确定所述目标业务场景中的所述振动源;为所述振动源配置振动波形;对所述振动波形进行编辑处理,生成所述振动描述文件。
在本申请实施例中,所述配置单元904,还配置为对所述振动波形进行调试处理,得到所述振动源的初始参数;按照所述振动源的初始参数进行振动模拟;比对所述振动模拟产生的振动效果与所述目标业务场景对应的指定振动效果之间的匹配度;根据所述匹配度优化所述振动源的初始参数,得到所述振动参数;根据所述振动参数生成所述振动描述文件。
在本申请实施例中,所述振动波形的配置和所述振动波形的编辑处理均通过调用振动波形编辑器实现。
在本申请实施例中,所述配置单元904,还配置为获取所述业务终端的振动能力;按照所述业务终端的振动能力,更新所述振动描述文件,更新后的所述振动描述文件与所述业务终端的振动能力相匹配。
在本申请实施例中,所述配置单元904,还配置为通过调用所述业务终端提供的应用程序接口API,获取所述业务终端的振动能力信息,所述振动能力信息用于指示所述业务终端的振动能力;其中,所述振动能力信息包括所述业务终端中的M个振动对象以及M个所述振动对象的属性参数,M为正整数;所述振动对象包括以下任一种:马达、传感器。
在本申请实施例中,所述目标业务场景是游戏应用中的任一个游戏场景;所述第一业务处理装置900还包括输出单元905,配置为在进入所述目标业务场景时,输出振动提示信息,所述振动提示信息用于提示所述目标业务场景中待触发振动。
请参见图10,图10是本申请实施例提供的另一种业务处理装置的结构示意图。该第二业务处理装置1000可应用于图8对应的业务终端中。第二 业务处理装置1000可以是运行于轻量节点中的一个计算机程序(包括程序代码),例如第二业务处理装置1000为一个应用软件;该第二业务处理装置1000可以用于执行本申请实施例提供的业务终端侧的业务处理方法。下面对第二业务处理装置1000所包括的各个单元分别进行说明。
接收单元1001,配置为接收应用客户端发送的目标业务场景的振动描述文件,所述振动描述文件是当所述应用客户端识别到所述目标业务场景是待振动的业务场景时所发送的,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
确定单元1002,配置为根据所述振动描述文件确定适配的目标振动对象;
振动单元1003,配置为在所述目标业务场景下,按照所述振动描述文件驱动所述目标振动对象进行振动。
在本申请实施例中,所述振动参数包括以下至少一种:属性参数、控制参数;所述属性参数包括以下任一种:坐标、方位;所述控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。
在本申请实施例中,当所述振动参数包括属性参数时,所述确定单元1002,还配置为获取振动能力信息,所述振动能力信息用于指示业务终端的振动能力,所述振动能力信息包括所述业务终端中的M个振动对象以及M个所述振动对象的属性参数,M为正整数;根据所述属性参数,从M个所述振动对象中确定适配的所述目标振动对象,所述目标振动对象的所述属性参数与所述属性参数相匹配。
在本申请实施例中,当所述振动参数包括控制参数时,所述振动单元1003,还配置为在所述目标业务场景下,按照所述控制参数驱动所述目标振动对象进行振动。
请参见图11,图11是本申请实施例提供的一种计算机设备的结构示意图。该计算机设备1100(称为用于业务处理的电子设备)用于执行图4和图8的步骤,该计算机设备1100包括:一个或多个处理器1110;一个或多个输入设备1120,一个或多个输出设备1130和存储器1140。上述处理器1110、输入设备1120、输出设备1130和存储器1140通过总线1150连接。存储器1140用于存储计算机程序,所述计算机程序包括程序指令,处理器1110用于调用存储器1140存储的程序指令,以执行应用客户端侧的业务处理方法或业务终端侧的业务处理方法。
应当理解,本申请实施例中所描述的计算机设备可执行图4和图8所对应的业务处理方法的描述,也可执行图9所对应的第一业务处理装置900和图10所对应的第二业务处理装置1000的描述,在此不再赘述。另外,对采用相同业务处理方法的有益效果描述,也不再进行赘述。
此外,这里需要指出的是:本申请实施例还提供了一种计算机存储介 质,且计算机存储介质中存储有第一业务处理装置900和第二业务处理装置1000所执行的计算机程序,且该计算机程序包括程序指令,当处理器执行上述程序指令时,能够执行图4和图8所对应的业务处理方法。
作为示例,用于执行业务处理方法的程序指令可以被部署在一个计算机设备上,或者在位于一个地点的多个计算机设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算机设备上执行,分布在多个地点且通过通信网络互连的多个计算机设备可以组成区块链系统。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备可以执行图4和图8所对应的业务处理方法。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (17)

  1. 一种业务处理方法,包括:
    识别目标业务场景;
    若识别到所述目标业务场景是待振动的业务场景,则获取所述目标业务场景的振动描述文件,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
    将所述振动描述文件发送至业务终端,所述业务终端用于在所述目标业务场景下,按照所述振动描述文件驱动适配的目标振动对象进行振动。
  2. 如权利要求1所述的方法,其中,所述方法还包括:
    按照所述目标业务场景的场景需求,配置所述振动描述文件;
    其中,所述振动参数包括以下至少一种:属性参数、控制参数;所述属性参数包括以下任一种:坐标、方位;所述控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。
  3. 如权利要求2所述的方法,其中,所述按照所述目标业务场景的场景需求,配置所述振动描述文件,包括:
    按照所述目标业务场景的场景需求,确定所述目标业务场景中的所述振动源;
    为所述振动源配置振动波形;
    对所述振动波形进行编辑处理,生成所述振动描述文件。
  4. 如权利要求3所述的方法,其中,所述对所述振动波形进行编辑处理,生成所述振动描述文件,包括:
    对所述振动波形进行调试处理,得到所述振动源的初始参数;
    按照所述振动源的初始参数进行振动模拟;
    比对所述振动模拟产生的振动效果与所述目标业务场景对应的指定振动效果之间的匹配度;
    根据所述匹配度优化所述振动源的初始参数,得到所述振动参数;
    根据所述振动参数生成所述振动描述文件。
  5. 根据权利要求3或4所述的方法,其中,所述振动波形的配置和所述振动波形的编辑处理均通过调用振动波形编辑器实现。
  6. 如权利要求2所述的方法,其中,所述方法还包括:
    获取所述业务终端的振动能力;
    按照所述业务终端的振动能力,更新所述振动描述文件,更新后的所述振动描述文件与所述业务终端的振动能力相匹配。
  7. 如权利要求6所述的方法,其中,所述获取所述业务终端的振动能力,包括:
    通过调用所述业务终端提供的应用程序接口API,获取所述业务终端的振动能力信息,所述振动能力信息用于指示所述业务终端的振动能力;
    其中,所述振动能力信息包括所述业务终端中的M个振动对象以及M个所述振动对象的属性参数,M为正整数;所述振动对象包括以下任一种:马达、传感器。
  8. 如权利要求1-4、6-7任一项所述的方法,其中,所述目标业务场景是游戏应用中的任一个游戏场景;所述方法还包括:
    在进入所述目标业务场景时,输出振动提示信息,所述振动提示信息用于提示所述目标业务场景中待触发振动。
  9. 一种业务处理方法,包括:
    接收应用客户端发送的目标业务场景的振动描述文件,所述振动描述文件是当所述应用客户端识别到所述目标业务场景是待振动的业务场景时所发送的,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
    根据所述振动描述文件确定适配的目标振动对象;
    在所述目标业务场景下,按照所述振动描述文件驱动所述目标振动对象进行振动。
  10. 如权利要求9所述的方法,其中,所述振动参数包括以下至少一种:属性参数、控制参数;所述属性参数包括以下任一种:坐标、方位;所述控制参数包括以下至少一种:振动开始时间、振动持续时长、振动结束时间、振动频率、振动强度。
  11. 如权利要求9或10所述的方法,其中,当所述振动参数包括属性参数时,所述根据所述振动描述文件确定适配的目标振动对象,包括:
    获取振动能力信息,所述振动能力信息用于指示业务终端的振动能力,所述振动能力信息包括所述业务终端中的M个振动对象以及M个所述振动对象的属性参数,M为正整数;
    根据所述属性参数,从M个所述振动对象中确定适配的所述目标振动对象,所述目标振动对象的所述属性参数与所述属性参数相匹配。
  12. 如权利要求9或10所述的方法,其中,当所述振动参数包括控制参数时,所述在所述目标业务场景下,按照所述振动描述文件驱动所述目标振动对象进行振动,包括:
    在所述目标业务场景下,按照所述控制参数驱动所述目标振动对象进行振动。
  13. 一种第一业务处理装置,包括:
    识别单元,配置为识别目标业务场景;
    获取单元,配置为若识别到所述目标业务场景是待振动的业务场景,则获取所述目标业务场景的振动描述文件,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
    发送单元,配置为将所述振动描述文件发送至业务终端,所述业务终端用于在所述目标业务场景下,按照所述振动描述文件驱动适配的目标振动对象进行振动。
  14. 一种第二业务处理装置,包括:
    接收单元,配置为接收应用客户端发送的目标业务场景的振动描述文件,所述振动描述文件是当所述应用客户端识别到所述目标业务场景是待振动的业务场景时所发送的,所述振动描述文件包括所述目标业务场景中的振动源的振动参数;
    确定单元,配置为根据所述振动描述文件确定适配的目标振动对象;
    振动单元,配置为在所述目标业务场景下,按照所述振动描述文件驱动所述目标振动对象进行振动。
  15. 一种用于业务处理的电子设备,包括:
    处理器,适于执行计算机程序;
    计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被所述处理器执行时,实现如权利要求1-8中任一项所述的业务处理方法,或者实现如权利要求9-12中任一项所述的业务处理方法。
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,执行如权利要求1-8中任一项所述的业务处理方法,或者执行如权利要求9-12中任一项所述的业务处理方法。
  17. 一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现如权利要求1-8中任一项所述的业务处理方法,或者实现如权利要求9-12中任一项所述的业务处理方法。
PCT/CN2022/096857 2021-07-05 2022-06-02 一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品 WO2023279898A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/227,566 US20230364505A1 (en) 2021-07-05 2023-07-28 Processing for vibration generation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110759903.8 2021-07-05
CN202110759903.8A CN115576611B (zh) 2021-07-05 2021-07-05 业务处理方法、装置、计算机设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/227,566 Continuation US20230364505A1 (en) 2021-07-05 2023-07-28 Processing for vibration generation

Publications (1)

Publication Number Publication Date
WO2023279898A1 true WO2023279898A1 (zh) 2023-01-12

Family

ID=84579726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096857 WO2023279898A1 (zh) 2021-07-05 2022-06-02 一种业务处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品

Country Status (3)

Country Link
US (1) US20230364505A1 (zh)
CN (1) CN115576611B (zh)
WO (1) WO2023279898A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115907804A (zh) * 2023-03-03 2023-04-04 腾讯科技(深圳)有限公司 业务处理方法、装置及计算机设备、存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110115734A1 (en) * 2009-11-18 2011-05-19 Harashima Seigo Touch panel device, touch panel device control method, and storage medium
CN104267842A (zh) * 2014-09-11 2015-01-07 惠州Tcl移动通信有限公司 触摸显示面板及其触摸反馈方法
CN105812567A (zh) * 2016-03-29 2016-07-27 努比亚技术有限公司 移动终端控制装置及方法
CN109213319A (zh) * 2018-08-04 2019-01-15 瑞声科技(新加坡)有限公司 基于场景的振动反馈方法及移动终端
CN110215697A (zh) * 2019-06-28 2019-09-10 瑞声科技(新加坡)有限公司 游戏手柄、游戏手柄的振动方法及装置
CN112604266A (zh) * 2020-12-16 2021-04-06 努比亚技术有限公司 一种移动终端及其振动控制方法、计算机可读存储介质
CN112933590A (zh) * 2021-03-31 2021-06-11 歌尔股份有限公司 终端设备的振动控制方法、终端设备及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017053761A1 (en) * 2015-09-25 2017-03-30 Immersion Corporation Haptic effects design system
CN110292771B (zh) * 2019-07-04 2022-09-13 网易(杭州)网络有限公司 游戏中触觉反馈控制方法及装置、设备、介质
CN110465080A (zh) * 2019-07-25 2019-11-19 维沃移动通信有限公司 控制振动的方法、装置、移动终端及计算机可读存储介质
CN111249722A (zh) * 2020-01-17 2020-06-09 网易(杭州)网络有限公司 终端设备的控制方法及装置、存储介质、电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110115734A1 (en) * 2009-11-18 2011-05-19 Harashima Seigo Touch panel device, touch panel device control method, and storage medium
CN104267842A (zh) * 2014-09-11 2015-01-07 惠州Tcl移动通信有限公司 触摸显示面板及其触摸反馈方法
CN105812567A (zh) * 2016-03-29 2016-07-27 努比亚技术有限公司 移动终端控制装置及方法
CN109213319A (zh) * 2018-08-04 2019-01-15 瑞声科技(新加坡)有限公司 基于场景的振动反馈方法及移动终端
CN110215697A (zh) * 2019-06-28 2019-09-10 瑞声科技(新加坡)有限公司 游戏手柄、游戏手柄的振动方法及装置
CN112604266A (zh) * 2020-12-16 2021-04-06 努比亚技术有限公司 一种移动终端及其振动控制方法、计算机可读存储介质
CN112933590A (zh) * 2021-03-31 2021-06-11 歌尔股份有限公司 终端设备的振动控制方法、终端设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115907804A (zh) * 2023-03-03 2023-04-04 腾讯科技(深圳)有限公司 业务处理方法、装置及计算机设备、存储介质

Also Published As

Publication number Publication date
CN115576611B (zh) 2024-05-10
US20230364505A1 (en) 2023-11-16
CN115576611A (zh) 2023-01-06

Similar Documents

Publication Publication Date Title
CN108681436B (zh) 画质参数调节方法、装置、终端及存储介质
EP3998550A1 (en) Scene interaction method and apparatus, electronic device, and computer storage medium
CN113079216B (zh) 一种云应用的实现方法、装置、电子设备及可读存储介质
WO2019114328A1 (zh) 一种基于增强现实的视频处理方法及其装置
US20200076866A1 (en) Systems, devices, and methods for streaming haptic effects
CN112423022A (zh) 视频生成及显示方法、装置、设备、介质
CN114172662A (zh) 区块链外部数据获取方法及装置
US20230364505A1 (en) Processing for vibration generation
WO2019184533A1 (zh) 远程设置智能设备的控制面板的方法及装置
CN111683260A (zh) 基于虚拟主播的节目视频生成方法、系统和存储介质
CN116603228A (zh) 振动控制方法、装置、电子设备和计算机可读存储介质
CN112351093A (zh) 截屏图像共享方法、装置、设备及计算机可读存储介质
CN113497661A (zh) 时码数据的处理方法、装置及实时视觉包装系统
CN114173182A (zh) 游戏视频录制方法及装置、游戏视频读取方法及装置
CN110415318B (zh) 图像处理方法和装置
CN115671711B (zh) 基于云游戏的设备控制方法、装置、电子设备和可读介质
Saleme et al. Improving response time interval in networked event-based mulsemedia systems
CN111913761B (zh) 直播频道的插件处理方法、装置、设备和存储介质
US20210392394A1 (en) Method and apparatus for processing video, electronic device and storage medium
CN115145660A (zh) 多媒体播放方法、装置、存储介质及终端设备
CN108377243B (zh) 一种直播流的传输方法及装置
CN114489891A (zh) 云应用程序的控制方法、系统、装置、可读介质和设备
CN112614049A (zh) 图像处理方法、装置、存储介质以及终端
CN113763568A (zh) 增强现实的显示处理方法、装置、设备及存储介质
CN112887796A (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: 22836653

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE