CN114928765A - Control method, control device, electronic equipment and readable storage medium - Google Patents

Control method, control device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114928765A
CN114928765A CN202210480054.7A CN202210480054A CN114928765A CN 114928765 A CN114928765 A CN 114928765A CN 202210480054 A CN202210480054 A CN 202210480054A CN 114928765 A CN114928765 A CN 114928765A
Authority
CN
China
Prior art keywords
network
frame image
playing
controlling
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210480054.7A
Other languages
Chinese (zh)
Inventor
何鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210480054.7A priority Critical patent/CN114928765A/en
Publication of CN114928765A publication Critical patent/CN114928765A/en
Pending legal-status Critical Current

Links

Images

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/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6131Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6181Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via a mobile phone network

Abstract

The application discloses a control method, a control device, electronic equipment and a readable storage medium, and belongs to the technical field of network communication. Wherein the method comprises the following steps: under the condition of playing a target video, detecting a frame image of the target video; in a case where the first frame image includes a first object, controlling playing of the first frame image by a first network associated with the first object.

Description

Control method, control device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of network communication, and particularly relates to a control method, a control device, electronic equipment and a readable storage medium.
Background
Generally, in order to save traffic waste of a mobile network, in a case where a mobile network signal and a WIFI network signal coexist in an environment where an electronic device is located, the WIFI network signal is used by default. For example, in the case of accessing a WIFI network, a video is played using WIFI network data.
In some scenes, the transmission rate of the WIFI network is lower, and the transmission rate of the mobile network is higher, so that compared with playing a video by using WIFI network data, the effect of playing the video by using mobile network data is better. However, considering that the traffic of the mobile network is limited in general, the user needs to switch the mobile network and the WIFI network back and forth during the video playing period in order to avoid consuming too much traffic.
Therefore, in the prior art, the user operation is complicated due to the fact that the user switches the mobile network and the WIFI network back and forth.
Disclosure of Invention
The embodiment of the application aims to provide a control method, which can solve the problem that in the prior art, the operation of a user is complicated due to the fact that the user switches a mobile network and a WIFI network back and forth.
In a first aspect, an embodiment of the present application provides a control method, where the method includes: under the condition of playing a target video, detecting a frame image of the target video; in the case where the first frame image includes a first object, controlling playback of the first frame image by a first network associated with the first object.
In a second aspect, an embodiment of the present application provides a control apparatus, including: the detection module is used for detecting a frame image of a target video under the condition of playing the target video; the device comprises a first control module and a second control module, wherein the first control module is used for controlling the first frame image to be played by a first network associated with a first object under the condition that the first frame image comprises the first object.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the first aspect.
In this way, in the embodiment of the present application, in a scene in which the target video is played, the first network associated with the first object may be controlled to play the first frame image in the case where it is detected that the first frame image includes the first object, based on the detection of the frame image of the target video. Therefore, in the process of playing the video, the network used for playing is automatically switched according to the picture characteristics of the frame image, so that the situation that the user manually switches the network back and forth is avoided, and the user operation is simplified.
Drawings
FIG. 1 is a flow chart of a control method of an embodiment of the present application;
FIG. 2 is a schematic interface diagram of an electronic device according to an embodiment of the application;
FIG. 3 is a block diagram of a control device of an embodiment of the present application;
fig. 4 is one of the hardware configuration diagrams of the electronic device according to the embodiment of the present application;
fig. 5 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be described below clearly with reference to the drawings of the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments that can be derived from the embodiments of the present application by one of ordinary skill in the art are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a control method according to an embodiment of the present application, where the method is applied to an electronic device, and includes:
step 110: in the case of playing a target video, a frame image of the target video is detected.
Step 120: in a case where the first frame image includes a first object, controlling the first frame image to be played by a first network associated with the first object.
In this embodiment, a first object in the target video is associated with a first network.
Alternatively, the first object is any photographic object appearing in the target video, and may be a person, a thing, a scene, or the like.
The first network may be a currently accessed mobile network and the first network may also be a currently accessed non-mobile network.
For example, the Mobile network is a fifth Generation Mobile Communication Technology (5G) network, and the non-Mobile network is a Wireless Fidelity (Wi-Fi) network.
In this embodiment, in the case of playing a target video, it is detected whether a first object is included in a frame image of the target video; further, in a case where it is detected that the first frame image includes the first object, the first network associated with the first object is controlled to play the first frame image.
The application scenario is that the electronic device accesses at least two networks including the first network at the same time. And controlling a data channel corresponding to the first network to play the first frame image when the first frame image is detected to comprise the first object.
In another example of the application scenario, the electronic device accesses a network, is a first network, and controls a data channel corresponding to the first network to play the first frame image when detecting that the first frame image includes the first object.
Illustratively, the data of the mobile network is limited, but the data of the non-mobile network is unlimited, so in order to save the consumption of the limited network data, the wireless network data is preferentially used in the process of playing the video. Based on the control method provided by the application, in a scene with a slow transmission rate of a non-mobile network, in order to avoid poor video playing effect, such as stuttering, low image quality and the like, the appointed frame image can be played by the mobile network, so that the watching requirement of a user is met, and too much mobile network data is prevented from being consumed. Correspondingly, the first network is a mobile network.
In this way, in the embodiment of the present application, in the scene in which the target video is played, the first network associated with the first object may be controlled to play the first frame image in the case where it is detected that the first frame image includes the first object, based on the detection of the frame image of the target video. Therefore, in the process of playing the video, the network used for playing is automatically switched according to the picture characteristics of the frame image, so that the situation that the user manually switches the network back and forth is avoided, and the user operation is simplified.
In a flow of a control method according to another embodiment of the present application, step 120 includes:
substep A1: in a case where the first object and the first network are associated based on the first input, controlling the first frame image to be played by the first network.
The first input comprises touch input performed by a user on a screen, and is not limited to input of clicking, sliding, dragging and the like; the first input may also be a blank input of the user, such as a gesture action, a face action, and the like, and the first input further includes an input of a physical key on the device by the user, and is not limited to a press or the like. Furthermore, the first input comprises one or more inputs, wherein the plurality of inputs may be consecutive or may be time spaced.
In this step, the first input is used to select a first object in the played target video, and the first object is set in association with the first network.
Referring to fig. 2, for example, the interface shown in the figure is a playing interface used for playing a video, three characters appear in a currently displayed picture, all of which are objects in the video, a user selects the leftmost character as a first object 201, and can press the character for a long time, so that a first control 202 and a second control 203 pop up, the first control 202 is used for indicating a first network, the second control 203 is used for indicating a second network, and the user clicks the first control 202, so that the first control 202 changes to a selected state, for example, a circle symbol in the figure changes to a filling effect. In this way, the first input is completed, and the first object is thereby set in association with the first network.
The first network and the second network are two networks which are accessed currently. Optionally, after the user selects the first object according to a plurality of networks currently accessed by the electronic device, a network list is displayed, where the list includes controls corresponding to the currently accessed networks.
Optionally, the user drags the progress bar for playing the video to switch the currently played picture until the first object appears in the currently played picture, so that the user can complete the first input.
Optionally, the number of the first objects is plural. For example, the user selects a plurality of first objects in sequence, and after clicking "done", a network list pops up so that the user can select one network in the network list.
Optionally, the number of first objects is one. For example, the user selects a first object, clicks "done", and pops up a list of networks so that the user can select a network from the list of networks.
Optionally, the user repeats the first input to select a plurality of sets of first objects, respectively, each set of first objects being associated with a network.
In this embodiment, based on the dynamic selection of the user, the first object in the video may be associated with the first network in advance during or before the video is played, so that the network may be automatically switched to play during the video playing process, and compared with the case where the user frequently manually switches the network during the video playing process, the purpose of simplifying the user operation may also be achieved.
In a control method according to another embodiment of the present application, the first object may be associated with a plurality of networks.
For example, after the user selects the first object, and clicks "done", a network list pops up so that the user can select a plurality of networks in the network list.
Illustratively, during the playing process, according to the network speeds of a plurality of networks selected by the user, the network data with the faster network speed is preferentially selected to play the first frame image.
In the flow of the control method according to another embodiment of the present application, step 120 includes:
substep B1: in the case where the first frame image further includes a second object, the first frame image is controlled to be played by a first network associated with the first object based on a first priority of the first object being higher than a second priority of the second object, the second object being associated with a second network.
Wherein the first priority of the first object and the second priority of the second object are determined based on the second input.
The second input comprises touch input performed by a user on the screen, and is not limited to input of clicking, sliding, dragging and the like; the second input may also be a blank input of the user, such as a gesture action, a face action, and the like, and the second input further includes an input of a physical key on the device by the user, and is not limited to an input of a press and the like. Furthermore, the second input comprises one or more inputs, wherein the plurality of inputs may be consecutive or time-spaced.
In this step, the second input is used to determine a first priority of the first object if the first object is associated with a first network and a second priority of the second object if the second object is associated with a second network.
Wherein the association relationship of the second object with the second network can be established through the first input.
Optionally, the electronic device accesses the first network and the second network simultaneously. The first network and the second network may be the same network or different networks.
Alternatively, the priority of the object may be any one of 1 to M, M being a positive integer, M > 1. The larger the numerical value corresponding to the priority is, the higher the priority is, and the system can preferentially switch the network associated with the object corresponding to the priority.
Where 1 to M, each value represents a priority, and in a video, a priority can only correspond to an object.
For example, the first priority of the first object in the target video is "2", the second priority of the second object in the target video is "1", and the first priority is "2" higher than the second priority is "1".
Therefore, in the process of video playing, if the first object and the second object appear in the first frame image at the same time, because both objects are associated with the network, the priority of the two objects is considered to control which network plays, so as to switch to the network associated with the object with higher priority.
In more embodiments, when three or more objects appear in a video picture, the three or more objects are respectively associated with a network, and if the associated networks are the same network, the network is directly controlled to play the video; if the associated networks are different, selecting the object with the highest priority according to the priority of each object, and controlling the network associated with the object to play the video.
In this embodiment, when a plurality of objects in a video picture are all associated with a network, the network for playing the current picture may be determined according to the priority of each object. Therefore, based on the method of the embodiment, the user can set different networks and priorities according to different information elements in the video, so that the network switching control can be performed in order in the process of playing the video, manual switching of the user is not needed, and the user operation is simplified.
In the flow of the control method according to another embodiment of the present application, step 120 includes:
substep C1: and under the condition of switching to play the first frame image by the first network, controlling the frame image of the target video played by the first network within a preset time length.
In this embodiment, at a certain play timing, the first frame image including the first object starts to be played, thereby switching to the first network. Meanwhile, a duration (i.e., a preset duration) is set, within which the target video is always played by the first network regardless of whether the object in the video frame is associated with the network. Further, the detection function is restarted until the end of the duration to detect the frame image of the video.
Illustratively, the preset time period is 10 s.
In this embodiment, in order to avoid the phenomenon that the power consumption of the electronic device increases due to frequent network switching caused by frequent switching of objects in the video, a shortest staying time may be set to keep the network unchanged within the time, for example, set to be the shortest staying time after network switching 10s, and in the 10s, even if the network switching is triggered, no switching is performed.
In the flow of the control method according to another embodiment of the present application, after step 110, the method further includes:
step D1: and controlling the second frame image to be played by the network for playing the previous frame image in the case that the second frame image is detected not to include the target object.
Wherein the target object is associated with a network.
In this embodiment, the second frame image does not include the target object, i.e., the second frame image is not associated with a network.
Based on the foregoing embodiments, for the frame images of the associated network, the playing by the associated network can be controlled, and for the frame images of the unassociated network, any scheme of the present embodiment can be adopted for playing.
In the first scheme, if two adjacent frames of images in the target video are not associated with the network, but the former is associated with the network, the network associated with the former can be controlled to play the latter.
For example, after a frame is switched, the frame and the following continuous multiple frames have no object associated with the network, so that the network associated with the frame image before the frame is switched can be continuously controlled to play the frames until the frame is switched, and the object associated with the network in the frame is switched to control the video playing from the associated network.
In the first scheme, the second frame image of the unassociated network can control the network playing associated with the frame image closest before to play so that more video frames can be played according to the requirements of the user.
Step D2: and under the condition that the second frame image is detected not to comprise the target object, controlling a preset third network to play the second frame image, wherein the third network is a mobile network, the transmission rate of the third network meets a first preset condition, and the residual data capacity of the third network meets a second preset condition.
This step provides a second alternative.
Optionally, the first preset condition is: the transmission rate of the third network is greater than a second threshold.
In the first preset condition, the transmission rate of the third network is greater than the second threshold, the network speed of the third network is considered to be fast, and the third network can be considered to be controlled to play the second frame image of the unassociated network.
Further, the first preset condition may be perfected as follows: and under the condition that the electronic equipment simultaneously accesses the third network and the non-mobile network, the transmission rate of the third network is greater than the second threshold value, and the transmission rate of the non-mobile network is less than the third threshold value.
And if the transmission rate of the non-mobile network is less than the third threshold, the network speed of the non-mobile network is considered to be slow, and the non-mobile network is not recommended to control the play of the second frame image of the non-associated network.
The second threshold and the third threshold may be the same threshold or different thresholds.
Optionally, the second preset condition is: the remaining data capacity of the third network is much larger than a certain data capacity.
Wherein a certain data capacity depends on the data capacity corresponding to the second frame images of all the unassociated networks in the target video, and the data capacity can be combined with the transmission rate of the third network. Namely, the estimated data size consumed for playing the second frame images of all the unassociated networks by using the data of the third network.
Optionally, the remaining data capacity of the third network is calculated in units of "days", i.e. the remaining data capacity of the current day; the remaining data capacity of the third network is calculated in units of "month", that is, the remaining data capacity of the current month.
Alternatively, the interpretation of "much greater than" is: the remaining data capacity of the third network is required to satisfy not only the traffic consumed by playing the second frame images of all the non-associated networks but also the traffic consumed by the user using other functions.
Illustratively, for settings that are "much larger," they may be customized by the user, defined by the system based on big data, and so forth.
In the second scheme, the second frame image of the network which is not closed can be played by the mobile network with high network speed and abundant traffic, so as to play the video in consideration of both the play effect and traffic control.
In the flow of the control method according to another embodiment of the present application, step 120 includes:
sub-step E1: and playing the first frame image at the target resolution under the condition that the transmission rate of the first network is greater than a first threshold value.
Wherein the target resolution is a higher resolution.
In this embodiment, if the network speed of the first network is fast (the first threshold is used as a boundary to distinguish the fast and slow network speeds), the first network performs the playing with a higher resolution to achieve the high-quality playing effect, so as to provide better viewing experience for the user.
In addition, in the present application, the high quality image playback method of the present embodiment can be similarly applied to the playback process of other frame images.
In other embodiments of the present application, if the network speed of the currently played video is slow, a general image quality can be presented to the user, so as to ensure the smoothness of video playing.
In other embodiments of the present application, if the conditions of the network itself are significantly changed during the playing process of the video, for example, the network speed of the non-mobile network is significantly increased, which can meet the requirement of playing high definition image quality; for another example, when the remaining data capacity of the mobile network becomes large (for example, during a month period or after a recharge), the dynamic switching network scheme preset by the user may be automatically cancelled, and the network with the higher network speed is preferentially set to play the high-definition video without notifying the user.
In other embodiments of the present application, the electronic device may detect the network speed of the current access network, and prompt the user to perform dynamic selection if the network speed of the non-mobile network is relatively low and the network speed of the mobile network is relatively high, so as to avoid the phenomena of relatively higher video loading, relatively low image quality, and the like caused by forcibly using the non-mobile network to play the video.
In summary, the present application aims to: a method for dynamically selecting a network to play video is provided, and the improvement point comprises the following steps: associating elements in the video picture with the network, associating the priority of network switching, and detecting the appearance of the video picture elements in the playing process to automatically switch the network, wherein different network defaults can be related to different video image qualities; and so on. The method and the device can effectively solve the problem that the user may frequently perform manual network switching due to different network conditions, detect the currently played picture elements in real time in the process of playing the video, perform automatic network switching according to comprehensive conditions such as the priority set by the user, the data flow condition of the current equipment and the like, and finally achieve the purposes of improving the efficiency of network switching, simplifying user operation and reducing the flow cost of the user.
In the control method provided by the embodiment of the application, the execution main body can be a control device. In the embodiment of the present application, a control device executing a control method is taken as an example, and the control device provided in the embodiment of the present application is described.
Fig. 3 shows a block diagram of a control device according to another embodiment of the present application, the device comprising:
the detection module 10 is configured to detect a frame image of a target video in a case that the target video is played;
a first control module 20, configured to control the first frame image to be played by a first network associated with the first object if the first frame image includes the first object.
Optionally, the first control module 20 includes:
a first control unit for controlling the first frame image to be played by the first network in a case where the first object and the first network are associated based on the first input.
In this way, in the embodiment of the present application, in a scene in which the target video is played, the first network associated with the first object may be controlled to play the first frame image in the case where it is detected that the first frame image includes the first object, based on the detection of the frame image of the target video. Therefore, in the process of playing the video, the network for playing is automatically switched according to the picture characteristics of the frame image, so that the situation that the user manually switches the network back and forth is avoided, and the user operation is simplified.
Optionally, the first control module 20 includes:
a second control unit for controlling the first frame image to be played by a first network associated with the first object based on a first priority of the first object being higher than a second priority of the second object in a case where the first frame image further includes the second object, the second object being associated with a second network;
wherein the first priority of the first object and the second priority of the second object are determined based on the second input.
Optionally, the first control module 20 includes:
and the third control unit is used for controlling the frame image of the target video played by the first network within a preset time length under the condition of switching the first frame image played by the first network.
Optionally, the first control module 20 includes:
and the playing unit is used for playing the first frame image with the target resolution under the condition that the transmission rate of the first network is greater than the first threshold value.
Optionally, the apparatus further comprises:
the second control module is used for controlling the second frame image to be played by the network for playing the previous frame image under the condition that the second frame image is detected not to comprise the target object;
the third control module is used for controlling a preset third network to play the second frame image under the condition that the second frame image is detected not to comprise the target object, the third network is a mobile network, the transmission rate of the third network meets a first preset condition, and the residual data capacity of the third network meets a second preset condition;
wherein the target object is associated with a network.
The control device in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the embodiment of the present application may be a device having an action system. The action system may be an Android (Android) action system, an ios action system, or other possible action systems, and the embodiment of the present application is not particularly limited.
The control device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and capable of being executed on the processor 101, where the program or the instruction is executed by the processor 101 to implement each step of any one of the above-mentioned embodiments of the control method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device according to the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power supply (e.g., a battery) for supplying power to the various components, and the power supply may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to detect a frame image of a target video in a case that the target video is played; in the case where the first frame image includes a first object, controlling playback of the first frame image by a first network associated with the first object.
In this way, in the embodiment of the present application, in the scene in which the target video is played, the first network associated with the first object may be controlled to play the first frame image in the case where it is detected that the first frame image includes the first object, based on the detection of the frame image of the target video. Therefore, in the process of playing the video, the network for playing is automatically switched according to the picture characteristics of the frame image, so that the situation that the user manually switches the network back and forth is avoided, and the user operation is simplified.
Optionally, the processor 1010 is further configured to control the first frame image to be played by the first network if the first object and the first network are associated based on a first input.
Optionally, the processor 1010 is further configured to control, in a case that the first frame image further includes a second object, playing the first frame image by a first network associated with the first object based on a first priority of the first object being higher than a second priority of the second object, the second object being associated with a second network; wherein the first priority of the first object and the second priority of the second object are determined based on a second input.
Optionally, the processor 1010 is further configured to control, in a preset time duration, the first network to play the frame image of the target video when the first network is switched to play the first frame image.
Optionally, the processor 1010 is further configured to play the first frame image at the target resolution if the transmission rate of the first network is greater than a first threshold.
Optionally, the processor 1010 is further configured to, in a case that it is detected that the second frame image does not include the target object, control playing, by the network for playing the previous frame image, the second frame image; under the condition that a second frame image is detected not to include a target object, a preset third network is controlled to play the second frame image, the third network is a mobile network, the transmission rate of the third network meets a first preset condition, and the residual data capacity of the third network meets a second preset condition; wherein the target object is associated with a network.
To sum up, the present application aims at: a method for dynamically selecting a network to play video is provided, and the improvement point comprises the following steps: associating elements in the video picture with the network, associating the priority of network switching, and detecting the appearance of the video picture elements in the playing process to automatically switch the network, wherein different network defaults can be related to different video image qualities; and so on. The method and the device can effectively solve the problem that the user may frequently perform manual network switching due to different network conditions, detect the currently played picture elements in real time in the process of playing the video, perform automatic network switching according to comprehensive conditions such as the priority set by the user, the data flow condition of the current equipment and the like, and finally achieve the purposes of improving the efficiency of network switching, simplifying user operation and reducing the flow cost of the user.
It should be understood that, in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of a still picture or a video image obtained by an image capturing device (such as a camera) in a video image capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and an action stick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to applications and action systems. The processor 1010 may integrate an application processor, which primarily handles motion systems, user pages, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above control method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing control method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A control method, characterized in that the method comprises:
under the condition of playing a target video, detecting a frame image of the target video;
in a case where the first frame image includes a first object, controlling playing of the first frame image by a first network associated with the first object.
2. The method of claim 1, wherein said controlling the playing of the first frame of image by a first network associated with the first object comprises:
controlling the first frame image to be played by the first network in a case where the first object and the first network are associated based on a first input.
3. The method of claim 1, the controlling playing the first frame of image by a first network associated with the first object, comprising:
in the case that the first frame image further includes a second object, controlling the first frame image to be played by a first network associated with the first object based on a first priority of the first object being higher than a second priority of the second object, the second object being associated with a second network;
wherein the first priority of the first object and the second priority of the second object are determined based on a second input.
4. The method of claim 1, wherein said controlling the playing of the first frame of image by a first network associated with the first object comprises:
and under the condition of switching to play the first frame image by the first network, controlling the first network to play the frame image of the target video within a preset time length.
5. The method of claim 1, wherein said controlling the playing of the first frame of image by a first network associated with the first object comprises:
and playing the first frame image at a target resolution under the condition that the transmission rate of the first network is greater than a first threshold value.
6. The method of claim 1, wherein after detecting the frame image of the target video, the method further comprises:
in the case that it is detected that the second frame image does not include the target object, controlling the second frame image to be played by a network for playing the previous frame image; alternatively, the first and second electrodes may be,
under the condition that it is detected that a second frame image does not include a target object, controlling a preset third network to play the second frame image, wherein the third network is a mobile network, the transmission rate of the third network meets a first preset condition, and the residual data capacity of the third network meets a second preset condition;
wherein the target object is associated with a network.
7. A control device, characterized in that the device comprises:
the detection module is used for detecting a frame image of a target video under the condition of playing the target video;
the device comprises a first control module and a second control module, wherein the first control module is used for controlling the first frame image to be played by a first network associated with a first object under the condition that the first frame image comprises the first object.
8. The apparatus of claim 7, wherein the first control module comprises:
a first control unit configured to control the first frame image to be played by the first network in a case where the first object and the first network are associated based on a first input.
9. The apparatus of claim 7, the first control module, comprising:
a second control unit configured to control, in a case where the first frame image further includes a second object, to play the first frame image by a first network associated with the first object based on a first priority of the first object being higher than a second priority of the second object, the second object being associated with a second network;
wherein the first priority of the first object and the second priority of the second object are determined based on a second input.
10. The apparatus of claim 7, wherein the first control module comprises:
and the third control unit is used for controlling the frame image of the target video played by the first network within a preset time length under the condition of switching the first frame image played by the first network.
11. The apparatus of claim 7, wherein the first control module comprises:
and the playing unit is used for playing the first frame image with the target resolution under the condition that the transmission rate of the first network is greater than a first threshold value.
12. The apparatus of claim 7, further comprising:
the second control module is used for controlling the second frame image to be played by a network for playing the previous frame image under the condition that the second frame image is detected not to comprise the target object;
the third control module is used for controlling a preset third network to play the second frame image under the condition that the second frame image is detected not to comprise the target object, wherein the third network is a mobile network, the transmission rate of the third network meets a first preset condition, and the residual data capacity of the third network meets a second preset condition;
wherein the target object is associated with a network.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the control method of any of claims 1 to 6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the control method according to any one of claims 1 to 6.
CN202210480054.7A 2022-05-05 2022-05-05 Control method, control device, electronic equipment and readable storage medium Pending CN114928765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210480054.7A CN114928765A (en) 2022-05-05 2022-05-05 Control method, control device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210480054.7A CN114928765A (en) 2022-05-05 2022-05-05 Control method, control device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114928765A true CN114928765A (en) 2022-08-19

