CN109040672B - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN109040672B
CN109040672B CN201810779516.9A CN201810779516A CN109040672B CN 109040672 B CN109040672 B CN 109040672B CN 201810779516 A CN201810779516 A CN 201810779516A CN 109040672 B CN109040672 B CN 109040672B
Authority
CN
China
Prior art keywords
camera
target
real
time monitoring
window
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
CN201810779516.9A
Other languages
Chinese (zh)
Other versions
CN109040672A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810779516.9A priority Critical patent/CN109040672B/en
Publication of CN109040672A publication Critical patent/CN109040672A/en
Application granted granted Critical
Publication of CN109040672B publication Critical patent/CN109040672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The invention discloses a video playing method and a video playing device, which are applied to user equipment associated with more than one camera, and the method comprises the following steps: displaying a camera list page, and playing a real-time monitoring picture transmitted from a target camera corresponding to a target card window in the camera list page; detecting a trigger operation for entering a video playing main window in the user equipment; and responding to the trigger operation, and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window. Therefore, the invention solves the technical problem that the user equipment has opening delay on the monitoring video acquired by the intelligent camera.

Description

Video playing method and device
Technical Field
The invention relates to the field of internet, in particular to a video playing method and device.
Background
With the enhancement of safety consciousness, more and more families and enterprises can arrange the camera to monitor in the enterprise or at home, so as to prevent theft and pay attention to the conditions of pets, children and the like at home. The smart camera may be associated with a user device. For example, the monitoring device is associated with a mobile phone of a user, an intelligent wearable device and the like, so that the user equipment can acquire a monitoring picture acquired by a camera outside and pay attention to the condition of a monitored environment in real time. The smart camera has a core performance index which is the opening speed of the user equipment to the video collected by the camera. Currently, the video capture speed of the intelligent camera by the user equipment is generally 2-5 seconds, so that the video opening delay exists.
Disclosure of Invention
In view of the technical problem that the user equipment delays the opening of the monitoring video acquired by the intelligent camera, the embodiment of the invention provides a video playing method and device.
In a first aspect, an embodiment of the present invention provides a video playing method, which is applied to user equipment associated with more than one camera, where the method includes:
displaying a camera list page, and playing a real-time monitoring picture transmitted from a target camera corresponding to a target card window in the camera list page;
detecting a trigger operation for entering a video playing main window in the user equipment;
and responding to the trigger operation, and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window.
Optionally, the playing a real-time monitoring picture transmitted from a target camera corresponding to the target card window in the target card window of the camera list page includes:
detecting whether the user equipment is currently connected to a first type network;
if yes, controlling the user equipment to receive a real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window; and if not, prohibiting receiving the real-time monitoring picture transmitted by the target camera.
Optionally, the detecting whether the user equipment is currently connected to the first type network includes:
detecting whether the user equipment is currently connected to any Wi-Fi network.
Optionally, after the controlling the user equipment to receive the real-time monitoring picture transmitted from the target camera, the method further includes:
detecting whether a network to which the user equipment is connected is switched from the first type network to a second type network different from the first type network;
if yes, stopping receiving the real-time monitoring picture transmitted by the target camera;
and when the network connected with the user equipment is detected to be switched back to the first type network, continuously receiving the real-time monitoring picture transmitted by the target camera, and playing the real-time monitoring picture in the target card window.
Optionally, the user equipment is associated with a plurality of cameras, the camera list page includes a plurality of card windows, and each card window corresponds to one camera.
Optionally, the controlling the user equipment to receive the real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window includes:
determining a target card window from the plurality of card windows;
determining a camera corresponding to the target card window as a target camera from cameras associated with the user equipment;
controlling the user equipment to be connected to the target camera through a network;
and receiving a real-time monitoring picture transmitted by the target camera, and playing the real-time monitoring picture in the target card window.
Optionally, the determining a target card window from the plurality of card windows includes:
determining a card window which is currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from the plurality of card windows sequenced on the camera list page.
Optionally, the method further includes:
acquiring a trigger signal for switching from the target card window to the next card window;
and responding to the trigger signal, and playing a real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
In a second aspect, an embodiment of the present invention provides a video playing apparatus, which is applied to a user device associated with more than one camera, and the apparatus includes:
the first list page playing unit is used for displaying a camera list page and playing a real-time monitoring picture transmitted by a target camera corresponding to a target card window in the camera list page;
the operation detection unit is used for detecting the triggering operation for entering a video playing main window in the user equipment;
and the window playing unit is used for responding to the trigger operation and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window.
Optionally, the first list page playing unit includes:
a network detection subunit, configured to detect whether the user equipment is currently connected to a first type network;
the receiving control subunit is used for controlling the user equipment to receive the real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window if the detection result of the receiving control subunit is positive; and if not, prohibiting receiving the real-time monitoring picture transmitted by the target camera.
Optionally, the network detecting subunit is specifically configured to:
detecting whether the user equipment is currently connected to any Wi-Fi network.
Optionally, the apparatus further comprises:
a first handover detecting unit configured to detect whether a network to which the user equipment is connected is handed over from the first type network to a second type network different from the first type network;
the stop control unit is used for stopping receiving the real-time monitoring picture transmitted by the target camera if the detection result of the first switching detection unit is positive;
and the second switching detection unit is used for continuously receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window when the fact that the network connected with the user equipment is switched back to the first type of network is detected.
Optionally, the user equipment is associated with a plurality of cameras, the camera list page includes a plurality of card windows, and each card window corresponds to one camera.
Optionally, the first list page playing unit includes:
a window determination subunit for determining a target card window from the plurality of card windows;
a camera determining subunit, configured to determine, from among cameras associated with the user equipment, a camera corresponding to the target card window as a target camera;
a connection subunit, configured to control the user equipment to connect to the target camera through a network;
and the playing subunit is used for receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window.
Optionally, the window determining subunit is specifically configured to:
determining a card window which is currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from the plurality of card windows sequenced on the camera list page.
Optionally, the apparatus further comprises:
the trigger signal acquisition unit is used for acquiring a trigger signal for switching from the target card window to the next card window;
and the second list page playing unit is used for responding to the trigger signal and playing the real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
In a third aspect, an embodiment of the present invention provides a computer storage medium, on which a computer program is stored, where the program is executed by a processor to implement the steps of any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a user equipment, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of any one of the first aspect when executing the program.
One or more technical solutions provided by the embodiments of the present invention have at least the following technical effects or advantages:
according to the method and the device provided by the embodiment of the invention, the real-time monitoring picture transmitted by the target camera corresponding to the target card window is played in the target card window of the camera list page; if the triggering operation for entering the video playing main window in the user equipment is detected; the real-time monitoring picture transmitted by the target camera is continuously played in the video playing main window. Therefore, before entering the video playing main window, the real-time monitoring picture acquired by the camera is played on the home page, so that the situation that the real-time monitoring picture of the camera is acquired and played from the camera after entering the video playing main window is avoided, the uninterrupted flow between the home page (a camera list page) and the streaming page (a video playing main window page) is realized, the video is opened with 0 time delay in experience, and the technical problem that the opening of the monitoring video is delayed by user equipment is completely solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is an application scenario of a video playing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a video playing method according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of a page in a camera list in an embodiment of the invention;
FIG. 3b is a diagram illustrating a main video playing window according to an embodiment of the present invention;
fig. 4 is a structural diagram of a video playing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a user equipment according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a video playing method and a video playing device, solves the technical problem of delayed opening of a monitoring video of an intelligent camera, and has the following general idea:
playing a real-time monitoring picture transmitted by a target camera corresponding to a target card window in a target card window of a camera list page; detecting a trigger operation for entering a video playing main window in user equipment; the real-time monitoring picture transmitted by the target camera is continuously played in the video playing main window.
Through the technical scheme, the real-time monitoring picture collected by the camera can be played on the home page before the home page enters the video playing main window, so that the situation that the real-time monitoring picture collected by the camera is obtained and played from the camera after the home page enters the video playing main window is avoided, continuous stream between the home page (a camera list page) and the streaming page (a video playing main window page) is realized, the video is opened with 0 time delay in experience, and the technical problem that the monitoring video is opened by user equipment is completely solved.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Fig. 1 is a scene application diagram of a video playing method according to an embodiment of the present invention, including: the user equipment 100, one or more cameras 200, the user equipment 100 and each camera 200 are connected through a network. The user device 100 is a device with a networking function, for example, a smart phone, a notebook, a tablet computer, an intelligent wearable device, and the like of a user. Specifically, the cameras 200 may be connected to the same network, for example, the cameras 200 may be connected to the same Wi-Fi network. The cameras 200 may also be individually connected or partially connected under different Wi-Fi networks. In a specific implementation, the camera may be an intelligent camera. Specifically, the camera 200 is a device that contains a camera and networking components. And transmitting the monitoring video collected by the camera 200 to the user equipment 100. The user device 100 has an APP (application) installed thereon for viewing the monitoring video captured by the camera 200 and setting the camera 200.
The video playing method provided by the embodiment of the invention is applied to user equipment associated with a camera. Referring to fig. 2, fig. 2 is a flowchart of a video playing method according to an embodiment of the present invention, where the video playing method according to the embodiment of the present invention includes the following steps:
s201, displaying a camera list page, and playing a real-time monitoring picture transmitted by a target camera corresponding to a target card window in the target card window of the camera list page.
Specifically, a corresponding APP may be installed on the user equipment or a corresponding webpage may be set, and a camera list page may be displayed on the corresponding APP or the corresponding webpage.
In a specific implementation, one or more card windows are included on the camera list page. A card window is provided for each camera associated with the user device on the camera list page. If the user device is associated with multiple cameras, the camera list page includes multiple card windows, one for each camera.
Referring to fig. 3a, fig. 3a is a schematic view of a camera list page. A camera associated with a user device comprising: the camera 001, and the camera 003 are exemplified as follows: camera 001 corresponds to card window a, camera 002 corresponds to card window b, and camera 003 corresponds to card window c.
It should be noted that the real-time monitoring picture transmitted from the target camera specifically includes: and the target camera is used for currently acquiring and sending the monitoring video to the user equipment.
The implementation of the association between each camera and the user device may be: and adding the camera identification of the camera to a camera list of the user equipment, thereby realizing the association between the camera and the user equipment, and newly adding a corresponding card window in the camera list of the user equipment.
In the specific implementation process, if the camera list page contains a unique card window, the target card window is the unique card window; if the camera list page comprises a plurality of card windows, the target card window is one card window in the camera list page.
Specifically, the target card window may be a card window focused on by the user among a plurality of card windows existing on the camera list page. In the specific implementation process, the method can be as follows: and taking the card window which is completely displayed in the preset display area at present as a target card window from the plurality of card windows sequenced on the camera list page. It can also be: and determining one card window positioned at the top of the current display area of the camera list page as a target card window from a plurality of card windows sequenced on the camera list page.
And playing the real-time monitoring picture transmitted by the target camera in a target card window of the camera list page, so that the real-time monitoring picture acquired by the target camera can be played in the target card window in real time instead of the display picture of the first page.
In the specific implementation process, the camera list page can be displayed on the first page of the APP, namely when the APP is operated to the foreground, the camera list page is displayed on the displayed interface, so that once the APP is entered, the real-time monitoring picture transmitted by the target camera is directly played.
Through the step S101, the real-time monitoring picture collected and transmitted by the camera is directly played in the camera card window of the camera list page on the APP home page, so that the home page of the real-time monitoring picture is opened. Therefore, the user can see the real-time monitoring video without operation, and the user operation is reduced.
After step S101, step S202 is then performed: a trigger operation for entering a video playback main window in a user equipment is detected.
Specifically, the triggering operation for entering the video playing main window in the user equipment may have multiple implementation manners, which are described below:
the first mode is that the triggering operation is a preset operation gesture in the target card window, and if the user executes the preset operation gesture in the target card window, the triggering operation is determined to be the triggering operation for entering the video playing main window in the user equipment. Such as a double-click operation, a single-click operation, etc., performed within the target card window. The specific form of the preset operation gesture is not limited, and the preset operation gesture can be set according to actual requirements in the specific implementation process.
The second method comprises the following steps: and on a display interface of the user equipment, a button area for entering the video playing main window is arranged in an area which does not belong to any card window, and the touch operation on the button area is determined as the trigger operation for entering the video playing main window in the user equipment.
Specifically, the video playing main window may be a video playing main window set by the APP, or may be a video playing main window of another called application, for example, a video playing window of a system of the user equipment.
After step S202, step S203 is then performed: and responding to the trigger operation, and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window.
Specifically, the trigger operation is responded, the camera list page of the user equipment is switched to the video playing main window, and the real-time monitoring picture transmitted by the target camera is continuously played in the video playing main window.
More specifically, the specific implementation manner of continuing playing the real-time monitoring picture in the video playing main window is as follows: when entering the opening page of the video playing main window, receiving the moment when the target camera enters the opening page of the video playing main window, and acquiring and transmitting real-time monitoring pictures by the target camera so as to play in the video playing main window.
For example, if steps S202 to S203 are executed on the basis of fig. 3a, a video playing main window of the user equipment is entered. Next, referring to fig. 3b, fig. 3b is a schematic diagram of the video playback main window in the embodiment of the present invention, in which the real-time monitoring picture collected and transmitted by the camera 002 continues to be played back. For example, if the real-time monitoring picture collected and transmitted by the camera 002 reaches 21:12:34 in the card window B, the real-time monitoring picture collected and transmitted by the camera 002 from 21:12:34 is continuously played from the opening page in the video playing main window.
For example, the time for switching from the camera list page to the video playing main window is 11:12:45, that is, the time for entering the streaming page of the video playing main window is 11:12:45, the real-time monitoring picture collected and transmitted by the camera is played in the target card window until the time is 11:12:45, and the real-time monitoring picture collected and transmitted by the target camera from 11:12:45 is played in the video playing main window, so that the real-time monitoring picture transmitted by the playing target camera without stream break between the first page and the streaming page is realized.
Specifically, the open flow page refers to a page that enters and is specially used for viewing real-time monitoring pictures collected by the camera, that is: the video plays the page of the main window. In the specific implementation process, the opening page refers to a page which is used for specially viewing the real-time monitoring picture acquired by the camera by clicking a card window of the home page.
Through the steps of S101 to S102, since the real-time monitoring picture transmitted from the camera is automatically played on the window card, and the real-time monitoring picture transmitted from the video playing main window is continuously played, the video opening with 0 delay is experienced, and the video opening delay in the process of changing the home page to the streaming page is avoided.
Further, the problem of opening delay of the video is solved without bringing the consumption of mobile traffic, thereby saving the mobile traffic. In step S101, specifically: playing a real-time monitoring picture transmitted by a target camera in a card window in a camera list page, wherein the real-time monitoring picture comprises the following steps:
s1011, detecting whether the user equipment is connected to the first type network currently.
The first type of network is specifically: either network does not change the charging depending on how much traffic is consumed. In a specific implementation, the first type network may be any Wi-Fi network. S1011 is specifically: it is detected whether the user equipment is currently connected to any of the Wi-Fi networks.
S1012, if the user equipment is currently connected to the first type network, controlling the user equipment to receive a real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in a target card window; otherwise, the real-time monitoring picture transmitted by the target camera is forbidden to be received.
Therefore, through the steps S1011 to S1012, the effect that if the user equipment is in the Wi-Fi network, the real-time monitoring picture transmitted by the target camera is received and played in the target card window is achieved, and therefore the user can see the real-time monitoring picture acquired and transmitted by the target camera without operation. When entering the video playing main window, the interface of the user equipment skips, but the real-time monitoring picture is uninterrupted, thereby realizing the continuous playing and the uninterrupted streaming of the real-time monitoring picture.
Further, after step S1012, the following implementation procedure is further included:
step 1, detecting whether a network currently connected with user equipment is switched from a first type network to a second type network different from the first type network;
and 2, if the judgment result in the step 1 is yes, stopping receiving the real-time monitoring picture acquired by the target camera.
Through the steps 1-2, the consumed flow under the non-wifi network condition is avoided. The second type of network is specifically: networks that charge based on how much traffic is consumed, the more traffic consumed, the higher the charge. In an implementation, the second type of network may be a 3G (3 rd-Generation) network, a 4G (the 4th Generation mobile communication technology, fourth Generation wireless cellular communication protocol) network, or a higher transmission speed network.
After step 2, the embodiment of the present invention further provides step 3: and detecting whether the user equipment is switched back to the first type network from the second type network, and when detecting that the network connected with the user equipment is switched back to the first type network, continuously receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window.
It should be noted that the first type network switched back by the user equipment and the first type network connected before switching to the second type network may be the same network or different networks, as long as they belong to the same type network, for example, the home Wi-Fi network is connected before switching to the second type network, and the company Wi-Fi network or a certain public area Wi-Fi network is connected after switching back.
For example, when the user equipment switches back from the second type network to the first type network, the target camera collects the real-time monitoring picture at the time of 11:32:15, and when the user equipment switches back from the second type network to the first type network, the real-time monitoring picture collected and transmitted by the target camera from the time of 11:32:15 is played in the target card window.
In step S101, playing a real-time monitoring picture from the target camera in the target card window of the camera list page, including: determining a target card window from a plurality of card windows; determining a camera corresponding to the target card window as a target camera from cameras associated with the user equipment; and the control user equipment is connected to the target camera through a network, receives the real-time monitoring picture transmitted by the target camera and plays the real-time monitoring picture in the target card window.
Specifically, a plurality of card windows are ordered on the camera list page. For example, a plurality of card windows are sequentially arranged from the upper end to the lower end of the camera list page. Determining a card window which is completely displayed in a preset display area at present from a plurality of card windows sequenced on the camera list page as a target card window, or determining the uppermost card window in the current display area of the camera list page as the target card window.
Further, the embodiment of the invention also provides the following technical scheme: acquiring a trigger signal for switching from a target card window to a next card window; and responding to the trigger signal, and playing a real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window. Therefore, the switching of the real-time monitoring pictures is completed on the home page, and the effect of switching the monitoring pictures on the home page is further realized.
Based on the same inventive concept, an embodiment of the present invention provides a video playing apparatus, which is applied to a user device associated with more than one camera, and as shown in fig. 4, the video playing apparatus provided by the embodiment of the present invention includes:
a first list page playing unit 401, configured to display a camera list page, and play a real-time monitoring picture transmitted from a target camera corresponding to a target card window in the camera list page;
an operation detection unit 402, configured to detect a trigger operation for entering a video playback main window in a user equipment;
and a window playing unit 403, configured to continue playing the real-time monitoring picture transmitted from the target camera in the video playing main window in response to the trigger operation.
In a specific embodiment, the first list page playing unit 401 includes:
a network detection subunit, configured to detect whether the user equipment is currently connected to a first type network;
the receiving control subunit is used for controlling the user equipment to receive the real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window if the detection result of the receiving control subunit is positive; otherwise, the real-time monitoring picture transmitted by the target camera is forbidden to be received.
In a specific embodiment, the network detecting subunit is specifically configured to:
whether the user equipment is currently connected to any Wi-Fi network is detected.
In a specific embodiment, the apparatus further comprises:
a first handover detecting unit for detecting whether a network to which the user equipment is connected is handed over from a first type network to a second type network different from the first type network;
the stop control unit is used for stopping receiving the real-time monitoring picture transmitted by the target camera if the detection result of the first switching detection unit is positive;
and the second switching detection unit is used for continuously receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window when the fact that the network connected with the user equipment is switched back to the first type of network is detected.
Optionally, the user equipment is associated with a plurality of cameras, and the camera list page includes a plurality of card windows, each card window corresponding to one camera.
In a specific embodiment, the first list page playing unit 401 includes:
a window determining subunit, configured to determine a target card window from the plurality of card windows;
the camera determining subunit is used for determining the camera corresponding to the target card window as a target camera from all cameras associated with the user equipment;
the connection subunit is used for controlling the user equipment to be connected to the target camera through a network;
and the playing subunit is used for receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window.
In a specific embodiment, the window determining subunit is specifically configured to:
determining a card window currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from a plurality of card windows sequenced on the camera list page.
In a specific embodiment, the apparatus further comprises:
the trigger signal acquisition unit is used for acquiring a trigger signal for switching from a target card window to a next card window;
and the second list page playing unit is used for responding to the trigger signal and playing the real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
One or more technical solutions provided by the embodiments of the present invention have at least the following technical effects or advantages:
according to the method and the device provided by the embodiment of the invention, the real-time monitoring picture transmitted by the target camera corresponding to the target card window is played in the target card window of the camera list page; if the triggering operation for entering the video playing main window in the user equipment is detected; the real-time monitoring picture transmitted by the target camera is continuously played in the video playing main window. Therefore, before entering the video playing main window, the real-time monitoring picture acquired by the camera is played on the home page, so that the situation that the real-time monitoring picture of the camera is acquired and played from the camera after entering the video playing main window is avoided, the uninterrupted flow between the home page (a camera list page) and the streaming page (a video playing main window page) is realized, the video is opened with 0 time delay in experience, and the technical problem that the opening of the monitoring video is delayed by user equipment is completely solved.
Based on the same inventive concept, an embodiment of the present invention provides a user equipment 50, which is shown in fig. 5 and includes a memory 501, a processor 502 and a computer program 503 stored on the memory 501 and operable on the processor 502, wherein when the processor 502 executes the computer program 503, the steps described in any of the foregoing embodiments of the setup boot method are implemented.
Based on the same inventive concept, the embodiment of the present invention provides a computer storage medium, on which a computer program is stored, where the instructions are executable by the processor 502 of the user equipment 50 shown in fig. 5 to perform the steps described in any one of the embodiments of the setting guidance method. The computer storage medium is embodied as a non-transitory computer readable storage medium, and may be embodied as a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
One or more technical solutions provided by the embodiments of the present invention have at least the following technical effects or advantages:
according to the method and the device provided by the embodiment of the invention, the real-time monitoring picture transmitted by the target camera corresponding to the target card window is played in the target card window of the camera list page; detecting a trigger operation for entering a video playing main window in user equipment; the real-time monitoring picture continues to be played in the video playing main window. Therefore, before entering the video playing main window, the real-time monitoring picture acquired by the camera is played on the home page, so that the situation that the real-time monitoring picture acquired by the camera is acquired and played from the camera after entering the video playing main window is avoided, uninterrupted streaming between the home page (a camera list page) and the streaming page (a video playing main window page) is realized, the video opening with 0 time delay is experienced, and the technical problem that the opening of the monitoring video is delayed by user equipment is completely solved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description provided above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the intelligent camera system and network cameras according to embodiments of the present invention. The present invention may also be embodied as apparatus or system programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several systems, several of these systems may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses A1 and a video playing method, which is applied to user equipment associated with more than one camera, and comprises the following steps:
displaying a camera list page, and playing a real-time monitoring picture transmitted from a target camera corresponding to a target card window in the camera list page;
detecting a trigger operation for entering a video playing main window in the user equipment;
and responding to the trigger operation, and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window.
A2, the video playing method according to A1, wherein the playing of the real-time monitoring picture from the target camera corresponding to the target card window in the target card window of the camera list page includes:
detecting whether the user equipment is currently connected to a first type network;
if yes, controlling the user equipment to receive a real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window; and if not, prohibiting receiving the real-time monitoring picture transmitted by the target camera.
A3, the video playing method as defined in a2, the detecting whether the user equipment is currently connected to a first type network, comprising:
detecting whether the user equipment is currently connected to any Wi-Fi network.
A4, the video playing method as in A2, further comprising, after the controlling the user equipment to receive the real-time monitoring picture from the target camera:
detecting whether a network to which the user equipment is connected is switched from the first type network to a second type network different from the first type network;
if yes, stopping receiving the real-time monitoring picture transmitted by the target camera;
and when the network connected with the user equipment is detected to be switched back to the first type network, continuously receiving the real-time monitoring picture transmitted by the target camera, and playing the real-time monitoring picture in the target card window.
A5, the video playback method of any one of a2-a4, the user device being associated with a plurality of cameras, the camera list page including a plurality of card windows, one camera for each card window.
A6, the video playing method as in A5, wherein the controlling the user equipment to receive the real-time monitoring pictures from the target camera and play the pictures in the target card window comprises:
determining a target card window from the plurality of card windows;
determining a camera corresponding to the target card window as a target camera from cameras associated with the user equipment;
controlling the user equipment to be connected to the target camera through a network;
and receiving a real-time monitoring picture transmitted by the target camera, and playing the real-time monitoring picture in the target card window.
A7, the video playback method of a6, the determining a target card window from the plurality of card windows, comprising:
determining a card window which is currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from the plurality of card windows sequenced on the camera list page.
A8, the video playing method as in a1, further comprising:
acquiring a trigger signal for switching from the target card window to the next card window;
and responding to the trigger signal, and playing a real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
The invention discloses B9, a video playing device, which is applied to user equipment associated with more than one camera, and the device comprises:
the first list page playing unit is used for displaying a camera list page and playing a real-time monitoring picture transmitted by a target camera corresponding to a target card window in the camera list page;
the operation detection unit is used for detecting the triggering operation for entering a video playing main window in the user equipment;
and the window playing unit is used for responding to the trigger operation and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window.
B10, the video playback device of B9, the first list page playback unit, comprising:
a network detection subunit, configured to detect whether the user equipment is currently connected to a first type network;
the receiving control subunit is used for controlling the user equipment to receive the real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window if the detection result of the receiving control subunit is positive; and if not, prohibiting receiving the real-time monitoring picture transmitted by the target camera.
B11, the video playback device of B10, wherein the network detection subunit is specifically configured to:
detecting whether the user equipment is currently connected to any Wi-Fi network.
B12, the video playback device of B10, the device further comprising:
a first handover detecting unit configured to detect whether a network to which the user equipment is connected is handed over from the first type network to a second type network different from the first type network;
the stop control unit is used for stopping receiving the real-time monitoring picture transmitted by the target camera if the detection result of the first switching detection unit is positive;
and the second switching detection unit is used for continuously receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window when the fact that the network connected with the user equipment is switched back to the first type of network is detected.
B13, the video playback device of any one of B10-B12, the user device being associated with a plurality of cameras, the camera list page including a plurality of card windows, one camera for each card window.
B14, the video playback device of B13, the first list page playback unit, comprising:
a window determination subunit for determining a target card window from the plurality of card windows;
a camera determining subunit, configured to determine, from among cameras associated with the user equipment, a camera corresponding to the target card window as a target camera;
a connection subunit, configured to control the user equipment to connect to the target camera through a network;
and the playing subunit is used for receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window.
B15, the video playback device of B14, wherein the window determining subunit is specifically configured to:
determining a card window which is currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from the plurality of card windows sequenced on the camera list page.
B16, the video playback device of B9, the device further comprising:
the trigger signal acquisition unit is used for acquiring a trigger signal for switching from the target card window to the next card window;
and the second list page playing unit is used for responding to the trigger signal and playing the real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
The invention discloses C19 a computer storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of a1-a 8.
The invention discloses D20, a user equipment, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor implementing the steps of any one of A1-A8 when executing the program.

