Term in specification of the present invention and claims and above-mentioned accompanying drawing " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, to comprise the process of a series of unit, method, system, product or equipment being not necessarily limited to those unit, but can comprise clearly do not list or for intrinsic other unit of these processes, method, product or equipment.
The control treatment method of the video player that the embodiment of the present invention provides and video player client, not only can realize amendment and function improvement that video player client constantly completes leak, and leak can not be produced revise the frequent version updating caused, improve the Consumer's Experience of video player client.Below respectively the control treatment method of video player and video player client are described in detail.An embodiment of the control treatment method of video player of the present invention, during the leak that specifically can be applied to video player client upgrades automatically, refer to shown in Fig. 1, the control treatment method of the video player that one embodiment of the invention provides, can comprise the steps:
101, video player client is when detecting that user starts the operation of video player interconnection network, video playback instruction displaying video stream in video player that video player client sends according to user.
In embodiments of the present invention, user can use video player to carry out displaying video, the video player client that user can install in operating terminal when user needs to use video player, wherein, video player client is the control treatment device of video player, such as user's icon can clicked in terminal screen carrys out the work of triggering video player, and video player client can according to clicking operation user being detected.Video player client is run according to the operation start video player interconnection network of user, video player interconnection network can refer to the terminal connecting wireless network being provided with video player client, when video player client terminal start-up video player interconnection network runs, user further can send video playback instruction to video player client, such as this video playback instruction can comprise video flowing mark (English full name: Identity, English abbreviation: ID) that needs are play.The video playback instruction that user sends can instruction video player plays video flowing or multiple video flowing, does not limit herein.
In embodiments of the present invention, video player client is when video player interconnection network runs, video playback instruction displaying video stream in video player that video player client sends according to user, thus complete and carry out displaying video stream according to the requirement of user.Video player needs caller bag to come vision signal in decoded video streams and audio signal when displaying video stream, and realizes the matching treatment of vision signal and audio signal.Concrete, in some embodiments of the invention, video player can call video playback engine and decoder when displaying video stream, the program package that then video player is corresponding can comprise: video playback engine program bag and decoder program package, namely the video playback engine that calls of video player is to there being an independent video playback engine program bag, and the decoder that video player calls can to there being an independent decoder program bag.Wherein, video playback engine mainly realizes the broadcasting of Audio and Video in video display process with synchronous, and decoder mainly realizes the decoding function of vision signal and audio signal.It should be noted that, video player needs the program package called can adopt alternate manner to realize when displaying video stream, as long as this program package can be used in the normal work of video player, meet the broadcasting of video flowing.
It should be noted that, in the video render process of the embodiment of the present invention, video player client can also perform following steps 102.
102, video player client also performs first step and second step in execution video render process.
Wherein, first step comprises: obtain program package latest edition number corresponding to video player from network operation server, and judges that whether the current program package called of video player is the program package of latest edition according to program package latest edition number;
Second step comprises: if the current program package called of video player is not the program package of latest edition, and video player client downloads the program package of latest edition from network operation server.
In embodiments of the present invention, in step 101 video flowing by video player in the process of user's displaying video content, the execution first step that video player client is synchronous with step 101 and second step.Wherein, network operation server is the server for video player client provides the management maintenance of video player to serve, this network operation server can by the development and maintenance personnel periodic maintenance of video player, the program package of latest edition is uploaded in time to network operation server, the program package of this latest edition can comprise to be revised the leak of the program package of previous version, to improve the broadcast performance of video player.
In embodiments of the present invention, video player client provide to user video render serve while can with network operation server interaction, obtain program package latest edition number corresponding to video player from network operation server, and judge that whether the current program package called of video player is the program package of latest edition according to program package latest edition number.The program package that such as video player calls can identify with version number, and video player client determines whether to need to upgrade by the version number of the current program package called of video player.When the current program package called of video player is not the program package of latest edition, video player client executing second step, downloads the program package of latest edition from network operation server.Be in the process of user's displaying video stream in video player client, video player client can also perform first step and second step, video player client can get the program package of latest edition corresponding to video player, thus prepares for the renewal of video player.
In some embodiments of the invention, video player can call video playback engine and decoder when displaying video stream, the program package that then video player is corresponding can comprise: video playback engine program bag and decoder program package, namely the video playback engine that calls of video player is to there being an independent video playback engine program bag, and the decoder that video player calls can to there being an independent decoder program bag.Therefore video playback engine program bag and decoder program package can be preserved respectively on network operation server, if when the development and testing personnel of video player have an amendment to video playback engine, the video playback engine program of amendment is packaged as video playback engine program bag, if when the development and testing personnel of video player have an amendment to decoder, the decoder program of amendment is packaged as decoder program bag.
Further, in some embodiments of the invention, video playback engine program bag is specially: video playback engine so storehouse, and decoder program bag is specially decoder so storehouse.That is video playback engine and decoder can use C/C++ codes implement, and the form being compiled into so storehouse is respectively dispatched for video player.Do not limit, in the embodiment of the present invention, video playback engine program bag and decoder program package also go for other dynamic base, specifically can realize deciding according to the different system of the terminal system at video player client place.
In some embodiments of the invention, step 102 video player client also performs first step and second step in execution video render process, specifically can comprise the steps:
A1, video player client perform video render process at the foreground program of terminal system, perform first step and second step at the background program of terminal system.
Wherein, video player client is arranged in terminal system, then the foreground program of terminal system can displaying video stream, and the background program of terminal can perform first step and second step.The background program of terminal system is the sightless a kind of program operating mechanism of user in terminal system, in terminal system, user can touch foreground program, terminal system Program has interface and dividing without interface, background program is exactly the program without interface, it performs on backstage, does not affect terminal interface.Such as note oracle listener, performs on backstage, just points out vibration or sound to user when there being note; Such as audio player, after choosing music, treats to play on backstage, and when there being phone, audio player meeting automatic pause, when continuing audio plays again after telephone finished.In the embodiment of the present invention, first step and second step can perform in the background program of terminal system, displaying video stream in the background program not influencing front stage program of such terminal system, uses the program package of the latest edition of automatic foradownloaded video player in the process of video player displaying video user.
103, video player client is after video render terminates, and uses the program package of the latest edition downloaded to replace the current program package called of video player.
In embodiments of the present invention, by video player client executing first step and second step in step 102, video player client automatically downloads to the program package of latest edition in the process of user's displaying video stream not affecting, therefore, after the current video render play completes by video player client, the program package of the latest edition downloaded to is used to replace the current program package called of video player.Because when video player displaying video stream, the program package of the legacy version that video player is calling, now cannot carry out the version updating of program package, therefore only after video render terminates, video player is caller bag no longer, now can carry out the version updating of program package, complete the program package automatically downloading latest edition, and normally use to complete during video player the package version of video player is upgraded not affecting user.Therefore, in the embodiment of the present invention, video player client can refresh routine bag automatically, and operates without the need to user, is unaware, improves the experience that user uses video player to user.
In some embodiments of the invention, the control treatment method of the video player that the embodiment of the present invention provides, can also comprise the steps:
B1, video player client detect user start video player interconnection network run time, video player client judges that whether installation kit that video player is corresponding is the installation kit of latest edition;
B2, when the installation kit that video player is corresponding is not the installation kit of latest edition, video player client to user prompting whether upgrade installation kit corresponding to video player;
If B3 user determines to upgrade installation kit corresponding to video player, video player client downloads the installation kit of latest edition from network operation server;
B4, video player client are reinstalled video player according to the installation kit of the latest edition downloaded to, and the video player that the installation kit starting latest edition is corresponding.
Wherein, video player client is when detecting that user starts the operation of video player interconnection network, the method that the embodiment of the present invention provides can perform step 101, step B1 can also be performed, video player client judges that whether installation kit that video player is corresponding is the installation kit of latest edition, the installation kit that wherein video player is corresponding refers to the file that video player version updating uses, video player client can get the version number of up-to-date installation kit from network operation server, according to the version number of this up-to-date installation kit, video player client can determine that whether the installation kit of the current correspondence of video player is the installation kit of latest edition, obtain user in video player client to confirm to need to upgrade installation kit corresponding to video player, video player client downloads the installation kit of latest edition from network operation server, final video player client is reinstalled video player according to the installation kit of the latest edition downloaded to, and the video player that the installation kit starting latest edition is corresponding, when user issues video playback instruction, video player client can carry out displaying video stream according to the video player that the installation kit of latest edition is corresponding.The interface that the installation kit that wherein video player is corresponding relates to video player client place terminal system is relevant with system resource, therefore needs to point out user, determines whether by user the installation kit installing latest edition.Such as, the installation kit that video player is corresponding, can comprise: the program code of player interface module, wherein, player interface module mainly realizes the function on video playback interface and Play Control hurdle, and the renewal of player interface module needs to notify user, because may design the renewal of broadcast interface and the renewal on Play Control hurdle, the look & feel change of video player needs to point out user, determines whether by user the installation kit installing redaction.
Known by the description of above embodiment to the embodiment of the present invention, video player client is when detecting that user starts the operation of video player interconnection network, video playback instruction displaying video stream in video player that video player client sends according to user, and video player client also performs first step and second step in execution video render process, wherein, first step comprises: obtain program package latest edition number corresponding to video player from network operation server, and judge that whether the current program package called of video player is the program package of latest edition according to program package latest edition number, second step comprises: if the current program package called of video player is not the program package of latest edition, video player client downloads the program package of latest edition from network operation server, video player client is after video render terminates, the program package of the latest edition downloaded to is used to replace the current program package called of video player.In the embodiment of the present invention, video player client downloads to the program package latest edition that video player calls in the process to user's displaying video stream, refresh routine bag again after current video render completes, therefore the embodiment of the present invention does not affect user and uses video player client normal play video, but for the leak of video playback, amendment code can have been replaced in time by program package, and update in video player, it is unaware for user, leak can not be produced and revise the frequent version updating caused, improve the Consumer's Experience of video player client.
For ease of better understanding and implement the such scheme of the embodiment of the present invention, corresponding application scenarios of illustrating below is specifically described, and is next described for the video player client of installing in mobile phone terminal.The same with other cell-phone customer terminal, in prior art, video player client also can point out user to need version updating continually, and the version updating process of video player client is also the same with other clients: first user download redaction video player client installation kit, unload the client of early version at cell phone system and the client of redaction be installed.The process need user multi-pass operation mobile phone of version updating, the use of meeting adding users is worried, reduction Consumer's Experience.And the version updating of the overwhelming majority, it is only the increase leak of the client of legacy version being revised, do not had New function, the new broadcasting do not increased to user is experienced, and allows user feel to there is no need version updating on the contrary, reduces the satisfaction of user customer.Therefore, the leak amendment that just there is video player client causes version updating and the contradiction promoting Consumer's Experience.Leak amendment can improve experience when user uses video player client, but just need version updating in current existing technical scheme, the use operation of meeting adding users is worried, but the words that leak is not revised, the defect of video player client can in use exist always, just cannot improve experience when user uses video player client.
Therefore the embodiment of the present invention under this background, propose a kind of hot update scheme being applicable to the video player of mobile terminal, the embodiment of the present invention can realize in mobile phone displaying video process, video player can upgrade video playback engine program bag and decoder program package automatically on the backstage of cell phone system, after renewal, replace video playback engine program bag and decoder program package in video player again, do not affect user and use videoconference client normal play video.For the leak of video player client, can also be updated to dumbly in the mobile phone of user by time update code, the frequent version updating that the amendment that can not produce leak causes, improves the Consumer's Experience of videoconference client.
The embodiment of the present invention can in minimizing video player client release renewal frequency, when ensureing that user normally can watch video, check on the backstage of cell phone system and download decoder program bag and playback engine modular program bag, the Video Decoder in video player and playback engine module is replaced again after having downloaded, when user's displaying video next time, video player will call up-to-date decoder program bag and video playback engine program bag, achieve and can be updated on user mobile phone immediately to the amendment of video playback leak, and this renewal process does not affect user uses video player to watch video, do not need user manual carry out version updating.
When realizing the embodiment of the present invention, first modular design to be used to video player client, as shown in Figure 2, for the modularized design schematic diagram of the video player client that the embodiment of the present invention provides, video player client is mainly divided into three large modules: (1) player interface module, this module mainly realizes the function on video playback interface and Play Control hurdle, need the interface and the system resource that rely on some cell phone systems, therefore this module can only follow the version updating of video player installation kit.(2) video playback engine, mainly realize the broadcasting of audio frequency and video in video display process with synchronous, do not rely on cell phone system, this module can use C/C++ codes implement, the form being compiled into so storehouse is called for other modules, automatically can download and heat renewal on the backstage of cell phone system.(3) decoder, mainly realizes the decoding function of audio frequency and video, does not rely on cell phone system, and this module also uses C/C++ codes implement, and the form being compiled into so storehouse is called for other modules, also automatically can download on the backstage of cell phone system and heat renewal.Each module completes functions different separately, and each module is relatively independent, and calling between module is all that the interface by calling standard realizes.Because the realization of player interface module is comparatively simple, and function variation is less, and changes the relevant leak solution of more video playback and function improvement, and major part is all in video playback engine and decoder.Therefore in the embodiment of the present invention because player interface module is with installation kit version updating, video playback engine program bag and decoder program package are downloaded automatically on cell phone system backstage and heat upgrades, reduce the frequency of version updating significantly, and can also ensure that the solution of leak and the improvement of function can allow user experience in mobile phone immediately.
In embodiments of the present invention, two following main flow are illustrated: 1, program package improves the flow process uploaded; 2, the flow process of video player operation and refresh routine bag.
1, program package improves the groundwork of the flow process uploaded and is: the leak and the function that first solve video playback, then the test that tester carries out system is submitted to, test by after the version number of modular program bag be set again and be packaged into program package (such as so storehouse), finally program package (such as so storehouse) is uploaded to network operation server, refer to as shown in Fig. 3-a, the program package provided for the embodiment of the present invention improves the flow chart uploaded, and mainly comprises the steps:
(1) for decoder and video playback engine, developer in order to the improvement of practical function and can solve leak, and amendment increases some code logic.And the module of amendment is packaged into program package (such as so storehouse), submit to tester and test.
(2) tester submits to the modular program bag come to test to developer, and main content measurement has: functional test, stability test, system testing.Main method of testing has: tester's manual test, automatic test.
(3) requirement that bag is issued if test result is in order, then test is passed through, and enters next step; Otherwise test is not passed through, and enter step (1), developer continues to search reason modified module code.
(4) test is by rear, arranges the new version number of decoder and video playback engine, basis for estimation during program package for video player client update module.
(5) to testing the decoder that passes through and video playback engine code packs out, compiling generates the program package being used for client call.
(6) the program package that compiling generates, network operation server is uploaded to, so that video player client is to the down loading updating of corresponding program bag.
2, the groundwork of the flow process of video player operation and refresh routine bag is: user clicks video player displaying video stream, the current package version number called of video player can be judged before video player is play, if version number is not up-to-date package version number, then can download up-to-date program package from network operation server, video player can with current program package displaying video simultaneously, the bag that downloads is upgraded during to ensure user's displaying video, at the program package that the complete rear replacement of video render is current, to realize the target that program package heat upgrades, thus minimizing version updating, promote Consumer's Experience.Serve as theme with video render, refer to as shown in Fig. 3-b, the video player operation provided for the embodiment of the present invention and the flow chart of refresh routine bag, mainly comprise the steps:
In flow chart, details are as follows for step:
(1) user clicks the video player button in mobile phone screen, starts to start video player.
(2) user selects the video flowing wanting broadcasting, starts displaying video stream, enters step (3) and step (6) respectively.
(3) establishment at video player interface and initialization, player interface comprises the interface of playing display video, the control group interface controlling video playback.
(4) initializes video playback engine, decoder; Now in order to ensure the normal successfully displaying video of user, the video playback engine program bag of video player client call and decoder program package, or current version, after supervisor bag has upgraded, during next displaying video stream, new program package will be used.
(5) after every initial work completes, normal play video stream could be started, terminate until play, enter step (10).
(6) obtain the version number of program package from network operation server, contrast with package version current in video player client number.If current program package has been latest edition, has not just needed further process, enter step (10), otherwise program package just needs to upgrade, and enters step (7).
(7) download up-to-date program package from network operation server, be saved in cell phone system.
(8) current video render completes, and after program package downloaded, video player client will replace to current program package the program package of the redaction of up-to-date download.
(9) when user uses video player displaying video stream next time, the program package of redaction will be used.
(10) terminate.
It should be noted that, in embodiments of the present invention, video player refers to the software can play with the video flowing of digital signal form storage.Decoder refers to the program or equipment that can decode to digital video frequency flow, does not rely on cell phone system, and the backstage that can be implemented in cell phone system is downloaded and heat renewal automatically.Leak, English original meaning is bug or " insect ", if generally refer to now undiscovered defect or problems more under covering in software program.Video playback engine refers to the broadcasting and synchronous functional module that mainly realize audio frequency and video in video player, does not rely on cell phone system, and the backstage that this module can be implemented in cell phone system is downloaded and heat renewal automatically.Heat upgrades and refers to when not affecting user and normally watching video, automatically download the called program package (such as so storehouse) of correlation module on the backstage of cell phone system from network operation server, replace the older corresponding program package on mobile phone when user finishes watching video.
By aforementioned to of the present invention illustrate known, the embodiment of the present invention is applicable to the hot renewal technology of the video player of mobile terminal, can by the Development of Modular of video player, decoder and video playback engine are compiled into the form in program package (such as so storehouse), call for other modules of video player, and establish complete set of programs bag (such as so storehouse) to upload, download, upgrade, the mechanism of replacing, achieve user when using video player viewing video, without the need to version updating, and can the function of automatic refresh routine bag on the backstage of cell phone system.By the embodiment of the present invention, can be good at ensureing allowing user's leak experienced in time in video player solve and the optimization of function improvement, and avoid video player version updating frequently, improve the Consumer's Experience of video player client.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
For ease of better implementing the such scheme of the embodiment of the present invention, be also provided for the relevant apparatus implementing such scheme below.
Refer to shown in Fig. 4-a, a kind of video player client 400 that the embodiment of the present invention provides, can comprise: playing module 401, program package download module 402 and update module 403, wherein,
Described playing module 401, for when detecting that user starts the operation of video player interconnection network, video playback instruction displaying video stream in described video player that described video player client sends according to described user;
Described program package download module 402, for also performing first step and second step in execution video render process, wherein,
Described first step comprises: describedly obtain program package latest edition number corresponding to described video player from network operation server, and judges that whether the current program package called of described video player is the program package of latest edition according to described program package latest edition number;
Described second step comprises: if the current program package called of described video player is not the program package of latest edition, described video player client downloads the program package of described latest edition from described network operation server;
Described update module 403, for described playing module after described video render terminates, uses the program package of the described latest edition downloaded to replace the current program package called of described video player.
In some embodiments of the invention, described program package download module 402, specifically for performing described video render process at the foreground program of terminal system, performs described first step and described second step at the background program of described terminal system.
In some embodiments of the invention, described video player calls video playback engine and decoder, the program package that described video player is corresponding when playing described video flowing, comprising: video playback engine program bag and decoder program package.
In some embodiments of the invention, described video playback engine program bag is specially: video playback engine so storehouse, and described decoder program bag is specially decoder so storehouse.
In some embodiments of the invention, refer to as shown in Fig. 4-b, described video player client 400 also comprises: installation kit download module 404 and installation module 405, wherein,
Described installation kit download module 404, for detect user start video player interconnection network run time, judge that whether installation kit that described video player is corresponding is the installation kit of latest edition; When the installation kit that described video player is corresponding is not the installation kit of latest edition, whether upgrade installation kit corresponding to described video player to described user's prompting; If described user determines to upgrade installation kit corresponding to described video player, download the installation kit of described latest edition from described network operation server;
Described installation module 405, for reinstalling described video player according to the installation kit of the described latest edition downloaded to, and the video player that the installation kit starting latest edition is corresponding.
In some embodiments of the invention, the installation kit that described video player is corresponding, comprising: the program code of player interface module.
Known by the description of above embodiment to the embodiment of the present invention, video player client is when detecting that user starts the operation of video player interconnection network, video playback instruction displaying video stream in video player that video player client sends according to user, and video player client also performs first step and second step in execution video render process, wherein, first step comprises: obtain program package latest edition number corresponding to video player from network operation server, and judge that whether the current program package called of video player is the program package of latest edition according to program package latest edition number, second step comprises: if the current program package called of video player is not the program package of latest edition, video player client downloads the program package of latest edition from network operation server, video player client is after video render terminates, the program package of the latest edition downloaded to is used to replace the current program package called of video player.In the embodiment of the present invention, video player client downloads to the program package latest edition that video player calls in the process to user's displaying video stream, refresh routine bag again after current video render completes, therefore the embodiment of the present invention does not affect user and uses video player client normal play video, but for the leak of video playback, amendment code can have been replaced in time by program package, and update in video player, it is unaware for user, leak can not be produced and revise the frequent version updating caused, improve the Consumer's Experience of video player client.
The embodiment of the present invention additionally provides another kind of terminal, and as shown in Figure 5, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This terminal can for comprising mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), POS (PointofSales, point-of-sale terminal), the terminal equipment arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 5 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to figure 5, mobile phone comprises: radio frequency (RadioFrequency, RF) parts such as circuit 510, memory 520, input unit 530, display unit 540, transducer 550, voicefrequency circuit 560, Wireless Fidelity (wirelessfidelity, WiFi) module 570, processor 580 and power supply 590.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 5 each component parts to mobile phone:
RF circuit 510 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 580; In addition, the up data of design are sent to base station.Usually, RF circuit 510 includes but not limited to antenna, at least one amplifier, transceiver, coupler, low noise amplifier (LowNoiseAmplifier, LNA), duplexer etc.In addition, RF circuit 510 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GlobalSystemofMobilecommunication, GSM), general packet radio service (GeneralPacketRadioService, GPRS), code division multiple access (CodeDivisionMultipleAccess, CDMA), Wideband Code Division Multiple Access (WCDMA) (WidebandCodeDivisionMultipleAccess, WCDMA), Long Term Evolution (LongTermEvolution, LTE), Email, Short Message Service (ShortMessagingService, SMS) etc.
Memory 520 can be used for storing software program and module, and processor 580 is stored in software program and the module of memory 520 by running, thus performs various function application and the data processing of mobile phone.Memory 520 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, memory 520 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input unit 530 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone and function controls the input of relevant key signals.Particularly, input unit 530 can comprise contact panel 531 and other input equipments 532.Contact panel 531, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 531 or near contact panel 531 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, contact panel 531 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 580, and the order that energy receiving processor 580 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 531.Except contact panel 531, input unit 530 can also comprise other input equipments 532.Particularly, other input equipments 532 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 540 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 540 can comprise display floater 541, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display floater 541.Further, contact panel 531 can cover display floater 541, when contact panel 531 detects thereon or after neighbouring touch operation, send processor 580 to determine the type of touch event, on display floater 541, provide corresponding vision to export with preprocessor 580 according to the type of touch event.Although in Figure 5, contact panel 531 and display floater 541 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 531 and display floater 541 and realize the input and output function of mobile phone.
Mobile phone also can comprise at least one transducer 550, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 541, proximity transducer when mobile phone moves in one's ear, can cut out display floater 541 and/or backlight.As the one of motion sensor, accelerometer sensor can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for mobile phone also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 560, loud speaker 561, microphone 562 can provide the audio interface between user and mobile phone.Voicefrequency circuit 560 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 561, by loud speaker 561 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 562, voice data is converted to after being received by voicefrequency circuit 560, after again voice data output processor 580 being processed, through RF circuit 510 to send to such as another mobile phone, or export voice data to memory 520 to process further.
WiFi belongs to short range wireless transmission technology, and by WiFi module 570, mobile phone can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 5 shows WiFi module 570, be understandable that, it does not belong to must forming of mobile phone, can omit in the scope of essence not changing invention as required completely.
Processor 580 is control centres of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 520 and/or module is stored in by running or performing, and call the data be stored in memory 520, perform various function and the deal with data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 580 can comprise one or more processing unit; Preferably, processor 580 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 580.
Mobile phone also comprises the power supply 590 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 580 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 580 included by this terminal also has the method flow controlling more than execution and performed by terminal.
Known by the description of above embodiment to the embodiment of the present invention, video player client is when detecting that user starts the operation of video player interconnection network, video playback instruction displaying video stream in video player that video player client sends according to user, and video player client also performs first step and second step in execution video render process, wherein, first step comprises: obtain program package latest edition number corresponding to video player from network operation server, and judge that whether the current program package called of video player is the program package of latest edition according to program package latest edition number, second step comprises: if the current program package called of video player is not the program package of latest edition, video player client downloads the program package of latest edition from network operation server, video player client is after video render terminates, the program package of the latest edition downloaded to is used to replace the current program package called of video player.In the embodiment of the present invention, video player client downloads to the program package latest edition that video player calls in the process to user's displaying video stream, refresh routine bag again after current video render completes, therefore the embodiment of the present invention does not affect user and uses video player client normal play video, but for the leak of video playback, amendment code can have been replaced in time by program package, and update in video player, it is unaware for user, leak can not be produced and revise the frequent version updating caused, improve the Consumer's Experience of video player client.
It should be noted that in addition, device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or holding wire.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly comprise application-specific integrated circuit (ASIC), dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as analog circuit, digital circuit or special circuit etc.But under more susceptible for the purpose of the present invention condition, software program realizes is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in the present invention each embodiment.
In sum, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to above-described embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in the various embodiments described above, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.