WO2022142722A1 - 播放视频的方法、装置、电子设备及系统 - Google Patents
播放视频的方法、装置、电子设备及系统 Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000012544 monitoring process Methods 0.000 claims abstract description 803
- 238000012806 monitoring device Methods 0.000 claims abstract description 115
- 238000004590 computer program Methods 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 5
- 230000008520 organization Effects 0.000 description 67
- 230000004044 response Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000012217 deletion Methods 0.000 description 8
- 230000037430 deletion Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-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
Claims (20)
- 一种播放视频的方法,其特征在于,所述方法包括:第一监控客户端获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;所述第一监控客户端向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
- 如权利要求1所述的方法,其特征在于,所述第一监控客户端获取第一播放信息,包括:所述第一监控客户端显示至少一个视频监控设备的设备描述信息和/或在线的至少一个监控客户端的客户端描述信息,其中,对于任一视频监控设备,该视频监控设备的设备描述信息与设备标识相对应,对于任一监控客户端,该监控客户端的客户端描述信息与客户端信息相对应;所述第一监控客户端在检测到针对视频监控设备的设备描述信息的选定操作的情况下,获取所选定的视频监控设备的设备标识,在检测到针对监控客户端的客户端描述信息的选定操作的情况下,获取所选定的监控客户端的客户端信息作为所述第二监控客户端的客户端信息。
- 如权利要求1所述的方法,其特征在于,所述第二监控客户端的客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个。
- 如权利要求1所述的方法,其特征在于,所述第一播放信息还包括:目标窗口的窗口信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述窗口信息至少包括窗口标识,所述目标窗口的窗口信息为:在检测到针对所述第二监控客户端中的窗口的选定操作的情况下,所述选定操作所选定窗口的窗口信息;或者,所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息。
- 如权利要求2所述的方法,其特征在于,所述服务器中保存有在线的至少一个监控客户端的客户端信息;所述第一监控客户端显示在线的至少一个监控客户端的客户端描述信息之前,还包括:所述第一监控客户端从所述服务器中获取在线的所述至少一个监控客户端的客户端信息。
- 如权利要求5所述的方法,其特征在于,所述服务器中还保存有在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息,所述第一监控客户端还从所述服务器中获取在线的所述至少一个监控客户端的窗口信息集合,所述方法还包括:所述第一监控客户端显示至少一个监控客户端的窗口信息集合;所述方法还包括:在第三监控客户端窗口变化的情况下,所述第一监控客户端获取服务器发送的第三监控客户端的变化的窗口的窗口信息,基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合,其中,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括在线的所述至少一个监控客户端;所述方法还包括:所述第一监控客户端在与所述服务器建立连接成功后向所述服务器发送所述第一监控客户端的客户端信息和窗口信息集合,所述第一监控客户端的窗口信息集合包括所述第一监控 客户端的一个或多个窗口的窗口信息;在所述第一监控客户端的窗口变化后,所述第一监控客户端向所述服务器发送变化的窗口的窗口信息,使所述服务器基于所述变化的窗口的窗口信息更新所述第一监控客户端的窗口信息集合。
- 一种播放视频的方法,其特征在于,所述方法包括:服务器接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;所述服务器根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;所述服务器根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
- 如权利要求7所述的方法,其特征在于,所述第一播放信息还包括目标窗口的窗口信息,所述第二播放信息还包括目标窗口的窗口信息;或者,所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息,所述第二播放信息还包括目标窗口的窗口信息或表征目标窗口为任一空闲窗口的指示信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述第二播放信息用于使所述第二监控客户端基于所述地址在所述第二播放信息指示的目标窗口播放所述待播放视频;其中,所述客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个,所述窗口信息至少包括窗口标识。
- 如权利要求8所述的方法,其特征在于,所述服务器中存储有所述第二监控客户端的窗口信息集合,所述窗口信息集合包括所述第二监控客户端的一个或多个窗口的窗口信息,在所述第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,所述方法还包括:所述服务器基于所述第二监控客户端的一个或多个窗口的窗口信息判断所述第二监控客户端是否有空闲窗口;在有空闲窗口的情况下,所述服务器选择一个空闲窗口作为所述目标窗口,向所述第二监控客户端发送所述目标窗口的窗口信息;或者,所述服务器向所述第二监控客户端发送所述指示信息;在没有空闲窗口的情况下,所述服务器通知所述第一监控客户端。
- 如权利要求7所述的方法,其特征在于,所述向所述第二监控客户端发送第二播放信息,包括:所述服务器基于所述第二监控客户端的客户端信息判断所述第二监控客户端是否有播放所述待播放视频的权限;在有所述权限时,所述服务器向所述第二监控客户端发送第二播放信息;在没有所述权限时,所述服务器通知所述第一监控客户端。
- 如权利要求7所述的方法,其特征在于,所述服务器中保存有在线的至少一个监控客户端的客户端信息,所述方法还包括:所述服务器在与所述第一监控客户端建立连接后,向所述第一监控客户端发送所述在线状态的至少一个监控客户端的客户端信息,所述在线的至少一个监控客户端的客户端信息包括第二监控客户端的客户端信息。
- 如权利要求11所述的方法,其特征在于,所述服务器还保存有所述在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息;所述方法还包括:所述服务器向所述第一监控客户端发送所述在线的至少一个客户端的窗口信息集合;所 述服务器接收第三监控客户端在其窗口变化后发送的所述变化的窗口的窗口信息,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括所述在线的至少一个监控客户端,向第一监控客户端发送所述变化的窗口的窗口信息,使第一监控客户端基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合。
- 一种播放视频的装置,其特征在于,所述装置包括:获取模块,用于获取第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;发送模块,用于向服务器发送所述第一播放信息,所述第一播放信息用于使所述服务器根据所述设备标识生成待播放视频的地址,根据所述第二监控客户端的客户端信息将所述地址发送给第二监控客户端,以控制所述第二监控客户端基于所述地址播放所述待播放视频,所述待播放视频是所述视频监控设备拍摄的视频。
- 如权利要求13所述的装置,其特征在于,所述装置还包括显示模块;所述显示模块,用于显示至少一个视频监控设备的设备描述信息和/或在线的至少一个监控客户端的客户端描述信息,其中,对于任一视频监控设备,该视频监控设备的设备描述信息与设备标识相对应,对于任一监控客户端,该监控客户端的客户端描述信息与客户端信息相对应;所述获取模块,用于在检测到针对视频监控设备的设备描述信息的选定操作的情况下,获取所选定的视频监控设备的设备标识,在检测到针对监控客户端的客户端描述信息的选定操作的情况下,获取所选定的监控客户端的客户端信息作为所述第二监控客户端的客户端信息,所述第二监控客户端的客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个;其中,所述第一播放信息还包括:目标窗口的窗口信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述窗口信息至少包括窗口标识,所述目标窗口的窗口信息为:在检测到针对所述第二监控客户端中的窗口的选定操作的情况下,所述选定操作所选定窗口的窗口信息;或者,所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息;其中,所述服务器中保存有在线的至少一个监控客户端的客户端信息;所述获取模块,还用于从所述服务器中获取在线的所述至少一个监控客户端的客户端信息;其中,所述服务器中还保存有在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息,所述获取模块,还用于从所述服务器中获取在线的所述至少一个监控客户端的窗口信息集合;所述显示模块,还用于显示至少一个监控客户端的窗口信息集合;所述获取模块,还用于在第三监控客户端窗口变化的情况下,获取服务器发送的第三监控客户端的变化的窗口的窗口信息,基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合,其中,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括在线的所述至少一个监控客户端;所述发送模块,还用于在与所述服务器建立连接成功后向所述服务器发送所述装置的客户端信息和窗口信息集合,所述装置的窗口信息集合包括所述装置的一个或多个窗口的窗口信息;在所述装置的窗口变化后,向所述服务器发送变化的窗口的窗口信息,使所述服务器基于所述变化的窗口的窗口信息更新所述装置的窗口信息集合。
- 一种播放视频的装置,其特征在于,所述装置包括:接收模块,用于接收第一监控客户端发送的第一播放信息,所述第一播放信息包括第二监控客户端的客户端信息和视频监控设备的设备标识;处理模块,用于根据所述设备标识生成待播放视频的地址,所述待播放视频是所述视频监控设备拍摄的视频;发送模块,用于根据所述第二监控客户端的客户端信息向所述第二监控客户端发送第二 播放信息,所述第二播放信息包括所述地址,所述第二播放信息用于使所述第二监控客户端基于所述地址播放所述待播放视频。
- 如权利要求15所述的装置,其特征在于,所述第一播放信息还包括目标窗口的窗口信息,所述第二播放信息还包括目标窗口的窗口信息;或者,所述第一播放信息还包括表征目标窗口为任一空闲窗口的指示信息,所述第二播放信息还包括目标窗口的窗口信息或表征目标窗口为任一空闲窗口的指示信息,所述目标窗口是所述第二监控客户端中的用于播放所述待播放视频的窗口,所述第二播放信息用于使所述第二监控客户端基于所述地址在所述第二播放信息指示的目标窗口播放所述待播放视频;其中,所述客户端信息包括所述第二监控客户端的客户端标识、客户端类型和在所述第二监控客户端上登录的用户账号中的至少一个,所述窗口信息至少包括窗口标识;其中,所述装置中存储有所述第二监控客户端的窗口信息集合,所述窗口信息集合包括所述第二监控客户端的一个或多个窗口的窗口信息,在所述第一播放信息包括表征目标窗口为任一空闲窗口的指示信息的情况下,所述处理模块,还用于基于所述第二监控客户端的一个或多个窗口的窗口信息判断所述第二监控客户端是否有空闲窗口;在有空闲窗口的情况下,选择一个空闲窗口作为所述目标窗口;所述发送模块,还用于向所述第二监控客户端发送所述目标窗口的窗口信息;或者,向所述第二监控客户端发送所述指示信息;在没有空闲窗口的情况下,通知所述第一监控客户端;所述处理模块,还用于基于所述第二监控客户端的客户端信息判断所述第二监控客户端是否有播放所述待播放视频的权限;所述发送模块,还用于在有所述权限时,向所述第二监控客户端发送第二播放信息;在没有所述权限时,通知所述第一监控客户端;其中,所述装置中保存有在线的至少一个监控客户端的客户端信息,所述发送模块,还用于在与所述第一监控客户端建立连接后,向所述第一监控客户端发送所述在线状态的至少一个监控客户端的客户端信息,所述在线的至少一个监控客户端的客户端信息包括第二监控客户端的客户端信息;其中,所述装置还保存有所述在线的至少一个监控客户端的窗口信息集合,监控客户端的窗口信息集合包括所述监控客户端的一个或多个窗口的窗口信息;所述发送模块,还用于向所述第一监控客户端发送所述在线的至少一个客户端的窗口信息集合;所述接收模块,还用于接收第三监控客户端在其窗口变化后发送的所述变化的窗口的窗口信息,第三监控客户端是客户端集合中的一个监控客户端,所述客户端集合包括所述在线的至少一个监控客户端;所述发送模块,还用于向第一监控客户端发送所述变化的窗口的窗口信息,使第一监控客户端基于所述变化的窗口的窗口信息更新所述第三监控客户端的窗口信息集合。
- 一种电子设备,其特征在于,处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中的计算机程序,以完成如权利要求1至12任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序指令,并且所述计算程序指令通过处理器加载时实现如权利要求1至12任一项所述的方法。
- 一种非易失性计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序通过处理器加载时实现如权利要求1至12任一项所述的方法。
- 一种播放视频的系统,其特征在于,所述系统包括终端设备和服务器,所述终端设备用于实现如权利要求1至6任一项所述的方法,所述服务器用于实现如权利要求7至12任一项所述的方法。
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)
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)
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)
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 | 深圳乐播科技有限公司 | 一种监控调看投屏方法、装置、计算机设备、可读存储介质及监控调看投屏交互系统 |
-
2020
- 2020-12-30 CN CN202011605394.5A patent/CN112738475B/zh active Active
-
2021
- 2021-11-04 WO PCT/CN2021/128806 patent/WO2022142722A1/zh active Application Filing
Patent Citations (5)
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) |