Family

ID=82806291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210480054.7A Pending CN114928765A (en) 2022-05-05 2022-05-05 Control method, control device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114928765A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212390A1 (en) * 2015-01-21 2016-07-21 Seyedmansour Moinzadeh Electronic magnifier with dedicated wifi and url
CN106060572A (en) * 2016-06-08 2016-10-26 乐视控股(北京)有限公司 Video playing method and device
CN106686672A (en) * 2016-12-29 2017-05-17 努比亚技术有限公司 Network connection method and terminal
CN109242802A (en) * 2018-09-28 2019-01-18 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and computer-readable medium
CN111050370A (en) * 2020-01-16 2020-04-21 惠州Tcl移动通信有限公司 Network switching method and device, storage medium and electronic equipment
CN111465016A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Control method and device
CN111601118A (en) * 2020-05-13 2020-08-28 广州市百果园信息技术有限公司 Live video processing method, system, device and terminal
CN113873342A (en) * 2021-06-29 2021-12-31 浙江大华技术股份有限公司 Video transmission method, video transmission device, electronic equipment and computer-readable storage medium
CN113891158A (en) * 2021-10-26 2022-01-04 维沃移动通信有限公司 Video playing method, device, system, electronic equipment and storage medium
CN114245193A (en) * 2021-12-21 2022-03-25 维沃移动通信有限公司 Display control method and device and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212390A1 (en) * 2015-01-21 2016-07-21 Seyedmansour Moinzadeh Electronic magnifier with dedicated wifi and url
CN106060572A (en) * 2016-06-08 2016-10-26 乐视控股(北京)有限公司 Video playing method and device
CN106686672A (en) * 2016-12-29 2017-05-17 努比亚技术有限公司 Network connection method and terminal
CN109242802A (en) * 2018-09-28 2019-01-18 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and computer-readable medium
CN111050370A (en) * 2020-01-16 2020-04-21 惠州Tcl移动通信有限公司 Network switching method and device, storage medium and electronic equipment
CN111465016A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Control method and device
CN111601118A (en) * 2020-05-13 2020-08-28 广州市百果园信息技术有限公司 Live video processing method, system, device and terminal
CN113873342A (en) * 2021-06-29 2021-12-31 浙江大华技术股份有限公司 Video transmission method, video transmission device, electronic equipment and computer-readable storage medium
CN113891158A (en) * 2021-10-26 2022-01-04 维沃移动通信有限公司 Video playing method, device, system, electronic equipment and storage medium
CN114245193A (en) * 2021-12-21 2022-03-25 维沃移动通信有限公司 Display control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN105278811B (en) Screen display device and method of intelligent terminal
CN112565868B (en) Video playing method and device and electronic equipment
US20220417417A1 (en) Content Operation Method and Device, Terminal, and Storage Medium
US20200409542A1 (en) Method, apparatus, terminal device, and storage medium for switching global special effects
CN111984130A (en) Shortcut operation method and device and electronic equipment
CN105573585A (en) Information display method and terminal
CN103839533A (en) Method for displaying mobile terminal image and mobile terminal
CN108549575B (en) Processing method and device for quitting split screen, storage medium and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN114928765A (en) Control method, control device, electronic equipment and readable storage medium
CN115543137A (en) Video playing method and device
CN115202524A (en) Display method and device
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN111757177B (en) Video clipping method and device
CN114564134A (en) Application icon display method and device
CN115278047A (en) Shooting method, shooting device, electronic equipment and storage medium
CN114397989A (en) Parameter value setting method and device, electronic equipment and storage medium
CN112399238A (en) Video playing method and device and electronic equipment
CN109788338A (en) Monitoring method, device, computer equipment and the storage medium of video playing
WO2024088317A1 (en) Application interface display method and apparatus, electronic device, and storage medium
CN112543249B (en) Screen display method, device, terminal and storage medium
CN114302026A (en) Noise reduction method and device, electronic equipment and readable storage medium
CN117376715A (en) Video editing method and device and electronic equipment
CN115002539A (en) Video caching method and device, electronic equipment and storage medium
CN115866314A (en) Video playing method and device

Legal Events

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