CN109451154A - A kind of method and terminal device that multimedia file is set - Google Patents

A kind of method and terminal device that multimedia file is set Download PDF

Info

Publication number
CN109451154A
CN109451154A CN201811289489.3A CN201811289489A CN109451154A CN 109451154 A CN109451154 A CN 109451154A CN 201811289489 A CN201811289489 A CN 201811289489A CN 109451154 A CN109451154 A CN 109451154A
Authority
CN
China
Prior art keywords
information
multimedia file
terminal device
vibration
characteristic information
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.)
Granted
Application number
CN201811289489.3A
Other languages
Chinese (zh)
Other versions
CN109451154B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811289489.3A priority Critical patent/CN109451154B/en
Publication of CN109451154A publication Critical patent/CN109451154A/en
Application granted granted Critical
Publication of CN109451154B publication Critical patent/CN109451154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Abstract

The embodiment of the invention discloses a kind of methods and terminal device that multimedia file is arranged, and are applied to field of communication technology, can solve the relatively simple problem of the information type of video presentation existing in the prior art.This method comprises: obtaining the characteristic information in multimedia file, multimedia file is audio or video;Characteristic information is at least one of acoustic information and image information;In the case where characteristic information meets the first default characteristic information, generate the first vibration information corresponding with the first default characteristic information, first vibration information includes driving signal and time of vibration information, and time of vibration information is in the time shaft of multimedia file at the time of output drive signal.This method is applied in the scene of setting multimedia file.

Description

