CN105872658B - Control the method and mobile terminal of video player network connection - Google Patents

Control the method and mobile terminal of video player network connection Download PDF

Info

Publication number
CN105872658B
CN105872658B CN201610194599.6A CN201610194599A CN105872658B CN 105872658 B CN105872658 B CN 105872658B CN 201610194599 A CN201610194599 A CN 201610194599A CN 105872658 B CN105872658 B CN 105872658B
Authority
CN
China
Prior art keywords
network
video file
video
video player
connectable
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.)
Active
Application number
CN201610194599.6A
Other languages
Chinese (zh)
Other versions
CN105872658A (en
Inventor
刘朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Shenzhen Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610194599.6A priority Critical patent/CN105872658B/en
Publication of CN105872658A publication Critical patent/CN105872658A/en
Application granted granted Critical
Publication of CN105872658B publication Critical patent/CN105872658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A kind of method and mobile terminal for controlling video player network connection is provided.Methods described includes:Whether detection passes through video player playing video file in the terminal;When detecting by video player playing video file, determine whether video file is local complete video file;When video file is local complete video file, the connection of video player and network is disconnected;When video file is not local complete video file, the playing progress rate of video file is obtained;Determine whether the playing progress rate of video file is less than first threshold;When the playing progress rate of video file is less than first threshold, the connection of video player and network is disconnected.According to methods described and mobile terminal, when can automatically control the network connection of mobile terminal, and can effectively prevent by video player playing video file, due to the waste of flow and the occupation problem of memory space caused by not timely suspension.

Description

Control the method and mobile terminal of video player network connection
Technical field
The present invention relates to communication technical field.More particularly, it is related to a kind of side for controlling video player network connection Method and mobile terminal.
Background technology
With the popularization of continuous development and the Network of mobile terminal, increasing user is connected by mobile terminal Connect network to experience the various functions realized by network, also, in order to meet different application environments and scene requirement, greatly Most mobile terminals all possess the mode (for example, WLAN or mobile data network etc.) of multiple network connection.
But the form of tariff of network and the difference of applicable elements connected by mobile terminal, also brought to user Some problems.For example, pass through WLAN partly caching or part before user watches on mobile terminals During the video of download (mobile terminal has now been connected with mobile data network), do not pre-set under mobile data network in user In the case of forbidding video playback, video player may proceed to using after uncached or download before mobile data network download Continuous video, wastes flow, economic loss is caused to user.In addition, the video for having cached or having downloaded commencing play out or When pause plays can also pop-up advertisement, if after user's false touch clicks advertisement, video player can utilize mobile number sometimes Related promotional literature is downloaded on backstage according to network, the limited mobile data flow of user is not only consumed, also takes up movement The memory space of terminal.
Therefore, the internetwork connection mode that existing mobile terminal is set not only causes economic loss to user, also wastes The memory space of mobile terminal.
The content of the invention
The exemplary embodiment of the present invention is to provide a kind of method for controlling video player network connection and movement eventually End, by methods described and mobile terminal, can overcome when by video player playing video file, due to not disconnected in time The waste of flow caused by net and the occupation problem of memory space.
According to the one side of the exemplary embodiment of the present invention, there is provided a kind of side for controlling video player network connection Method, methods described include:Whether detection passes through video player playing video file in the terminal;When detecting just When by video player playing video file, determine whether the video file is local complete video file;When When the video file is local complete video file, the connection of video player and network is disconnected;When video text When part is not local complete video file, the playing progress rate of the video file is obtained;Determine broadcasting for the video file Whether degree of putting into is less than first threshold;When the playing progress rate of the video file is less than first threshold, disconnects the video and broadcast Put the connection of device and network.
Another aspect according to an exemplary embodiment of the present invention, there is provided a kind of mobile terminal, the mobile terminal include:Inspection Module is surveyed, whether detection passes through video player playing video file in the terminal;Determining module, when the detection When module is detected by video player playing video file, determine whether the video file is local complete Video file;First suspension module, when it is local complete video file that the determining module, which determines the video file, Disconnect the connection of video player and network;Playing progress rate acquisition module, when the determining module determines the video file not When being local complete video file, the playing progress rate of the video file is obtained;Comparison module, determine the playing progress rate Whether the playing progress rate that acquisition module obtains is less than first threshold;Second suspension module, regarded when described in comparison module determination When the playing progress rate of frequency file is less than first threshold, the connection of the video player and network is disconnected.
, can in the method and mobile terminal of control video player network connection according to an exemplary embodiment of the present invention Automatically to control the network connection of video player, and it can efficiently solve and video text is being played by video player During part, due to the waste of flow and the occupation problem of memory space caused by not timely suspension, reach to save flow and save and move The purpose of dynamic terminal storage space.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is the flow chart of the method for the control video player network connection of one embodiment of the invention;
Fig. 2 is the flow chart of the method for the control video player network connection of another embodiment of the present invention;
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 5 is the block diagram of first network link block in Fig. 4 of the present invention;
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the method for the control video player network connection of one embodiment of the invention.Here, as Example, methods described can be used for mobile terminal (for example, smart mobile phone, tablet personal computer, personal digital assistant, vehicle-mounted computer etc.) In, in addition, methods described also can implement methods described by software mode completely, for example, by installing in the terminal The application of video player network connection is controlled to implement methods described.
As shown in figure 1, in step S100, whether detection is playing video text by video player in the terminal Part.
Here, as an example, the video player can be the video player that mobile terminal system carries, or, The video player can be that mobile terminal is installed by external network (for example, WLAN or mobile data network) Video player.
Here, when being not detected by by video player playing video file, return and perform step S100, continue Whether detection passes through video player playing video file in the terminal.Pass through video player when detecting During playing video file, in step S200, determine whether the video file is local complete video file.
When the video file is local complete video file, in step S300, video player and net are disconnected The connection of network.Local complete video file is literary for the video of the completely repeatable broadcasting of locally downloading memory Part.In this way, can prevent from the case of video player and network connection, due to the maloperation of user causing Flow waste and download garbage files the problem of.
When the video file is not local complete video file, in step S400, the video file is obtained Playing progress rate.Here, the playing progress rate may indicate that the size of played video file accounts for the video file size Percentage.
In step S500, determine whether the playing progress rate of the video file is less than first threshold.Here, first threshold Value can be the specific of the percentage that the size for the played video file that user pre-sets accounts for the size of the video file Numerical value or scope.
When the playing progress rate of the video file is less than first threshold, in step S600, the video player is disconnected With the connection of network.
Particularly, when the video file be not local complete video file and video file playing progress rate it is small When first threshold, video player can utilize network-caching or downloading video files when continuing playing video file, if Now mobile data network is used in user, will produce the campus network of costliness, this can bring economic loss to user.Cause This, when the playing progress rate of the video file is less than first threshold, the connection for disconnecting the video player and network can be with Avoid the generation of unnecessary traffic fee.
In addition, as an example, on the basis of Fig. 1, alternatively, the embodiments of the invention shown in Fig. 2 may also include with Lower step S700 and step S800.
Specifically come, when the playing progress rate of the video file is equal to first threshold, in step S700, detection video is broadcast Put the network-connectable of device.When detecting network-connectable, in step S800, video player is connected with what is detected Network is attached.Here, as an example, when the network-connectable detected includes WLAN (for example, WIFI etc.) During with mobile data network (for example, 2G, 3G, 4G etc.), video player and WLAN can be attached.In addition, As an example, when the network-connectable detected only includes mobile data network, video can be shown in the form of pop-up box Option that player is attached with mobile data network (user can according to itself need be by pop-up box selection It is no to wish video player and mobile data network being attached), when the video player and mobile data network are carried out When the option of connection is chosen, video player and mobile data network are attached.In this way, being adapted to property Guarantee subsequent video files in ground continue to load, and release the limitation for prohibiting net, ensure user's viewing completely according to the selection of user Video file.
In addition, as another example, alternatively, when in step S800 by video player and the network-connectable detected After being attached, whether also detectable user for the video file performs pause play operation, when detecting user For the video file pause play operation when, may be in response to the pause play operation of the video file, disconnect video The connection of player and the network-connectable detected.Correspondingly, can be also connected disconnecting video player with what is detected After the connection of network, whether detection user performs for the video file and replays operation, when detecting user For the video file when replaying operation, the operation that replays of the video file is may be in response to, detects video The network-connectable of player, and video player is attached with the network-connectable detected.
In the method for control video player network connection according to an exemplary embodiment of the present invention, can automatically it control The network connection of video player processed, and can efficiently solve when by video player playing video file, due to The waste of flow and the occupation problem of memory space caused by not timely suspension, reach and save flow and saving mobile terminal storage The purpose in space.
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention.Here, as an example, the mobile terminal can be with It is the movement that smart mobile phone, tablet personal computer, personal digital assistant, vehicle-mounted computer etc. have video capability and network connecting function Terminal.
As shown in figure 3, the mobile terminal 300 shown in Fig. 3 includes:Detection module 301, determining module 302, the first suspension mould Block 303, playing progress rate acquisition module 304, the suspension module 306 of comparison module 305 and second.These modules can pass through data signal The common hardware such as processor, field programmable gate array processor is realized, also can be handled by specialized hardwares such as special chips Device is realized, can also be realized completely by computer program with software mode, is controlled in the terminal for example, being implemented as installation Unit in the application of video player network connection processed.
Particularly, whether detection module 301 detects is playing video text by video player in the terminal Part.
Here, as an example, the video player can be the video player that mobile terminal system carries, or, The video player can be that mobile terminal is installed by external network (for example, WLAN or mobile data network) Video player.
When the detection module 301 is detected by video player playing video file, determining module 302 is true Whether the fixed video file is local complete video file.
When it is local complete video file that the determining module 302, which determines the video file, the first suspension mould Block 303 disconnects the connection of video player and network.In this way, it can prevent user from connecting in video player and network In the case of connecing, due to caused by the maloperation of user flow waste and download garbage files the problem of.
When it is not local complete video file that the determining module 302, which determines the video file, playing progress rate Acquisition module 304 determines the playing progress rate of the video file.Here, the playing progress rate may indicate that played video file Size account for the percentage of the video file size.
Comparison module 305 determines whether the playing progress rate that the playing progress rate acquisition module obtains is less than first threshold.This In, the first threshold can be that the size for the played video file that user pre-sets accounts for the size of the video file The concrete numerical value or scope of percentage.
When the comparison module 305 determines that the playing progress rate of the video file is less than first threshold, the second suspension mould Block 306 disconnects the connection of the video player and network.
Particularly, when the video file be not local complete video file and video file playing progress rate it is small When first threshold, video player can utilize network-caching or downloading video files when continuing playing video file, if Now mobile data network is used in user, will produce the campus network of costliness, this can bring economic loss to user.Cause This, when the playing progress rate of the video file is less than first threshold, the connection for disconnecting the video player and network can be with Avoid the generation of unnecessary traffic fee.
In addition, as an example, on the basis of Fig. 3, alternatively, the mobile terminal 300 shown in Fig. 4 may also include and can connect Network detection module 307 and first network link block 308, referring to Fig. 4.
Particularly, when the playing progress rate of the video file is equal to first threshold, network-connectable detection module 307 Detect the network-connectable of video player.When what network-connectable detection module 307 detected video player connects net During network, video player is attached by first network link block 308 with the network-connectable detected.Here, as showing Example, when the network-connectable that network-connectable detection module 307 detects includes WLAN and mobile data network, Video player and WLAN are attached by first network link block 308.In this way, being adapted to property Guarantee subsequent video files in ground continue to load, and release the limitation for prohibiting net, ensure user's viewing completely according to the selection of user Video file.
In addition, Fig. 5 be one embodiment of the invention mobile terminal in first network link block 308 specific block diagram. Reference picture 5, when the network-connectable detected only includes mobile data network, first network link block 308 includes:Inquiry Unit 3081 and first network connection unit 3082.
Inquiry unit 3081 shows the option that video player is attached with mobile data network in the form of pop-up box (user can according to itself need choose whether to wish to enter video player and mobile data network by the pop-up box Row connection), when the option that the video player and mobile data network are attached is chosen, first network connection unit 3082 are attached video player and mobile data network.In this way, being adapted to property subsequent video is ensured File continues to load, and releases the limitation for prohibiting net, ensures that user watches complete video file according to the selection of user.
Optionally, in addition, mobile terminal may also include the 3rd suspension module and/or the second network connecting module.
Particularly, the 3rd suspension module is used for the pause play operation for detecting that user is directed to the video file, rings The operation that the broadcasting of video file described in Ying Yu is suspended, disconnect the connection of video player and the network-connectable detected. Second network connecting module is used for after the 3rd suspension module suspension, receives the operation that user replays video file, The operation replayed in response to the video file, detects the network-connectable of video player, and by video player It is attached with the network-connectable detected.It can equally prevent in this way in video player and network connection In the case of, due to caused by the maloperation of user flow waste and download garbage files the problem of, reach saving flow With the purpose for saving mobile terminal memory space.
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 600 shown in Fig. 6 includes:At least One processor 601, memory 602, at least one network interface 604 and other users interface 603.In mobile terminal 600 Each component is coupled by bus system 605.It is understood that bus system 605 is used to realize the company between these components Connect letter.Bus system 605 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But It is for the sake of clear explanation, various buses is all designated as bus system 605 in figure 6.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 602 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 6022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 602, specifically, can be application The program stored in program 6022 or instruction, processor 601 are used to detect whether pass through video playback in the terminal Device playing video file, when detecting by video player playing video file, whether determine the video file It is local complete video file.When the video file is local complete video file, processor 601, which disconnects, to be regarded The connection of frequency player and network;When the video file is not local complete video file, processor 601 obtains institute State the playing progress rate of video file.Then, processor 601 determines whether the playing progress rate of the video file is less than the first threshold Value.When the playing progress rate of the video file is less than first threshold, processor 601 controls network interface 604 to disconnect described regard The connection of frequency player and network.
The method that the embodiments of the present invention disclose can apply in processor 601, or be realized by processor 601. Processor 601 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 602, processor 601 read the information in memory 602, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or Realized outside processor.
Alternatively, when the playing progress rate of the video file is equal to first threshold, video is detected by network interface 604 The network-connectable of player.When detecting network-connectable, processor 601 controls network interface 604 by video player It is attached with the network-connectable detected.Preferably, when the network-connectable detected includes WLAN and shifting During dynamic data network, video player and WLAN are attached.If only detect mobile data network, processing Device 601 controls user interface 603 to show the option that video player is attached with mobile data network in the form of pop-up box, When the option that the video player and mobile data network are attached is chosen, processor 601 controls network interface 604 Video player and mobile data network are attached.
Alternatively, as another embodiment, when user interface 603 detects that user is directed to the pause of the video file Play operation, processor 601 disconnect the company of video player and network in response to the pause play operation of the video file Connect.After suspension, when user interface 603 detects that user replays operation for the video file, processor 601 responds In the operation that replays of the video file, and by the network-connectable of the detection video player of network interface 604, and will Video player is attached with the network-connectable detected.
Mobile terminal 600 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
In summary, the method in control video player network connection according to an exemplary embodiment of the present invention and movement In terminal, the network connection of video player can be automatically controlled, and can efficiently solve and pass through video player During playing video file, due to the waste of flow and the occupation problem of memory space caused by not timely suspension, reach saving stream Amount and the purpose for saving mobile terminal memory space.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. method for controlling video player network connection, it is characterised in that methods described includes:
    Whether detection passes through video player playing video file in the terminal;
    When detecting by video player playing video file, determine whether the video file is local complete Video file;
    When the video file is local complete video file, the connection of video player and network is disconnected;
    When the video file is not local complete video file, the playing progress rate of the video file is obtained;
    Determine whether the playing progress rate of the video file is less than first threshold;
    When the playing progress rate of the video file is less than first threshold, the connection of the video player and network is disconnected;
    When the playing progress rate of the video file is equal to first threshold, the network-connectable of video player is detected;
    When detecting network-connectable, video player is attached with the network-connectable detected.
  2. 2. the method as described in claim 1, it is characterised in that when detecting network-connectable, by video player and inspection The step of network-connectable measured is attached includes:
    When the network-connectable detected includes WLAN and mobile data network, by video player and wireless office Domain network is attached.
  3. 3. the method as described in claim 1, it is characterised in that when the network-connectable detected only includes mobile data network When, the step of video player is attached with the network-connectable detected, includes:
    The option that video player is attached with mobile data network is shown in the form of pop-up box;
    When the option that the video player and mobile data network are attached is chosen, by video player and mobile number It is attached according to network.
  4. 4. the method as described in claim 1, it is characterised in that carried out by video player and the network-connectable detected After connection, methods described also includes:
    Detect that user is directed to the pause play operation of the video file, the pause in response to the video file plays behaviour Make, disconnect the connection of video player and network.
  5. 5. method as claimed in claim 4, it is characterised in that the pause play operation in response to the video file, After the connection for disconnecting video player and network, in addition to:
    Detect that user replays operation for the video file, behaviour is replayed in response to the video file Make, detect the network-connectable of video player, and video player is attached with the network-connectable detected.
  6. 6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Whether detection module, detection pass through video player playing video file in the terminal;
    Determining module, when the detection module is detected by video player playing video file, it is determined that described regard Whether frequency file is local complete video file;
    First suspension module, when it is local complete video file that the determining module, which determines the video file, disconnect The connection of video player and network;
    Playing progress rate acquisition module, when the determining module determines that the video file is not local complete video file When, obtain the playing progress rate of the video file;
    Comparison module, determines whether the playing progress rate that the playing progress rate acquisition module obtains is less than first threshold;
    Second suspension module, when the comparison module determines that the playing progress rate of the video file is less than first threshold, disconnect The connection of the video player and network;
    Network-connectable detection module, when the playing progress rate of the video file is equal to first threshold, detect video player Network-connectable;
    First network link block, when detecting network-connectable, video player is entered with the network-connectable detected Row connection.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that when what network-connectable detection module detected connects When network includes WLAN and mobile data network, first network link block is by video player and WLAN Network is attached.
  8. 8. mobile terminal as claimed in claim 6, it is characterised in that when what network-connectable detection module detected connects When network only includes mobile data network, first network link block includes:
    Inquiry unit, the option that video player is attached with mobile data network is shown in the form of pop-up box;
    First network connection unit, will when the option that the video player and mobile data network are attached is chosen Video player is attached with mobile data network.
  9. 9. mobile terminal as claimed in claim 6, it is characterised in that also include:
    3rd suspension module, detect that user is directed to the pause play operation of the video file, in response to the video file The operation that is suspended of broadcasting, disconnect the connection of video player and network.
  10. 10. mobile terminal as claimed in claim 9, it is characterised in that also include:
    Second network connecting module, after the 3rd suspension module suspension, the operation that user replays video file is received, The operation replayed in response to the video file, detects the network-connectable of video player, and by video player It is attached with the network-connectable detected.
CN201610194599.6A 2016-03-31 2016-03-31 Control the method and mobile terminal of video player network connection Active CN105872658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610194599.6A CN105872658B (en) 2016-03-31 2016-03-31 Control the method and mobile terminal of video player network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610194599.6A CN105872658B (en) 2016-03-31 2016-03-31 Control the method and mobile terminal of video player network connection

Publications (2)

Publication Number Publication Date
CN105872658A CN105872658A (en) 2016-08-17
CN105872658B true CN105872658B (en) 2017-11-10

Family

ID=56626635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610194599.6A Active CN105872658B (en) 2016-03-31 2016-03-31 Control the method and mobile terminal of video player network connection

Country Status (1)

Country Link
CN (1) CN105872658B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331760A (en) * 2016-08-22 2017-01-11 北京小米移动软件有限公司 Video playing control method and device
CN107968957A (en) * 2016-10-20 2018-04-27 法乐第(北京)网络科技有限公司 Video broadcasting method and device
CN106878808A (en) * 2017-03-17 2017-06-20 福建中金在线信息科技有限公司 A kind of video broadcasting method and device
CN112822552B (en) * 2021-01-11 2023-06-09 湖南新云网科技有限公司 Method, device, equipment and computer storage medium for loading multimedia resources

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN103731721A (en) * 2013-12-20 2014-04-16 乐视网信息技术(北京)股份有限公司 Video playing method and user terminal
CN104866503A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Media file caching method and media player

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867007B (en) * 2011-07-08 2015-11-25 腾讯科技(深圳)有限公司 Web browser method and device
US8839309B2 (en) * 2012-12-05 2014-09-16 United Video Properties, Inc. Methods and systems for displaying contextually relevant information from a plurality of users in real-time regarding a media asset
CN104486505A (en) * 2014-12-16 2015-04-01 深圳市中兴移动通信有限公司 Mobile terminal, and method and device thereof for preventing data stream waste

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN103731721A (en) * 2013-12-20 2014-04-16 乐视网信息技术(北京)股份有限公司 Video playing method and user terminal
CN104866503A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Media file caching method and media player

Also Published As

Publication number Publication date
CN105872658A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105872658B (en) Control the method and mobile terminal of video player network connection
CN106919313A (en) The startup method and mobile terminal of a kind of application program
CN105204744A (en) Method and device for starting application program and electronic equipment
US5761624A (en) Method and apparatus for controlling and recording cellular phone transactions using an integrated circuit card
CN107728876A (en) A kind of method of split screen display available, terminal and computer-readable recording medium
CN105898705A (en) Method for controlling scanning frequency of wireless local area network and mobile terminal
CN104050172B (en) Web page picture loading method and system
CN111966439A (en) Riding code display method and device and electronic equipment
CN107577471A (en) A kind of application control method and mobile terminal
CN107608724A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN107066269A (en) A kind of split screen processing method and processing device of terminal
CN106685851A (en) Data traffic control method and terminal
CN105094841A (en) Page commenting method and device
CN106254640A (en) A kind of task start method based on alarm clock and mobile terminal
CN111046290A (en) Advertisement processing method and device, electronic equipment and storage medium
CN106060899A (en) Flow control method and device
CN104133620A (en) Method and device for controlling screen locking time
CN106502727A (en) A kind of control method of application program and mobile terminal
CN104778172A (en) Prefetching processing method and device of web information, and corresponding web browsing device
CN107783633A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN107436658A (en) A kind of method for reducing temperature rise, computer-readable recording medium, mobile terminal
CN111159599A (en) Method, device, electronic equipment and storage medium for processing advertisement
CN105204720A (en) Method and device for displaying background image on mobile terminal
CN107018557A (en) A kind of terminal control method and terminal
CN106528350A (en) File backup method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201104

Address after: 518101 A Tower 2301-09, 2401-09, 2501-09, 2601-09, No. 99 Yifang Central North District, Haiwang Community, Xin'an Street, Baoan District, Shenzhen City, Guangdong Province

Patentee after: VIVO MOBILE COMMUNICATIONS (SHENZHEN) Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.