[go: up one dir, main page]

CN115022592B - Monitoring video playback method and device with multiple interfaces - Google Patents

Monitoring video playback method and device with multiple interfaces Download PDF

Info

Publication number
CN115022592B
CN115022592B CN202210619073.3A CN202210619073A CN115022592B CN 115022592 B CN115022592 B CN 115022592B CN 202210619073 A CN202210619073 A CN 202210619073A CN 115022592 B CN115022592 B CN 115022592B
Authority
CN
China
Prior art keywords
video
interface
address
target
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210619073.3A
Other languages
Chinese (zh)
Other versions
CN115022592A (en
Inventor
沈忠明
王振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinao Shuneng Technology Co Ltd
Original Assignee
Xinao Shuneng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinao Shuneng Technology Co Ltd filed Critical Xinao Shuneng Technology Co Ltd
Priority to CN202210619073.3A priority Critical patent/CN115022592B/en
Publication of CN115022592A publication Critical patent/CN115022592A/en
Application granted granted Critical
Publication of CN115022592B publication Critical patent/CN115022592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4108Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

本公开涉及视频技术领域,提供了多种接口的监控视频播放方法及装置。该方法包括:利用目标账号登录配置工具,并从配置工具中获取目标账号对应的标识号列表,其中,标识号列表包括多个用户标识号,每个用户标识号对应一个用户;从视频监控配置平台获取标识号列表中的每个用户标识号对应的视频接口的接口地址;基于每个视频接口的接口地址,通过调用工具调用每个视频接口,以获取到每个视频接口对应的用户的视频地址;基于每个用户的视频地址,通过前端播放器播放每个用户的监控视频。采用上述技术手段,解决现有技术中,由于一个版本的视频监控工具不能服务多个客户,会造成视频监控工具研发成本浪费的问题。

The present disclosure relates to the field of video technology, and provides a monitoring video playback method and device with multiple interfaces. The method includes: using a target account to log in to a configuration tool, and obtaining a list of identification numbers corresponding to the target account from the configuration tool, wherein the list of identification numbers includes multiple user identification numbers, and each user identification number corresponds to a user; obtaining the interface address of the video interface corresponding to each user identification number in the identification number list from a video monitoring configuration platform; based on the interface address of each video interface, calling each video interface through a calling tool to obtain the video address of the user corresponding to each video interface; based on the video address of each user, playing the monitoring video of each user through a front-end player. The above-mentioned technical means are adopted to solve the problem in the prior art that one version of the video monitoring tool cannot serve multiple customers, which will cause waste of R&D costs of the video monitoring tool.

Description

Method and device for playing monitoring video of multiple interfaces
Technical Field
The disclosure relates to the field of video technology, and in particular, to a method and a device for playing a monitoring video with multiple interfaces.
Background
Some platforms for providing video monitoring service can serve multiple clients, and due to factors such as different video monitoring devices, different data transmission formats, non-uniform interfaces and the like of each client, the platform for providing video monitoring service needs to provide a version of video monitoring tool for each client, which can cause development resource waste and higher cost.
In the process of realizing the disclosed concept, the inventor finds that at least the following technical problems exist in the related art, namely the problem of waste of research and development costs of the video monitoring tool can be caused because one version of the video monitoring tool cannot serve a plurality of clients.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a computer readable storage medium for playing a monitoring video with multiple interfaces, so as to solve the problem in the prior art that the research and development costs of a video monitoring tool are wasted because a video monitoring tool with one version cannot serve multiple clients.
According to a first aspect of the embodiment of the disclosure, a monitoring video playing method of multiple interfaces is provided, which comprises the steps of logging in a configuration tool by using a target account number, obtaining an identification number list corresponding to the target account number from the configuration tool, wherein the identification number list comprises a plurality of user identification numbers, each user identification number corresponds to one user, obtaining an interface address of a video interface corresponding to each user identification number in the identification number list from a video monitoring configuration platform, calling each video interface through a calling tool based on the interface address of each video interface to obtain a video address of a user corresponding to each video interface, and playing a monitoring video of each user through a front-end player based on the video address of each user.
According to a second aspect of the embodiment of the disclosure, a monitoring video playing device with multiple interfaces is provided, which comprises a first acquisition module, a second acquisition module and a playing module, wherein the first acquisition module is configured to log in a configuration tool by using a target account number, and acquire an identification number list corresponding to the target account number from the configuration tool, the identification number list comprises a plurality of user identification numbers, each user identification number corresponds to one user, the second acquisition module is configured to acquire an interface address of a video interface corresponding to each user identification number in the identification number list from the video monitoring configuration platform, the calling module is configured to call each video interface through the calling tool based on the interface address of each video interface so as to acquire the video address of the user corresponding to each video interface, and the playing module is configured to play the monitoring video of each user through a front-end player based on the video address of each user.
In a third aspect of the disclosed embodiments, an electronic device is provided, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect of the disclosed embodiments, a computer-readable storage medium is provided, which stores a computer program which, when executed by a processor, implements the steps of the above-described method.
Compared with the prior art, the method and the device have the advantages that a configuration tool is logged in by using the target account, an identification number list corresponding to the target account is obtained from the configuration tool, the identification number list comprises a plurality of user identification numbers, each user identification number corresponds to one user, an interface address of a video interface corresponding to each user identification number in the identification number list is obtained from a video monitoring configuration platform, each video interface is called through a calling tool based on the interface address of each video interface to obtain the video address of the user corresponding to each video interface, and monitoring video of each user is played through a front-end player based on the video address of each user. By adopting the technical means, the problem that in the prior art, the research and development cost of the video monitoring tool is wasted because one version of video monitoring tool cannot serve a plurality of clients can be solved, and further the research and development cost of the video monitoring tool is reduced, and resource waste is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are required for the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a scene schematic diagram of an application scene of an embodiment of the present disclosure;
Fig. 2 is a flow chart of a method for playing a monitoring video with multiple interfaces according to an embodiment of the present disclosure;
Fig. 3 is a schematic structural diagram of a monitoring video playing device with multiple interfaces according to an embodiment of the present disclosure;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the disclosed embodiments. However, it will be apparent to one skilled in the art that the present disclosure may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present disclosure with unnecessary detail.
An air conditioner passing control method and apparatus according to embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Fig. 1 is a scene diagram of an application scene of an embodiment of the present disclosure. The application scenario may include terminal devices 101, 102, and 103, server 104, and network 105.
The terminal devices 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102 and 103 are hardware, they may be various electronic devices having a display screen and supporting communication with the server 104, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, etc., and when the terminal devices 101, 102 and 103 are software, they may be installed in the electronic devices as above. Terminal devices 101, 102, and 103 may be implemented as multiple software or software modules, or as a single software or software module, as embodiments of the present disclosure are not limited in this regard. Further, various applications, such as a data processing application, an instant messaging tool, social platform software, a search class application, a shopping class application, and the like, may be installed on the terminal devices 101, 102, and 103.
The server 104 may be a server that provides various services, for example, a background server that receives a request transmitted from a terminal device with which communication connection is established, and the background server may perform processing such as receiving and analyzing the request transmitted from the terminal device and generate a processing result. The server 104 may be a server, a server cluster formed by a plurality of servers, or a cloud computing service center, which is not limited in the embodiments of the present disclosure.
It should be noted that, the server 104 may be hardware, or may be software. When the server 104 is hardware, it may be various electronic devices that provide various services to the terminal devices 101, 102, and 103. When the server 104 is software, it may be a plurality of software or software modules providing various services to the terminal devices 101, 102, and 103, or may be a single software or software module providing various services to the terminal devices 101, 102, and 103, which is not limited by the embodiments of the present disclosure.
The network 105 may be a wired network using coaxial cable, twisted pair wire, and optical fiber connection, or may be a wireless network that can implement interconnection of various Communication devices without wiring, for example, bluetooth (Bluetooth), near Field Communication (NFC), infrared (Infrared), etc., which are not limited by the embodiments of the present disclosure.
The user can establish a communication connection with the server 104 via the network 105 through the terminal devices 101, 102, and 103 to receive or transmit information or the like. It should be noted that the specific types, numbers and combinations of the terminal devices 101, 102 and 103, the server 104 and the network 105 may be adjusted according to the actual requirements of the application scenario, which is not limited by the embodiment of the present disclosure.
Fig. 2 is a flow chart of a method for playing a monitoring video of a plurality of interfaces according to an embodiment of the present disclosure. The monitoring video playing method of the various interfaces of fig. 2 may be performed by the terminal device or the server of fig. 1.
As shown in fig. 2, the method for playing the monitoring video of the multiple interfaces includes:
S201, logging in a configuration tool by utilizing a target account number, and acquiring an identification number list corresponding to the target account number from the configuration tool, wherein the identification number list comprises a plurality of user identification numbers, and each user identification number corresponds to one user;
s202, acquiring an interface address of a video interface corresponding to each user identification number in the identification number list from a video monitoring configuration platform;
S203, calling each video interface by a calling tool based on the interface address of each video interface so as to acquire the video address of the user corresponding to each video interface;
s204, based on the video address of each user, playing the monitoring video of each user through the front-end player.
The target account number is the account number of the login person, a plurality of users responsible for the login person are arranged under the login person, and the plurality of users responsible for the login person can be determined by providing a plurality of user identification numbers in the identification number list. The user is a client, and can be an enterprise, a person and the like. The identification number list corresponding to the target account number is obtained from the configuration tool, or the account number information of the target account number is obtained, and the identification number list corresponding to the account number information is obtained from a platform providing video monitoring service, wherein the account number information is related information of the target account number, such as a mobile phone number and a login personnel name bound with the target account number. The embodiment of the disclosure is applied to a platform needing to provide video monitoring service, and an execution end of the embodiment of the disclosure can be a video monitoring tool of the platform. The configuration tool, the video monitoring configuration platform, the calling tool and the front-end player independently exist in the video monitoring tool, and the configuration tool, the video monitoring configuration platform, the calling tool and the front-end player can be sequentially connected in series from front to back.
According to the technical scheme, a configuration tool is logged in by using a target account number, an identification number list corresponding to the target account number is obtained from the configuration tool, the identification number list comprises a plurality of user identification numbers, each user identification number corresponds to one user, an interface address of a video interface corresponding to each user identification number in the identification number list is obtained from a video monitoring configuration platform, each video interface is called by a calling tool based on the interface address of each video interface to obtain the video address of a user corresponding to each video interface, and monitoring video of each user is played by a front-end player based on the video address of each user. By adopting the technical means, the problem that in the prior art, the research and development cost of the video monitoring tool is wasted because one version of video monitoring tool cannot serve a plurality of clients can be solved, and further the research and development cost of the video monitoring tool is reduced, and resource waste is avoided.
After step S201 is executed, that is, after the configuration tool is logged in by using the target account number, the method further includes obtaining a target user identification number of the target user through the user information management module, obtaining target video related information of the target user through the video source storage module based on the target user identification number, wherein the target video related information includes a target interface address of a target video interface, obtaining a target video address of the target user through the video source output module according to the target video related information, playing a target monitoring video of the target user through the front-end player according to the target video address, and the video monitoring configuration platform includes a user information management module, a video source storage module and a video source output module.
The video source storage module stores video related information of the user and the user, the video related information of the user can also comprise content description, theme and the like of monitoring video of the user, and the video source output module is used for determining video addresses according to the video related information (such as interface addresses).
Before the target user identification number of the target user is obtained through the user information management module, the method further comprises the steps of completing verification of the authority management module by utilizing the target account number, adding or deleting one or more pieces of user information in the user information management module by utilizing the authority management module, wherein the user information comprises the user identification number, adding or deleting one or more pieces of video related information in the video source editing module by utilizing the authority management module, wherein the video related information comprises an interface address of a video interface, and storing one or more pieces of video related information in the video source storage module by utilizing the video source editing module.
In order to improve security, operations of the embodiments of the present disclosure in the user information management module, the video source editing module, and the video source storage module are performed using the rights management module.
After step S201 is executed, that is, after the configuration tool is logged in by using the target account number, the method further includes obtaining a target user identification number of the target user, and based on the target user identification number, obtaining a target interface address of a target video interface of the target user through a video source storage module, where the video monitoring configuration platform includes a video source storage module, calling the target video interface according to the target interface address to obtain a target video address corresponding to the target video interface, and playing a target monitoring video of the target user through a front-end player according to the target video address.
For example, a target user is an enterprise, an enterprise identification number of the enterprise is obtained, an interface address of a video interface of the enterprise is obtained through a video source storage module based on the enterprise identification number, the video interface is called according to the interface address to obtain a video address corresponding to the video interface, and a monitoring video of the enterprise is played through a front-end player according to the video address.
After step S202 is executed, that is, after the interface address of the video interface corresponding to each user identification number in the identification number list is obtained from the video monitoring configuration platform, the method further includes using the first order of the arrangement of the plurality of user identification numbers in the identification number list as the second order of the arrangement of the interface addresses of the plurality of video interfaces, calling the plurality of video interfaces one by a calling tool based on the interface addresses of the plurality of video interfaces according to the second order to judge whether the target video address of the target user corresponding to the target video interface can be obtained or not, and ending the calling until the target video address is obtained, and playing the target monitoring video by the front-end player based on the target video address.
The user identification numbers and the video interfaces have a corresponding relationship, so that the second order of the interface address arrangement of the plurality of video interfaces can be determined according to the first order of the arrangement of the plurality of user identification numbers in the identification number list. According to a second sequence, based on interface addresses of a plurality of video interfaces, calling the video interfaces one by one through a calling tool, when the video address of a user corresponding to a certain video interface is obtained, taking the video interface as a target video interface, wherein the user corresponding to the video interface is a target user, and the video address of the user corresponding to the video interface is the target video address.
According to a second sequence, based on interface addresses of a plurality of video interfaces, calling the plurality of video interfaces one by one through a calling tool to judge whether the target video address of a target user corresponding to the target video interface can be acquired or not, and ending the calling until the target video address is acquired, wherein the calling comprises the step of calling the current video interface through the calling tool based on the interface address of the current video interface to judge whether the video address of the user corresponding to the current video interface can be acquired or not; when the video address of the user corresponding to the current video interface is not acquired, the next video interface of the current video interface is called through a calling tool based on the video address of the user corresponding to the next video interface of the current video interface according to a second sequence so as to judge whether the video address of the user corresponding to the next video interface of the current video interface can be acquired.
The call to the next video interface of the current video interface is the same as the call to the current video interface. If the video address of the user corresponding to the next video interface of the current video interface is acquired, the next video interface of the current video interface is used as a target video interface, if the video address of the user corresponding to the next video interface of the current video interface is not acquired, the next video interface of the current video interface is continuously called until the video address of the user corresponding to a certain video interface is acquired, and the call is ended.
In step S203, calling each video interface by a calling tool based on the interface address of each video interface to acquire the video address of the user corresponding to each video interface, including calling each camera video interface by the calling tool based on the camera interface address of each camera video interface to acquire the video address of the user corresponding to each camera video interface; or calling each cloud platform video interface through a calling tool based on the cloud platform interface address of each cloud platform video interface to acquire the video address of the user corresponding to each cloud platform video interface, wherein the video interfaces comprise a camera video interface and a cloud platform video interface, and the interface addresses comprise a camera interface address and a cloud platform interface address.
The monitoring video of a user can be obtained through a camera video interface or a cloud platform video interface.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 3 is a schematic diagram of a monitoring video playing device with multiple interfaces according to an embodiment of the present disclosure. As shown in fig. 3, the monitoring video playing device of the multiple interfaces includes:
A first obtaining module 301, configured to log in a configuration tool by using a target account, and obtain an identification number list corresponding to the target account from the configuration tool, where the identification number list includes a plurality of user identification numbers, each user identification number corresponds to a user;
A second obtaining module 302, configured to obtain, from the video monitoring configuration platform, an interface address of the video interface corresponding to each user identification number in the identification number list;
A calling module 303, configured to call each video interface through a calling tool based on the interface address of each video interface, so as to obtain the video address of the user corresponding to each video interface;
the playing module 304 is configured to play the monitoring video of each user through the front-end player based on the video address of each user.
The target account number is the account number of the login person, a plurality of users responsible for the login person are arranged under the login person, and the plurality of users responsible for the login person can be determined by providing a plurality of user identification numbers in the identification number list. The user is a client, and can be an enterprise, a person and the like. The identification number list corresponding to the target account number is obtained from the configuration tool, or the account number information of the target account number is obtained, and the identification number list corresponding to the account number information is obtained from a platform providing video monitoring service, wherein the account number information is related information of the target account number, such as a mobile phone number and a login personnel name bound with the target account number. The embodiment of the disclosure is applied to a platform needing to provide video monitoring service, and an execution end of the embodiment of the disclosure can be a video monitoring tool of the platform. The configuration tool, the video monitoring configuration platform, the calling tool and the front-end player independently exist in the video monitoring tool, and the configuration tool, the video monitoring configuration platform, the calling tool and the front-end player can be sequentially connected in series from front to back.
According to the technical scheme, a configuration tool is logged in by using a target account number, an identification number list corresponding to the target account number is obtained from the configuration tool, the identification number list comprises a plurality of user identification numbers, each user identification number corresponds to one user, an interface address of a video interface corresponding to each user identification number in the identification number list is obtained from a video monitoring configuration platform, each video interface is called by a calling tool based on the interface address of each video interface to obtain the video address of a user corresponding to each video interface, and monitoring video of each user is played by a front-end player based on the video address of each user. By adopting the technical means, the problem that in the prior art, the research and development cost of the video monitoring tool is wasted because one version of video monitoring tool cannot serve a plurality of clients can be solved, and further the research and development cost of the video monitoring tool is reduced, and resource waste is avoided.
Optionally, the second obtaining module 301 is further configured to obtain a target user identification number of the target user through the user information management module, obtain target video related information of the target user through the video source storage module based on the target user identification number, where the target video related information includes a target interface address of the target video interface, obtain a target video address of the target user through the video source output module according to the target video related information, play a target monitoring video of the target user through the front-end player according to the target video address, and the video monitoring configuration platform includes a user information management module, a video source storage module and a video source output module.
The video source storage module stores video related information of the user and the user, the video related information of the user can also comprise content description, theme and the like of monitoring video of the user, and the video source output module is used for determining video addresses according to the video related information (such as interface addresses).
Optionally, the second obtaining module 301 is further configured to complete verification of the rights management module by using the target account number, add or delete one or more pieces of user information at the user information management module by using the rights management module, wherein the user information includes a user identification number, add or delete one or more pieces of video related information at the video source editing module by using the rights management module, wherein the video related information includes an interface address of the video interface, and store the one or more pieces of video related information in the video source storage module by using the video source editing module.
In order to improve security, operations of the embodiments of the present disclosure in the user information management module, the video source editing module, and the video source storage module are performed using the rights management module.
Optionally, the second obtaining module 301 is further configured to obtain a target user identification number of the target user, obtain, based on the target user identification number, a target interface address of a target video interface of the target user through the video source storage module, where the video monitoring configuration platform includes a video source storage module, call the target video interface according to the target interface address to obtain a target video address corresponding to the target video interface, and play, according to the target video address, a target monitoring video of the target user through the front-end player.
For example, a target user is an enterprise, an enterprise identification number of the enterprise is obtained, an interface address of a video interface of the enterprise is obtained through a video source storage module based on the enterprise identification number, the video interface is called according to the interface address to obtain a video address corresponding to the video interface, and a monitoring video of the enterprise is played through a front-end player according to the video address.
Optionally, the calling module 303 is further configured to use the first order of the arrangement of the plurality of user identification numbers in the identification number list as the second order of the arrangement of the interface addresses of the plurality of video interfaces, call the plurality of video interfaces one by one through a calling tool based on the interface addresses of the plurality of video interfaces according to the second order to judge whether the target video address of the target user corresponding to the target video interface can be acquired or not, and end the call until the target video address is acquired, and play the target monitoring video through the front-end player based on the target video address.
The user identification numbers and the video interfaces have a corresponding relationship, so that the second order of the interface address arrangement of the plurality of video interfaces can be determined according to the first order of the arrangement of the plurality of user identification numbers in the identification number list. According to a second sequence, based on interface addresses of a plurality of video interfaces, calling the video interfaces one by one through a calling tool, when the video address of a user corresponding to a certain video interface is obtained, taking the video interface as a target video interface, wherein the user corresponding to the video interface is a target user, and the video address of the user corresponding to the video interface is the target video address.
Optionally, the calling module 303 is further configured to call the current video interface through the calling tool based on the interface address of the current video interface to determine whether the video address of the user corresponding to the current video interface can be obtained, when the video address of the user corresponding to the current video interface is obtained, take the current video interface as the target video interface to end the call, when the video address of the user corresponding to the current video interface is not obtained, call the next video interface of the current video interface through the calling tool based on the video address of the user corresponding to the next video interface of the current video interface according to the second sequence to determine whether the video address of the user corresponding to the next video interface of the current video interface can be obtained.
The call to the next video interface of the current video interface is the same as the call to the current video interface. If the video address of the user corresponding to the next video interface of the current video interface is acquired, the next video interface of the current video interface is used as a target video interface, if the video address of the user corresponding to the next video interface of the current video interface is not acquired, the next video interface of the current video interface is continuously called until the video address of the user corresponding to a certain video interface is acquired, and the call is ended.
Optionally, the calling module 303 is further configured to call each camera video interface through a calling tool based on the camera interface address of each camera video interface to obtain the video address of the user corresponding to each camera video interface, or call each cloud platform video interface through a calling tool based on the cloud platform interface address of each cloud platform video interface to obtain the video address of the user corresponding to each cloud platform video interface, wherein the video interfaces comprise a camera video interface and a cloud platform video interface, and the interface addresses comprise a camera interface address and a cloud platform interface address.
The monitoring video of a user can be obtained through a camera video interface or a cloud platform video interface.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the disclosure.
Fig. 4 is a schematic diagram of an electronic device 4 provided by an embodiment of the present disclosure. As shown in fig. 4, the electronic device 4 of this embodiment comprises a processor 401, a memory 402 and a computer program 403 stored in the memory 402 and executable on the processor 401. The steps of the various method embodiments described above are implemented by processor 401 when executing computer program 403. Or the processor 401, when executing the computer program 403, performs the functions of the modules/units in the above-described device embodiments.
Illustratively, the computer program 403 may be partitioned into one or more modules/units, which are stored in the memory 402 and executed by the processor 401 to complete the present disclosure. One or more of the modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 403 in the electronic device 4.
The electronic device 4 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the electronic device 4 and is not meant to be limiting of the electronic device 4, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device may also include an input-output device, a network access device, a bus, etc.
The Processor 401 may be a central processing unit (Central Processing Unit, CPU) or may be other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or a memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 4. Further, the memory 402 may also include both internal storage units and external storage devices of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device. The memory 402 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other manners. For example, the apparatus/electronic device embodiments described above are merely illustrative, e.g., the division of modules or elements is merely a logical functional division, and there may be additional divisions of actual implementations, multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present disclosure may implement all or part of the flow of the method of the above-described embodiments, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of the method embodiments described above. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium can include any entity or device capable of carrying computer program code, recording medium, USB flash disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media, among others. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The foregoing embodiments are merely for illustrating the technical solutions of the present disclosure, and not for limiting the same, and although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical solutions described in the foregoing embodiments may be modified or some of the technical features may be replaced with the same, and that the modifications or the replacement should not depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims (8)

1. A monitoring video playing method of multiple interfaces is characterized by comprising the following steps:
logging in a configuration tool by using a target account number, and acquiring an identification number list corresponding to the target account number from the configuration tool, wherein the identification number list comprises a plurality of user identification numbers, and each user identification number corresponds to one user;
Acquiring an interface address of a video interface corresponding to each user identification number in the identification number list from a video monitoring configuration platform;
calling each video interface by a calling tool based on the interface address of each video interface so as to acquire the video address of the user corresponding to each video interface;
based on the video address of each user, playing the monitoring video of each user through a front-end player;
after the interface address of the video interface corresponding to each user identification number in the identification number list is obtained from the video monitoring configuration platform, the method further comprises the steps of taking a first sequence of arrangement of the plurality of user identification numbers in the identification number list as a second sequence of arrangement of interface addresses of the plurality of video interfaces, calling the plurality of video interfaces one by one through the calling tool based on the interface addresses of the plurality of video interfaces according to the second sequence to judge whether the target video address of a target user corresponding to the target video interface can be obtained or not until the target video address is obtained, ending calling, and playing the target monitoring video through the front-end player based on the target video address;
The calling tool is used for calling the current video interface based on the interface address of the current video interface to judge whether the video address of the user corresponding to the current video interface can be obtained or not, when the video address of the user corresponding to the current video interface is not obtained, the calling tool is used for calling the next video interface of the current video interface to judge whether the video address of the user corresponding to the current video interface can be obtained or not, when the video address of the user corresponding to the current video interface is obtained, the current video interface is used as the target video interface to finish calling, and when the video address of the user corresponding to the current video interface is not obtained, the calling tool is used for calling the next video interface of the current video interface based on the video address of the user corresponding to the next video interface of the current video interface to judge whether the video address of the user corresponding to the next video interface of the current video interface can be obtained or not according to the second order.
2. The method of claim 1, wherein after logging into the configuration tool with the target account number, the method further comprises:
acquiring a target user identification number of a target user through a user information management module;
acquiring target video related information of the target user through a video source storage module based on the target user identification number, wherein the target video related information comprises a target interface address of a target video interface;
Acquiring a target video address of the target user through a video source output module according to the target video related information;
according to the target video address, playing a target monitoring video of the target user through the front-end player;
The video monitoring configuration platform comprises the user information management module, the video source storage module and the video source output module.
3. The method of claim 2, wherein prior to the obtaining, by the user information management module, the target user identification number of the target user, the method further comprises:
completing verification of the authority management module by using the target account;
adding or deleting one or more pieces of user information in the user information management module by utilizing the authority management module, wherein the user information comprises the user identification number;
Adding or deleting one or more pieces of video related information in a video source editing module by utilizing the right management module, wherein the video related information comprises an interface address of a video interface;
and storing one or more video related information in the video source storage module by utilizing the video source editing module.
4. The method of claim 1, wherein after logging into the configuration tool with the target account number, the method further comprises:
Acquiring a target user identification number of a target user;
Based on the target user identification number, a target interface address of a target video interface of the target user is obtained through a video source storage module, wherein the video monitoring configuration platform comprises the video source storage module;
calling a target video interface according to the target interface address to acquire a target video address corresponding to the target video interface;
And playing the target monitoring video of the target user through the front-end player according to the target video address.
5. The method according to claim 1, wherein the calling each video interface by a calling tool based on the interface address of each video interface to obtain the video address of the user corresponding to each video interface comprises:
calling each camera video interface through the calling tool based on the camera interface address of each camera video interface to acquire the video address of the user corresponding to each camera video interface, or
Based on the cloud platform interface address of each cloud platform video interface, calling each cloud platform video interface through the calling tool to acquire the video address of the user corresponding to each cloud platform video interface;
the video interface comprises a camera video interface and a cloud platform video interface, and the interface address comprises a camera interface address and a cloud platform interface address.
6. A monitoring video playing device with multiple interfaces, comprising:
The first acquisition module is configured to log in a configuration tool by utilizing a target account number and acquire an identification number list corresponding to the target account number from the configuration tool, wherein the identification number list comprises a plurality of user identification numbers, and each user identification number corresponds to one user;
the second acquisition module is configured to acquire the interface address of the video interface corresponding to each user identification number in the identification number list from the video monitoring configuration platform;
The calling module is configured to call each video interface through a calling tool based on the interface address of each video interface so as to acquire the video address of the user corresponding to each video interface;
The playing module is configured to play the monitoring video of each user through the front-end player based on the video address of each user;
The calling module is further configured to use a first sequence of the arrangement of the plurality of user identification numbers in the identification number list as a second sequence of the arrangement of the interface addresses of the plurality of video interfaces, call the plurality of video interfaces one by one through the calling tool based on the interface addresses of the plurality of video interfaces according to the second sequence so as to judge whether the target video address of the target user corresponding to the target video interface can be acquired or not until the target video address is acquired, and finish calling;
The calling module is further configured to call the current video interface through the calling tool based on the interface address of the current video interface to judge whether the video address of the user corresponding to the current video interface can be obtained, take the current video interface as the target video interface when the video address of the user corresponding to the current video interface is obtained, finish calling, and call the next video interface of the current video interface through the calling tool based on the video address of the user corresponding to the next video interface of the current video interface according to the second sequence when the video address of the user corresponding to the current video interface is not obtained, so as to judge whether the video address of the user corresponding to the next video interface of the current video interface can be obtained.
7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 5.
CN202210619073.3A 2022-06-01 2022-06-01 Monitoring video playback method and device with multiple interfaces Active CN115022592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210619073.3A CN115022592B (en) 2022-06-01 2022-06-01 Monitoring video playback method and device with multiple interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210619073.3A CN115022592B (en) 2022-06-01 2022-06-01 Monitoring video playback method and device with multiple interfaces

Publications (2)

Publication Number Publication Date
CN115022592A CN115022592A (en) 2022-09-06
CN115022592B true CN115022592B (en) 2024-12-20

Family

ID=83073895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210619073.3A Active CN115022592B (en) 2022-06-01 2022-06-01 Monitoring video playback method and device with multiple interfaces

Country Status (1)

Country Link
CN (1) CN115022592B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113727A (en) * 2013-04-17 2014-10-22 华为技术有限公司 Monitoring video playing method, device and system
CN106998441A (en) * 2017-05-04 2017-08-01 深圳市茁壮网络股份有限公司 Method, system and the Homed systems for supporting camera video data multiplex to broadcast

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9872069B1 (en) * 2012-06-21 2018-01-16 Google Llc Goal-based video analytics
US9538127B2 (en) * 2013-10-04 2017-01-03 Denison Parking, Inc. Remote customer assistance system having two-way audio and video interface
US20160050242A1 (en) * 2014-08-13 2016-02-18 Xiaomi, Inc. Methods and devices for playing streaming media data
CN113014859B (en) * 2019-12-20 2023-08-25 阿里巴巴集团控股有限公司 System, method and device for obtaining video data and electronic equipment
CN111641805B (en) * 2020-04-30 2021-10-01 武汉旷视金智科技有限公司 Method and device for acquiring video, terminal equipment and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113727A (en) * 2013-04-17 2014-10-22 华为技术有限公司 Monitoring video playing method, device and system
CN106998441A (en) * 2017-05-04 2017-08-01 深圳市茁壮网络股份有限公司 Method, system and the Homed systems for supporting camera video data multiplex to broadcast

Also Published As

Publication number Publication date
CN115022592A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN111784380B (en) Advertisement putting attribution method and device
CN109862100B (en) Method and device for pushing information
CN111163130A (en) A network service system and data transmission method thereof
CN114139135B (en) Equipment login management method, device and storage medium
CN106572146A (en) Message sending method and message sending device
CN111666539A (en) Real estate resource management method, device, server and storage medium
CN110244963B (en) Data updating method and device and terminal equipment
CN105512910A (en) Target user screening method and apparatus
CN113709151A (en) Method, apparatus, device, medium and product for logging in cloud application
CN108549586B (en) Information processing method and device
CN111240733A (en) Data acquisition method and device based on multiple third-party interfaces
CN111831566B (en) Test method, device, electronic device and computer readable storage medium
US11848762B2 (en) Live broadcast stream pushing method and apparatus, and electronic device
CN113395326B (en) Network service-based login method, device and computer-readable storage medium
CN115022592B (en) Monitoring video playback method and device with multiple interfaces
CN107277640A (en) Interactive approach, device and storage medium based on live platform
US20180098102A1 (en) Limited use media access tokens
CN116226499A (en) Information query method, device and electronic equipment
CN115204706A (en) Robot distribution method and device
CN115953803A (en) Training method and device for human body recognition model
CN114418142A (en) Equipment inspection method and device
CN115696261A (en) Account management method, device, electronic device and storage medium
CN114331455A (en) Information authentication method and device
CN111367592B (en) Information processing method and device
CN107659830B (en) Interactive activity access method, system and terminal equipment

Legal Events

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