CN105677336B - A kind of method and terminal sending vibration file - Google Patents

A kind of method and terminal sending vibration file Download PDF

Info

Publication number
CN105677336B
CN105677336B CN201511031078.0A CN201511031078A CN105677336B CN 105677336 B CN105677336 B CN 105677336B CN 201511031078 A CN201511031078 A CN 201511031078A CN 105677336 B CN105677336 B CN 105677336B
Authority
CN
China
Prior art keywords
terminal
vibration
time
file
oscillation intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201511031078.0A
Other languages
Chinese (zh)
Other versions
CN105677336A (en
Inventor
冯飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511031078.0A priority Critical patent/CN105677336B/en
Publication of CN105677336A publication Critical patent/CN105677336A/en
Application granted granted Critical
Publication of CN105677336B publication Critical patent/CN105677336B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • 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/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of methods for sending vibration file, comprising: first terminal determines time of vibration section and oscillation intensity;The first terminal generates vibration file according to the time of vibration section and the oscillation intensity;The first terminal sends prompt information to second terminal, and the prompt information carries the vibration file, and for prompting the second terminal, the vibration file is vibrated the prompt information based on the received.The embodiment of the invention also discloses a kind of terminals.Using the present invention, vibration file can be shared between the terminals.

Description

A kind of method and terminal sending vibration file
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods and terminal for sending vibration file.
Background technique
The amusement sexual function of terminal gradually increases and increasingly diversified at present, has realized terminal room transmitting amusement number at present According to function, terminal room can the recreation datas such as sharing video frequency, audio, information and picture, in essence, these recreation datas After sharing, it finally can all be converted into video, audio or text and present on a terminal screen.And vibration data is not because unite One data format, therefore vibration data can not be transmitted between mobile phone.User can not then share vibration data, in vibration number According to sharing on also cannot achieve at present.For example, if user's a segment of audio to be shared gives another user, and this section audio needs Better effect can just be highlighted by being combined with vibration, but due to that can not transmit the corresponding vibration data of the section audio, can only The terminal that transmission audio is held to another user, the terminal for causing another user to hold can only play the section audio, will The integrality for destroying recreation data, reduces the experience sense of user.
Summary of the invention
The present invention provides a kind of method and terminal for sending vibration file, can share vibration file between the terminals.
First aspect present invention provides a kind of method for sending vibration file, comprising:
First terminal determines time of vibration section and oscillation intensity;
The first terminal generates vibration file according to the time of vibration section and the oscillation intensity;
The first terminal sends prompt information to second terminal, and the prompt information carries the vibration file, described For prompting the second terminal, the vibration file is vibrated prompt information based on the received.
Optionally, before the first terminal determines time of vibration section and oscillation intensity, the method also includes:
The first terminal obtains the amplitude of the vibrating motor of the first terminal;
Then the first terminal determines time of vibration section and oscillation intensity, comprising:
The first terminal determines the oscillation intensity according to the amplitude of the vibrating motor of the first terminal, and determines institute State time of vibration section.
Optionally, before the first terminal sends prompt information to second terminal, the method also includes:
The first terminal determines that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
Optionally, the first terminal determines that the second terminal is supported to control the vibration of the vibrating motor of the second terminal After fatigue resistance, the method also includes:
The first terminal searches audio-video document corresponding with the vibration file;
Then the first terminal sends prompt information to second terminal, and the prompt information carries the vibration file, institute Stating prompt information, the vibration file is vibrated based on the received for prompting the second terminal, comprising:
The first terminal sends the prompt information to the second terminal, and the prompt information carries the vibration text Part and the audio-video document, the prompt information is for prompting the second terminal to play the audio-video document, and root It is vibrated according to the vibration file.
Optionally, the time of vibration section includes vibration time started and vibration end time.
Second aspect of the present invention provides a kind of terminal, comprising:
Determining module, for determining time of vibration section and oscillation intensity;
Generation module, the time of vibration section and the oscillation intensity for being determined according to the determining module generate Vibrate file;
Sending module, for sending prompt information to second terminal, the prompt information carries the generation module and generates Vibration file, the vibration file is vibrated the prompt information based on the received for prompting the second terminal.
Optionally, the terminal further include:
Obtain module, the amplitude of the vibrating motor for obtaining terminal;
The determining module, is specifically used for:
The oscillation intensity is determined according to the amplitude of the vibrating motor of the terminal, and determines the time of vibration section.
Optionally, the determining module, is also used to:
Determine that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
Optionally, the terminal further include:
Searching module, for searching audio-video document corresponding with the vibration file;
The sending module, is specifically used for:
The prompt information is sent to the second terminal, the prompt information carries the vibration file and the sound Video file, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to the vibration text Part is vibrated.
Optionally, the time of vibration section includes vibration time started and vibration end time.
Third aspect present invention provides a kind of terminal, and the terminal includes communication bus, output device, processor, in which:
The communication bus, for realizing the connection communication between the output device, the processor;
The processor, for determining time of vibration section and oscillation intensity;
The processor is also used to generate vibration file according to the time of vibration section and the oscillation intensity;
The output device, for sending prompt information to second terminal, the prompt information carries the vibration file, For prompting the second terminal, the vibration file is vibrated the prompt information based on the received.
Optionally, the processor is also used to execute following steps:
Obtain the amplitude of the vibrating motor of terminal;
The processor determines time of vibration section and oscillation intensity, is specifically used for executing following steps:
The oscillation intensity is determined according to the amplitude of the vibrating motor of the terminal, and determines the time of vibration section.
Optionally, the processor is also used to execute following steps:
Determine that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
Optionally, the processor is also used to execute following steps:
Search audio-video document corresponding with the vibration file;
The then output device is specifically used for executing following steps:
The prompt information is sent to the second terminal, the prompt information carries the vibration file and the sound Video file, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to the vibration text Part is vibrated.
Optionally, the time of vibration section includes vibration time started and vibration end time.
Using the present invention, first terminal determines time of vibration section and oscillation intensity, and the first terminal is according to the vibration Dynamic period and the oscillation intensity generate vibration file, and the first terminal sends prompt information to second terminal, described Prompt information carries the vibration file, and the prompt information is for prompting the second terminal vibration text based on the received Part is vibrated, and the data format of vibration data can be unified, and realizes the sharing of vibration data, highlights preferably amusement effect Fruit.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of an embodiment of the method for transmission vibration file of the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of another embodiment of the method for transmission vibration file of the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another terminal of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Using the embodiment of the present invention, vibration file can be shared between the terminals.
Description and claims of this specification and term " first ", " second ", " third " and " in above-mentioned attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referring to Fig. 1, the process that Fig. 1 is an a kind of embodiment of the method for transmission vibration file of the embodiment of the present invention is shown It is intended to.The present embodiments relate to terminal for example can be mobile phone, tablet computer, laptop, palm PC, mobile mutual Networked devices (MID, mobile internet device), wearable device (such as smartwatch (such as iwatch), intelligence Bracelet, pedometer etc.) or other terminal devices that can realize vibrating function.
As shown in Figure 1, an a kind of embodiment of the method for transmission vibration file of the embodiment of the present invention may include following Step.
S100, first terminal determine time of vibration section and oscillation intensity.
In the specific implementation, first terminal can be instructed according to the input of user determines time of vibration section and oscillation intensity.Vibration The dynamic period can be as unit of millisecond.Oscillation intensity can refer to according to the input for the amplitude and user that vibrating motor can control Order is determined.In addition, first terminal can be oscillation intensity graduation according to the amplitude that vibrating motor can control, such as generally have 1-5 grades, respectively correspond most light and strongest oscillation intensity.
As a kind of enforceable mode, time of vibration section may include vibration time started and vibration end time. The vibration time started can determine that file is opened the time of vibration after operation, such as vibration can be opened when file brings into operation It is dynamic, it can also start in the preset time after file brings into operation, this embodiment is not limited.
S101, the first terminal generate vibration file according to the time of vibration section and the oscillation intensity.
In the specific implementation, first terminal can generate vibration file according to time of vibration section and oscillation intensity.
As a kind of enforceable mode, a vibration file can be made of one or more independent data cells.One A data cell (a settable data cell is 20 bytes) includes that the vibration time started (may be, for example, double 8bytes), end time (may be, for example, double 8bytes) and oscillation intensity (may be, for example, int 4bytes) are vibrated.
S102, the first terminal send prompt information to second terminal, and the prompt information carries the vibration file, For prompting the second terminal, the vibration file is vibrated the prompt information based on the received.
In the specific implementation, first terminal can share vibration file to second terminal, then first terminal is sent to second terminal Prompt information, which can carry vibration file, after second terminal receives prompt information, vibrate file based on the received Interior time of vibration section and oscillation intensity are vibrated.
Using the embodiment of the present invention, first terminal determines time of vibration section and oscillation intensity, the first terminal according to The time of vibration section and the oscillation intensity generate vibration file, and the first terminal sends prompt letter to second terminal Breath, the prompt information carry the vibration file, and the prompt information is for prompting second terminal institute based on the received It states vibration file to be vibrated, the data format of vibration data can be unified, and realize the sharing of vibration data, highlighted preferably Entertainment effect.
Referring to Fig. 2, Fig. 2 is a kind of process of another embodiment of the method for transmission vibration file of the embodiment of the present invention Schematic diagram.The present embodiments relate to terminal for example can be mobile phone, tablet computer, laptop, palm PC, movement Internet device, wearable device (such as smartwatch (such as iwatch), Intelligent bracelet, pedometer etc.) or other can realize The terminal device of vibrating function.
As shown in Fig. 2, the embodiment of the present invention a kind of transmission vibration file method another embodiment may include with Lower step.
S200, the first terminal obtain the amplitude of the vibrating motor of the first terminal.
In the specific implementation, first terminal before determining oscillation intensity, needs to obtain the vibration of the vibrating motor of first terminal Width, amplitude refer to the maximum value that the physical quantity of vibration is likely to be breached, it is the physical quantity for indicating the range and intensity of vibration.For The performance of different its vibrating motor of terminal is different, and the oscillator intensity that can be arranged is also different, therefore first terminal can be obtained first and be set Set the amplitude in the vibrating motor of first terminal.
S201, the first terminal determine the oscillation intensity according to the amplitude of the vibrating motor of the first terminal, and Determine the time of vibration section.
In the specific implementation, first terminal can be determined according to the amplitude of the vibrating motor that first terminal is arranged in currently obtained Oscillation intensity, also, first terminal can instruct according to the input of user and determine time of vibration section.Time of vibration section can be with millisecond For unit.Oscillation intensity can be instructed according to the input for the amplitude and user that vibrating motor can control and is determined.In addition, the One terminal can be oscillation intensity graduation according to the amplitude that vibrating motor can control, such as generally have 1-5 grades, respectively correspond most light With strongest oscillation intensity.
As a kind of enforceable mode, time of vibration section may include vibration time started and vibration end time. The vibration time started can determine the time for starting vibration after file is run, and can both open when file brings into operation It is dynamic, it can also start in the preset time after file brings into operation, this embodiment is not limited.
As a kind of enforceable mode, first terminal can also obtain the amplitude of the vibrating motor of second terminal, to combine The amplitude of the vibrating motor of the amplitude and second terminal of the vibrating motor of first terminal determines oscillation intensity, enables second terminal Enough oscillation intensities determined according to first terminal are vibrated.
S202, the first terminal generate vibration file according to the time of vibration section and the oscillation intensity.
In the specific implementation, first terminal can generate vibration file according to time of vibration section and oscillation intensity.
As a kind of enforceable mode, a vibration file can be made of one or more independent data cells.One A data cell (a settable data cell is 20 bytes) includes that the vibration time started (may be, for example, double 8bytes), end time (may be, for example, double 8bytes) and oscillation intensity (may be, for example, int 4bytes) are vibrated.
S203, the first terminal determine that the second terminal is supported to control the vibration of the vibrating motor of the second terminal Intensity.
In the specific implementation, can be vibrated according to vibration file to make the second terminal shared also, it is thus necessary to determine that second Terminal supports the oscillation intensity of the vibrating motor of control second terminal.If first terminal determines that second terminal supports control second eventually The oscillation intensity of the vibrating motor at end can then send vibration file to second terminal.Second terminal supports control second terminal The data format of the oscillation intensity of vibrating motor may be, for example, public void vibrate (long milliseconds), if Second terminal supports the oscillation intensity of the vibrating motor of control second terminal, then increases a parameter in this data format, i.e., Public void vibrate (long milliseconds, int strength), wherein strength indicates control vibration The oscillation intensity of motor, that is, amplitude.Milliseconds is millisecond, and public void vibrate is vibrating motor.Such as The vibrating motor of fruit mobile phone does not support the control of oscillation intensity, then neglects strength parameter.Therefore, first terminal pass through to Second terminal obtains strength parameter and judges whether second terminal supports the oscillation intensity of the vibrating motor of control second terminal.
As a kind of enforceable mode, first terminal can send the request for obtaining strength parameter to second terminal, If second terminal holds the parameter, second terminal returns to strength parameter to first terminal, shows that second terminal supports control The oscillation intensity of the vibrating motor of second terminal processed;If the parameter, second terminal can not return second terminal to first terminal Error message illustrates that second terminal does not support the oscillation intensity of the vibrating motor of control second terminal.
As a kind of enforceable mode, first terminal can send the request of inquiry strength parameter to second terminal, If second terminal holds the parameter, second terminal returns to confirmation message to first terminal, shows that second terminal supports control the The oscillation intensity of the vibrating motor of two terminals;If the parameter, second terminal can not return to mistake to first terminal to second terminal Information illustrates that second terminal does not support the oscillation intensity of the vibrating motor of control second terminal.
S204, the first terminal search audio-video document corresponding with the vibration file.
In the specific implementation, if first terminal determines that second terminal supports the vibration of the vibrating motor of control second terminal strong Degree, and vibrating file is that broadcasting is combined with audio-video document, then first terminal is searched sound corresponding with vibration file and is regarded Frequency file.
S205, the first terminal send the prompt information to the second terminal, described in the prompt information carries File and the audio-video document are vibrated, the prompt information is for prompting the second terminal to play the audio-video text Part, and vibrated according to the vibration file.
In the specific implementation, first terminal can share vibration file and audio-video document to second terminal, then first terminal Prompt information is sent to second terminal, which can carry vibration file and audio-video document, second terminal receive After prompt information, playing audio-video document, and vibrate time of vibration section and oscillation intensity in file based on the received and carry out Synchronous vibration.
As a kind of enforceable mode, the time that vibration file is vibrated can refer to the time of vibration in vibration file Section, if time of vibration section includes vibration time started and vibration end time, the time indicated from the vibration time started is opened Begin to vibrate, terminates to vibrate in the vibration end time.
As a kind of enforceable mode, vibration file can be integrated in the audio-video document found out by first terminal, The prompt information that then first terminal is sent to second terminal carries audio-video document.When second terminal opens audio-video document It waits, starts simultaneously at this vibration file of broadcasting.
Using the embodiment of the present invention, first terminal determines time of vibration section and is determined according to the vibrating motor of first terminal Oscillation intensity, the first terminal generates vibration file according to the time of vibration section and the oscillation intensity, and finds Corresponding audio-video document, the first terminal send prompt information to second terminal, and the prompt information carries the vibration File and audio-video document, the prompt information are used to prompt the second terminal playing audio-video document, and according to reception The vibration file synchronize vibration, the data format of vibration data can be unified, and realize the sharing of vibration data, dash forward Show better entertainment effect.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of terminal of the embodiment of the present invention.Terminal shown in Fig. 3 includes true Cover half block 300, generation module 301 and sending module 302.
Determining module 300, for determining time of vibration section and oscillation intensity;
Generation module 301, the time of vibration section and the vibration for being determined according to the determining module 300 are strong Degree generates vibration file;
Sending module 302, for sending prompt information to second terminal, the prompt information carries the generation module The 301 vibration files generated, for prompting the second terminal, the vibration file carries out the prompt information based on the received Vibration.
In the specific implementation, first terminal can be instructed according to the input of user determines time of vibration section and oscillation intensity.Vibration The dynamic period can be as unit of millisecond.Oscillation intensity can refer to according to the input for the amplitude and user that vibrating motor can control Order is determined.In addition, first terminal can be oscillation intensity graduation according to the amplitude that vibrating motor can control, such as generally have 1-5 grades, respectively correspond most light and strongest oscillation intensity.
As a kind of enforceable mode, a vibration file can be made of one or more independent data cells.One A data cell (a settable data cell is 20 bytes) includes that the vibration time started (may be, for example, double 8bytes), end time (may be, for example, double 8bytes) and oscillation intensity (may be, for example, int 4bytes) are vibrated.
In the specific implementation, first terminal can share vibration file to second terminal, then first terminal is sent to second terminal Prompt information, which can carry vibration file, after second terminal receives prompt information, vibrate file based on the received Interior time of vibration section and oscillation intensity are vibrated.
Optionally, as shown in figure 4, the terminal further includes obtaining module 303.
Obtain module 303, the amplitude of the vibrating motor for obtaining terminal;
The determining module 300, is specifically used for:
The oscillation intensity is determined according to the amplitude of the vibrating motor of the terminal, and determines the time of vibration section.
In the specific implementation, first terminal before determining oscillation intensity, needs to obtain the vibration of the vibrating motor of first terminal Width, amplitude refer to the maximum value that the physical quantity of vibration is likely to be breached, it is the physical quantity for indicating the range and intensity of vibration.For The performance of different its vibrating motor of terminal is different, and the oscillator intensity that can be arranged is also different, therefore first terminal can be obtained first and be set Set the amplitude in the vibrating motor of first terminal.
In the specific implementation, first terminal can be determined according to the amplitude of the vibrating motor that first terminal is arranged in currently obtained Oscillation intensity, also, first terminal can instruct according to the input of user and determine time of vibration section.
Optionally, the determining module 300, is also used to:
Determine that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
In the specific implementation, can be vibrated according to vibration file to make the second terminal shared also, it is thus necessary to determine that second Terminal supports the oscillation intensity of the vibrating motor of control second terminal.If first terminal determines that second terminal supports control second eventually The oscillation intensity of the vibrating motor at end can then send vibration file to second terminal.
Optionally, as shown in figure 4, the terminal further includes searching module 304.
Searching module 304, for searching audio-video document corresponding with the vibration file;
The sending module 302, is specifically used for:
The prompt information is sent to the second terminal, the prompt information carries the vibration file and the sound Video file, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to the vibration text Part is vibrated.
In the specific implementation, if first terminal determines that second terminal supports the vibration of the vibrating motor of control second terminal strong Degree, and vibrating file is that broadcasting is combined with audio-video document, then first terminal is searched sound corresponding with vibration file and is regarded Frequency file.
In the specific implementation, first terminal can share vibration file and audio-video document to second terminal, then first terminal Prompt information is sent to second terminal, which can carry vibration file and audio-video document, second terminal receive After prompt information, playing audio-video document, and vibrate time of vibration section and oscillation intensity in file based on the received and carry out Synchronous vibration.
Optionally, the time of vibration section includes vibration time started and vibration end time.
Using the embodiment of the present invention, first terminal determines time of vibration section and is determined according to the vibrating motor of first terminal Oscillation intensity, the first terminal generates vibration file according to the time of vibration section and the oscillation intensity, and finds Corresponding audio-video document, the first terminal send prompt information to second terminal, and the prompt information carries the vibration File and audio-video document, the prompt information are used to prompt the second terminal playing audio-video document, and according to reception The vibration file synchronize vibration, the data format of vibration data can be unified, and realize the sharing of vibration data, dash forward Show better entertainment effect.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another terminal of the embodiment of the present invention.The embodiment of the present invention it is each The specific steps that a device is implemented can detailed in Example Fig. 1 to Fig. 2, the embodiment of the present invention then repeats no more.As shown in figure 5, The mobile terminal of the present embodiment includes communication bus 500, output device 501 and the (processor 502 of terminal of processor 502 Quantity can be one or more, take a processor as an example in Fig. 5), in which:
The communication bus 500, for realizing the connection communication between the output device 501, the processor 502;
The processor 502, for determining time of vibration section and oscillation intensity;
The processor 502 is also used to generate vibration file according to the time of vibration section and the oscillation intensity;
The output device 501, for sending prompt information to second terminal, the prompt information carries the vibration text Part, for prompting the second terminal, the vibration file is vibrated the prompt information based on the received.
Optionally, the processor 502 is also used to execute following steps:
Obtain the amplitude of the vibrating motor of terminal;
The processor 502 determines time of vibration section and oscillation intensity, is specifically used for executing following steps:
The oscillation intensity is determined according to the amplitude of the vibrating motor of the terminal, and determines the time of vibration section.
Optionally, the processor 502 is also used to execute following steps:
Determine that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
Optionally, the processor 502 is also used to execute following steps:
Search audio-video document corresponding with the vibration file;
The then output device 501 is specifically used for executing following steps:
The prompt information is sent to the second terminal, the prompt information carries the vibration file and the sound Video file, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to the vibration text Part is vibrated.
Optionally, the time of vibration section includes vibration time started and vibration end time.
Using the embodiment of the present invention, first terminal determines time of vibration section and is determined according to the vibrating motor of first terminal Oscillation intensity, the first terminal generates vibration file according to the time of vibration section and the oscillation intensity, and finds Corresponding audio-video document, the first terminal send prompt information to second terminal, and the prompt information carries the vibration File and audio-video document, the prompt information are used to prompt the second terminal playing audio-video document, and according to reception The vibration file synchronize vibration, the data format of vibration data can be unified, and realize the sharing of vibration data, dash forward Show better entertainment effect.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
The module or module of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with dedicated Integrated circuit (ASIC) Lai Shixian.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Embodiments described above does not constitute the restriction to the technical solution protection scope.It is any in above-mentioned implementation Made modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution within the spirit and principle of mode Within enclosing.

Claims (9)

1. a kind of method for sending vibration file characterized by comprising
First terminal determines time of vibration section and oscillation intensity;The time of vibration section includes vibration time started and vibration End time, the vibration time started is for determining that file opens the time of vibration after operation;
The first terminal generates vibration file according to the time of vibration section and the oscillation intensity;
The first terminal searches audio-video document corresponding with the vibration file;
The first terminal sends prompt information to second terminal, and the prompt information carries the vibration file and the sound Video file, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to the vibration text Part is vibrated.
2. the method according to claim 1, wherein the first terminal determines that time of vibration section and vibration are strong Before degree, the method also includes:
The first terminal obtains the amplitude of the vibrating motor of the first terminal;
Then the first terminal determines time of vibration section and oscillation intensity, comprising:
The first terminal determines the oscillation intensity according to the amplitude of the vibrating motor of the first terminal, and determines the vibration The dynamic period.
3. according to the method described in claim 2, it is characterized in that, the first terminal to second terminal send prompt information it Before, the method also includes:
The first terminal determines that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
4. a kind of terminal characterized by comprising
Determining module, for determining time of vibration section and oscillation intensity;The time of vibration section include vibration the time started with And the vibration end time, the vibration time started is for determining that file opens the time of vibration after operation;
Generation module, the time of vibration section and the oscillation intensity for being determined according to the determining module generate vibration File;
Searching module, for searching audio-video document corresponding with the vibration file;
Sending module, for sending prompt information to second terminal, the prompt information carries the vibration file and described Audio-video document, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to the vibration File is vibrated.
5. terminal according to claim 4, which is characterized in that the terminal further include:
Obtain module, the amplitude of the vibrating motor for obtaining terminal;
The determining module, is specifically used for:
The oscillation intensity is determined according to the amplitude of the vibrating motor of the terminal, and determines the time of vibration section.
6. terminal according to claim 5, which is characterized in that the determining module is also used to:
Determine that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
7. a kind of terminal, which is characterized in that the terminal includes communication bus, output device, processor, in which:
The communication bus, for realizing the connection communication between the output device, the processor;
The processor, for determining time of vibration section and oscillation intensity;The time of vibration section includes the vibration time started And the vibration end time, the vibration time started is for determining that file opens the time of vibration after operation;
The processor is also used to generate vibration file according to the time of vibration section and the oscillation intensity;
The processor is also used to search audio-video document corresponding with the vibration file;
The output device, for sending prompt information to second terminal, the prompt information carry the vibration file and The audio-video document, the prompt information are used to that the second terminal to be prompted to play the audio-video document, and according to described Vibration file is vibrated.
8. terminal according to claim 7, which is characterized in that the processor is also used to execute following steps:
Obtain the amplitude of the vibrating motor of terminal;
The processor determines time of vibration section and oscillation intensity, is specifically used for executing following steps:
The oscillation intensity is determined according to the amplitude of the vibrating motor of the terminal, and determines the time of vibration section.
9. terminal according to claim 8, which is characterized in that the processor is also used to execute following steps:
Determine that the second terminal is supported to control the oscillation intensity of the vibrating motor of the second terminal.
CN201511031078.0A 2015-12-30 2015-12-30 A kind of method and terminal sending vibration file Expired - Fee Related CN105677336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511031078.0A CN105677336B (en) 2015-12-30 2015-12-30 A kind of method and terminal sending vibration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511031078.0A CN105677336B (en) 2015-12-30 2015-12-30 A kind of method and terminal sending vibration file

Publications (2)

Publication Number Publication Date
CN105677336A CN105677336A (en) 2016-06-15
CN105677336B true CN105677336B (en) 2019-05-21

Family

ID=56298440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511031078.0A Expired - Fee Related CN105677336B (en) 2015-12-30 2015-12-30 A kind of method and terminal sending vibration file

Country Status (1)

Country Link
CN (1) CN105677336B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710914A (en) * 2009-11-16 2010-05-19 中兴通讯股份有限公司 Mobile terminal and method for achieving mobile terminal vibration
CN102204225A (en) * 2008-09-05 2011-09-28 Sk电信有限公司 Mobile communication terminal that delivers vibration information, and method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101047771B1 (en) * 2008-07-01 2011-07-07 엘지전자 주식회사 Mobile terminal and control method of mobile terminal
CN102387241B (en) * 2010-09-02 2015-09-23 联想(北京)有限公司 A kind of mobile terminal and transmission processing method thereof
WO2013131328A1 (en) * 2012-03-07 2013-09-12 中兴通讯股份有限公司 Dynamic interaction method and system for terminals
CN104811251A (en) * 2014-01-27 2015-07-29 腾讯科技(深圳)有限公司 Information transmission method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204225A (en) * 2008-09-05 2011-09-28 Sk电信有限公司 Mobile communication terminal that delivers vibration information, and method thereof
CN101710914A (en) * 2009-11-16 2010-05-19 中兴通讯股份有限公司 Mobile terminal and method for achieving mobile terminal vibration

Also Published As

Publication number Publication date
CN105677336A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN103474068B (en) Realize method, equipment and system that voice command controls
CN110784529A (en) Information pushing method and device, electronic device and computer readable storage medium
US20130179558A1 (en) Server management using a baseboard management controller to establish a wireless network
US10818151B2 (en) Vibration method, electronic device and computer readable storage medium
CN105120528B (en) A kind of equipment room carries out the method, apparatus and system of configurability setting
CN101867594A (en) Data transmission method, device and system
CN104065718A (en) Method and system for achieving social sharing through intelligent loudspeaker box
CN104581993B (en) It is wirelessly connected the method and terminal of the method established, data transmission
CN104238551A (en) Intelligent display remote control and flight control system
CN109495433A (en) Data download method and device, storage medium and electronic device
CN104579919B (en) Method for message interaction and relevant apparatus and communication system
CN103916978A (en) Wireless connection establishing method and electronic devices
JP2013214257A (en) Terminal linking system and method therefor
CN102571964A (en) Multi-screen interaction method and multi-screen interaction system
CN103647756A (en) Advertisement broadcasting method, server, client and system
CN105592232B (en) A kind of synchronous method and device of the lyrics
CN113617020B (en) Game control method, game control device, storage medium, server and terminal
US10484484B2 (en) Context-aware task processing for multiple devices
CN110087281A (en) The method, apparatus and system of network insertion
CN103685295A (en) Method, terminal and system for downloading multimedia files
CN105677336B (en) A kind of method and terminal sending vibration file
CN104967598B (en) The acquisition methods of a kind of customer multi-media authority information and device
CN104766599A (en) Intelligent music beat interaction equipment
CN109243437A (en) Information prompting method and device, storage medium and electronic device
CN105653290B (en) Data interactive method and system

Legal Events

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190521

CF01 Termination of patent right due to non-payment of annual fee