A kind of method and terminal device that multimedia file is set
Technical field
The present embodiments relate to fields of communication technology more particularly to a kind of method that multimedia file is arranged and terminal to set It is standby.
Background technique
It is universal with terminal technology, terminal device using more and more extensive.
Currently, since the information being presented to the user when mobile terminal playing video is limited to visual information and auditory information, because The information type that this video is presented is relatively simple.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal device that multimedia file is arranged, to solve in the prior art The relatively simple problem of the information type that existing video is presented.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, providing a kind of method that multimedia file is arranged, it is applied to terminal device, this method comprises: obtaining Characteristic information in multimedia file, multimedia file are audio or video;Characteristic information is in acoustic information and image information At least one;In the case where characteristic information meets the first default characteristic information, generate corresponding with the first default characteristic information The first vibration information, the first vibration information includes driving signal and time of vibration information, and time of vibration information is in multimedia In the time shaft of file at the time of output drive signal.
Second aspect provides a kind of terminal device, which includes: to obtain module and generation module;Wherein, it obtains Module, for obtaining the characteristic information in multimedia file, multimedia file is audio or video;Characteristic information is acoustic information At least one of with image information;Generation module, for meeting the first default feature in the characteristic information for obtaining module acquisition In the case where information, the first vibration information corresponding with the first default characteristic information is generated, the first vibration information includes driving letter Number and time of vibration information, time of vibration information be in the time shaft of multimedia file at the time of output drive signal.
The third aspect provides a kind of terminal device, which includes processor, memory and be stored in the memory Computer program that is upper and can running on the processor, realizes such as first aspect when which is executed by the processor The step of method of the setting multimedia file.
Fourth aspect provides a kind of computer readable storage medium, stores computer on the computer readable storage medium Program realizes the step of the method for setting multimedia file as described in relation to the first aspect when the computer program is executed by processor Suddenly.
In embodiments of the present invention, the characteristic information in multimedia file is obtained, multimedia file is audio or video;It is special Reference breath is at least one of acoustic information and image information;The case where characteristic information meets the first default characteristic information Under, the first vibration information corresponding with the first default characteristic information is generated, when the first vibration information includes driving signal and vibration Between information, time of vibration information is in the time shaft of multimedia file at the time of output drive signal.With this solution, due to Characteristic information in available multimedia file, and in the case where characteristic information meets the first default characteristic information, it generates The first vibration information corresponding with the first default characteristic information, so that when mobile terminal playing multimedia file, Ke Yigen According to the motor vibrations in the first vibration information drives terminal equipment of the generation, so as to when playing multimedia file not only It is presented to the user visual information and auditory information, there can also be vibration information.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of method schematic diagram one that multimedia file is arranged provided in an embodiment of the present invention;
The interface schematic diagram one of Fig. 3 terminal device provided in an embodiment of the present invention;
The interface schematic diagram two of Fig. 4 terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of method schematic diagram two that multimedia file is arranged provided in an embodiment of the present invention;
Fig. 6 is a kind of method schematic diagram three that multimedia file is arranged provided in an embodiment of the present invention;
Fig. 7 is a kind of method schematic diagram four that multimedia file is arranged provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram one of terminal device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram two of terminal device provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram three of terminal device provided in an embodiment of the present invention;
Figure 11 is a kind of hardware schematic of terminal device provided in an 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.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, and the present invention is implemented Example is not especially limited.
Below by taking Android operation system as an example, the method provided in an embodiment of the present invention that multimedia file is set is introduced Applied software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of the method for setting multimedia file provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, So that the method for the setting multimedia file can be run based on Android operation system as shown in Figure 1.I.e. processor or Person's terminal device can realize that setting provided in an embodiment of the present invention is more by running the software program in Android operation system The method of media file.
The embodiment of the present invention provides a kind of method and terminal device that multimedia file is arranged, and obtains in multimedia file Characteristic information, multimedia file are audio or video;Characteristic information is at least one of acoustic information and image information;In spy In the case that reference breath meets the first default characteristic information, the first vibration information corresponding with the first default characteristic information is generated, First vibration information includes driving signal and time of vibration information, and time of vibration information is defeated in the time shaft of multimedia file Out at the time of driving signal.With this solution, it due to the characteristic information in available multimedia file, and is accorded in characteristic information In the case where closing the first default characteristic information, the first vibration information corresponding with the first default characteristic information is generated, so that When mobile terminal playing multimedia file, it can be shaken according to the motor in the first vibration information drives terminal equipment of the generation It is dynamic, so as to not only be presented to the user visual information and auditory information when playing multimedia file, there can also be vibration to believe Breath.
Terminal device in the embodiment of the present invention can be mobile terminal device, or immobile terminal equipment.It moves Dynamic terminal device can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, wearable device, surpass Grade mobile personal computer (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal digital assistant, PDA) etc.;Immobile terminal equipment can be personal computer (personal Computer, PC), television set (television, TV), automatic teller machine or self-service machine etc.;The embodiment of the present invention does not limit specifically It is fixed.
The executing subject of the method for setting multimedia file provided in an embodiment of the present invention can be above-mentioned terminal device (including mobile terminal device and immobile terminal equipment), or can be realized the setting multimedia text in the terminal device The functional module and/or functional entity of the method for part specifically can determine that the embodiment of the present invention is not according to actual use demand It limits.Below by taking terminal device as an example, the method for setting multimedia file provided in an embodiment of the present invention is carried out exemplary Explanation.
As shown in Fig. 2, the method for setting multimedia file provided in an embodiment of the present invention includes following S11 and S12.
S11, terminal device obtain the characteristic information in multimedia file.
Wherein, above-mentioned multimedia file is audio or video;Features described above information is in acoustic information and image information It is at least one.
Optionally, above-mentioned multimedia file can be the multimedia file recorded or the multimedia file of broadcasting.
In the embodiment of the present invention, in the case where above-mentioned multimedia file is audio, features described above information is acoustic information; In the case where above-mentioned multimedia file is video, features described above information is image information, alternatively, message information and image letter Breath.
In the embodiment of the present invention, obtaining characteristic information is to determine whether the scene of current video or audio needs to increase Vibrating effect generates vibration information.Optionally, under the scene that image information shows that A object hits B object, it can increase and hit Scene is hit, alternatively, acoustic information shows under the scene for having shot or explosive sound, vibrating effect can also be increased, generates vibration letter Breath.
Illustratively, as shown in Figure 3 or Figure 4, occur in image information in lightning or Fig. 3 or loudspeaker shown in Fig. 4 In the case where exporting lightning sound, it can be determined as needing to increase the scene of vibrating effect, vibration information can be generated at this time.
It optionally, is in the case that video features described above information includes characteristics of image, to obtain in above-mentioned multimedia file Taking the characteristic information in multimedia file may include: that continuous multiple image is obtained from video, then from multiple image Extract characteristics of image.
Illustratively, it for occurring the scene of lightning in video, needs multiple image and shows lightning from scratch Process can be from two frame using the interface of Fig. 3 and terminal device shown in Fig. 4 as the continuous two field pictures obtained in video Lightning process from scratch is determined in image, and is come out using the lightning as feature information extraction, and is generated and the lightning Corresponding vibration information.(when vibrating according to the vibration information drive motor, can produce corresponding vibrating effect).
S12, terminal device generate and the first default feature in the case where characteristic information meets the first default characteristic information Corresponding first vibration information of information.
Wherein, the first vibration information includes driving signal and time of vibration information, and time of vibration information is in multimedia text In the time shaft of part at the time of output drive signal.
The default characteristic information of terminal device in the embodiment of the present invention, may include in acoustic information and image information extremely Few one kind.It may include multiple default characteristic informations in terminal device in the embodiment of the present invention, above-mentioned first default feature letter Breath can be one in multiple default characteristic informations.
Optionally, can to save default characteristic information in the terminal device in the embodiment of the present invention corresponding with driving signal Relationship.Terminal device, can be according to the first default characteristic information in the case where characteristic information meets the first default characteristic information With above-mentioned corresponding relationship, corresponding driving signal is determined, then generate the first vibration including driving signal and time of vibration information Dynamic information.
Optionally, in the case where the characteristic information that above-mentioned terminal device obtains is image information, the above-mentioned first default spy Reference breath is image information;In the case where the characteristic information that above-mentioned terminal device obtains is acoustic information, above-mentioned first is default Characteristic information is acoustic information;In the case where the characteristic information that above-mentioned terminal device obtains is acoustic information and image information, Above-mentioned first default characteristic information is acoustic information and image information.
Optionally, features described above information, which meets the first default characteristic information, to be features described above information and the first default spy The similarity of reference breath is greater than preset threshold.
The embodiment of the present invention does not limit the specific value of the preset threshold, and preset threshold can be set according to the actual situation It sets.
Illustratively, which can be 50% or the preset threshold can be 80%.
The embodiment of the present invention provides a kind of method that multimedia file is arranged, and obtains the characteristic information in multimedia file, Multimedia file is audio or video;Characteristic information is at least one of acoustic information and image information;It is accorded in characteristic information In the case where closing the first default characteristic information, the first vibration information corresponding with the first default characteristic information, the first vibration are generated Information includes driving signal and time of vibration information, and time of vibration information is that output driving is believed in the time shaft of multimedia file Number at the time of.With this solution, due to the characteristic information in available multimedia file, and meet first in advance in characteristic information If in the case where characteristic information, the first vibration information corresponding with the first default characteristic information is generated, so that mobile terminal When playing multimedia file, can according to the motor vibrations in the first vibration information drives terminal equipment of the generation, so as to To be not only presented to the user visual information and auditory information when playing multimedia file, there can also be vibration information.
Optionally, in conjunction with Fig. 2, as shown in figure 5, the method for setting multimedia file provided in an embodiment of the present invention is above-mentioned It can also include following S13 after S12.
S13, terminal device save the first vibration information to multimedia file.
Optionally, the first vibration information in the embodiment of the present invention can be saved in the form of file to multimedia file In.
In conjunction with Fig. 5, as shown in fig. 6, the method for setting multimedia file provided in an embodiment of the present invention above-mentioned S13 it It afterwards, can also include following S14.
S14, terminal device are in the case where playing multimedia file, according in the first vibration information drives terminal equipment Motor vibrations.
Optionally, terminal device can be believed time of vibration in playing time shaft of the multimedia file to the multimedia file When at the time of breath instruction, pass through the motor vibrations in driving signal drives terminal equipment.
Optionally, in conjunction with Fig. 6, as shown in fig. 7, above-mentioned S12 could alternatively be following S12a and S12b.
S12a, terminal device determine described image feature in the case where characteristic information meets the first default characteristic information Target area in the display screen of the terminal device.
S12b, terminal device generate the first vibration information corresponding with the first default characteristic information.
It wherein, further include the information of above-mentioned target area in first vibration information.
Illustratively, as shown in Figure 3 and Figure 4, it can determine that the lightning picture appears in the right of screen, can go in this way Top characteristics of image, which is located at the right side in the display screen of terminal device, (can be divided into terminal display screen the area left and right side Liang Ge Domain).It further include the information on the right side being used to indicate in the display screen of terminal device in above-mentioned first vibration information, according to first It, can be in drives terminal equipment when motor (Fig. 3 and be represented in Fig. 4 as vibrator) vibration in vibration information drives terminal equipment The motor vibrations (being known as right vibrator in table 3 and Fig. 4) on right side.
Optionally, as shown in Figure 7, the S14 in above-mentioned Fig. 6 could alternatively be following S14a.
S14a, terminal device are in the case where playing multimedia file, according in the first vibration information drives terminal equipment First object motor vibrations corresponding with target area.
It optionally, may include pair of motor in different zones and terminal device in terminal display screen in terminal device It should be related to.In the case where so as to include the information of target area in the first vibration information, it can believe according to the first vibration Cease first object motor vibrations corresponding with target area in drives terminal equipment.
As shown in figure 8, the embodiment of the present invention provides a kind of terminal device 130, which includes obtaining module 131 and generation module 132.
Wherein, module 131 is obtained, for obtaining the characteristic information in multimedia file, multimedia file is audio or view Frequently;Characteristic information is at least one of acoustic information and image information;Generation module 132, for obtaining the acquisition of module 131 Characteristic information meet the first default characteristic information in the case where, generate it is corresponding with the first default characteristic information first vibration believes Breath, the first vibration information include driving signal and time of vibration information, and time of vibration information is the time shaft in multimedia file At the time of middle output drive signal.
Optionally, in conjunction with Fig. 8, as shown in figure 9, terminal device 130 further includes preserving module 133.
Wherein, preserving module 133, for generating the first vibration corresponding with the first default characteristic information in generation module 132 After dynamic information, the first vibration information is saved to multimedia file.
Optionally, in conjunction with Fig. 9, as shown in Figure 10, terminal device 130 further includes drive module 134.
Wherein, drive module 134, for preserving module 133 save the first vibration information to the multimedia file it Afterwards, in the case where playing multimedia file, according to the motor vibrations in the first vibration information drives terminal equipment.
Optionally, multimedia file is video, and characteristic information includes characteristics of image;Terminal device further includes determining module; Determining module, for determining image before generation module generates the first vibration information corresponding with the first default characteristic information Feature is located at the target area in the display screen of terminal device, and the first vibration information further includes the information of target area;Drive mould Block is specifically used for according to first object motor vibrations corresponding with target area in the first vibration information drives terminal equipment.
Optionally, multimedia file is video, and characteristic information includes characteristics of image;Module is obtained, is specifically used for from video It is middle to obtain continuous multiple image;Characteristics of image is extracted from multiple image.
Terminal device provided in an embodiment of the present invention can be realized each process shown in above method embodiment, to keep away Exempt to repeat, details are not described herein again.
The embodiment of the present invention provides a kind of terminal device, obtains the characteristic information in multimedia file, and multimedia file is Audio or video;Characteristic information is at least one of acoustic information and image information;Meet the first default spy in characteristic information In the case that reference ceases, the first vibration information corresponding with the first default characteristic information is generated, the first vibration information includes driving Signal and time of vibration information, time of vibration information are in the time shaft of multimedia file at the time of output drive signal.It is logical The program is crossed, meets the first default characteristic information due to the characteristic information in available multimedia file, and in characteristic information In the case where, the first vibration information corresponding with the first default characteristic information is generated, so that mobile terminal playing multimedia It, can be according to the motor vibrations in the first vibration information drives terminal equipment of the generation, so as to more in broadcasting when file It is not only presented to the user visual information and auditory information when media file, there can also be vibration information.
A kind of hardware schematic of Figure 11 terminal device of each embodiment to realize the present invention, the terminal device 100 packet It includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display The components such as unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This Field technical staff is appreciated that terminal device structure shown in Figure 11 does not constitute the restriction to terminal device, and terminal is set Standby may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, terminal device include but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, Wearable device and pedometer etc..
Wherein, processor 110, for obtaining the characteristic information in multimedia file, multimedia file is audio or video; Characteristic information is at least one of acoustic information and image information;The case where characteristic information meets the first default characteristic information Under, the first vibration information corresponding with the first default characteristic information is generated, when the first vibration information includes driving signal and vibration Between information, time of vibration information is in the time shaft of multimedia file at the time of output drive signal.
The embodiment of the present invention provides a kind of terminal device, obtains the characteristic information in multimedia file, and multimedia file is Audio or video;Characteristic information is at least one of acoustic information and image information;Meet the first default spy in characteristic information In the case that reference ceases, the first vibration information corresponding with the first default characteristic information is generated, the first vibration information includes driving Signal and time of vibration information, time of vibration information are in the time shaft of multimedia file at the time of output drive signal.It is logical The program is crossed, meets the first default characteristic information due to the characteristic information in available multimedia file, and in characteristic information In the case where, the first vibration information corresponding with the first default characteristic information is generated, so that mobile terminal playing multimedia It, can be according to the motor vibrations in the first vibration information drives terminal equipment of the generation, so as to more in broadcasting when file It is not only presented to the user visual information and auditory information when media file, there can also be vibration information.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 11, touch panel 1071 and aobvious Show that panel 1061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.In addition, terminal device 100 includes some unshowned functional modules, details are not described herein.
The embodiment of the present invention also provides a kind of terminal device, which may include processor, memory and deposits The computer program that can be run on a memory and on a processor is stored up, which may be implemented when being executed by processor Each process that terminal device executes in above method embodiment, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
A kind of computer readable storage medium of the embodiment of the present invention, which is characterized in that on the computer readable storage medium Computer program is stored, realizes that terminal device executes each in above method embodiment when which is executed by processor A process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter can for read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of method that multimedia file is arranged, is applied to terminal device, which is characterized in that the described method includes:
The characteristic information in multimedia file is obtained, the multimedia file is audio or video;The characteristic information is sound At least one of information and image information;
In the case where the characteristic information meets the first default characteristic information, generate corresponding with first default characteristic information The first vibration information, first vibration information includes driving signal and time of vibration information, and the time of vibration information is At the time of exporting the driving signal in the time shaft of the multimedia file.
2. the method according to claim 1, wherein generating and first default characteristic information corresponding first After vibration information, the method also includes:
First vibration information is saved to the multimedia file.
3. according to the method described in claim 2, it is characterized in that, saving first vibration information to the multimedia text After part, the method also includes:
In the case where playing the multimedia file, the motor in the terminal device is driven according to first vibration information Vibration.
4. according to the method described in claim 3, it is characterized in that, the multimedia file is video, the characteristic information packet Include characteristics of image;
It is described generate corresponding with first default characteristic information the first vibration information before, the method also includes:
Determine the target area that described image feature is located in the display screen of the terminal device, first vibration information also wraps Include the information of the target area;
The motor vibrations driven according to first vibration information in the terminal device, comprising:
First object motor vibration corresponding with the target area in the terminal device is driven according to first vibration information It is dynamic.
5. method according to claim 1-4, which is characterized in that the multimedia file is video, the spy Reference breath includes characteristics of image;The characteristic information obtained in the multimedia file, comprising:
Continuous multiple image is obtained from the video;
Described image feature is extracted from the multiple image.
6. a kind of terminal device characterized by comprising obtain module and generation module;
The acquisition module, for obtaining the characteristic information in multimedia file, the multimedia file is audio or video;Institute Stating characteristic information is at least one of acoustic information and image information;
The case where generation module, the characteristic information for obtaining in the acquisition module meets the first default characteristic information Under, the first vibration information corresponding with first default characteristic information is generated, first vibration information includes driving signal With time of vibration information, the time of vibration information is that the driving signal is exported in the time shaft of the multimedia file Moment.
7. terminal device according to claim 6, which is characterized in that the terminal device further includes preserving module;
The preserving module, for generating the first vibration letter corresponding with first default characteristic information in the generation module After breath, first vibration information is saved to the multimedia file.
8. terminal device according to claim 7, which is characterized in that the terminal device further includes drive module;
The drive module, for broadcasting after preserving module saves first vibration information to the multimedia file In the case where putting the multimedia file, the motor vibrations in the terminal device are driven according to first vibration information.
9. terminal device according to claim 8, which is characterized in that the multimedia file is video, the feature letter Breath includes characteristics of image;The terminal device further includes determining module;
The determining module, for generating the first vibration letter corresponding with first default characteristic information in the generation module Before breath, the target area that described image feature is located in the display screen of the terminal device, first vibration information are determined It further include the information of the target area;
The drive module is specifically used for driving according to first vibration information in the terminal device and the target area Corresponding first object motor vibrations.
10. according to the described in any item terminal devices of claim 6-9, which is characterized in that the multimedia file is video, institute Stating characteristic information includes characteristics of image;
The acquisition module, specifically for obtaining continuous multiple image from the video;It is extracted from the multiple image Described image feature.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in setting multimedia file method the step of.
CN201811289489.3A 2018-10-31 2018-10-31 Method for setting multimedia file and terminal equipment Active CN109451154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811289489.3A CN109451154B (en) 2018-10-31 2018-10-31 Method for setting multimedia file and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811289489.3A CN109451154B (en) 2018-10-31 2018-10-31 Method for setting multimedia file and terminal equipment