Claims (18)

1. A video playback method for use in a user device associated with more than one camera, the method comprising:
when entering an APP or a webpage installed on the user equipment, displaying a camera list page on an APP home page or the webpage, and directly playing a real-time monitoring picture transmitted from a target camera corresponding to a target card window in the camera list page;
detecting a trigger operation for entering a video playing main window in the user equipment;
and responding to the trigger operation, and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window, wherein the user equipment 0 is used for opening the monitoring video of the target camera in a delayed manner.
2. The video playing method according to claim 1, wherein the playing of the real-time monitoring picture from the target camera corresponding to the target card window in the target card window of the camera list page includes:
detecting whether the user equipment is currently connected to a first type network;
if yes, controlling the user equipment to receive a real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window; and if not, prohibiting receiving the real-time monitoring picture transmitted by the target camera.
3. The video playback method of claim 2, wherein said detecting whether the user device is currently connected to a first type network comprises:
detecting whether the user equipment is currently connected to any Wi-Fi network.
4. The video playback method of claim 2, wherein after the controlling the user equipment to receive the real-time monitoring picture from the target camera, further comprising:
detecting whether a network to which the user equipment is connected is switched from the first type network to a second type network different from the first type network;
if yes, stopping receiving the real-time monitoring picture transmitted by the target camera;
and when the network connected with the user equipment is detected to be switched back to the first type network, continuously receiving the real-time monitoring picture transmitted by the target camera, and playing the real-time monitoring picture in the target card window.
5. The video playback method of any one of claims 2-4, wherein the user device is associated with a plurality of cameras, and wherein the camera list page includes a plurality of card windows, one camera for each card window.
6. The video playing method according to claim 5, wherein said controlling the user equipment to receive the real-time monitoring picture from the target camera and play the real-time monitoring picture in the target card window comprises:
determining a target card window from the plurality of card windows;
determining a camera corresponding to the target card window as a target camera from cameras associated with the user equipment;
controlling the user equipment to be connected to the target camera through a network;
and receiving a real-time monitoring picture transmitted by the target camera, and playing the real-time monitoring picture in the target card window.
7. The video playback method of claim 6, wherein said determining a target card window from said plurality of card windows comprises:
determining a card window which is currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from the plurality of card windows sequenced on the camera list page.
8. The video playback method of claim 1, further comprising:
acquiring a trigger signal for switching from the target card window to the next card window;
and responding to the trigger signal, and playing a real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
9. A video playback apparatus for use with user equipment associated with more than one camera, the apparatus comprising:
the first list page playing unit is used for displaying a camera list page on an APP home page or a webpage when entering the APP or the webpage installed on the user equipment, and directly playing a real-time monitoring picture transmitted from a target camera corresponding to a target card window in the camera list page;
the operation detection unit is used for detecting the triggering operation for entering a video playing main window in the user equipment;
and the window playing unit is used for responding to the trigger operation and continuously playing the real-time monitoring picture transmitted by the target camera in the video playing main window, wherein the user equipment 0 delays to open the monitoring video of the target camera.
10. The video playback apparatus of claim 9, wherein the first list page playback unit includes:
a network detection subunit, configured to detect whether the user equipment is currently connected to a first type network;
the receiving control subunit is used for controlling the user equipment to receive the real-time monitoring picture transmitted by the target camera and play the real-time monitoring picture in the target card window if the detection result of the receiving control subunit is positive; and if not, prohibiting receiving the real-time monitoring picture transmitted by the target camera.
11. The video playback device of claim 10, wherein the network detection subunit is specifically configured to:
detecting whether the user equipment is currently connected to any Wi-Fi network.
12. The video playback device of claim 10, wherein the device further comprises:
a first handover detecting unit configured to detect whether a network to which the user equipment is connected is handed over from the first type network to a second type network different from the first type network;
the stop control unit is used for stopping receiving the real-time monitoring picture transmitted by the target camera if the detection result of the first switching detection unit is positive;
and the second switching detection unit is used for continuously receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window when the fact that the network connected with the user equipment is switched back to the first type of network is detected.
13. The video playback device of any of claims 10-12, wherein the user device is associated with a plurality of cameras, and wherein the camera list page includes a plurality of card windows, one camera for each card window.
14. The video playback apparatus of claim 13, wherein the first list page playback unit includes:
a window determination subunit for determining a target card window from the plurality of card windows;
a camera determining subunit, configured to determine, from among cameras associated with the user equipment, a camera corresponding to the target card window as a target camera;
a connection subunit, configured to control the user equipment to connect to the target camera through a network;
and the playing subunit is used for receiving the real-time monitoring picture transmitted by the target camera and playing the real-time monitoring picture in the target card window.
15. The video playback device of claim 14, wherein the window determining subunit is specifically configured to:
determining a card window which is currently and completely displayed in a preset display area from a plurality of card windows sequenced on the camera list page as a target card window, or
And determining one card window positioned at the top of the current display area of the camera list page as a target card window from the plurality of card windows sequenced on the camera list page.
16. The video playback device of claim 9, wherein the device further comprises:
the trigger signal acquisition unit is used for acquiring a trigger signal for switching from the target card window to the next card window;
and the second list page playing unit is used for responding to the trigger signal and playing the real-time monitoring picture transmitted by the camera corresponding to the next card window in the next card window.
17. A computer storage medium on which a computer program is stored, characterized in that the program realizes the steps of any of claims 1-8 when executed by a processor.
18. A user device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of any of claims 1-8 are implemented when the program is executed by the processor.
CN201810779516.9A 2018-07-16 2018-07-16 Video playing method and device Active CN109040672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810779516.9A CN109040672B (en) 2018-07-16 2018-07-16 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810779516.9A CN109040672B (en) 2018-07-16 2018-07-16 Video playing method and device

Publications (2)

Publication Number Publication Date
CN109040672A CN109040672A (en) 2018-12-18
CN109040672B true CN109040672B (en) 2020-12-04

Family

ID=64642755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810779516.9A Active CN109040672B (en) 2018-07-16 2018-07-16 Video playing method and device

Country Status (1)

Country Link
CN (1) CN109040672B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579420A (en) * 2020-12-30 2021-03-30 杭州视洞科技有限公司 Automatic dialing and testing scheme and flow for mobile client application of intelligent camera
CN114979746B (en) * 2022-05-13 2024-03-12 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036058A (en) * 2010-12-20 2011-04-27 南京中兴新软件有限责任公司 Method, server, terminal and system for switching videos in video monitoring system
CN103037198A (en) * 2011-09-30 2013-04-10 捷达世软件(深圳)有限公司 System and method for monitoring videos
CN104240472A (en) * 2013-06-18 2014-12-24 天津智信世创智能系统集成有限公司 Intelligent remote control system operating technology of mobile phone
CN105635670A (en) * 2015-12-25 2016-06-01 北京小鸟科技发展有限责任公司 Video pre-monitoring method and system
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN106231259A (en) * 2016-07-29 2016-12-14 北京小米移动软件有限公司 The display packing of monitored picture, video player and server
CN108200341A (en) * 2018-01-15 2018-06-22 青岛海信移动通信技术股份有限公司 Seamless handover method, device and the terminal device of camera
CN108235086A (en) * 2017-12-18 2018-06-29 广州华多网络科技有限公司 Video playing control method, device and corresponding terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5866539B1 (en) * 2014-11-21 2016-02-17 パナソニックIpマネジメント株式会社 Communication system and sound source reproduction method in communication system
US9361011B1 (en) * 2015-06-14 2016-06-07 Google Inc. Methods and systems for presenting multiple live video feeds in a user interface

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036058A (en) * 2010-12-20 2011-04-27 南京中兴新软件有限责任公司 Method, server, terminal and system for switching videos in video monitoring system
CN103037198A (en) * 2011-09-30 2013-04-10 捷达世软件(深圳)有限公司 System and method for monitoring videos
CN104240472A (en) * 2013-06-18 2014-12-24 天津智信世创智能系统集成有限公司 Intelligent remote control system operating technology of mobile phone
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN105635670A (en) * 2015-12-25 2016-06-01 北京小鸟科技发展有限责任公司 Video pre-monitoring method and system
CN106231259A (en) * 2016-07-29 2016-12-14 北京小米移动软件有限公司 The display packing of monitored picture, video player and server
CN108235086A (en) * 2017-12-18 2018-06-29 广州华多网络科技有限公司 Video playing control method, device and corresponding terminal
CN108200341A (en) * 2018-01-15 2018-06-22 青岛海信移动通信技术股份有限公司 Seamless handover method, device and the terminal device of camera

