CN109889741A - Caption presentation method, storage medium and mobile terminal - Google Patents

Caption presentation method, storage medium and mobile terminal Download PDF

Info

Publication number
CN109889741A
CN109889741A CN201910152142.2A CN201910152142A CN109889741A CN 109889741 A CN109889741 A CN 109889741A CN 201910152142 A CN201910152142 A CN 201910152142A CN 109889741 A CN109889741 A CN 109889741A
Authority
CN
China
Prior art keywords
terminal
caption
language
information
currently used
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.)
Pending
Application number
CN201910152142.2A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910152142.2A priority Critical patent/CN109889741A/en
Publication of CN109889741A publication Critical patent/CN109889741A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of caption presentation method, storage medium and mobile terminals.This method comprises: determining the currently used language of terminal;According to the currently used language of the terminal, the corresponding caption information of a multimedia file is obtained from server corresponding with the currently used language;The display when caption information that will acquire plays the multimedia file at the terminal.The disclosure can be with the currently used language of automatic identification terminal, and obtains terminal automatically and correspond to the subtitle file information of language and show, goes to download manually to corresponding subtitle server without user, the user experience is improved.

Description

Caption presentation method, storage medium and mobile terminal
Technical field
This disclosure relates to communication field more particularly to a kind of caption presentation method, computer readable storage medium and movement Terminal.
Background technique
With the development of communication technology, multimedia file due to have many advantages, such as that transmission storage is convenient, fidelity is high and by To liking for user, it is used widely in the work of user, studying and living.
File fingerprint is numerous, generally divides several major class such as sound, image and video.Due to different types of multimedia The production of file, playing principles are not identical, it is therefore desirable in client, as installed corresponding player client in computer, mobile phone End.Wherein, it when player client terminal playing multimedia file, other than playing the content of multimedia file, generally also needs to broadcast Put the corresponding subtitle file of multimedia file.
The player client of mainstream provides automatic loading caption function, when user plays multimedia file, automatically Subtitle file being locally stored or in specified path is loaded, if the multimedia file that user is played does not have locally subtitle literary Part then needs downloading subtitle files.Currently, the mode of downloading subtitle files is, user is manually from network or from other visitors The downloading of family end obtains subtitle file.This mode increases the difficulty for obtaining subtitle file, reduces user experience.
Therefore, it is necessary to which providing the new technical solution of one kind improves one or more problem present in above scheme.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of caption presentation method, computer readable storage medium and mobile terminal, into And one or more is overcome the problems, such as caused by the limitation and defect due to the relevant technologies at least to a certain extent.
According to the first aspect of the embodiments of the present disclosure, a kind of caption presentation method is provided, comprising:
Determine the currently used language of the terminal;
According to the currently used language of the terminal, one is obtained from server corresponding with the currently used language The corresponding caption information of multimedia file;
The display when caption information that will acquire plays the multimedia file at the terminal.
In the embodiment of the present disclosure, the step of the determination terminal currently used language, comprising:
Currently used language is determined based on the preset application program in the terminal and/or the application program being currently installed on Speech.
In the embodiment of the present disclosure, the application program includes attribute information;Based on the preset application program in the terminal And/or the application program being currently installed on the step of determining currently used language, comprising:
The institute of the attribute information and/or the application program being currently installed on based on the preset application program in the terminal It states attribute information and determines currently used language.
In the embodiment of the present disclosure, the attribute information include one in Apply Names, application type and copyright information or It is multiple.
In the embodiment of the present disclosure, the caption information that will acquire plays at the terminal to be shown when the multimedia file Step, comprising:
The caption information is added to the multimedia file of broadcasting, and subtitle is shown according to time shaft.
In the embodiment of the present disclosure, this method further include:
After the server downloading acquisition caption information, the caption information is stored into the terminal.
In the embodiment of the present disclosure, the multimedia file includes video file and/or audio file.
In the embodiment of the present disclosure, the language includes at least Chinese, English, Japanese, Korean, French, German, Spanish One or more of;Wherein different language corresponds to different caption informations.
According to the second aspect of an embodiment of the present disclosure, a kind of mobile terminal is provided, comprising:
Processor;And
Memory, for storing the computer program that can be run on the processor;
Wherein, realize that subtitle described in any of the above-described embodiment is shown when the computer program is executed by the processor The step of showing method.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with The step of machine program, which realizes caption presentation method described in any one above-mentioned embodiment when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In a kind of embodiment of the disclosure, by above-mentioned caption presentation method, terminal and readable storage medium storing program for executing, determine described in The currently used language of terminal;According to the currently used language of the terminal, from corresponding with the currently used language Server obtain the corresponding caption information of a multimedia file;The caption information that will acquire plays described more at the terminal It is shown when media file.The disclosure can be with the currently used language of automatic identification terminal, and obtains terminal automatically and correspond to language Subtitle file information and show, go to download manually to corresponding subtitle server without user, the user experience is improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
Fig. 1 schematically shows the hardware structural diagram of mobile terminal in disclosure exemplary embodiment;
Fig. 2 schematically shows a kind of communications network system architecture diagram in disclosure exemplary embodiment;
Fig. 3 schematically shows a kind of caption presentation method flow chart in disclosure exemplary embodiment;
Fig. 4 schematically shows a kind of subtitling display equipment schematic diagram in disclosure exemplary embodiment;
Fig. 5 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V 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 WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 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 mobile terminal 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 the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, 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 mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with 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), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and 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 mobile terminal, utilizes each of various interfaces and the entire mobile terminal 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 mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, 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.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that 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.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
A kind of caption presentation method is provided firstly in this example embodiment, this method can be applied to one and have display The terminal device of screen, such as to can be mobile phone, personal digital assistant, laptop, tablet computer, smartwatch etc. mobile Terminal.With reference to shown in Fig. 3, this method may include:
Step S301: the currently used language of the terminal is determined;
Step S302: according to the currently used language of the terminal, from clothes corresponding with the currently used language Business device obtains multimedia file caption information corresponding with terminal language;
Step S303: the display when caption information that will acquire plays the multimedia file at the terminal.
By the above method, according to the practical language of terminal, automatic obtain downloads corresponding caption information, plays at the terminal It is shown when the multimedia file.The user experience is improved.
In the following, each step of the above method in this example embodiment of reference Fig. 3~4 pair is carried out in more detail It is bright.
In step S301, the currently used language of the terminal is determined.
Specifically, the currently used language of the terminal can be determined by player client.It is of course not solely limited to This.Wherein, player can determine the terminal currently according to preset application program and/or the application program being currently installed on and be made Language.Wherein, preset application program and/or the application program being currently installed on can be chat software, Alipay, bank visitor Family end etc..Since the preset application that country variant channel uses is different, the country of user can be substantially determined by preset application. Meanwhile there is the use preference to different application in the user of country variant.Comprehensively considered by the two, it can be deduced that user's is normal Use language message.Such as often there are QQ, wechat, Alipay in Chinese application program.But special, MSN is pushed away in foreign applications program.Again Such as: cell phone manufacturer when leaving the factory, can preparatory installation section application according to different countries.It can determine user by the difference of application Country.So that it is determined that the currently used language of terminal.
In one embodiment, it can also judge the attribute letter of preset application program and/or the application program being currently installed on Breath is to determine language used in active user.Specifically, the preset application program and/or the application program being currently installed on are all There is its attribute information.Wherein, the application attribute information may include in Apply Names, application type and copyright information It is one or more.The attribute information of the application program is obtained, the attribute information includes the title, type and version of application program Weigh one or more of information.Such as: application program is Tencent QQ client, and the Tencent QQ client can be read at this time Attribute information, the attribute information can be one or more of title, type and copyright information of program.Believed according to attribute Breath is it may determine that user's used terminal language.
Wherein, the language include at least Chinese, one in English, Japanese, Korean, French, German, Spanish or It is multiple;Wherein different language corresponds to different caption informations.
Step S302: according to the currently used language of the terminal, from clothes corresponding with the currently used language Business device obtains the corresponding caption information of a multimedia file.
Specifically, the server is stored with caption information, and such as: Chinese has corresponding Chinese subtitle server, English There is corresponding English subtitles server, Japanese has corresponding Japanese subtitle server, and Korean has corresponding Korean server, etc. Deng.According to the currently used language of terminal, the corresponding server of language used in terminal is gone to obtain by player client more The corresponding caption information of media file.The language as used in used terminal is Chinese, can go to obtain to Chinese subtitle server Take the corresponding caption information of multimedia file.
Wherein, multimedia file can be video, audio etc..
Wherein, believe from the corresponding subtitle of one multimedia file of the currently used corresponding server acquisition of language Breath.It further include that player client obtains and the multimedia one-to-one primary sound language subtitle of play time progress.Institute Primary sound language subtitle is stated, refers to the text subtile of language used in the raw tone in multimedia file, as raw tone is Mandarin, then its subtitle is Chinese character subtitle, and raw tone is English, then its subtitle is English subtitles.With the multimedia Play time progress correspond, refer to that the voice of primary sound language subtitle and video matches, text and voice are corresponding.Sentence Break the primary sound languages subtitle language it is whether identical as language used in terminal.When the language and target of primary sound languages subtitle When language is not identical, video player obtains the file information of the multimedia primary sound language subtitle file.According to primary sound language The file information for saying subtitle file, goes the corresponding server of terminal language to obtain the corresponding caption information of the multimedia file.
For example, when user plays a video file, the language of the primary sound languages subtitle of the video file is English.But Language used in terminal is Chinese, and Chinese subtitle server is gone to obtain Chinese subtitle information corresponding with primary sound languages subtitle at this time.
Step S303: the display when caption information that will acquire plays the multimedia file at the terminal.
Specifically, display when the caption information that will acquire plays the multimedia file at the terminal.Can include: from After the server downloading obtains the caption information, the caption information is stored into the terminal.Then by subtitle Information and multimedia file simultaneous display.Wherein the method for simultaneous display may include a variety of, such as: the subtitle of the acquisition is believed File is ceased at the terminal in a manner of superposition with the multimedia file simultaneous display;Alternatively, by the subtitle language of the acquisition File at the terminal in the form of plug-in unit when playing multimedia file simultaneous display.Deng being of course not solely limited to this.
Such as: in Android system mobile phone, caption information can be added with TimedText, after caption information is got, It only needs simply to be shown according to time shaft.At this point, the subtitle language file can be same when playing multimedia file Step display.
In one embodiment, the terminal is Android mobile phone.Application program Tencent QQ, wechat, payment are housed on mobile phone Treasured etc..Since the preset application that country variant channel uses is different, the country of user can be substantially determined by preset application.Together When, there is the use preference to different application in the user of country variant.Player client according to the Tencent QQ downloaded in mobile phone, The application programs such as wechat, Alipay determine language used in mobile phone for Chinese, when user plays one in player client English video file, wherein the English video file can be the various forms of videos such as film, TV play, FLASH, MTV File, the embodiment of the present invention to this with no restriction.It can be MOV, RMVB, MID, MP4 for the file format of video file, Any format such as RAM, RA, MPG, VCD, DAT, SVCD, CVD, DVD, the embodiment of the present invention to this also with no restriction.Player visitor Family end obtains and the play time progress of the video file English primary sound languages subtitle correspondingly.The English primary sound language Kind subtitle, refers to the text subtile of languages used in the raw tone in multimedia file.It may determine that the English at this time The language of primary sound languages subtitle is not identical as language used in user's used terminal.Video player obtains the English video The file information of subtitle file go the corresponding server of Chinese to obtain according to the file information of English primary sound languages subtitle file Take the corresponding Chinese subtitle information of English primary sound languages subtitle file.Then, player client takes from the Chinese subtitle Business device downloads the Chinese subtitle information, and the caption information is stored into the terminal.Then it is added by TimedText Caption information.At this point, the subtitle language file can simultaneous display when playing multimedia file.This method, can be automatic It obtains subtitle file information and shows, go to download manually to corresponding subtitle client without user, improve user's use The experience of terminal.
In one embodiment, the terminal is mobile phone.It is equipped on mobile phone and pushes away the application software such as spy, MSN.Player client End pushes away special and/or MSN application program attribute information by detection and determines that terminal is currently used according to the attribute information Language.Specifically, player client is by pushing away special and/or MSN Apply Names, application type and copyright information described in detection One or more of.When detecting the currently used language of terminal can be German.When user is in player client It is middle to play a Chinese video file, wherein to can be film, TV play, FLASH, MTV etc. various for the China video file The video file of form, the embodiment of the present invention to this with no restriction.Player client obtains the broadcasting with the video file Time schedule Chinese primary sound languages subtitle correspondingly.May determine that at this time the language of the Chinese primary sound languages subtitle not with Language used in user's used terminal is identical.The corresponding server of German is gone to obtain the corresponding German word of the Chinese video file Curtain information.The German subtitles language file that institute's German is obtained is same when playing multimedia file in the form of plug-in unit at the terminal Step display.
, can be with the currently used language of automatic identification terminal by the method in above-mentioned each embodiment, and obtain automatically It takes terminal to correspond to the subtitle file information of language and shows, go to download manually to corresponding subtitle server without user, mention User experience is risen.
It should be noted that although describing each step of method in the disclosure in the accompanying drawings with particular order, This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps Row, and/or a step is decomposed into execution of multiple steps etc..In addition, being also easy to understand, these steps be can be Such as it is either synchronously or asynchronously executed in multiple module/process/threads.
Further, in this example embodiment, a kind of subtitling display equipment is additionally provided.Refering to what is shown in Fig. 4, device can To include determination unit 401, acquiring unit 402, display unit 403.Wherein it is determined that unit 401, for determining that the terminal is worked as Language used in preceding.Acquiring unit 402, for according to the currently used language of the terminal, from currently used with this The corresponding server of language obtain the corresponding caption information of a multimedia file.Display unit 403, the subtitle that will acquire Display when information plays the multimedia file at the terminal.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.As module or list The component of member display may or may not be physical unit, it can and it is in one place, or may be distributed over In multiple network units.It can select some or all of the modules therein according to the actual needs to realize the open scheme of wood Purpose.Those of ordinary skill in the art can understand and implement without creative efforts.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, meter is stored thereon with Institute in any one above-mentioned embodiment may be implemented when for example, at least a processor executes in calculation machine program, the computer program The step of stating caption presentation method.In some possible embodiments, various aspects of the invention are also implemented as one kind The form of program product comprising program code, when described program product is run on the terminal device, said program code is used It is various exemplary according to the present invention described in the above-mentioned caption presentation method part of this specification in executing the terminal device The step of embodiment.
Refering to what is shown in Fig. 5, describing the program product for realizing the above method of embodiment according to the present invention 500, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on mobile phone.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing, which can be, appoints What include or the tangible medium of storage program that the program can be commanded execution system, device or device use or and its It is used in combination.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional mistake Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In an exemplary embodiment of the disclosure, a kind of mobile terminal is also provided, which may include processor, And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution Executable instruction is come the step of executing caption presentation method described in any one above-mentioned embodiment.
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.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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 (can be mobile phone, computer, service Device, air conditioner or 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, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of caption presentation method characterized by comprising
Determine the currently used language of the terminal;
According to the currently used language of the terminal, more than one matchmaker is obtained from server corresponding with the currently used language The corresponding caption information of body file;
The display when caption information that will acquire plays the multimedia file at the terminal.
2. caption presentation method according to claim 1, which is characterized in that the determination terminal is currently used The step of language, comprising:
Currently used language is determined based on the preset application program in the terminal and/or the application program being currently installed on.
3. caption presentation method according to claim 1, which is characterized in that the application program includes attribute information;Base The step of preset application program in the terminal and/or the application program being currently installed on determine currently used language, Include:
The category of the attribute information and/or the application program being currently installed on based on the preset application program in the terminal Property information determines currently used language.
4. caption presentation method according to claim 3, which is characterized in that the attribute information includes Apply Names, answers With one or more of type and copyright information.
5. caption presentation method according to claim 1, which is characterized in that the caption information that will acquire is at the terminal The step of being shown when playing the multimedia file, comprising:
The caption information is added to the multimedia file of broadcasting, and subtitle is shown according to time shaft.
6. caption presentation method described according to claim 1~one of 5, which is characterized in that this method further include:
After the server downloading acquisition caption information, the caption information is stored into the terminal.
7. caption presentation method according to claim 6, which is characterized in that the multimedia file includes video file And/or audio file.
8. caption presentation method according to claim 6, which is characterized in that the language includes at least Chinese, English, day One or more of text, Korean, French, German, Spanish;Wherein different language corresponds to different caption informations.
9. a kind of mobile terminal characterized by comprising
Processor;And
Memory, for storing the computer program that can be run on the processor;
Wherein, any one of claim 1~8 Subtitle Demonstration side is realized when the computer program is executed by the processor The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of any one of claim 1~8 caption presentation method is realized when at least one processor executes.
CN201910152142.2A 2019-02-28 2019-02-28 Caption presentation method, storage medium and mobile terminal Pending CN109889741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910152142.2A CN109889741A (en) 2019-02-28 2019-02-28 Caption presentation method, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152142.2A CN109889741A (en) 2019-02-28 2019-02-28 Caption presentation method, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN109889741A true CN109889741A (en) 2019-06-14

Family

ID=66929996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152142.2A Pending CN109889741A (en) 2019-02-28 2019-02-28 Caption presentation method, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN109889741A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395826A (en) * 2019-08-01 2021-02-23 北京字节跳动网络技术有限公司 Method and device for processing special effects of characters
CN112860361A (en) * 2021-01-12 2021-05-28 广州朗国电子科技有限公司 Method, device and storage medium for automatically selecting audio track and subtitle
CN113360053A (en) * 2021-05-28 2021-09-07 富途网络科技(深圳)有限公司 Display control method, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067775A (en) * 2013-01-28 2013-04-24 Tcl集团股份有限公司 Subtitle display method for audio/video terminal, audio/video terminal and server
CN104239523A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Recommendation method and device for application program and mobile terminal
WO2017191397A1 (en) * 2016-05-03 2017-11-09 Orange Method and device for synchronising subtitles
US20180277142A1 (en) * 2017-03-23 2018-09-27 Intel Corporation Real time closed captioning or highlighting method and apparatus
CN108600773A (en) * 2018-04-25 2018-09-28 腾讯科技(深圳)有限公司 Caption data method for pushing, subtitle methods of exhibiting, device, equipment and medium
CN108924619A (en) * 2018-06-29 2018-11-30 北京优酷科技有限公司 The display methods and device of subtitle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067775A (en) * 2013-01-28 2013-04-24 Tcl集团股份有限公司 Subtitle display method for audio/video terminal, audio/video terminal and server
CN104239523A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Recommendation method and device for application program and mobile terminal
WO2017191397A1 (en) * 2016-05-03 2017-11-09 Orange Method and device for synchronising subtitles
US20180277142A1 (en) * 2017-03-23 2018-09-27 Intel Corporation Real time closed captioning or highlighting method and apparatus
CN108600773A (en) * 2018-04-25 2018-09-28 腾讯科技(深圳)有限公司 Caption data method for pushing, subtitle methods of exhibiting, device, equipment and medium
CN108924619A (en) * 2018-06-29 2018-11-30 北京优酷科技有限公司 The display methods and device of subtitle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395826A (en) * 2019-08-01 2021-02-23 北京字节跳动网络技术有限公司 Method and device for processing special effects of characters
CN112395826B (en) * 2019-08-01 2024-05-28 北京字节跳动网络技术有限公司 Text special effect processing method and device
CN112860361A (en) * 2021-01-12 2021-05-28 广州朗国电子科技有限公司 Method, device and storage medium for automatically selecting audio track and subtitle
CN113360053A (en) * 2021-05-28 2021-09-07 富途网络科技(深圳)有限公司 Display control method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN109889885A (en) A kind of throwing screen control method, terminal and computer readable storage medium
CN107229402A (en) Dynamic screenshotss method, device and the readable storage medium storing program for executing of terminal
CN108289244A (en) Video caption processing method, mobile terminal and computer readable storage medium
CN109831586A (en) A kind of user interface switching display methods, mobile terminal and storage medium
CN108159688A (en) Interface sharing method, mobile terminal and computer readable storage medium
CN107526561A (en) Method for information display, mobile terminal and the storage medium of screen prjection
CN109361960A (en) Barrage display methods, device, mobile terminal and readable storage medium storing program for executing
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN109828711A (en) A kind of reading management method, mobile terminal and the storage medium of mobile terminal
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109889741A (en) Caption presentation method, storage medium and mobile terminal
CN109151162A (en) A kind of multi-panel screen interaction control method, equipment and computer readable storage medium
CN109726179A (en) Screenshot picture processing method, storage medium and mobile terminal
CN110314375A (en) A kind of method for recording of scene of game, terminal and computer readable storage medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109692474A (en) Game control method, mobile terminal and readable storage medium storing program for executing based on mobile terminal
CN108744495A (en) A kind of control method of virtual key, terminal and computer storage media
CN109276881A (en) A kind of game control method, equipment
CN108920054A (en) A kind of application recommended method and terminal
CN108769783A (en) Video ads playback method, mobile terminal and computer readable storage medium
CN108241808A (en) identification code display control method, terminal and computer readable storage medium
CN107682541A (en) Audio control method, mobile terminal and the storage medium of screen prjection
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN109814907A (en) Application icon replacement method, mobile terminal and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190614

RJ01 Rejection of invention patent application after publication