Publications (2)

Publication Number Publication Date
CN109451154A true CN109451154A (en) 2019-03-08
CN109451154B CN109451154B (en) 2021-04-23

Family

ID=65549240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811289489.3A Active CN109451154B (en) 2018-10-31 2018-10-31 Method for setting multimedia file and terminal equipment

Country Status (1)

Country Link
CN (1) CN109451154B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416116A (en) * 2020-06-01 2021-02-26 上海哔哩哔哩科技有限公司 Vibration control method and system for computer equipment
WO2023241121A1 (en) * 2022-06-13 2023-12-21 中兴通讯股份有限公司 Data processing method, control apparatus, eletronic device, and computer-readable medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960518A (en) * 2005-11-02 2007-05-09 乐金电子(中国)研究开发中心有限公司 Apparatus and method for controlling hardware of mobile communication terminal serving with multimedia message
CN102024481A (en) * 2009-09-14 2011-04-20 展讯通信(上海)有限公司 Method and device for extracting vibration information from audio file and vibrating device
US20120158730A1 (en) * 2010-03-11 2012-06-21 Apple Inc. Automatic discovery of metadata
CN103458092A (en) * 2012-05-29 2013-12-18 中国电信股份有限公司 Mobile terminal touch player and touch play method
CN103823549A (en) * 2012-11-19 2014-05-28 大连天地伟业数码科技有限公司 Somatosensory movie playing system
CN104049889A (en) * 2013-03-15 2014-09-17 英默森公司 Method and apparatus for encoding and decoding haptic information in multi-media files
CN104093078A (en) * 2013-11-29 2014-10-08 腾讯科技(北京)有限公司 Video file playing method and device
CN104661101A (en) * 2013-11-22 2015-05-27 胜华科技股份有限公司 System and method for providing augmented reality effect for multimedia data
CN104683781A (en) * 2013-11-26 2015-06-03 深圳市快播科技有限公司 Video play processing method and video play processing device
CN105306982A (en) * 2015-05-22 2016-02-03 维沃移动通信有限公司 Sensory feedback method for mobile terminal interface image and mobile terminal thereof
CN105929941A (en) * 2016-04-13 2016-09-07 广东欧珀移动通信有限公司 Information processing method and device, and terminal device
CN106657975A (en) * 2016-10-10 2017-05-10 乐视控股(北京)有限公司 Video playing method and device
CN108235099A (en) * 2018-01-12 2018-06-29 瑞声科技(新加坡)有限公司 A kind of media and the synchronous broadcast method and its device of vibration

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960518A (en) * 2005-11-02 2007-05-09 乐金电子(中国)研究开发中心有限公司 Apparatus and method for controlling hardware of mobile communication terminal serving with multimedia message
CN102024481A (en) * 2009-09-14 2011-04-20 展讯通信(上海)有限公司 Method and device for extracting vibration information from audio file and vibrating device
US20120158730A1 (en) * 2010-03-11 2012-06-21 Apple Inc. Automatic discovery of metadata
CN103458092A (en) * 2012-05-29 2013-12-18 中国电信股份有限公司 Mobile terminal touch player and touch play method
CN103823549A (en) * 2012-11-19 2014-05-28 大连天地伟业数码科技有限公司 Somatosensory movie playing system
CN104049889A (en) * 2013-03-15 2014-09-17 英默森公司 Method and apparatus for encoding and decoding haptic information in multi-media files
CN104661101A (en) * 2013-11-22 2015-05-27 胜华科技股份有限公司 System and method for providing augmented reality effect for multimedia data
CN104683781A (en) * 2013-11-26 2015-06-03 深圳市快播科技有限公司 Video play processing method and video play processing device
CN104093078A (en) * 2013-11-29 2014-10-08 腾讯科技(北京)有限公司 Video file playing method and device
CN105306982A (en) * 2015-05-22 2016-02-03 维沃移动通信有限公司 Sensory feedback method for mobile terminal interface image and mobile terminal thereof
CN105929941A (en) * 2016-04-13 2016-09-07 广东欧珀移动通信有限公司 Information processing method and device, and terminal device
CN106657975A (en) * 2016-10-10 2017-05-10 乐视控股(北京)有限公司 Video playing method and device
CN108235099A (en) * 2018-01-12 2018-06-29 瑞声科技(新加坡)有限公司 A kind of media and the synchronous broadcast method and its device of vibration

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416116A (en) * 2020-06-01 2021-02-26 上海哔哩哔哩科技有限公司 Vibration control method and system for computer equipment
CN112416116B (en) * 2020-06-01 2022-11-11 上海哔哩哔哩科技有限公司 Vibration control method and system for computer equipment
US11775070B2 (en) * 2020-06-01 2023-10-03 Shanghai Bilibili Technology Co., Ltd. Vibration control method and system for computer device
WO2023241121A1 (en) * 2022-06-13 2023-12-21 中兴通讯股份有限公司 Data processing method, control apparatus, eletronic device, and computer-readable medium

