WO2022142722A1 - 播放视频的方法、装置、电子设备及系统 - Google Patents

播放视频的方法、装置、电子设备及系统 Download PDF

Info

Publication number
WO2022142722A1
WO2022142722A1 PCT/CN2021/128806 CN2021128806W WO2022142722A1 WO 2022142722 A1 WO2022142722 A1 WO 2022142722A1 CN 2021128806 W CN2021128806 W CN 2021128806W WO 2022142722 A1 WO2022142722 A1 WO 2022142722A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
client
window
monitoring client
monitoring
Prior art date
Application number
PCT/CN2021/128806
Other languages
English (en)
French (fr)
Inventor
余城
Original Assignee
杭州海康威视数字技术股份有限公司
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 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2022142722A1 publication Critical patent/WO2022142722A1/zh

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
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • Video surveillance is an important part of the security system, mainly composed of video surveillance equipment and surveillance clients. Video surveillance equipment is deployed in places that need to be monitored.
  • the monitoring client establishes a network connection with the video monitoring device.
  • the monitoring client can obtain the video captured by the video monitoring device from the video monitoring device through the network connection, and play the video. In this way, the user can watch the video played on the monitoring client to monitor the location.
  • the embodiments of the present application provide a method, an apparatus, an electronic device and a system for playing a video.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for playing a video, the method comprising:
  • the first monitoring client obtains first playback information, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device;
  • the first monitoring client sends the first playback information to the server, where the first playback information is used to enable the server to generate the address of the video to be played according to the device identifier, and according to the client of the second monitoring client
  • the terminal information sends the address to the second monitoring client to control the second monitoring client to play the to-be-played video based on the address, where the to-be-played video is a video shot by the video monitoring device.
  • the first monitoring client obtains the first playback information, including:
  • the first monitoring client displays the device description information of at least one video monitoring device and/or the client description information of at least one online monitoring client, wherein, for any video monitoring device, the device description information of the video monitoring device is the same as that of the video monitoring device.
  • the device identification corresponds to, for any monitoring client, the client description information of the monitoring client corresponds to the client information;
  • the first monitoring client obtains the device identifier of the selected video monitoring device when detecting the selection operation for the device description information of the video monitoring device, and when detecting the client description information for the monitoring client In the case of the selected operation, the client information of the selected monitoring client is acquired as the client information of the second monitoring client.
  • the client information of the second monitoring client includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client.
  • the first playback information further includes: window information of a target window, where the target window is a window used to play the video to be played in the second monitoring client, and the window information at least includes: Window identifier, the window information of the target window is: in the case where a selected operation for the window in the second monitoring client is detected, the window information of the window selected by the selected operation; or,
  • the first play information further includes indication information that the target window is any idle window.
  • the client information of the online at least one monitoring client is stored in the server; before the first monitoring client displays the client description information of the online at least one monitoring client, it also includes:
  • the first monitoring client acquires the client information of the online at least one monitoring client from the server.
  • the server also stores a window information set of at least one monitoring client that is online, and the window information set of the monitoring client includes window information of one or more windows of the monitoring client, and the first monitoring client
  • the window information set of the online at least one monitoring client is also obtained from the server, and the method further includes:
  • the first monitoring client displays a window information set of at least one monitoring client.
  • the method further includes:
  • the first monitoring client obtains the window information of the changed window of the third monitoring client sent by the server, and updates the third monitoring client based on the window information of the changed window.
  • a client's window information set wherein the third monitoring client is a monitoring client in a client set, and the client set includes the online at least one monitoring client.
  • the method further includes:
  • the first monitoring client sends the client information and window information set of the first monitoring client to the server after successfully establishing a connection with the server, and the window information set of the first monitoring client includes the first monitoring client. 1. Monitor the window information of one or more windows of the client;
  • the first monitoring client After the window of the first monitoring client changes, the first monitoring client sends the window information of the changed window to the server, so that the server updates the first monitor based on the window information of the changed window The client's window information collection.
  • an embodiment of the present application provides a method for playing a video, the method comprising:
  • the server receives first playback information sent by the first monitoring client, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device;
  • the server generates an address of the video to be played according to the device identifier, and the video to be played is a video shot by the video surveillance device;
  • the server sends second playback information to the second monitoring client according to the client information of the second monitoring client, the second playback information includes the address, and the second playback information is used to enable the The second monitoring client plays the to-be-played video based on the address.
  • the first playback information further includes window information of the target window
  • the second playback information further includes window information of the target window
  • the first playback information further includes indication information that the target window is any idle window
  • the second playback information also includes window information of the target window or indication information that the target window is any idle window. is the window used to play the video to be played in the second monitoring client, and the second playing information is used to make the second monitoring client use the address indicated in the second playing information based on the address.
  • the target window plays the to-be-played video
  • the client information includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client, and the window information includes at least a window identifier.
  • a window information set of the second monitoring client is stored in the server, and the window information set includes window information of one or more windows of the second monitoring client.
  • the method further includes:
  • the server determines whether the second monitoring client has an idle window based on window information of one or more windows of the second monitoring client;
  • the server selects an idle window as the target window, and sends the window information of the target window to the second monitoring client; or, the server sends the second monitoring client
  • the terminal sends the indication information
  • the server In the absence of an idle window, the server notifies the first monitoring client.
  • the sending the second playback information to the second monitoring client includes:
  • the server judges, based on the client information of the second monitoring client, whether the second monitoring client has the right to play the video to be played;
  • the server When having the permission, the server sends the second playback information to the second monitoring client;
  • the server In the absence of the authority, the server notifies the first monitoring client.
  • the server stores client information of at least one online monitoring client, and the method further includes:
  • the server After the server establishes a connection with the first monitoring client, the server sends to the first monitoring client the client information of at least one monitoring client in the online state, and the client of the online at least one monitoring client The information includes client information of the second monitoring client.
  • the server also saves a window information set of the online at least one monitoring client, and the window information set of the monitoring client includes window information of one or more windows of the monitoring client; the method further includes:
  • the server sends the window information set of the online at least one client to the first monitoring client.
  • the server receives the window information of the changed window sent by the third monitoring client after the window changes
  • the third monitoring client is a monitoring client in a client set, and the client set Including the online at least one monitoring client, sending the window information of the changed window to the first monitoring client, so that the first monitoring client updates the third monitoring client based on the window information of the changed window.
  • an embodiment of the present application provides a device for playing a video, the device comprising:
  • an acquisition module configured to acquire first playback information, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device;
  • a sending module configured to send the first playback information to the server, where the first playback information is used to enable the server to generate the address of the video to be played according to the device identifier, and to use the client information of the second monitoring client
  • the address is sent to the second monitoring client to control the second monitoring client to play the to-be-played video based on the address, where the to-be-played video is a video shot by the video monitoring device.
  • an embodiment of the present application provides a device for playing a video, the device comprising:
  • a receiving module configured to receive first playback information sent by the first monitoring client, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device;
  • a processing module configured to generate an address of a video to be played according to the device identifier, where the video to be played is a video shot by the video surveillance device;
  • a sending module configured to send second playback information to the second monitoring client according to the client information of the second monitoring client, where the second playback information includes the address, and the second playback information is used to make The second monitoring client plays the to-be-played video based on the address.
  • an embodiment of the present application provides an electronic device, including: a processor and a memory.
  • the processor and the memory may be connected through a bus system.
  • the memory is used for storing a computer program, and the processor is used for executing the computer program in the memory to complete the above method.
  • an embodiment of the present application provides a computer program product, where the computer program product includes computer program instructions, and the above-mentioned method is implemented when the computer program instructions are loaded by a processor.
  • an embodiment of the present application provides a non-volatile computer-readable storage medium for storing a computer program, the computer program implementing the above method when loaded by a processor.
  • an embodiment of the present application is a system for playing a video
  • the system includes a terminal device and a server
  • the terminal device is used to implement the first aspect or any optional method of the first aspect
  • the server uses A method for implementing the second aspect or any optional manner of the second aspect.
  • the first monitoring client obtains the first playback information
  • the first playback information includes client information of the second monitoring client and the device identification of the video monitoring device, and sends the first playback information to the server.
  • the server After receiving the first playback information, the server generates the address of the video to be played based on the device identification of the video monitoring device, and sends the address to the second monitoring client.
  • the second monitoring client plays the to-be-played video based on the address, and the to-be-played video is a video shot by the video monitoring device.
  • the second monitoring client is a monitoring client designated on the first monitoring client by a user corresponding to the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client.
  • the monitoring clients of other users are designated on the first monitoring client to also play the video shot by the video surveillance device, so that other users can monitor or watch the video shot by the video surveillance device to meet user requirements.
  • FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for acquiring client information provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of another network architecture provided by an embodiment of the present application.
  • FIG. 4 is an information interaction diagram for playing a video provided by an embodiment of the present application.
  • Fig. 5 is a kind of flow chart of playing video provided by the embodiment of the present application.
  • FIG. 6 is a flowchart of a method for playing a video provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of another video playback provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of another video playback provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of another method for playing a video provided by an embodiment of the present application.
  • FIG. 10 is a flowchart of another method for playing a video provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a device for playing a video provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of another device for playing a video provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of another apparatus for playing a video provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a system for playing a video provided by an embodiment of the present application.
  • a network architecture provided by an embodiment of the present application includes:
  • a server multiple surveillance clients and at least one video surveillance device.
  • a network connection is established between each monitoring client in the plurality of monitoring clients and the server, there is at least one monitoring client in the plurality of monitoring clients, and each monitoring client in the at least one monitoring client corresponds to at least one monitoring client.
  • a video surveillance device is established.
  • a network connection is established between the monitoring client and one or more video monitoring devices corresponding to the monitoring client.
  • the surveillance client is configured to acquire the video captured by the video surveillance device from the video surveillance device, and play the video captured by the video surveillance device.
  • the monitoring client includes at least one window, and the monitoring client can play videos shot by different video monitoring devices in different windows.
  • the monitoring client can be installed on a terminal device, such as a mobile phone or a computer.
  • the network architecture can be used by one organization or by multiple organizations.
  • the server and the at least one video surveillance device belong to the organization.
  • the at least one video surveillance device belongs to different organizations, and the account group and device group corresponding to each organization are also stored in the server.
  • the account group of the organization includes user accounts of users belonging to the organization
  • the device group of the organization includes device identifiers of video surveillance devices belonging to the organization.
  • the server stores the organization identifier of the organization, the corresponding relationship between the account group of the organization and the device group.
  • the organization can be an enterprise, a residential area, or a shopping mall.
  • the organization corresponds to an area, and at least one video surveillance device belonging to the organization can be deployed in the area.
  • a monitoring client can be installed in the terminal equipment corresponding to the staff of the organization, so that the staff of the organization can use the monitoring client to play the video shot by the video monitoring equipment belonging to the organization, so as to realize the monitoring of the organization.
  • the corresponding area is monitored.
  • the organization can be a residential area.
  • Deploy video surveillance equipment at different locations in the residential area and different staff can be responsible for different areas in the residential area.
  • the staff includes a first staff member and a second staff member, the first staff member is responsible for the first area of the residential area, and the second staff member is responsible for the second area of the residential area.
  • the first staff member can install the first monitoring client on his own terminal equipment, establish a network connection between the first monitoring client and the video monitoring equipment deployed in the first area, and the first monitoring client includes the first monitoring client in the first area. The corresponding window of the video surveillance equipment.
  • the first monitoring client obtains the video shot by the video surveillance device in the first area from the video surveillance device in the first area through the established network connection, and plays the video shot by the video surveillance device on a window corresponding to the video surveillance device . In this way, the first staff member can watch the video shot of the first area on the first monitoring client to monitor the first area.
  • the second worker can install a second monitoring client on his own terminal device, establish a network connection between the second monitoring client and the video monitoring equipment deployed in the second area, and the second monitoring client includes the second monitoring client in the second area.
  • the corresponding window of the video surveillance equipment The second monitoring client obtains the video shot by the video surveillance device in the second area from the video surveillance device in the second area through the established network connection, and plays the video shot by the video surveillance device on the window corresponding to the video surveillance device .
  • the second staff member can watch the video shot of the second area on the second monitoring client to monitor the second area.
  • the first staff member may need to designate monitoring clients corresponding to other staff members on the first monitoring client terminal to also play the video shot by the video monitoring device in the first area. That is to say, the first staff member needs other staff members to monitor the first area that the first staff member is responsible for. For example, assuming that the first staff member needs the second staff member to monitor the first area, the first staff member can designate the second monitoring client terminal on the first monitoring client terminal, so that the second monitoring client terminal can also play the first monitoring terminal. A video shot by a video surveillance device in an area, so that the second staff member can monitor the first area at the same time.
  • the above-mentioned first monitoring client is not a client for monitoring the first area, that is, the first monitoring client may not play the video shot by the video monitoring device in the first area.
  • the first staff member needs the second staff member to monitor the first area.
  • the first staff member can designate the second monitoring client terminal on the first monitoring client terminal, so that the second monitoring client terminal can also play the first area.
  • the video captured by the video surveillance equipment enables the second staff member to monitor the first area.
  • an embodiment of the present application provides a method for acquiring client information.
  • the method is applied to the network architecture shown in FIG. 1.
  • the monitoring client uses the method to obtain client information of other online monitoring clients belonging to the organization.
  • the method includes:
  • Step 201 The first monitoring client sends first report information to the server, where the first report information includes client information of the first monitoring client.
  • the first monitoring client when the first monitoring client (which is the monitoring client A of user A) logs in to the server, the first monitoring client sends first report information to the server after establishing a connection with the server. (For the local playback window information).
  • the first report information may also include a window information set of the first monitoring client.
  • the first monitoring client includes at least one window, and the window information set includes window information of each of the at least one windows of the first monitoring client.
  • the window information set further includes information such as the number of idle windows in the first monitoring client.
  • the window information of the window includes at least the window identifier of the window.
  • the window information of the window further includes at least one information such as the state and name of the window.
  • the state of the window can be in use state or idle state.
  • the window identifier of the window may be a window serial number and/or serial number or the like.
  • the client information of the first monitoring client includes at least one of a client identifier of the first monitoring client, a client type, a user account logged on the first monitoring client, and the like.
  • the client identifier of the first monitoring client may be the address of the first monitoring client or any symbol (eg, a device serial number) used to characterize the client.
  • the client information of the first monitoring client includes the client identification of the first monitoring client and the user account logged on the first monitoring client .
  • the first monitoring client runs on the terminal device of the first user.
  • the first user starts the first monitoring client on the terminal device, and inputs the user account of the first user on the first monitoring client.
  • the first monitoring client obtains the user account, and uses the user account to log in to the server. After logging in to the server, the first monitoring client can send the first report information to the server.
  • Step 202 The server receives the first report information, and saves the client information of the first monitoring client included in the first report information.
  • the server includes an online list, and each record in the online list includes client information and/or window information sets of online monitoring clients.
  • the server may receive window information of one or more windows of the first monitoring client, where the one or more windows are windows of the first monitoring client that are allowed to be controlled by other monitoring clients.
  • step 202 the server receives the first report information, and saves the client information of the first monitoring client included in the first report information in the online list.
  • the server When the first report information further includes the window information set of the first monitoring client, the server also saves the window information set of the first monitoring client in the online list. Wherein, the client information and the window information set of the first monitoring client may be located in the same record in the online list.
  • the network architecture includes multiple monitoring clients, and each monitoring client is the same as the first monitoring client, and sends first report information to the server when logging in to the server. Therefore, the online list in the server stores the client information and/or window information set of at least one monitoring client that is online.
  • monitoring client B of user B also sends client information and/or window information set to the server according to the above steps 201-202.
  • the client information and/or window information set of each online monitoring client belonging to the organization is stored in the online list.
  • the client information and/or window information sets of online monitoring clients belonging to different organizations are stored in the online list, and the client information of the online monitoring clients includes: The user account logged in on the online monitoring client.
  • the first monitoring client can also download client information and/or window information sets of other clients of the organization to which it belongs.
  • the detailed implementation process is as follows.
  • Step 203 The first monitoring client obtains client information of at least one monitoring client online from the server.
  • the at least one monitoring client includes other monitoring clients except the first monitoring client in the online list in the server.
  • the first monitoring client obtains the window information set of at least one monitoring client online from the server.
  • the first monitoring client saves the acquired window information set in the terminal device where the first monitoring client is located.
  • the set of window information of each monitoring client stored by the server includes the window information of one or more windows of the monitoring client, and the one or more windows are allowed to be controlled by other monitoring clients in the monitoring client. window.
  • the first monitoring client may acquire client information of the at least one monitoring client in the following two ways.
  • the two methods are:
  • the first monitoring client actively requests client information of at least one monitoring client that is online from the server.
  • the monitoring client A of user A (or the monitoring client B of user B) logs in to the server and initializes the playback function, it can download the playback window information of other clients. Including client information and window information, such as including user name, client IP, playing window information (ID, name and status), number of idle windows. If the download is successful, end, if not, you can continue the download.
  • client information and window information such as including user name, client IP, playing window information (ID, name and status), number of idle windows.
  • the first monitoring client sends a download request to the server.
  • the download request sent by the first monitoring client may include the user account of the first user logged in on the first monitoring client.
  • the user account logged in on the first monitoring client is referred to as the first user account.
  • the server receives the download request, and sends a download response to the first monitoring client, where the download response includes client information of at least one monitoring client.
  • the download response further includes a window information set of the at least one monitoring client.
  • the at least one monitoring client and the first monitoring client belong to the same organization.
  • each monitoring client in the online list belongs to the same organization.
  • the server After receiving the download request, the server obtains from the online list all the monitoring clients except the first monitoring client.
  • the client information of each other monitoring client is sent to the first monitoring client, and the download response includes the client information of each other monitoring client.
  • the server may also acquire the window information sets of the other monitoring clients, and the download response also includes the window information sets of the other monitoring clients.
  • each monitoring client in the online list belongs to different organizations, and the server receives the download request, where the download request includes the first user account.
  • the server queries the account group including the first user account from the account groups stored locally, where the account group includes user accounts belonging to the same organization. Based on the account group and the online list, the server obtains the client information of each monitoring client except the first monitoring client in the organization, and the user account included in the client information of each other monitoring client is:
  • the user accounts in the account group send a download response to the first monitoring client, where the download response includes client information of each of the other monitoring clients.
  • the server can also obtain client information of monitoring clients of other organizations other than the organization where the first monitoring client is located from the online list, and send a download response to the first monitoring client, where the download response includes the Client information of monitoring clients of other organizations.
  • the other organization corresponds to the organization where the first monitoring client is located.
  • the other organization has a cooperative relationship with the first monitoring client for a certain period of time, so the two correspond to each other.
  • the server may record the correspondence between the other organization and the organization where the first monitoring client is located. In this way, when the server obtains the organization where the first monitoring client is located, it determines another organization corresponding to the account of the organization, and obtains the client information of the other organization.
  • the other organization is a designated type of organization.
  • the server can obtain the client information of the monitoring client included in the specified type of organization from the online list.
  • the server further acquires the window information set of the monitoring client in the other organization, and the download response further includes the window information set of the monitoring client in the other organization.
  • the operation for the server to obtain the client information and window information set of the monitoring client may be:
  • the client information of the online monitoring client saved in each record of the online list includes the user account logged in on the online monitoring client.
  • the server queries from the online list whether The record including the user account is obtained. If the record including the user account is queried, the client information of the monitoring client included in the record is obtained.
  • the record further includes the window information set of the monitoring client, and the window information set of the monitoring client included in the record can also be obtained.
  • the download response may also include a window information set of the monitoring client.
  • Step 2033 The first monitoring client receives the download response, and saves the client information of at least one monitoring client included in the download response.
  • the first monitoring client also saves the window information set of at least one monitoring client.
  • the first monitoring client may send a deletion request to the server, where the deletion request includes client information of the first monitoring client.
  • the server receives the deletion request, and deletes the record including the client information of the first monitoring client in the online list.
  • the server may also send a deletion notification message to other online monitoring clients in the organization where the first monitoring client is located, where the deletion notification message includes client information of the first monitoring client.
  • the other online monitoring clients receive the deletion notification message, and delete the locally stored client information of the first monitoring client.
  • the other online monitoring client also saves the window information set of the first monitoring client, the window information set of the first monitoring client is also deleted.
  • the monitoring client of the other organization may also store client information of the first monitoring client.
  • the server also sends the deletion notification message to the online clients in other organizations except the organization where the first monitoring client is located in the online list.
  • the other organization corresponds to the organization where the first monitoring client is located, or the other organization is an organization of a specified type.
  • the online monitoring client in the other organization receives the deletion notification message, and deletes the locally stored client information of the first monitoring client.
  • the online monitoring client in the other organization also saves the window information set of the first monitoring client, the window information set of the first monitoring client is also deleted.
  • the state of the window in the first monitoring client may change, for example, the window in the use state in the first monitoring client may become the idle state, or the window in the idle state in the first monitoring client May become in use state. Therefore, when the state of the window in the first monitoring client changes, the first monitoring client sends a window update message to the server, and the window update message includes the client information of the first monitoring client, the window identifier of the target window, and the changed status.
  • the target window is the window in which the state of the first monitoring client changes.
  • the window update message may also include the number of free windows in the first monitoring client.
  • the server receives the window update message, obtains a record including the client information of the first monitoring client from the online list, and the record also includes the window information set of the first monitoring client, based on the window identifier of the target window included in the window update message , and the state of the target window in the window information set is updated to the state after the change of the target window.
  • the server may also update the number of idle windows of the first monitoring client in the window information set to the number of idle windows in the window update message.
  • the server may also forward the window update message to other online clients in the organization where the first monitoring client is located; or, to online clients in other organizations in the online list except the organization where the first monitoring client is located
  • the client forwards the window update message.
  • the online client After receiving the window update message, the online client obtains the locally saved window information set of the first monitoring client based on the client information of the first monitoring client in the window update message ; Based on the window identifier of the target window included in the window update message, update the state of the target window in the window information set to the state after the target window is changed.
  • the number of idle windows of the first monitoring client in the window information set may also be updated to the number of idle windows in the window update message.
  • the states of the windows of other monitoring clients except the first monitoring client may change.
  • the other monitoring clients are referred to as third monitoring clients.
  • the third monitoring client sends the window information of the changed window to the server after its window changes.
  • the server receives the window information of the changed window sent by the third monitoring client, and sends the window information of the changed window to the first monitoring client.
  • the first monitoring client receives the window information of the changed window of the third monitoring client sent by the server, and updates the window information set of the third monitoring client based on the changed window information of the window.
  • the monitoring client A of user A updates the local client playback information, that is, updates the playback window information ( ⁇ ID, name, status> , the number of idle windows), send the updated local client playback information to the server (also known as the platform server), and the server pushes user A's playback window changes to other users' monitoring clients (such as user B's monitoring client B) information.
  • the server also known as the platform server
  • the server pushes user A's playback window changes to other users' monitoring clients (such as user B's monitoring client B) information.
  • the first monitoring client receives client information of at least one online monitoring client sent by the server.
  • the server After establishing a connection with the first monitoring client, the server sends client information of at least one monitoring client in an online state to the first monitoring client.
  • the server may also send the window information set of the at least one monitoring client to the first monitoring client.
  • the server may send to the first monitoring client the client information of at least one other monitoring client of the online status of the organization where the first monitoring client is located, and/or, send to the first monitoring client information about the online status of the organization where the first monitoring client is located, and/or send to the first monitoring client the information about the online status of the organization where the first monitoring client is located Client information of monitoring clients of organizations other than the organization.
  • the server may send client information of at least one other monitoring client of the online status in the online list to the first monitoring client.
  • the first monitoring client is not a client for monitoring the area, so the first monitoring client does not need to send the first report information to the server, but only needs to obtain client information of at least one monitoring client online from the server. Window information of the at least one monitoring client can also be acquired.
  • the first monitoring client after logging in to the server, can send its own client information to the server, and the server saves the client information of the first monitoring client in an online list.
  • the first monitoring client can obtain the client information of other online monitoring clients belonging to the organization from the server.
  • the first monitoring client may also acquire client information of online monitoring clients belonging to other organizations from the server.
  • the first monitoring client may display the acquired client information of the online monitoring client for the user to select.
  • an embodiment of the present application provides a method for playing a video, and the method can be applied to the network architecture shown in FIG. 1, including:
  • Step 301 The first monitoring client obtains first playback information, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device.
  • the first monitoring client is configured to play the video shot by the video monitoring device.
  • the client information of the second monitoring client includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client.
  • the first monitoring client manages at least one video monitoring device.
  • the terminal device where the first monitoring client is located stores the device identifier of each video monitoring device in the at least one video monitoring device.
  • a network connection may be established between the first monitoring client and some or all of the monitoring clients in the at least one video monitoring device.
  • the video captured by the video surveillance device can be obtained through the network connection between the first surveillance client and the video surveillance device, and the video captured by the video surveillance device can be played. 's video.
  • the first monitoring client may obtain the user account of the user.
  • the server includes a first correspondence between user accounts and device identifiers of video surveillance devices, and each record in the first correspondence includes a user account of a user and a device identifier of at least one video surveillance device managed by the user. Therefore, after obtaining the user account of the user, the first monitoring client can obtain the device identification of at least one video monitoring device managed by the user from the server based on the user account.
  • the user corresponding to the first monitoring client may need to play the video shot by the video monitoring device managed by the first monitoring client on other monitoring clients, so that the user corresponding to the other monitoring client can watch the video shot by the video monitoring device.
  • this step it can be implemented by the following operations from steps 3011 to 3012 .
  • the operations from 3011 to 3012 are respectively:
  • the first monitoring client displays device description information of at least one video monitoring device and/or client description information of at least one monitoring client.
  • the device description information of the video surveillance device corresponds to the device identifier of the video surveillance device.
  • the device description information may include at least one of the device identification itself and the device name of the video surveillance device.
  • the device description information includes the device name of the video surveillance device, the device ID of the video surveillance device. corresponds to the device name.
  • the client description information of the monitoring client corresponds to the client information of the monitoring client.
  • the client description information may include the client information itself.
  • the at least one monitoring client and the first monitoring client may be located in the same organization or may be located in different organizations.
  • the terminal device where the first monitoring client is located stores the window information set of the monitoring client in the at least one monitoring client, the first monitoring client also displays the window description information of each window in the window information set of the monitoring client.
  • the window description information of the window may include at least one of the window identifier and name of the window, and may also include the state of the window and the like.
  • the window information set also includes the number of idle windows of the monitoring client, and can also display the number of idle windows.
  • the user corresponding to the first monitoring client can select the client description information of a certain monitoring client from the displayed client description information of the monitoring client, and/or select a video monitoring device from the displayed device description information of the video monitoring device. device description information.
  • the user corresponding to the first monitoring client may also select a window in an idle state from the selected monitoring client according to the window description information of the window corresponding to the selected monitoring client.
  • the user uses the selected window to play the video shot by the selected video surveillance device.
  • the user corresponding to the first monitoring client can directly select the window description information of the window of a certain monitoring client.
  • the user may also directly input the device identification of the video surveillance device and/or the client information of the monitoring client and/or the window information of the target window to the first monitoring client.
  • the first monitoring client When detecting a selection operation for the device description information of the video surveillance device, the first monitoring client acquires the device identifier of the selected video surveillance device, and when detecting the selection of the client description information for the monitoring client During the predetermined operation, the client information of the selected monitoring client is acquired as the client information of the second monitoring client.
  • the designated user is the selected monitoring client, that is, the second monitoring client, and the designated monitoring point is the video monitoring device.
  • the user can specify the user to play the specified monitoring screen, select the monitoring client of the specified user, and select the preview monitoring point (ie, select the video monitoring device).
  • the first monitoring client is sent to the platform server.
  • the selection operation here includes the above selection operation or input operation.
  • the device identifier of the video surveillance device is directly obtained from the device description information of the video surveillance device.
  • the device identifier corresponding to the device description information of the video surveillance device is obtained.
  • the client description information of the monitoring client when the client description information of the monitoring client includes the client information of the monitoring client, directly obtain the client information of the client from the client description information of the monitoring client as the client information of the second monitoring client .
  • the client description information of the monitoring client corresponds to the client information of the monitoring client, and the client information corresponding to the client description information of the monitoring client is acquired as the client information of the second monitoring client.
  • the first playback information also includes window information of the target window, and in the case of detecting a selection operation for the window in the second monitoring client, the window information of the window selected by the selection operation is used as the target window. window information.
  • the window information of the target window is the window information of the idle state window selected by the user from the windows corresponding to the second monitoring client or the inputted window information of the idle state window of the second monitoring client.
  • the window information of the window is obtained as the window information of the target window.
  • the client information of the monitoring client where the target window is located is acquired as the client information of the second monitoring client.
  • the first playback information includes indication information indicating that the target window is any idle window, that is, the first playback information includes client information of the second monitoring client, device identification of the video monitoring device, and the indication information.
  • Step 302 The first monitoring client sends the first playback information to the server.
  • the server is the platform server in FIG. 5
  • the first monitoring client sends an instruction to the platform server, and the instruction includes the first playback information.
  • Step 303 The server receives the first playback information sent by the first monitoring client, where the first playback information includes the client information of the second monitoring client and the device identification of the video monitoring device, and generates the address of the video to be played according to the device identification.
  • the playback video is the video shot by the video surveillance equipment.
  • the address may be a uniform resource locator (Uniform Resource Locator, URL) of the video to be played.
  • URL Uniform Resource Locator
  • the server stores a second correspondence between the client information and the device identifier of the video surveillance device, and each record in the second correspondence includes the device identifier of at least one video surveillance device and the device identifier of the at least one video surveillance device.
  • Client information for viewing rights is stored in the server.
  • the server determines whether the second monitoring client is online. After being online, it determines whether the second monitoring client has the right to play the video to be played according to the client information of the second monitoring client. If there is permission, the address of the video to be played is generated according to the device identifier. If the permission is not available, the first monitoring client is notified to end the operation. For example, as shown in Figure 7, the server receives the first broadcast information, obtains the designated user to play the designated monitoring point screen, determines whether the designated user is online, if not online, ends, if online, determines whether the designated user has the monitoring point authority, if not Permission, end, if there is permission, then judge the playback window type next.
  • the client information of the second monitoring client includes a user account
  • the server determines whether the user corresponding to the user account has the right to watch the video monitoring device corresponding to the device identification, that is, determines whether the user corresponding to the user account has the right to watch the video monitoring device corresponding to the device identification. 2. Whether the monitoring client has the right to play the video to be played, if so, generate the address of the video to be played according to the device identifier, if not, notify the first monitoring client to end the operation.
  • the judging process may be as follows: the server judges whether there is a record including the user account and the device identification of the video surveillance device in the second corresponding relationship, and if so, judges that the user corresponding to the user account has the permission, and if not, judges that The user corresponding to the user account has no permission.
  • the server locally stores the window information set of the second monitoring client, and the window information set includes the information of each window in the video monitoring device. Window ID and state.
  • the server determines whether there is an idle window in the second monitoring client, and if so, generates the address of the video to be played according to the device identifier, and if not, notifies the first monitoring client to end the operation.
  • the server determines that there is an idle window in the second monitoring client.
  • the window is in the state, select a window from the idle windows as the target window.
  • Step 304 The server sends second play information to the second monitoring client according to the client information of the second monitoring client, where the second playing information includes the address of the video to be played.
  • the second playback information further includes window information of the target window.
  • the server determines that the target window is any idle window.
  • the second playback information sent to the second monitoring client further includes indication information that the target window is any idle window.
  • the first playback information includes indication information that the target window is any idle window
  • the server determines that there is an idle window in the second monitoring client, it selects a window from the idle windows as the target window.
  • the second playback information sent by the server to the second monitoring client further includes window information of the selected target window.
  • the server may determine whether the target window is idle, and when the target window is idle, send second playback information to the second monitoring client, where the second playback information includes the target window. Window information of the window; when the target window is not idle, send the second playback information to the second monitoring client to indicate that the target window is any idle window, and/or notify the first monitoring client.
  • the server may also not judge whether there is an idle window in the second monitoring client, but the second playback information sent includes the above-mentioned indication information.
  • the second playback information further includes a device identifier of the video shooting device.
  • the server may determine that the monitoring client belonging to the client type is the second monitoring client, and send the second monitoring client to the determined second monitoring client. 2. Play information.
  • Step 305 The second monitoring client receives the second playback information sent by the server, acquires the video to be played from the video monitoring device based on the second playback information, and plays the to-be-played video.
  • the second playback information further includes window information of the target window, and the second monitoring client plays the to-be-played video in the target window based on the window information of the target window.
  • the second monitoring client establishes a network connection with the video monitoring device according to the address of the video to be played in the second playback information, and obtains the video to be played from the video monitoring device through the network connection.
  • the second monitoring client can also determine the state of the target window. If the state of the target window is in use, that is, the target window is playing videos from other video monitoring devices, and ends the target window playing videos from other video monitoring devices. The second monitoring client then plays the to-be-played video in the target window. Alternatively, select another window in an idle state, and play the video to be played in the selected window. For example, referring to FIG. 8 , the second monitoring client receives the second playback information, determines to execute the specified window playback, and determines the playback window type. If the playback window is the specified window (the target window), determine whether the target window is playing video.
  • the video is playing, close the video being played, fetch the stream from the specified monitoring point and play it in the target window; if the video is not playing, send the specified The monitoring point fetches the stream and plays it in the target window. If the playback window is any idle window, select an idle window, fetch the stream from the specified monitoring point and play it in the selected window.
  • the second monitoring client determines an idle window in the second monitoring client, and selects a window from the idle windows, Play the video to be played in the selected window.
  • the second monitoring client selects a window in an idle state, and uses the window in the idle state to play the video to be played.
  • the first monitoring client obtains the first playback information. Since the first playback information includes the client information of the second monitoring client and the device identifier of the video monitoring device, the server receives the first playback information based on The device identification of the video monitoring device generates the address of the video to be played, and sends second playing information to the second monitoring client, where the second playing information includes the address.
  • the second monitoring client plays the to-be-played video based on the address, and the to-be-played video is a video shot by the video monitoring device.
  • the second monitoring client is a monitoring client designated on the first monitoring client by a user corresponding to the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client. In the first monitoring client, the monitoring client of other users is designated to also play the video shot by the video monitoring device, so that other users can monitor and watch the video shot by the video monitoring device to meet the needs of the user.
  • the present application provides a method for playing a video, the method comprising:
  • Step 401 The first monitoring client obtains first playback information, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device.
  • the client information of the second monitoring client includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client.
  • Step 402 The first monitoring client sends first playback information to the server, the first playback information is used to enable the server to generate the address of the video to be played according to the device identifier, and the address is sent to the first monitoring client according to the client information of the second monitoring client.
  • the second monitoring client is configured to control the second monitoring client to play the video to be played based on the address, and the video to be played is a video shot by a video monitoring device.
  • the first monitoring client obtains the first playback information, and since the first playback information includes the client information of the second monitoring client and the device identifier of the video monitoring device, so that after the server receives the first playback information, Based on the device identification of the video monitoring device, an address of the video to be played is generated, and second playing information is sent to the second monitoring client, where the second playing information includes the address.
  • the second monitoring client is made to play the video to be played based on the address, and the video to be played is the video shot by the video monitoring device.
  • the second monitoring client is a monitoring client designated on the first monitoring client by a user corresponding to the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client.
  • the monitoring client of other users is designated to also play the video shot by the video monitoring device, so that other users can monitor and watch the video shot by the video monitoring device to meet the needs of the user.
  • an embodiment of the present application provides a method for playing a video, and the method includes:
  • Step 501 The server receives the first playback information sent by the first monitoring client, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device.
  • the client information of the second monitoring client includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client.
  • Step 502 The server generates an address of the video to be played according to the device identifier, and the video to be played is a video shot by a video surveillance device.
  • Step 503 The server sends second playback information to the second monitoring client according to the client information of the second monitoring client, where the second playback information includes the address, and the second playback information is used to make the second monitoring client based on the address Play the video to be played.
  • the server receives the first playback information. Since the first playback information includes the client information of the second monitoring client and the device identifier of the video monitoring device, after receiving the first playback information, based on the video monitoring device The device identifier generates the address of the video to be played, and sends second playback information to the second monitoring client, where the second playback information includes the address.
  • the second monitoring client is made to play the video to be played based on the address, and the video to be played is the video shot by the video monitoring device.
  • the second monitoring client is a monitoring client designated on the first monitoring client by a user corresponding to the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client. In the first monitoring client, the monitoring client of other users is designated to also play the video shot by the video monitoring device, so that other users can monitor and watch the video shot by the video monitoring device to meet the needs of the user.
  • an embodiment of the present application provides an apparatus 600 for playing video, the apparatus 600 includes:
  • an acquisition module 601 configured to acquire first playback information, where the first playback information includes client information of a second monitoring client and a device identifier of a video monitoring device;
  • a sending module 602 is configured to send the first playback information to the server, where the first playback information is used to enable the server to generate the address of the video to be played according to the device identifier, and the client of the second monitoring client The information sends the address to the second monitoring client, so as to control the second monitoring client to play the to-be-played video based on the address, where the to-be-played video is a video shot by the video monitoring device.
  • the device 600 further includes a display module
  • the display module is configured to display the device description information of at least one video surveillance device and/or the client description information of at least one online monitoring client, wherein, for any video surveillance device, the device description information of the video surveillance device is the same as that of the video surveillance device.
  • the device identification corresponds to, for any monitoring client, the client description information of the monitoring client corresponds to the client information;
  • the obtaining module 601 is configured to obtain the device identification of the selected video monitoring device when the selected operation for the device description information of the video surveillance device is detected, and when the client description information for the monitoring client is detected In the case of the selected operation, the client information of the selected monitoring client is acquired as the client information of the second monitoring client.
  • the client information of the second monitoring client includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client.
  • the first playback information further includes: window information of a target window, where the target window is a window used to play the video to be played in the second monitoring client, and the window information at least includes: Window identifier, the window information of the target window is: in the case where a selected operation for the window in the second monitoring client is detected, the window information of the window selected by the selected operation; or,
  • the first play information further includes indication information that the target window is any idle window.
  • the server stores client information of at least one online monitoring client; the obtaining module 601 is further configured to obtain client information of the at least one online monitoring client from the server.
  • the server also saves a window information set of at least one online monitoring client, and the window information set of the monitoring client includes the window information of one or more windows of the monitoring client.
  • the display module 602 is further configured to display the window information set of at least one monitoring client.
  • the obtaining module 601 is further configured to obtain the window information of the changed window of the third monitoring client sent by the server when the window of the third monitoring client changes, based on the window information of the changed window.
  • the window information set of the third monitoring client is updated, wherein the third monitoring client is a monitoring client in a client set, and the client set includes the online at least one monitoring client.
  • the sending module 602 is further configured to send the client information and window information set of the device to the server after the connection is successfully established with the server, where the window information set of the device includes the device. window information of one or more windows; after the window of the device changes, send the window information of the changed window to the server, so that the server updates the window of the device based on the window information of the changed window collection of information.
  • the acquisition module acquires first playback information, where the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device.
  • the sending module sends the first playback information to the server, the first playback information is used to trigger the server to generate the address of the video to be played, and sends the second playback information to the second monitoring client, where the second playback information includes the address, and the second monitoring client
  • the terminal plays the to-be-played video based on the address, and the to-be-played video is a video shot by a video surveillance device.
  • the second monitoring client is the monitoring client designated by the user in the device obtained by the acquisition module, and the video monitoring device is also designated by the user on the device, so that the user can specify the monitoring of other users on the device.
  • the client also monitors and watches the video shot by the video surveillance device to meet user needs.
  • an embodiment of the present application provides an apparatus 700 for playing a video
  • the apparatus 700 includes:
  • a receiving module 701 configured to receive first playback information sent by a first monitoring client, where the first playback information includes client information of a second monitoring client and a device identifier of a video monitoring device;
  • a processing module 702 configured to generate an address of a video to be played according to the device identifier, where the video to be played is a video shot by the video surveillance device;
  • a sending module 703, configured to send second playback information to the second monitoring client according to the client information of the second monitoring client, where the second playback information includes the address, and the second playback information is used for causing the second monitoring client to play the to-be-played video based on the address.
  • the first playback information further includes window information of the target window
  • the second playback information further includes window information of the target window
  • the first playback information further includes indication information that the target window is any idle window
  • the second playback information also includes window information of the target window or indication information that the target window is any idle window. is the window used to play the video to be played in the second monitoring client, and the second playing information is used to make the second monitoring client use the address indicated in the second playing information based on the address.
  • the target window plays the to-be-played video
  • the client information includes at least one of a client identifier of the second monitoring client, a client type, and a user account logged in on the second monitoring client, and the window information includes at least a window identifier.
  • the apparatus 700 stores a window information set of the second monitoring client, and the window information set includes window information of one or more windows of the second monitoring client.
  • the processing module 702 is further configured to determine the second monitoring client based on the window information of one or more windows of the second monitoring client Whether there is an idle window; if there is an idle window, select an idle window as the target window;
  • the sending module 703 is further configured to send the window information of the target window to the second monitoring client when there is an idle window; or, send the indication information to the second monitoring client; When there is no idle window, the first monitoring client is notified.
  • the processing module 702 is configured to determine, based on the client information of the second monitoring client, whether the second monitoring client has the right to play the video to be played;
  • the sending module 703 is further configured to send the second playback information to the second monitoring client when the permission is available; and notify the first monitoring client when the permission is not available.
  • the device 700 stores client information of at least one monitoring client that is online, and the sending module 703 is further configured to send the first monitoring client to the first monitoring client after establishing a connection with the first monitoring client.
  • the client sends the client information of the at least one monitoring client of the online state, and the client information of the online at least one monitoring client includes the client information of the second monitoring client.
  • the apparatus 700 further stores a window information set of the online at least one monitoring client, and the window information set of the monitoring client includes window information of one or more windows of the monitoring client; the sending module 703 , for sending the window information set of the online at least one client to the first monitoring client.
  • the receiving module 701 is further configured to receive the window information of the changed window sent by a third monitoring client after its window changes, and the third monitoring client is a monitoring client in the client set.
  • the client set includes the online at least one monitoring client;
  • the sending module 703 is further configured to send the window information of the changed window to the first monitoring client, so that the first monitoring client updates the window information of the third monitoring client based on the window information of the changed window gather.
  • the receiving module since the receiving module receives the first playback information sent by the first monitoring client, the first playback information includes client information of the second monitoring client and device identification of the video monitoring device.
  • the generating module generates the address of the video to be played according to the device identification, and the video to be played is the video shot by the video monitoring device.
  • the sending module sends the second playback information to the second monitoring client, the second monitoring client can acquire and play the video to be played from the video monitoring device according to the address.
  • the second monitoring client is the monitoring client designated by the user in the first monitoring client
  • the video monitoring device is also designated by the user on the first monitoring client, so that the user can realize the monitoring on the first monitoring client Designate the monitoring client of other users to monitor and watch the video shot by the video monitoring device to meet the needs of the user.
  • An embodiment of the present application provides a computer program product, where the computer program product includes computer program instructions, and when the computer program instructions are loaded by a processor, the first method in the method provided by the embodiment shown in FIG. 2 or FIG. 6 is implemented. Monitor operations performed by the client, server, or second monitor client.
  • the above-mentioned first monitoring client obtains first playback information, and the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device, and sends the first playback information to the server.
  • the server generates the address of the video to be played, and sends second playback information to the second monitoring client, where the second playback information includes the address.
  • the second monitoring client plays the to-be-played video based on the address, and the to-be-played video is a video shot by a video monitoring device.
  • the second monitoring client is the monitoring client obtained by the first monitoring client and designated by the user on the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client.
  • a monitoring client of another user is designated on the first monitoring client to also monitor and watch the video shot by the video monitoring device, so as to meet the needs of the user.
  • An embodiment of the present application provides a non-volatile computer-readable storage medium for storing a computer program, and when the computer program is loaded by a processor, the first step of the method provided by the embodiment shown in FIG. 2 or FIG. 6 is executed. Monitor operations performed by the client, server, or second monitor client.
  • the above-mentioned first monitoring client obtains first playback information, and the first playback information includes client information of the second monitoring client and a device identifier of the video monitoring device, and sends the first playback information to the server.
  • the server generates the address of the video to be played, and sends second playback information to the second monitoring client, where the second playback information includes the address.
  • the second monitoring client plays the to-be-played video based on the address, and the to-be-played video is a video shot by a video monitoring device.
  • the second monitoring client is the monitoring client obtained by the first monitoring client and designated by the user on the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client.
  • a monitoring client of another user is designated on the first monitoring client to also monitor and watch the video shot by the video monitoring device, so as to meet the needs of the user.
  • FIG. 13 shows a structural block diagram of an electronic device 800 provided by an exemplary embodiment of the present application.
  • the electronic device 800 may be a portable mobile terminal, such as a smart phone, a tablet computer, a notebook computer or a desktop computer.
  • Electronic device 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
  • the electronic device 800 includes: a processor 801 and a memory 802.
  • the memory 802 can store the monitoring client provided in any of the foregoing embodiments, and the processor 801 is configured to run the monitoring client.
  • the processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 801 can use at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
  • the processor 801 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state.
  • the processor 801 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 801 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 802 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 801 to implement the playing video provided by the method embodiments in this application. Methods.
  • the electronic device 800 may optionally further include: a peripheral device interface 803 and at least one peripheral device.
  • the processor 801, the memory 802 and the peripheral device interface 803 may be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 803 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 804 , a display screen 805 , a camera assembly 806 , an audio circuit 807 , a positioning assembly 808 and a power source 809 .
  • the peripheral device interface 803 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 801 and the memory 802 .
  • processor 801, memory 802, and peripherals interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 801, memory 802, and peripherals interface 803 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 804 communicates with the communication network and other communication devices via electromagnetic signals.
  • the radio frequency circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 804 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 804 may communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.
  • the radio frequency circuit 804 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.
  • the display screen 805 is used to display UI (User Interface, user interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the display screen 805 also has the ability to acquire touch signals on or above the surface of the display screen 805 .
  • the touch signal can be input to the processor 801 as a control signal for processing.
  • the display screen 805 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
  • the display screen 805 may be a flexible display screen disposed on a curved or folded surface of the electronic device 800 . Even, the display screen 805 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 805 can be prepared by using materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
  • the camera assembly 806 is used to capture images or video.
  • the camera assembly 806 includes a front camera and a rear camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • there are at least two rear cameras which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions.
  • camera assembly 806 may also include a flash.
  • the flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm flash and cool flash, which can be used for light compensation at different color temperatures.
  • Audio circuitry 807 may include a microphone and speakers.
  • the microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 801 for processing, or to the radio frequency circuit 804 to realize voice communication.
  • the microphone may also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 801 or the radio frequency circuit 804 into sound waves.
  • the loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker.
  • audio circuitry 807 may also include a headphone jack.
  • the positioning component 808 is used to locate the current geographic location of the electronic device 800 to implement navigation or LBS (Location Based Service).
  • the positioning component 808 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, or the Galileo system of Russia.
  • Power supply 809 is used to power various components in electronic device 800 .
  • the power source 809 may be alternating current, direct current, disposable batteries or rechargeable batteries.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. Wired rechargeable batteries are batteries that are charged through wired lines, and wireless rechargeable batteries are batteries that are charged through wireless coils.
  • the rechargeable battery can also be used to support fast charging technology.
  • electronic device 800 also includes one or more sensors 810 .
  • the one or more sensors 810 include, but are not limited to, an acceleration sensor 811 , a gyro sensor 812 , a pressure sensor 813 , a fingerprint sensor 814 , an optical sensor 815 , and a proximity sensor 816 .
  • the acceleration sensor 811 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the electronic device 800 .
  • the acceleration sensor 811 can be used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 801 can control the display screen 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811 .
  • the acceleration sensor 811 can also be used for game or user movement data collection.
  • the gyroscope sensor 812 can detect the body direction and rotation angle of the electronic device 800 , and the gyroscope sensor 812 can cooperate with the acceleration sensor 811 to collect 3D actions of the user on the electronic device 800 .
  • the processor 801 can implement the following functions according to the data collected by the gyroscope sensor 812 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 813 may be disposed on the side frame of the electronic device 800 and/or the lower layer of the display screen 805 .
  • the processor 801 can perform left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 813 .
  • the processor 801 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 805 .
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 814 is used to collect the user's fingerprint, and the processor 801 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 814 , or the fingerprint sensor 814 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 801 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings.
  • the fingerprint sensor 814 may be disposed on the front, back, or side of the electronic device 800 . When the electronic device 800 is provided with physical buttons or a manufacturer's logo, the fingerprint sensor 814 may be integrated with the physical buttons or the manufacturer's logo.
  • Optical sensor 815 is used to collect ambient light intensity.
  • the processor 801 may control the display brightness of the display screen 805 according to the ambient light intensity collected by the optical sensor 815 . Specifically, when the ambient light intensity is high, the display brightness of the display screen 805 is increased; when the ambient light intensity is low, the display brightness of the display screen 805 is decreased.
  • the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 according to the ambient light intensity collected by the optical sensor 815 .
  • Proximity sensor 816 also referred to as a distance sensor, is typically provided on the front panel of electronic device 800 .
  • Proximity sensor 816 is used to collect the distance between the user and the front of electronic device 800 .
  • the processor 801 controls the display screen 805 to switch from the bright screen state to the off screen state; when the proximity sensor 816 detects When the distance between the user and the front of the electronic device 800 gradually increases, the processor 801 controls the display screen 805 to switch from the off-screen state to the bright-screen state.
  • FIG. 13 does not constitute a limitation on the electronic device 800, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
  • Fig. 14 is a block diagram of an apparatus 900 for playing a video according to an exemplary embodiment.
  • the apparatus 900 may be provided as a server, and the server may be the server provided by any of the above embodiments.
  • apparatus 900 includes a processing component 922, which further includes one or more processors, and a memory resource, represented by memory 932, for storing instructions executable by processing component 922, such as application programs.
  • An application program stored in memory 932 may include one or more modules, each corresponding to a set of instructions.
  • the processing component 922 is configured to execute instructions to perform the above-described method of playing a video.
  • Device 900 may also include a power supply assembly 926 configured to perform power management of device 900 , a wired or wireless network interface 950 configured to connect device 900 to a network, and an input output (I/O) interface 958 .
  • Device 900 may operate based on an operating system stored in memory 932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • an embodiment of the present application provides a system 1000 for playing video, the system 1000 includes: a first monitoring client 1001, a server 1002, and a second monitoring client 1003;
  • the first monitoring client 1001 is used to obtain the first playback information, the first playback information includes the client information of the second monitoring client and the device identification of the video monitoring device, and the first monitoring client 1001 is used for playing The client of the video shot by the video surveillance device sends the first playback information to the server 1002;
  • Server 1002 configured to generate an address of a video to be played according to the device identifier, where the video to be played is a video shot by the video monitoring device; and send the second monitoring client to the second monitoring client according to the client information of the second monitoring client
  • the terminal sends second play information, and the second play information includes the address
  • the second monitoring client 1003 is configured to acquire the to-be-played video from the video monitoring device according to the second play information; and play the to-be-played video.
  • the first monitoring client obtains the first playback information
  • the first playback information includes client information of the second monitoring client and the device identification of the video monitoring device, and sends the first playback information to the server.
  • the server After receiving the first playback information, the server generates the address of the video to be played based on the device identification of the video monitoring device, and sends the address to the second monitoring client.
  • the second monitoring client plays the to-be-played video based on the address, and the to-be-played video is a video shot by the video monitoring device.
  • the second monitoring client is a monitoring client designated on the first monitoring client by a user corresponding to the first monitoring client, and the video monitoring device is also designated by the user on the first monitoring client.
  • the monitoring clients of other users are designated on the first monitoring client to also monitor and watch the video shot by the video monitoring device, so as to meet the needs of the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请是关于一种播放视频的方法、装置、电子设备及系统,属于监控领域。所述方法包括:第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,第一监控客户端用于播放视频监控设备拍摄的视频;第一监控客户端向服务器发送第一播放信息,第一播放信息用于使服务器根据设备标识生成待播放视频的地址,根据第二监控客户端的客户端信息将地址发送给第二监控客户端,以控制第二监控客户端基于地址播放待播放视频,待播放视频是所述视频监控设备拍摄的视频。本申请能够实现用户在第一监控客户端指定其他用户的监控客户端播放视频监控设备的视频。

Description

播放视频的方法、装置、电子设备及系统
本申请要求于2020年12月30日提交的申请号为202011605394.5、发明名称为“播放视频的方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
视频监控是安全防范系统的重要组成部分,主要由视频监控设备和监控客户端组成。视频监控设备部署在需要被监控的场所。该监控客户端建立与视频监控设备之间的网络连接。该监控客户端可以通过该网络连接从视频监控设备获取该视频监控设备拍摄得到的视频,并播放该视频。这样,用户可以观看在该监控客户端播放的视频,以监控该场所。
目前只能实现一个监控客户端本地访问视频监控设备,当需要在一个监控客户端上控制其他用户的监控客户端播放指定视频监控设备拍摄的视频,使其他用户也可以对指定视频监控设备拍摄的视频进行监控观看。由于现有各监控客户端只能独立地操作,独立访问视频监控设备,现有技术无法实现该需求。
发明内容
为了解决相关技术中的问题,本申请实施例提供了一种播放视频的方法、装置、电子设备及系统。所述技术方案如下:
第一方面,本申请实施例提供一种播放视频的方法,所述方法包括:
第一监控客户端获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
所述第一监控客户端向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
可选的,所述第一监控客户端获取第一播放信息,包括:
所述第一监控客户端显示至少一个视频监控设备的设备描述信息和/或在线的至少一个监控客户端的客户端描述信息,其中,对于任一视频监控设备,该视频监控设备的设备描述信息与设备标识相对应,对于任一监控客户端,该监控客户端的客户端描述信息与客户端信息相对应;
所述第一监控客户端在检测到针对视频监控设备的设备描述信息的选定操作的情况下,获取所选定的视频监控设备的设备标识,在检测到针对监控客户端的客户端描述信息的选定操作的情况下,获取所选定的监控客户端的客户端信息作为所述第二监控客户端的客户端信息。
可选的,所述第二监控客户端的客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个。
可选的,所述第一播放信息还包括:目标窗口的窗口信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述窗口信息至少包括窗口标识,所述目标窗口的窗口信息为:在检测到针对所述第二监控客户端中的窗口的选定操作的情况下,所述选定操作所选定窗口的窗口信息;或者,
所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息。
可选的,所述服务器中保存有在线的至少一个监控客户端的客户端信息;所述第一监控 客户端显示在线的至少一个监控客户端的客户端描述信息之前,还包括:
所述第一监控客户端从所述服务器中获取在线的所述至少一个监控客户端的客户端信息。
可选的,所述服务器中还保存有在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息,所述第一监控客户端还从所述服务器中获取在线的所述至少一个监控客户端的窗口信息集合,所述方法还包括:
所述第一监控客户端显示至少一个监控客户端的窗口信息集合。
可选的,所述方法还包括:
在第三监控客户端窗口变化的情况下,所述第一监控客户端获取服务器发送的第三监控客户端的变化的窗口的窗口信息,基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合,其中,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括在线的所述至少一个监控客户端。
可选的,所述方法还包括:
所述第一监控客户端在与所述服务器建立连接成功后向所述服务器发送所述第一监控客户端的客户端信息和窗口信息集合,所述第一监控客户端的窗口信息集合包括所述第一监控客户端的一个或多个窗口的窗口信息;
在所述第一监控客户端的窗口变化后,所述第一监控客户端向所述服务器发送变化的窗口的窗口信息,使所述服务器基于所述变化的窗口的窗口信息更新所述第一监控客户端的窗口信息集合。
第二方面,本申请实施例提供一种播放视频的方法,所述方法包括:
服务器接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
所述服务器根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;
所述服务器根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
可选的,所述第一播放信息还包括目标窗口的窗口信息,所述第二播放信息还包括目标窗口的窗口信息;或者,
所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息,所述第二播放信息还包括目标窗口的窗口信息或表征目标窗口为任一空闲窗口的指示信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述第二播放信息用于使所述第二监控客户端基于所述地址在所述第二播放信息指示的目标窗口播放所述待播放视频;
其中,所述客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个,所述窗口信息至少包括窗口标识。
可选的,所述服务器中存储有所述第二监控客户端的窗口信息集合,所述窗口信息集合包括所述第二监控客户端的一个或多个窗口的窗口信息,在所述第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,所述方法还包括:
所述服务器基于所述第二监控客户端的一个或多个窗口的窗口信息判断所述第二监控客户端是否有空闲窗口;
在有空闲窗口的情况下,所述服务器选择一个空闲窗口作为所述目标窗口,向所述第二监控客户端发送所述目标窗口的窗口信息;或者,所述服务器向所述第二监控客户端发送所述指示信息;
在没有空闲窗口的情况下,所述服务器通知所述第一监控客户端。
可选的,所述向所述第二监控客户端发送第二播放信息,包括:
所述服务器基于所述第二监控客户端的客户端信息判断所述第二监控客户端是否有播放所述待播放视频的权限;
在有所述权限时,所述服务器向所述第二监控客户端发送第二播放信息;
在没有所述权限时,所述服务器通知所述第一监控客户端。
可选的,所述服务器中保存有在线的至少一个监控客户端的客户端信息,所述方法还包括:
所述服务器在与所述第一监控客户端建立连接后,向所述第一监控客户端发送所述在线状态的至少一个监控客户端的客户端信息,所述在线的至少一个监控客户端的客户端信息包括第二监控客户端的客户端信息。
可选的,所述服务器还保存有所述在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息;所述方法还包括:
所述服务器向所述第一监控客户端发送所述在线的至少一个客户端的窗口信息集合。
可选的,所述服务器接收第三监控客户端在其窗口变化后发送的所述变化的窗口的窗口信息,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括所述在线的至少一个监控客户端,向第一监控客户端发送所述变化的窗口的窗口信息,使第一监控客户端基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合。
第三方面,本申请实施例提供一种播放视频的装置,所述装置包括:
获取模块,用于获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
发送模块,用于向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
第四方面,本申请实施例提供一种播放视频的装置,所述装置包括:
接收模块,用于接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
处理模块,用于根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;
发送模块,用于根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
第五方面,本申请实施例提供一种电子设备,包括:处理器和存储器。其中,所述处理器以及所述存储器之间可以通过总线系统相连。所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中的计算机程序,完成上述方法。
第六方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括计算机程序指令,并且所述计算程序指令通过处理器加载时实现上述方法。
第七方面,本申请实施例提供一种非易失性计算机可读存储介质,用于存储计算机程序,所述计算机程序通过处理器加载时实现上述方法。
第八方面,本申请实施例一种播放视频的系统,所述系统包括终端设备和服务器,所述终端设备用于实现上述第一方面或第一方面任意可选方式的方法,所述服务器用于实现上述第二方面或第二方面任意可选方式的方法。
本申请实施例提供的技术方案可以包括以下有益效果:
在本申请实施例中,第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,向服务器发送第一播放信息。这样服务器接 收第一播放信息后,基于该视频监控设备的设备标识生成待播放视频的地址,向第二监控客户端发送该地址。第二监控客户端基于该地址播放待播放视频,待播放视频是该视频监控设备拍摄的视频。其中,第二监控客户端是第一监控客户端对应的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端指定其他用户的监控客户端也来播放该视频监控设备拍摄的视频,使得其他用户可以监控或观看该视频监控设备拍摄的视频,满足用户需求。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
图1是本申请实施例提供的一种网络架构示意图;
图2是本申请实施例提供的一种获取客户端信息的方法流程图;
图3是本申请实施例提供的另一种网络架构示意图;
图4是本申请实施例提供的一种播放视频的信息交互图;
图5是本申请实施例提供的一种播放视频的流程框图;
图6是本申请实施例提供的一种播放视频的方法流程图;
图7是本申请实施例提供的另一种播放视频的流程框图;
图8是本申请实施例提供的另一种播放视频的流程框图;
图9是本申请实施例提供的另一种播放视频的方法流程图;
图10是本申请实施例提供的另一种播放视频的方法流程图;
图11是本申请实施例提供的一种播放视频的装置结构示意图;
图12是本申请实施例提供的另一种播放视频的装置结构示意图;
图13是本申请实施例提供的电子设备结构示意图;
图14是本申请实施例提供的另一种播放视频的装置结构示意图;
图15是本申请实施例提供的一种播放视频的系统结构示意图。
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
参见图1,本申请实施例提供的一种网络架构,该网络架构包括:
服务器、多个监控客户端和至少一个视频监控设备。
该多个监控客户端中的每个监控客户端与服务器之间建立有网络连接,该多个监控客户端中存在至少一个监控客户端,该至少一个监控客户端中的各监控客户端对应至少一个视频监控设备。
对于该至少一个监控客户端中的每个监控客户端,该监控客户端与该监控客户端对应的一个或多个视频监控设备之间建立有网络连接。对于与该监控客户端建立有网络连接的视频监控设备,该监控客户端用于从该视频监控设备中获取该视频监控设备拍摄的视频,播放该 视频监控设备拍摄的视频。
该监控客户端包括至少一个窗口,该监控客户端可以在不同的窗口中播放不同视频监控设备拍摄的视频。
可选的,该监控客户端可以安装在终端设备,例如为手机或电脑等。
该网络架构可以供一个组织机构使用,也可以供多个组织机构使用。
在该网络架构供一个组织机构使用时,该服务器、该至少一个视频监控设备属于该组织机构。
在该网络架构供多个组织机构使用时,该至少一个视频监控设备属于不同的组织机构,在服务器中还保存每个组织机构对应的账号群组和设备群组。对于每个组织机构,该组织机构的账号群组包括属于该组织机构的各用户的用户账号,该组织机构的设备群组包括属于该组织机构的各视频监控设备的设备标识。
可选的,服务器中保存该组织机构的机构标识、该组织机构的账号群组和设备群组之间的对应关系。
该组织机构可以为企业、居住小区或商场等。
对于任意一个组织机构,该组织机构对应一个区域,属于该组织机构的至少一个视频监控设备可以部署在该区域中。该组织机构的工作人员对应的终端设备中可以安装监控客户端,这样该组织机构的工作人员可以使用该监控客户端播放属于该组织机构中的视频监控设备拍摄的视频,以实现对该组织机构对应的区域进行监控。
接下来列举一种具体的组织机构,该组织机构可以为居住小区。在居住小区内的不同地点部署视频监控设备,不同的工作人员可以负责居住小区中的不同区域。例如,工作人员包括第一工作人员和第二工作人员,第一工作人员负责的居住小区的第一区域,第二工作人员负责居住小区的第二区域。
第一工作人员可以在其自身的终端设备上安装第一监控客户端,第一监控客户端与第一区域内部署的视频监控设备之间建立网络连接,第一监控客户端包括第一区域内的视频监控设备对应的窗口。第一监控客户端通过建立的网络连接从第一区域内的视频监控设备中获取第一区域内的视频监控设备拍摄的视频,在该视频监控设备对应的窗口上播放该视频监控设备拍摄的视频。如此第一工作人员可以在第一监控客户端上观看对第一区域拍摄的视频,以监控第一区域。
第二工作人员可以在其自身的终端设备上安装第二监控客户端,第二监控客户端与第二区域内部署的视频监控设备之间建立网络连接,第二监控客户端包括第二区域内的视频监控设备对应的窗口。第二监控客户端通过建立的网络连接从第二区域内的视频监控设备中获取第二区域内的视频监控设备拍摄的视频,在该视频监控设备对应的窗口上播放该视频监控设备拍摄的视频。如此第二工作人员可以在第二监控客户端上观看对第二区域拍摄的视频,以监控第二区域。
其中,第一工作人员可能需要在第一监控客户端上指定其他工作人员对应的监控客户端也来播放第一区域内的视频监控设备拍摄的视频。也就是说,第一工作人员需要其他工作人员也来监控第一工作人员负责的第一区域。例如,假设第一工作人员需要第二工作人员也来监控第一区域,此时第一工作人员可以在第一监控客户端上指定第二监控客户端,以让第二监控客户端也播放第一区域内的视频监控设备拍摄的视频,这样第二工作人员也可以同时监控第一区域。
可选的,上述第一监控客户端不是用于监控第一区域的客户端,也就是说,第一监控客户端可以不播放第一区域内的视频监控设备拍摄的视频。但是第一工作人员需要第二工作人员来监控第一区域,此时第一工作人员可以在第一监控客户端上指定第二监控客户端,以让第二监控客户端也播放第一区域内的视频监控设备拍摄的视频,使第二工作人员监控第一区域。
参见图2、图3、图4,本申请实施例提供了一种获取客户端信息的方法,该方法应用于图1所示的网络架构,对于属于一个组织机构中的任一个监控客户端,该监控客户端使用该方法获取属于该组织机构的其他在线监控客户端的客户端信息。该方法包括:
步骤201:第一监控客户端向服务器发送第一报告信息,第一报告信息包括第一监控客户端的客户端信息。
可选的,参见图4,在第一监控客户端(为用户A的监控客户端A)登录服务器时,第一监控客户端在建立与服务器之间的连接后,向服务器发送第一报告信息(为本地播放窗口信息)。
第一报告信息还可以包括第一监控客户端的窗口信息集合。
第一监控客户端包括至少一个窗口,该窗口信息集合包括第一监控客户端的该至少一个窗口中的每个窗口的窗口信息。
可选的,该窗口信息集合中还包括第一监控客户端中的空闲窗口数目等信息。
对于每个窗口,该窗口的窗口信息至少包括该窗口的窗口标识。
可选的,该窗口的窗口信息还包括该窗口的状态和名称等中的至少一个信息。该窗口的状态可以为使用状态或空闲状态。
可选的,该窗口的窗口标识可以为窗口序号和/或编号等。
第一监控客户端的客户端信息包括第一监控客户端的客户端标识、客户端类型和在第一监控客户端上登录的用户账号等中的至少一个。
可选的,第一监控客户端的客户端标识可以为第一监控客户端的地址或用于表征客户端的任意符号(例如设备序列号)等。
其中,在图1所示的网络架构供多个不同组织机构使用的情况下,第一监控客户端的客户端信息包括第一监控客户端的客户端标识和在第一监控客户端上登录的用户账号。
第一监控客户端运行在第一用户的终端设备上。第一用户在该终端设备上启动第一监控客户端,并在第一监控客户端上输入第一用户的用户账号。第一监控客户端获取该用户账号,并使用该用户账号登录服务器。第一监控客户端在登录服务器后,可以向服务器发送第一报告信息。
步骤202:服务器接收第一报告信息,保存第一报告信息包括的第一监控客户端的客户端信息。
服务器中包括在线列表,该在线列表中的每条记录包括在线的监控客户端的客户端信息和/或窗口信息集合。
在一个实施例中,服务器可以接收第一监控客户端的一个或多个窗口的窗口信息,该一个或多个窗口为第一监控客户端中允许被其他监控客户端控制的窗口。
在步骤202中,服务器接收第一报告信息,将第一报告信息包括的第一监控客户端的客户端信息保存在在线列表中。
在第一报告信息还包括第一监控客户端的窗口信息集合的情况下,服务器还在在线列表中保存第一监控客户端的窗口信息集合。其中,第一监控客户端的客户端信息和窗口信息集合可以位于在线列表的同一条记录中。
其中,该网络架构包括多个监控客户端,每个监控客户端同一第一监控客户端一样,在登录服务器时向服务器发送第一报告信息。所以服务器中在线列表中保存有在线的至少一个监控客户端的客户端信息和/或窗口信息集合。
例如,参见图4,用户B的监控客户端B也按上述步骤201-202向服务器发送客户端信息和/或窗口信息集合。
需要说明的是,在图1所示的网络架构供一个组织机构使用的情况下,在线列表中保存属于该组织机构的各在线监控客户端的客户端信息和/或窗口信息集合。在图1所示的网络架 构供多个组织机构使用的情况下,在线列表中保存属于不同组织机构的在线监控客户端的客户端信息和/或窗口信息集合,且在线监控客户端的客户端信息包括在该在线监控客户端上登录的用户账号。
其中,第一监控客户端在登录服务器后,还可以下载其属于的组织机构的其他客户端的客户端信息和/或窗口信息集合,详细实现过程如下。
步骤203:第一监控客户端从服务器中获取在线的至少一个监控客户端的客户端信息。
可选的,该至少一个监控客户端包括服务器中的在线列表中除第一监控客户端之外的其他监控客户端。
可选的,第一监控客户端从服务器中获取在线的至少一个监控客户端的窗口信息集合。
可选的,第一监控客户端将获取的窗口信息集合保存在第一监控客户端所在的终端设备。
可选的,服务器保存有的每个监控客户端的窗口信息集合包括该监控客户端的一个或多个窗口的窗口信息,该一个或多个窗口为该监控客户端中允许被其他监控客户端控制的窗口。
可选的,第一监控客户端可以通过如下两种方式获取该至少一个监控客户端的客户端信息。该两种方式分别为:
第一种方式,第一监控客户端主动从服务器请求在线的至少一个监控客户端的客户端信息。
例如,参见图4和图5,用户A的监控客户端A(或用户B的监控客户端B)在登录服务器进行播放功能初始化后,可以下载其他客户端播放窗口信息,该客户端播放窗口信息包括客户端信息和窗口信息,如包括用户名,客户端IP,播放窗口信息(ID,名称和状态),空闲窗口数量。如果下载成功,结束,如果未成功,还可以继续下载。
在第一种方式中,可以通过如下2031至2033的操作来实现。
2031:第一监控客户端向服务器发送下载请求。
在图1所示的网络架构供多个不同组织机构使用的情况下,第一监控客户端发送的下载请求可以包括第一用户在第一监控客户端上登录的用户账号。为了便于说明,将在第一监控客户端上登录的用户账号称为第一用户账号。
2032:服务器接收该下载请求,向第一监控客户端发送下载响应,该下载响应包括至少一个监控客户端的客户端信息。
可选的,该下载响应还包括该至少一个监控客户端的窗口信息集合。
可选的,该至少一个监控客户端和第一监控客户端属于同一个组织机构。
在图1所示的网络架构供一个组织机构使用的情况下,在线列表中的各监控客户端属于同一组织机构,服务器接收该下载请求后,从在线列表中获取除第一监控客户端之外的其他每个监控客户端的客户端信息,向第一监控客户端发送下载响应,该下载响应包括其他每个监控客户端的客户端信息。
可选的,在在线列表中还包括其他监控客户端的窗口信息集合的情况下,服务器还可以获取该其他监控客户端的窗口信息集合,该下载响应还包括该其他监控客户端的窗口信息集合。
在图1所示的网络架构供多个组织机构使用的情况下,在线列表中的各监控客户端属于不同组织机构,服务器接收该下载请求,该下载请求包括第一用户账号。服务器从本地保存的各账号群组中查询包括第一用户账号的账号群组,该账号群组包括属于同一组织机构的各用户账号。服务器基于该账号群组,以及在线列表,获取该组织机构中除第一监控客户端之外的其他每个监控客户端的客户端信息,该其他每个监控客户端的客户端信息包括的用户账号是该账号群组中的用户账号,向第一监控客户端发送下载响应,该下载响应包括该其他每个监控客户端的客户端信息。
可选的,服务器还可从在线列表中获取除第一监控客户端所在组织机构之外的其他组织机构的监控客户端的客户端信息,向第一监控客户端发送下载响应,该下载响应包括该其他 组织机构的监控客户端的客户端信息。
可选的,该其他组织机构与第一监控客户端所在的组织机构相对应。例如,该其他组织机构与第一监控客户端在某一段时间是合作关系,所以二者相对应。服务器可以记录该其他组织机构与第一监控客户端所在的组织机构之间的对应关系。这样服务器在得出第一监控客户端所在的组织机构时,确定与该组织机构的账号相对应的其他组织机构,获取该其他组织机构的客户端信息。
可选的,该其他组织机构是指定类型的组织机构。服务器可从在线列表中获取指定类型的组织机构包括的监控客户端的客户端信息。
可选的,服务器还获取该其他组织机构中的监控客户端的窗口信息集合,该下载响应还包括该其他组织机构中的监控客户端的窗口信息集合。
可选的,服务器获取监控客户端的客户端信息和窗口信息集合的操作可以为:
在线列表的每条记录中保存的在线监控客户端的客户端信息中包括在该在线监控客户端上登录的用户账号。对于该第一监控客户端所在组织机构的账号群组中的除第一用户账号之外的任意一个用户账号或其他组织机构的账号群组中的任意一个用户账号,服务器从在线列表中查询是否包括该用户账号的记录,如果查询出包括该用户账号的记录,获取该记录包括的监控客户端的客户端信息。
在该记录还包括监控客户端的窗口信息集合,还可以获取该记录中包括的该监控客户端的窗口信息集合。该下载响应也还可以包括该监控客户端的窗口信息集合。
步骤2033:第一监控客户端接收该下载响应,保存该下载响应包括的至少一个监控客户端的客户端信息。
在该下载响应还包括至少一个监控客户端的窗口信息集合的情况下,第一监控客户端还保存至少一个监控客户端的窗口信息集合。
可选的,在第一监控客户端关闭时,第一监控客户端可以向服务器发送删除请求,该删除请求包括第一监控客户端的客户端信息。服务器接收该删除请求,在在线列表中删除包括第一监控客户端的客户端信息的记录。
服务器还可以向第一监控客户端所在组织机构的其他在线监控客户端发送删除通知消息,该删除通知消息包括第一监控客户端的客户端信息。
其他在线监控客户端接收该删除通知消息,删除本地保存的第一监控客户端的客户端信息。在该其他在线监控客户端还保存第一监控客户端的窗口信息集合的情况下,还删除第一监控客户端的窗口信息集合。
可选的,对于除第一监控客户端所在组织机构之外的其他组织机构,该其他组织机构的监控客户端也可能保存有第一监控客户端的客户端信息。服务器还向在线列表中的除第一监控客户端所在组织机构之外的其他组织机构中的在线客户端发送该删除通知消息。该其他组织机构与第一监控客户端所在的组织机构相对应,或者,该其他组织机构为指定类型的组织机构。
该其他组织机构中的在线监控客户端接收该删除通知消息,删除本地保存的第一监控客户端的客户端信息。在该其他组织机构中的在线监控客户端还保存第一监控客户端的窗口信息集合的情况下,还删除第一监控客户端的窗口信息集合。
可选的,第一监控客户端中的窗口的状态可能发生变化,例如,第一监控客户端中处于使用状态的窗口可能变成空闲状态,或者,第一监控客户端中处于空闲状态的窗口可能变成使用状态。所以在第一监控客户端中的窗口的状态发生变化时,第一监控客户端向服务器发送窗口更新消息,该窗口更新消息包括第一监控客户端的客户端信息、目标窗口的窗口标识和变化后的状态。目标窗口是第一监控客户端中状态发生变化的窗口。该窗口更新消息还可以包括第一监控客户端中的空闲窗口数目。
服务器接收该窗口更新消息,从在线列表中获取包括第一监控客户端的客户端信息的记 录,该记录中还包括第一监控客户端的窗口信息集合,基于该窗口更新消息包括的目标窗口的窗口标识,将该窗口信息集合中的目标窗口的状态更新为目标窗口变化后的状态。服务器还可以将该窗口信息集合中的第一监控客户端的空闲窗口数目更新为该窗口更新消息中的空闲窗口数目。
服务器还可以向第一监控客户端所在组织机构中的其他在线客户端转发该窗口更新消息;或者,向在线列表中的除第一监控客户端所在组织机构之外的其他组织机构中的在线客户端转发该窗口更新消息。对于接收该窗口更新消息的在线客户端,该在线客户端接收该窗口更新消息后,基于该窗口更新消息中的第一监控客户端的客户端信息,获取本地保存的第一监控客户端的窗口信息集合;基于该窗口更新消息包括的目标窗口的窗口标识,将该窗口信息集合中的目标窗口的状态更新为目标窗口变化后的状态。还可以将该窗口信息集合中的第一监控客户端的空闲窗口数目更新为该窗口更新消息中的空闲窗口数目。
可选的,在线的监控客户端中,除第一监控客户端之外的其他监控客户端的窗口的状态可能发生变化,为了便于说明,将该其他监控客户端称为第三监控客户端。第三监控客户端在其窗口变化后,向服务器发送的变化的窗口的窗口信息。服务器接收第三监控客户端发送的该变化的窗口的窗口信息,向第一监控客户端发送该变化的窗口的窗口信息。
第一监控客户端接收服务器发送的第三监控客户端的变化的窗口的窗口信息,基于该变化的窗口的窗口信息更新第三监控客户端的窗口信息集合。
例如,参见图3,图4和图5,以用户A的监控客户端A为例,用户A的监控客户端A更新本地客户端播放信息,即更新播放窗口信息(<ID,名称,状态>,空闲窗口数量),向服务器(又可称为平台服务器)发送更新本地客户端播放信息,服务器再向其他用户的监控客户端(如用户B的监控客户端B)推送用户A的播放窗口变更信息。
第二种方式,第一监控客户端接收服务器发送在线的至少一个监控客户端的客户端信息。
服务器在与第一监控客户端建立连接后,向第一监控客户端发送在线状态的至少一个监控客户端的客户端信息。可选的,服务器还可以向第一监控客户端发送该至少一个监控客户端的窗口信息集合。
服务器可以向第一监控客户端发送第一监控客户端所在组织机构的在线状态的其他至少一个监控客户端的客户端信息,和/或,向第一监控客户端发送除第一监控客户端所在组织机构之外的其他组织机构的监控客户端的客户端信息。或者,服务器可以向第一监控客户端发送在线列表中的在线状态的其他至少一个监控客户端的客户端信息。
可选的,第一监控客户端不是用于监控区域的客户端,这样第一监控客户端可以不用向服务器发送第一上报信息,只需要从服务器获取在线的至少一个监控客户端的客户端信息。还可以获取该至少一个监控客户端的窗口信息。
在本申请实施例中,第一监控客户端在登录服务器后,可以向服务器发送其自身的客户端信息,服务器将第一监控客户端的客户端信息保存在在线列表中。对于第一监控客户端所在组织机构的其他各在线监控客户端,也同第一监控客户端一样,将自身的客户端信息保存在服务器的在线列表。这样第一监控客户端可以从服务器中获取属于该组织机构的其他在线监控客户端的客户端信息。可选的,第一监控客户端也可以从服务器中获取属于其他组织机构的在线监控客户端的客户端信息。当用户在第一监控客户端上指定其他客户端播放视频监控设备拍摄的视频时,第一监控客户端可以显示获取的在线监控客户端的客户端信息,以让用户选择。
参见图6,本申请实施例提供了一种播放视频的方法,该方法可以应用于图1所示的网络架构,包括:
步骤301:第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识。
可选的,第一监控客户端用于播放该视频监控设备拍摄的视频。
可选的,第二监控客户端的客户端信息包括第二监控客户端的客户端标识、客户端类型和在第二监控客户端上登录的用户账号中的至少一个。
第一监控客户端管理至少一个视频监控设备。
可选的,第一监控客户端所在的终端设备存储该至少一个视频监控设备中的每个视频监控设备的设备标识。
可选的,第一监控客户端与该至少一个视频监控设备中的部分或全部监控客户端之间可以建立网络连接。对于与第一监控客户端之间建立网络连接的视频监控设备,通过第一监控客户端与该视频监控设备之间的网络连接可以获取该视频监控设备拍摄的视频,并播放该视频监控设备拍摄的视频。
可选的,参见图4和图5,用户在第一监控客户端(如用户A的监控客户端A)上登录时,第一监控客户端可以获取用户的用户账号。服务器中包括用户账号与视频监控设备的设备标识的第一对应关系,第一对应关系中的每条记录包括一个用户的用户账号和该用户负责管理的至少一个视频监控设备的设备标识。所以第一监控客户端在获取到用户的用户账号后,可以基于该用户账号从服务器中获取该用户负责管理的至少一个视频监控设备的设备标识。
第一监控客户端对应的用户可能需要在其他监控客户端上播放第一监控客户端管理的视频监控设备拍摄的视频,以让其他监控客户端对应的用户可以观看该视频监控设备拍摄的视频。
参见图4或图5,在本步骤中,可以通过如下步骤3011至3012的操作来实现,该3011至3012的操作,分别为:
3011:第一监控客户端显示至少一个视频监控设备的设备描述信息和/或至少一个监控客户端的客户端描述信息。
可选的,对于每个视频监控设备,该视频监控设备的设备描述信息与该视频监控设备的设备标识相对应。可选的,该设备描述信息可以包括该设备标识本身和该视频监控设备的设备名称等中的至少一个,例如,该设备描述信息包括该视频监控设备的设备名称,该视频监控设备的设备标识与该设备名称相对应。
可选的,对于每个监控客户端,该监控客户端的客户端描述信息与该监控客户端的客户端信息相对应。可选的,该客户端描述信息可以包括该客户端信息本身。
该至少一个监控客户端和第一监控客户端可能位于同一组织机构或者可能位于不同组织机构。在第一监控客户端所在的终端设备存储该至少一个监控客户端中的监控客户端的窗口信息集合时,第一监控客户端还显示该监控客户端的窗口信息集合中的各窗口的窗口描述信息。
窗口的窗口描述信息可以包括窗口的窗口标识和名称等中的至少一个,还可以包括窗口的状态等。
在窗口信息集合中还包括该监控客户端的空闲窗口数目,还可以显示该空闲窗口数目。
第一监控客户端对应的用户可以在显示的监控客户端的客户端描述信息中选择某一个监控客户端的客户端描述信息,和/或在显示的视频监控设备的设备描述信息中选择一个视频监控设备的设备描述信息。
可选的,第一监控客户端对应的用户还可以根据选择的监控客户端对应的窗口的窗口描述信息,在选择的监控客户端中选择一个空闲状态的窗口。用户使用该选择的窗口来播放选择的视频监控设备拍摄的视频。或者,
可选的,第一监控客户端对应的用户可以直接选择某个监控客户端的窗口的窗口描述信息。
可选的,在步骤301中,用户也可以直接向第一监控客户端输入视频监控设备的设备标 识和/或监控客户端的客户端信息和/或目标窗口的窗口信息。
3012:第一监控客户端在检测到针对视频监控设备的设备描述信息的选定操作时,获取所选定的视频监控设备的设备标识,以及在检测到针对监控客户端的客户端描述信息的选定操作时,获取所选定的监控客户端的客户端信息作为第二监控客户端的客户端信息。
参见图5,指定用户为选定的监控客户端,即为第二监控客户端,指定监控点为该视频监控设备。如图5所示,用户可以指定用户播放指定监控画面,选择指定用户的监控客户端,以及选择预览的监控点(即选择视频监控设备)。第一监控客户端发到平台服务器。
可选的,这里的选定操作包括上述选择操作或输入操作。
可选的,在该视频监控设备的设备描述信息包括该视频监控设备的设备标识时,直接从该视频监控设备的设备描述信息中获取该视频监控设备的设备标识。在该视频监控设备的设备描述信息与该设备标识相对应,获取该视频监控设备的设备描述信息对应的该设备标识。
可选的,在该监控客户端的客户端描述信息包括该监控客户端的客户端信息时,直接从该监控客户端的客户端描述信息中获取该客户端的客户端信息作为第二监控客户端的客户端信息。在该监控客户端的客户端描述信息与该监控客户端的客户端信息相对应,获取该监控客户端的客户端描述信息对应的该客户端信息作为第二监控客户端的客户端信息。
可选的,第一播放信息还包括目标窗口的窗口信息,在检测到针对第二监控客户端中的窗口的选定操作的情况下,该选定操作所选定窗口的窗口信息作为目标窗口的窗口信息。
可选的,目标窗口的窗口信息是用户从第二监控客户端对应的窗口中选择的空闲状态的窗口的窗口信息或是输入的第二监控客户端中的空闲状态的窗口的窗口信息。
可选的,在用户直接选择窗口的情况下,获取该窗口的窗口信息作为目标窗口的窗口信息。以及,获取目标窗口所在的监控客户端的客户端信息作为第二监控客户端的客户端信息。
可选的,第一播放信息包括表征目标窗口为任一空闲窗口的指示信息,即第一播放信息包括第二监控客户端的客户端信息、视频监控设备的设备标识和该指示信息。
步骤302:第一监控客户端向服务器发送第一播放信息。
参见图5,该服务器为图5中的平台服务器,第一监控客户端向平台服务器发送指令,该指令包括第一播放信息。
步骤303:服务器接收第一监控客户端发送的第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,根据该设备标识生成待播放视频的地址,待播放视频是该视频监控设备拍摄的视频。
该地址可以为待播放视频的统一资源定位器(Uniform Resource Locator,URL)。
可选的,服务器中保存客户端信息与视频监控设备的设备标识的第二对应关系,第二对应关系中的每条记录包括至少一个视频监控设备的设备标识和对该至少一个视频监控设备有观看权限的客户端信息。
服务器在接收到第一播放信息后,判断第二监控客户端是否正在线,在线后,根据第二监控客户端的客户端信息,判断第二监控客户端是否有权限播放待播放视频的权限,如果有权限,则根据该设备标识生成待播放视频的地址,如果没在权限,通知第一监控客户端,结束操作。例如,如图7所示,服务器接收第一播放信息,得出指定用户播放指定监控点画面,判断指定用户是否在线,如果不在线,结束,如果在线判断指定用户是否具有监控点权限,如果没有权限,结束,如果有权限,则接下来判断播放窗口类型。
可选的,第二监控客户端的客户端信息包括用户账号,服务器在接收到第一播放信息后,判断该用户账号对应的用户是否有观看该设备标识对应的视频监控设备的权限,即判断第二监控客户端是否有权限播放待播放视频的权限,如果有权限,则根据该设备标识生成待播放视频的地址,如果没在权限,通知第一监控客户端,结束操作。
判断过程可以为:服务器判断第二对应关系中是否存在包括该用户账号和该视频监控设备的设备标识的记录,如果存在,则判断该用户账号对应的用户有该权限,如果不存在,则 判断出该用户账号对应的用户没有权限。
在第一播放信息不包括第二监控客户端的目标窗口的窗口信息的情况下,服务器本地保存有该第二监控客户端的窗口信息集合,该窗口信息集合包括该视频监控设备中的每个窗口的窗口标识和状态。
服务器判断第二监控客户端中是否存在空闲状态的窗口,如果存在,则根据该设备标识生成待播放视频的地址,如果不存在,则通知第一监控客户端,结束操作。
可选的,参见图7,在第一播放信息包括表征目标窗口为任一空闲窗口的指示信息,基于该指示信息判断目标窗口是任意窗口时,服务器在判断出第二监控客户端中存在空闲状态的窗口时,从空闲的窗口中选择一窗口作为目标窗口。
步骤304:服务器根据第二监控客户端的客户端信息向第二监控客户端发送第二播放信息,第二播放信息包括待播放视频的地址。
可选的,在第一播放信息还包括目标窗口的窗口信息时,第二播放信息还包括目标窗口的窗口信息。
可选的,在第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,即目标窗口是选定的第二监控客户端中的任一空闲状态的窗口,服务器判断出第二监控客户端中存在空闲状态的窗口时,向第二监控客户端发送的第二播放信息还包括表征目标窗口为任一空闲窗口的指示信息。或者,在第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,服务器判断出第二监控客户端中存在空闲状态的窗口时,从空闲的窗口中选择一窗口作为目标窗口,服务器向第二监控客户端发送的第二播放信息还包括该选择的目标窗口的窗口信息。
可选的,在第一播放信息还包括目标窗口的窗口信息时,服务器可以判断目标窗口是否空闲,在目标窗口空闲时,向第二监控客户端发送第二播放信息,第二播放信息包括目标窗口的窗口信息;在目标窗口不空闲时,向第二监控客户端发送第二播放信息表征目标窗口为任一空闲窗口的指示信息,和/或,通知第一监控客户端。
可选的,在第一播放信息不包括目标窗口的窗口信息的情况下,服务器也可以不判断第二监控客户端中是否有空闲窗口,而是发送的第二播放信息中包括上述指示信息。
可选的,第二播放信息还包括该视频拍摄设备的设备标识。
可选的,在第二监控客户端的客户端信息包括客户端类型的情况下,服务器可以确定属于该客户端类型的监控客户端为第二监控客户端,向确定的第二监控客户端发送第二播放信息。
步骤305:第二监控客户端接收服务器发送的第二播放信息,基于第二播放信息从该视频监控设备获取待播放视频;播放待播放视频。
可选的,第二播放信息还包括目标窗口的窗口信息,第二监控客户端基于目标窗口的窗口信息,在目标窗口中播放待播放视频。
在步骤305中,第二监控客户端根据第二播放信息中的待播放视频的地址,建立与该视频监控设备之间的网络连接,通过该网络连接从该视频监控设备中获取待播放视频。
第二监控客户端还可以判断目标窗口的状态,如果目标窗口的状态为使用状态,即目标窗口在播放其他视频监控设备的视频,结束目标窗口播放其他视频监控设备的视频。第二监控客户端再在目标窗口中播放待播放视频。或者,选择其他空闲状态的窗口,在选择的窗口中播放待播放视频。例如,参见图8,第二监控客户端接收第二播放信息,确定执行指定窗口播放,判断播放窗口类型。如果播放窗口是指定窗口(为目标窗口),判断目标窗口是否正在播放视频,如果正在播放视频,关闭正在播放的视频,向指定监控点取流并在目标窗口播放;如果没有播放视频,向指定监控点取流并在目标窗口播放。如果播放窗口是任意空闲窗口,选择一个空闲窗口,向指定监控点取流并在选择的窗口播放。
可选的,在第二播放信息包括上述指示信息的情况下,第二监控客户端在该指示信息的 触发下,确定第二监控客户端中空闲的窗口,从空闲的窗口中选择一窗口,在选择的窗口中播放待播放视频。
可选的,在第二播放信息不包括目标窗口的窗口信息的情况下,第二监控客户端选择一个空闲状态的窗口,使用该空闲状态的窗口播放待播放视频。
在本申请实施例中,第一监控客户端获取第一播放信息,由于第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,这样服务器接收第一播放信息后,基于该视频监控设备的设备标识生成待播放视频的地址,向第二监控客户端发送第二播放信息,第二播放信息包括该地址。第二监控客户端基于该地址播放待播放视频,待播放视频是该视频监控设备拍摄的视频。其中,第二监控客户端是第一监控客户端对应的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端指定其他用户的监控客户端也来播放该视频监控设备拍摄的视频,使其他用户监控观看该视频监控设备拍摄的视频,满足用户需求。
参见图9,本申请提供了一种播放视频的方法,所述方法包括:
步骤401:第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识。
可选的,第二监控客户端的客户端信息包括第二监控客户端的客户端标识、客户端类型和在第二监控客户端上登录的用户账号中的至少一个。
步骤402:第一监控客户端向服务器发送第一播放信息,第一播放信息用于使服务器根据该设备标识生成待播放视频的地址,根据第二监控客户端的客户端信息将该地址发送给第二监控客户端,以控制第二监控客户端基于该地址播放待播放视频,待播放视频是视频监控设备拍摄的视频。
在本申请实施例中,第一监控客户端获取第一播放信息,由于第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,这样使得服务器接收第一播放信息后,基于该视频监控设备的设备标识生成待播放视频的地址,向第二监控客户端发送第二播放信息,第二播放信息包括该地址。从而使得第二监控客户端基于该地址播放待播放视频,待播放视频是该视频监控设备拍摄的视频。其中,第二监控客户端是第一监控客户端对应的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端指定其他用户的监控客户端也来播放该视频监控设备拍摄的视频,使其他用户监控观看该视频监控设备拍摄的视频,满足用户需求。
参见图10,本申请实施例提供一种播放视频的方法,所述方法包括:
步骤501:服务器接收第一监控客户端发送的第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识。
可选的,第二监控客户端的客户端信息包括第二监控客户端的客户端标识、客户端类型和在第二监控客户端上登录的用户账号中的至少一个。
步骤502:服务器根据该设备标识生成待播放视频的地址,待播放视频是视频监控设备拍摄的视频。
步骤503:服务器根据第二监控客户端的客户端信息向第二监控客户端发送第二播放信息,第二播放信息包括所述地址,第二播放信息用于使第二监控客户端基于所述地址播放待播放视频。
在本申请实施例中,服务器接收第一播放信息,由于第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,这样在接收第一播放信息后,基于该视频监控设备的设备标识生成待播放视频的地址,向第二监控客户端发送第二播放信息,第二播放信息包括该地址。使得第二监控客户端基于该地址播放待播放视频,待播放视频是该视频监控设 备拍摄的视频。其中,第二监控客户端是第一监控客户端对应的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端指定其他用户的监控客户端也来播放该视频监控设备拍摄的视频,使其他用户监控观看该视频监控设备拍摄的视频,满足用户需求。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
参见图11,本申请实施例提供了一种播放视频的装置600,所述装置600包括:
获取模块601,用于获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
发送模块602,用于向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
可选的,所述装置600还包括显示模块;
所述显示模块,用于显示至少一个视频监控设备的设备描述信息和/或在线的至少一个监控客户端的客户端描述信息,其中,对于任一视频监控设备,该视频监控设备的设备描述信息与设备标识相对应,对于任一监控客户端,该监控客户端的客户端描述信息与客户端信息相对应;
所述获取模块601,用于在检测到针对视频监控设备的设备描述信息的选定操作的情况下,获取所选定的视频监控设备的设备标识,在检测到针对监控客户端的客户端描述信息的选定操作的情况下,获取所选定的监控客户端的客户端信息作为所述第二监控客户端的客户端信息。
可选的,所述第二监控客户端的客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个。
可选的,所述第一播放信息还包括:目标窗口的窗口信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述窗口信息至少包括窗口标识,所述目标窗口的窗口信息为:在检测到针对所述第二监控客户端中的窗口的选定操作的情况下,所述选定操作所选定窗口的窗口信息;或者,
所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息。
可选的,所述服务器中保存有在线的至少一个监控客户端的客户端信息;所述获取模块601,还用于从所述服务器中获取在线的所述至少一个监控客户端的客户端信息。
可选的,所述服务器中还保存有在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息,所述获取模块601,还用于从所述服务器中获取在线的所述至少一个监控客户端的窗口信息集合;
所述显示模块602,还用于显示至少一个监控客户端的窗口信息集合。
可选的,所述获取模块601,还用于在第三监控客户端窗口变化的情况下,获取服务器发送的第三监控客户端的变化的窗口的窗口信息,基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合,其中,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括在线的所述至少一个监控客户端。
可选的,所述发送模块602,还用于在与所述服务器建立连接成功后向所述服务器发送所述装置的客户端信息和窗口信息集合,所述装置的窗口信息集合包括所述装置的一个或多个窗口的窗口信息;在所述装置的窗口变化后,向所述服务器发送变化的窗口的窗口信息,使所述服务器基于所述变化的窗口的窗口信息更新所述装置的窗口信息集合。
在本申请实施例中,获取模块获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识。这样发送模块向服务器发送第一播放信息,第一播放信息用于触发服务器生成待播放视频的地址,向第二监控客户端发送第二播放信息,第二播放信息包括该地址,第二监控客户端基于该地址播放所述待播放视频,待播放视频是视频监控设备拍摄的视频。其中,第二监控客户端是获取模块获取的用户在该装置中指定的监控客户端,该视频监控设备也是该用户在该装置上指定的,这样可以实现用户在该装置上指定其他用户的监控客户端也来监控观看该视频监控设备拍摄的视频,满足用户需求。
参见图12,本申请实施例提供了一种播放视频的装置700,所述装置700包括:
接收模块701,用于接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
处理模块702,用于根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;
发送模块703,用于根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
可选的,所述第一播放信息还包括目标窗口的窗口信息,所述第二播放信息还包括目标窗口的窗口信息;或者,
所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息,所述第二播放信息还包括目标窗口的窗口信息或表征目标窗口为任一空闲窗口的指示信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述第二播放信息用于使所述第二监控客户端基于所述地址在所述第二播放信息指示的目标窗口播放所述待播放视频;
其中,所述客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个,所述窗口信息至少包括窗口标识。
可选的,所述装置700中存储有所述第二监控客户端的窗口信息集合,所述窗口信息集合包括所述第二监控客户端的一个或多个窗口的窗口信息,在所述第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,所述处理模块702,还用于基于所述第二监控客户端的一个或多个窗口的窗口信息判断所述第二监控客户端是否有空闲窗口;在有空闲窗口的情况下,选择一个空闲窗口作为所述目标窗口;
所述发送模块703,还用于在有空闲窗口的情况下,向所述第二监控客户端发送所述目标窗口的窗口信息;或者,向所述第二监控客户端发送所述指示信息;在没有空闲窗口的情况下,通知所述第一监控客户端。
可选的,所述处理模块702,用于基于所述第二监控客户端的客户端信息判断所述第二监控客户端是否有播放所述待播放视频的权限;
所述发送模块703,还用于在有所述权限时,向所述第二监控客户端发送第二播放信息;在没有所述权限时,通知所述第一监控客户端。
可选的,所述装置700中保存有在线的至少一个监控客户端的客户端信息,所述发送模块703,还用于在与所述第一监控客户端建立连接后,向所述第一监控客户端发送所述在线状态的至少一个监控客户端的客户端信息,所述在线的至少一个监控客户端的客户端信息包括第二监控客户端的客户端信息。
可选的,所述装置700还保存有所述在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息;所述发送模块703,用于向所述第一监控客户端发送所述在线的至少一个客户端的窗口信息集合。
可选的,所述接收模块701,还用于接收第三监控客户端在其窗口变化后发送的所述变化的窗口的窗口信息,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合 包括所述在线的至少一个监控客户端;
所述发送模块703,还用于向第一监控客户端发送所述变化的窗口的窗口信息,使第一监控客户端基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合。
在本申请实施例中,由于接收模块接收第一监控客户端发送的第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识。生成模块根据该设备标识生成待播放视频的地址,待播放视频是视频监控设备拍摄的视频。这样发送模块向第二监控客户端发送第二播放信息后,第二监控客户端根据该地址可以从该视频监控设备获取并播放待播放视频。其中,第二监控客户端是用户在第一监控客户端中指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端上指定其他用户的监控客户端也来监控观看该视频监控设备拍摄的视频,满足用户需求。
本申请实施例提供一种计算机程序产品,所述计算机程序产品包括计算机程序指令,并且所述计算程序指令通过处理器加载时实现上述图2或图6所示实施例提供的方法中的第一监控客户端、服务器或第二监控客户端执行的操作。
在本申请实施例中,上述第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,向服务器发送第一播放信息。服务器生成待播放视频的地址,向第二监控客户端发送第二播放信息,第二播放信息包括该地址。第二监控客户端基于该地址播放所述待播放视频,待播放视频是视频监控设备拍摄的视频。其中,第二监控客户端是第一监控客户端获取的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端上指定其他用户的监控客户端也来监控观看该视频监控设备拍摄的视频,满足用户需求。
本申请实施例提供一种非易失性计算机可读存储介质,用于存储计算机程序,所述计算机程序通过处理器加载时执行上述图2或图6所示实施例提供的方法中的第一监控客户端、服务器或第二监控客户端执行的操作。
在本申请实施例中,上述第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,向服务器发送第一播放信息。服务器生成待播放视频的地址,向第二监控客户端发送第二播放信息,第二播放信息包括该地址。第二监控客户端基于该地址播放所述待播放视频,待播放视频是视频监控设备拍摄的视频。其中,第二监控客户端是第一监控客户端获取的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端上指定其他用户的监控客户端也来监控观看该视频监控设备拍摄的视频,满足用户需求。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图13示出了本申请一个示例性实施例提供的电子设备800的结构框图。该电子设备800可以是便携式移动终端,比如:智能手机、平板电脑、笔记本电脑或台式电脑。电子设备800还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,电子设备800包括有:处理器801和存储器802,存储器802中可以保存上述任意实施例提供的监控客户端,处理器801用于运行该监控客户端。
处理器801可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器801可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器801也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器); 协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器801可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器801还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器802可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器802还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器802中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器801所执行以实现本申请中方法实施例提供的播放视频的方法。
在一些实施例中,电子设备800还可选包括有:外围设备接口803和至少一个外围设备。处理器801、存储器802和外围设备接口803之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口803相连。具体地,外围设备包括:射频电路804、显示屏805、摄像头组件806、音频电路807、定位组件808和电源809中的至少一种。
外围设备接口803可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器801和存储器802。在一些实施例中,处理器801、存储器802和外围设备接口803被集成在同一芯片或电路板上;在一些其他实施例中,处理器801、存储器802和外围设备接口803中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路804用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路804通过电磁信号与通信网络以及其他通信设备进行通信。射频电路804将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路804包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路804可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路804还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
显示屏805用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏805是触摸显示屏时,显示屏805还具有采集在显示屏805的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器801进行处理。此时,显示屏805还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏805可以为一个,设置在电子设备800的前面板;在另一些实施例中,显示屏805可以为至少两个,分别设置在电子设备800的不同表面或呈折叠设计;在另一些实施例中,显示屏805可以是柔性显示屏,设置在电子设备800的弯曲表面上或折叠面上。甚至,显示屏805还可以设置成非矩形的不规则图形,也即异形屏。显示屏805可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件806用于采集图像或视频。可选地,摄像头组件806包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件806还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下 的光线补偿。
音频电路807可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器801进行处理,或者输入至射频电路804以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在电子设备800的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器801或射频电路804的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路807还可以包括耳机插孔。
定位组件808用于定位电子设备800的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件808可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。
电源809用于为电子设备800中的各个组件进行供电。电源809可以是交流电、直流电、一次性电池或可充电电池。当电源809包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,电子设备800还包括有一个或多个传感器810。该一个或多个传感器810包括但不限于:加速度传感器811、陀螺仪传感器812、压力传感器813、指纹传感器814、光学传感器815以及接近传感器816。
加速度传感器811可以检测以电子设备800建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器811可以用于检测重力加速度在三个坐标轴上的分量。处理器801可以根据加速度传感器811采集的重力加速度信号,控制显示屏805以横向视图或纵向视图进行用户界面的显示。加速度传感器811还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器812可以检测电子设备800的机体方向及转动角度,陀螺仪传感器812可以与加速度传感器811协同采集用户对电子设备800的3D动作。处理器801根据陀螺仪传感器812采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器813可以设置在电子设备800的侧边框和/或显示屏805的下层。当压力传感器813设置在电子设备800的侧边框时,可以检测用户对电子设备800的握持信号,由处理器801根据压力传感器813采集的握持信号进行左右手识别或快捷操作。当压力传感器813设置在显示屏805的下层时,由处理器801根据用户对显示屏805的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器814用于采集用户的指纹,由处理器801根据指纹传感器814采集到的指纹识别用户的身份,或者,由指纹传感器814根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器801授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器814可以被设置在电子设备800的正面、背面或侧面。当电子设备800上设置有物理按键或厂商Logo时,指纹传感器814可以与物理按键或厂商Logo集成在一起。
光学传感器815用于采集环境光强度。在一个实施例中,处理器801可以根据光学传感器815采集的环境光强度,控制显示屏805的显示亮度。具体地,当环境光强度较高时,调高显示屏805的显示亮度;当环境光强度较低时,调低显示屏805的显示亮度。在另一个实施例中,处理器801还可以根据光学传感器815采集的环境光强度,动态调整摄像头组件806的拍摄参数。
接近传感器816,也称距离传感器,通常设置在电子设备800的前面板。接近传感器816 用于采集用户与电子设备800的正面之间的距离。在一个实施例中,当接近传感器816检测到用户与电子设备800的正面之间的距离逐渐变小时,由处理器801控制显示屏805从亮屏状态切换为息屏状态;当接近传感器816检测到用户与电子设备800的正面之间的距离逐渐变大时,由处理器801控制显示屏805从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图13中示出的结构并不构成对电子设备800的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
图14是根据一示例性实施例示出的一种播放视频的装置900的框图。例如,装置900可以被提供为一服务器,该服务器可以是上述任意实施例提供的服务器。参照图14,装置900包括处理组件922,其进一步包括一个或多个处理器,以及由存储器932所代表的存储器资源,用于存储可由处理部件922执行的指令,例如应用程序。存储器932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件922被配置为执行指令,以执行上述播放视频的方法。
装置900还可以包括一个电源组件926被配置为执行装置900的电源管理,一个有线或无线网络接口950被配置为将装置900连接到网络,和一个输入输出(I/O)接口958。装置900可以操作基于存储在存储器932的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
参见图15,本申请实施例提供了一种播放视频的系统1000,所述系统1000包括:第一监控客户端1001、服务器1002和第二监控客户端1003;
第一监控客户端1001,用于获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,所述第一监控客户端1001是用于播放所述视频监控设备拍摄的视频的客户端,向服务器1002发送所述第一播放信息;
服务器1002,用于根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二播放信息,所述第二播放信息包括所述地址;
第二监控客户端1003,用于根据所述第二播放信息从所述视频监控设备获取所述待播放视频;播放所述待播放视频。
在本申请实施例中,第一监控客户端获取第一播放信息,第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识,向服务器发送第一播放信息。这样服务器接收第一播放信息后,基于该视频监控设备的设备标识生成待播放视频的地址,向第二监控客户端发送该地址。第二监控客户端基于该地址播放待播放视频,待播放视频是该视频监控设备拍摄的视频。其中,第二监控客户端是第一监控客户端对应的用户在第一监控客户端上指定的监控客户端,该视频监控设备也是该用户在第一监控客户端上指定的,这样可以实现用户在第一监控客户端指定其他用户的监控客户端也来监控观看该视频监控设备拍摄的视频,满足用户需求。
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。

Claims (20)

  1. 一种播放视频的方法,其特征在于,所述方法包括:
    第一监控客户端获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
    所述第一监控客户端向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
  2. 如权利要求1所述的方法,其特征在于,所述第一监控客户端获取第一播放信息,包括:
    所述第一监控客户端显示至少一个视频监控设备的设备描述信息和/或在线的至少一个监控客户端的客户端描述信息,其中,对于任一视频监控设备,该视频监控设备的设备描述信息与设备标识相对应,对于任一监控客户端,该监控客户端的客户端描述信息与客户端信息相对应;
    所述第一监控客户端在检测到针对视频监控设备的设备描述信息的选定操作的情况下,获取所选定的视频监控设备的设备标识,在检测到针对监控客户端的客户端描述信息的选定操作的情况下,获取所选定的监控客户端的客户端信息作为所述第二监控客户端的客户端信息。
  3. 如权利要求1所述的方法,其特征在于,所述第二监控客户端的客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个。
  4. 如权利要求1所述的方法,其特征在于,所述第一播放信息还包括:目标窗口的窗口信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述窗口信息至少包括窗口标识,所述目标窗口的窗口信息为:在检测到针对所述第二监控客户端中的窗口的选定操作的情况下,所述选定操作所选定窗口的窗口信息;或者,
    所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息。
  5. 如权利要求2所述的方法,其特征在于,所述服务器中保存有在线的至少一个监控客户端的客户端信息;所述第一监控客户端显示在线的至少一个监控客户端的客户端描述信息之前,还包括:
    所述第一监控客户端从所述服务器中获取在线的所述至少一个监控客户端的客户端信息。
  6. 如权利要求5所述的方法,其特征在于,所述服务器中还保存有在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息,所述第一监控客户端还从所述服务器中获取在线的所述至少一个监控客户端的窗口信息集合,所述方法还包括:
    所述第一监控客户端显示至少一个监控客户端的窗口信息集合;
    所述方法还包括:
    在第三监控客户端窗口变化的情况下,所述第一监控客户端获取服务器发送的第三监控客户端的变化的窗口的窗口信息,基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合,其中,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括在线的所述至少一个监控客户端;
    所述方法还包括:
    所述第一监控客户端在与所述服务器建立连接成功后向所述服务器发送所述第一监控客户端的客户端信息和窗口信息集合,所述第一监控客户端的窗口信息集合包括所述第一监控 客户端的一个或多个窗口的窗口信息;
    在所述第一监控客户端的窗口变化后,所述第一监控客户端向所述服务器发送变化的窗口的窗口信息,使所述服务器基于所述变化的窗口的窗口信息更新所述第一监控客户端的窗口信息集合。
  7. 一种播放视频的方法,其特征在于,所述方法包括:
    服务器接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
    所述服务器根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;
    所述服务器根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
  8. 如权利要求7所述的方法,其特征在于,所述第一播放信息还包括目标窗口的窗口信息,所述第二播放信息还包括目标窗口的窗口信息;或者,
    所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息,所述第二播放信息还包括目标窗口的窗口信息或表征目标窗口为任一空闲窗口的指示信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述第二播放信息用于使所述第二监控客户端基于所述地址在所述第二播放信息指示的目标窗口播放所述待播放视频;
    其中,所述客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个,所述窗口信息至少包括窗口标识。
  9. 如权利要求8所述的方法,其特征在于,所述服务器中存储有所述第二监控客户端的窗口信息集合,所述窗口信息集合包括所述第二监控客户端的一个或多个窗口的窗口信息,在所述第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,所述方法还包括:
    所述服务器基于所述第二监控客户端的一个或多个窗口的窗口信息判断所述第二监控客户端是否有空闲窗口;
    在有空闲窗口的情况下,所述服务器选择一个空闲窗口作为所述目标窗口,向所述第二监控客户端发送所述目标窗口的窗口信息;或者,所述服务器向所述第二监控客户端发送所述指示信息;
    在没有空闲窗口的情况下,所述服务器通知所述第一监控客户端。
  10. 如权利要求7所述的方法,其特征在于,所述向所述第二监控客户端发送第二播放信息,包括:
    所述服务器基于所述第二监控客户端的客户端信息判断所述第二监控客户端是否有播放所述待播放视频的权限;
    在有所述权限时,所述服务器向所述第二监控客户端发送第二播放信息;
    在没有所述权限时,所述服务器通知所述第一监控客户端。
  11. 如权利要求7所述的方法,其特征在于,所述服务器中保存有在线的至少一个监控客户端的客户端信息,所述方法还包括:
    所述服务器在与所述第一监控客户端建立连接后,向所述第一监控客户端发送所述在线状态的至少一个监控客户端的客户端信息,所述在线的至少一个监控客户端的客户端信息包括第二监控客户端的客户端信息。
  12. 如权利要求11所述的方法,其特征在于,所述服务器还保存有所述在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息;所述方法还包括:
    所述服务器向所述第一监控客户端发送所述在线的至少一个客户端的窗口信息集合;所 述服务器接收第三监控客户端在其窗口变化后发送的所述变化的窗口的窗口信息,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括所述在线的至少一个监控客户端,向第一监控客户端发送所述变化的窗口的窗口信息,使第一监控客户端基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合。
  13. 一种播放视频的装置,其特征在于,所述装置包括:
    获取模块,用于获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
    发送模块,用于向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
  14. 如权利要求13所述的装置,其特征在于,所述装置还包括显示模块;
    所述显示模块,用于显示至少一个视频监控设备的设备描述信息和/或在线的至少一个监控客户端的客户端描述信息,其中,对于任一视频监控设备,该视频监控设备的设备描述信息与设备标识相对应,对于任一监控客户端,该监控客户端的客户端描述信息与客户端信息相对应;
    所述获取模块,用于在检测到针对视频监控设备的设备描述信息的选定操作的情况下,获取所选定的视频监控设备的设备标识,在检测到针对监控客户端的客户端描述信息的选定操作的情况下,获取所选定的监控客户端的客户端信息作为所述第二监控客户端的客户端信息,所述第二监控客户端的客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个;其中,所述第一播放信息还包括:目标窗口的窗口信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述窗口信息至少包括窗口标识,所述目标窗口的窗口信息为:在检测到针对所述第二监控客户端中的窗口的选定操作的情况下,所述选定操作所选定窗口的窗口信息;或者,所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息;
    其中,所述服务器中保存有在线的至少一个监控客户端的客户端信息;所述获取模块,还用于从所述服务器中获取在线的所述至少一个监控客户端的客户端信息;
    其中,所述服务器中还保存有在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息,所述获取模块,还用于从所述服务器中获取在线的所述至少一个监控客户端的窗口信息集合;
    所述显示模块,还用于显示至少一个监控客户端的窗口信息集合;
    所述获取模块,还用于在第三监控客户端窗口变化的情况下,获取服务器发送的第三监控客户端的变化的窗口的窗口信息,基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合,其中,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括在线的所述至少一个监控客户端;
    所述发送模块,还用于在与所述服务器建立连接成功后向所述服务器发送所述装置的客户端信息和窗口信息集合,所述装置的窗口信息集合包括所述装置的一个或多个窗口的窗口信息;在所述装置的窗口变化后,向所述服务器发送变化的窗口的窗口信息,使所述服务器基于所述变化的窗口的窗口信息更新所述装置的窗口信息集合。
  15. 一种播放视频的装置,其特征在于,所述装置包括:
    接收模块,用于接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;
    处理模块,用于根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;
    发送模块,用于根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二 播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
  16. 如权利要求15所述的装置,其特征在于,所述第一播放信息还包括目标窗口的窗口信息,所述第二播放信息还包括目标窗口的窗口信息;或者,所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息,所述第二播放信息还包括目标窗口的窗口信息或表征目标窗口为任一空闲窗口的指示信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述第二播放信息用于使所述第二监控客户端基于所述地址在所述第二播放信息指示的目标窗口播放所述待播放视频;
    其中,所述客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个,所述窗口信息至少包括窗口标识;
    其中,所述装置中存储有所述第二监控客户端的窗口信息集合,所述窗口信息集合包括所述第二监控客户端的一个或多个窗口的窗口信息,在所述第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,所述处理模块,还用于基于所述第二监控客户端的一个或多个窗口的窗口信息判断所述第二监控客户端是否有空闲窗口;在有空闲窗口的情况下,选择一个空闲窗口作为所述目标窗口;
    所述发送模块,还用于向所述第二监控客户端发送所述目标窗口的窗口信息;或者,向所述第二监控客户端发送所述指示信息;在没有空闲窗口的情况下,通知所述第一监控客户端;
    所述处理模块,还用于基于所述第二监控客户端的客户端信息判断所述第二监控客户端是否有播放所述待播放视频的权限;
    所述发送模块,还用于在有所述权限时,向所述第二监控客户端发送第二播放信息;在没有所述权限时,通知所述第一监控客户端;
    其中,所述装置中保存有在线的至少一个监控客户端的客户端信息,所述发送模块,还用于在与所述第一监控客户端建立连接后,向所述第一监控客户端发送所述在线状态的至少一个监控客户端的客户端信息,所述在线的至少一个监控客户端的客户端信息包括第二监控客户端的客户端信息;
    其中,所述装置还保存有所述在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息;所述发送模块,还用于向所述第一监控客户端发送所述在线的至少一个客户端的窗口信息集合;
    所述接收模块,还用于接收第三监控客户端在其窗口变化后发送的所述变化的窗口的窗口信息,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括所述在线的至少一个监控客户端;
    所述发送模块,还用于向第一监控客户端发送所述变化的窗口的窗口信息,使第一监控客户端基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合。
  17. 一种电子设备,其特征在于,处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中的计算机程序,以完成如权利要求1至12任一项所述的方法。
  18. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序指令,并且所述计算程序指令通过处理器加载时实现如权利要求1至12任一项所述的方法。
  19. 一种非易失性计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序通过处理器加载时实现如权利要求1至12任一项所述的方法。
  20. 一种播放视频的系统,其特征在于,所述系统包括终端设备和服务器,所述终端设备用于实现如权利要求1至6任一项所述的方法,所述服务器用于实现如权利要求7至12任一项所述的方法。
PCT/CN2021/128806 2020-12-30 2021-11-04 播放视频的方法、装置、电子设备及系统 WO2022142722A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011605394.5A CN112738475B (zh) 2020-12-30 2020-12-30 播放视频的方法、装置及电子设备
CN202011605394.5 2020-12-30

Publications (1)

Publication Number Publication Date
WO2022142722A1 true WO2022142722A1 (zh) 2022-07-07

Family

ID=75610679

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128806 WO2022142722A1 (zh) 2020-12-30 2021-11-04 播放视频的方法、装置、电子设备及系统

Country Status (2)

Country Link
CN (1) CN112738475B (zh)
WO (1) WO2022142722A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738475B (zh) * 2020-12-30 2022-08-05 杭州海康威视数字技术股份有限公司 播放视频的方法、装置及电子设备
CN116264584A (zh) * 2021-12-15 2023-06-16 华为终端有限公司 设备监控方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979225A (zh) * 2016-06-27 2016-09-28 贵阳朗玛信息技术股份有限公司 一种多人视频房间的监控方法和装置
CN106998441A (zh) * 2017-05-04 2017-08-01 深圳市茁壮网络股份有限公司 支持摄像头视频数据多路播发的方法、系统及Homed系统
WO2018014711A1 (zh) * 2016-07-19 2018-01-25 杭州海康威视数字技术股份有限公司 一种录像播放方法及装置
US20190222877A1 (en) * 2017-02-24 2019-07-18 Tencent Technology (Shenzhen) Company Limited Video monitoring method and device, storage medium, and electronic device
CN112738475A (zh) * 2020-12-30 2021-04-30 杭州海康威视数字技术股份有限公司 播放视频的方法、装置及电子设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050175A (ja) * 2004-08-04 2006-02-16 Toshiba Corp 映像配信システム、およびその通信制御方法、映像配信システムのサーバ
JP2009232117A (ja) * 2008-03-21 2009-10-08 Toshiba Corp Cctv監視システム、およびこれに利用する表示情報生成装置、表示情報生成方法
GB0910512D0 (en) * 2009-06-18 2009-07-29 Simbiotec Ltd Communications network
CN104092976A (zh) * 2014-06-19 2014-10-08 兰捷尔智能科技有限公司 实现环境设备监控系统报警与视频监控系统联动的方法
CN106792192B (zh) * 2016-12-21 2020-03-17 深圳Tcl数字技术有限公司 数字电视多窗口播放方法与装置
CN109819214B (zh) * 2019-01-25 2021-02-09 视联动力信息技术股份有限公司 一种视频分屏的方法和装置
CN112148245B (zh) * 2020-11-26 2021-03-02 深圳乐播科技有限公司 一种监控调看投屏方法、装置、计算机设备、可读存储介质及监控调看投屏交互系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979225A (zh) * 2016-06-27 2016-09-28 贵阳朗玛信息技术股份有限公司 一种多人视频房间的监控方法和装置
WO2018014711A1 (zh) * 2016-07-19 2018-01-25 杭州海康威视数字技术股份有限公司 一种录像播放方法及装置
US20190222877A1 (en) * 2017-02-24 2019-07-18 Tencent Technology (Shenzhen) Company Limited Video monitoring method and device, storage medium, and electronic device
CN106998441A (zh) * 2017-05-04 2017-08-01 深圳市茁壮网络股份有限公司 支持摄像头视频数据多路播发的方法、系统及Homed系统
CN112738475A (zh) * 2020-12-30 2021-04-30 杭州海康威视数字技术股份有限公司 播放视频的方法、装置及电子设备

Also Published As

Publication number Publication date
CN112738475B (zh) 2022-08-05
CN112738475A (zh) 2021-04-30

Similar Documents

Publication Publication Date Title
CN110674022B (zh) 行为数据获取方法、装置及存储介质
WO2020233511A1 (zh) 一种应用启动方法、装置、计算机设备以及存储介质
WO2019128592A1 (zh) 进行直播的方法和装置
CN110278464B (zh) 显示榜单的方法和装置
CN109246123B (zh) 媒体流获取方法及装置
CN108881286B (zh) 多媒体播放控制的方法、终端、音箱设备和系统
CN108093307B (zh) 获取播放文件的方法和系统
WO2022227623A1 (zh) 显示发布进度的方法及电子设备
CN108831513B (zh) 录制音频数据的方法、终端、服务器和系统
WO2022142722A1 (zh) 播放视频的方法、装置、电子设备及系统
CN110007981B (zh) 启动应用程序的方法、装置、电子设备及介质
CN113098755A (zh) 群聊创建方法、装置、终端及存储介质
CN111327928A (zh) 歌曲播放方法、装置及系统、计算机存储介质
CN109246228B (zh) 资源获取、资源分配方法、装置、设备及存储介质
CN110234036B (zh) 一种播放多媒体文件的方法、装置及系统
CN111818358A (zh) 音频文件的播放方法、装置、终端及存储介质
CN111064657B (zh) 关注账户分组的方法、装置、系统
CN111399796B (zh) 语音消息聚合方法、装置、电子设备及存储介质
CN110381155B (zh) 任务管理方法、装置、存储介质及终端
CN111198922A (zh) 基于区块链的游戏资源管理方法及装置
CN110825465A (zh) 日志数据处理方法、装置、电子设备及存储介质
CN110597840A (zh) 基于区块链的伴侣关系建立方法、装置、设备及存储介质
CN112995587B (zh) 电子设备监控方法、系统、计算机设备及存储介质
CN110708582B (zh) 同步播放的方法、装置、电子设备及介质
CN110971692B (zh) 开通服务的方法、装置及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913466

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913466

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21913466

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 22/08/2023)