Also Published As

Publication number Publication date
CN109040672A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN107071503B (en) The method, apparatus of net cast and live streaming connect streaming server
CN108933948A (en) A kind of video playing progress synchronous method and device
CN104991850B (en) The heartbeat packet control method and device of a kind of application program
US10212025B2 (en) Router management method, router and mobile terminal
US20200213686A1 (en) Video highlight determination method and apparatus, storage medium, and electronic device
CN109408223A (en) Resource allocation method, device, terminal and storage medium
AU2021376723B2 (en) Information interaction method, apparatus, device, storage medium and program product
CN105306899B (en) Method and device for processing monitoring video
JP7204912B2 (en) Method, device and storage medium for controlling intelligent equipment
CN109819493A (en) Control method and throwing screen method and device, storage medium, electronic equipment
WO2015176448A1 (en) Method and apparatus for intelligent screen splitting of terminal
CN106488335A (en) Live-broadcast control method and device
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
CN109040672B (en) Video playing method and device
CN112261218B (en) Video control method, video control device, electronic device and readable storage medium
CN109698979A (en) A kind of method, apparatus and electronic equipment of video playing
CN110073336A (en) Application management method and terminal
CN103338351A (en) A method, an apparatus, and a system for monitoring video data uploading through utilizing a wireless network
CN112469096A (en) Cell switching method and device
CN108694009A (en) terminal control method and device
CN110392207B (en) Method and device for triggering focusing of camera equipment
CN105992058A (en) Prompting method, device and system for video playing
CN105763930A (en) Method for pushing two-dimensional code of television program, intelligent television, and set top box
CN106604363B (en) A kind of Wireless Fidelity Wi-Fi scan method, mobile terminal and storage medium
CN108882004B (en) Video recording method, device, equipment and storage medium

Legal Events

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