Also Published As

Publication number Publication date
CN109451154B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN109743498A (en) A kind of shooting parameter adjustment method and terminal device
CN110062105A (en) A kind of interface display method and terminal device
CN110058836A (en) A kind of output method and terminal device of audio signal
CN110209323A (en) A kind of method and terminal device showing unread message
CN109857494A (en) A kind of message prompt method and terminal device
CN109857495A (en) A kind of display control method and terminal device
CN108391123A (en) A kind of method and terminal generating video
CN109085968A (en) A kind of screenshotss method and terminal device
CN109067949A (en) A kind of electronic equipment and its control method
CN109189298A (en) A kind of language switching method and terminal
CN110460894A (en) A kind of video image display method and terminal device
CN110046013A (en) A kind of interface display method and terminal device
CN109151176A (en) A kind of information acquisition method and terminal
CN110049187A (en) A kind of display methods and terminal device
CN109005314A (en) A kind of image processing method and terminal
CN109979286A (en) A kind of information demonstrating method and terminal device
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109992192A (en) A kind of interface display method and terminal device
CN109976844A (en) A kind of message display method and mobile terminal
CN110012151A (en) A kind of information display method and terminal device
CN109933266A (en) A kind of display methods and terminal device
CN109451154A (en) A kind of method and terminal device that multimedia file is set
CN109582174A (en) A kind of touch-control input response method and terminal device
CN109522523A (en) A kind of method and terminal device showing outline information
CN109286726A (en) A kind of content display method and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant