Monitoring video playback method and device with multiple interfaces
By obtaining the user identification number list and calling the video interface, the problem that existing video surveillance tools cannot serve multiple customers is solved, and the effect of reducing R&D costs and resource waste is achieved, providing flexibility for multi-customer service.
Patent Information
- Application Number
- CN202210619073.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-06-01
AI Technical Summary
The existing video surveillance tools are unable to serve multiple customers, resulting in waste of R&D costs and resource waste.
By using the target account login configuration tool, you can obtain the user identification number list, and call the video interface based on the video interface address of each user, obtain the video address, and use the front-end player to play surveillance video to realize surveillance video playback of multiple interfaces.
Reduces the R&D cost of video surveillance tools, avoids waste of resources, and realizes the flexibility of multi-customer service.
Smart Images

Figure CN115022592B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of video technology, and in particular to a monitoring video playback method and device with multiple interfaces. Background Art
[0002] Some platforms that provide video surveillance services will serve multiple customers. Due to factors such as different video surveillance equipment for each customer, different data transmission formats, and non-uniform interfaces, the platforms that provide video surveillance services need to provide one version of video surveillance tools for each customer, resulting in a waste of development resources and high costs.
[0003] In the process of realizing the concept of the present disclosure, the inventors discovered that there are at least the following technical problems in the related art: since one version of the video surveillance tool cannot serve multiple customers, it will cause a problem of waste in the research and development costs of the video surveillance tool. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a monitoring video playback method, device, electronic device and computer-readable storage medium with multiple interfaces to solve the problem in the prior art that one version of the video monitoring tool cannot serve multiple customers, resulting in waste of R&D costs for the video monitoring tool.
[0005] A first aspect of an embodiment of the present disclosure provides a method for playing surveillance videos with multiple interfaces, including: 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 an interface address of a video interface corresponding to each user identification number in the list of identification numbers from a video surveillance 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 surveillance video of each user through a front-end player.
[0006] According to a second aspect of an embodiment of the present disclosure, a surveillance video playback device with multiple interfaces is provided, including: a first acquisition module, configured to log in to a configuration tool using a target account, and obtain 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; a second acquisition module, configured to obtain an interface address of a video interface corresponding to each user identification number in the list of identification numbers from a video surveillance configuration platform; a calling module, 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; and a playback module, configured to play the surveillance video of each user through a front-end player based on the video address of each user.
[0007] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0008] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0009] Compared with the prior art, the disclosed embodiment has the following beneficial effects: using the target account to log in to the configuration tool, and obtaining the identification number list corresponding to the target account from the configuration tool, wherein the identification number list includes multiple user identification numbers, and each user identification number corresponds to one user; obtaining the interface address of the video interface corresponding to each user identification number in the identification number list from the video monitoring configuration platform; based on the interface address of each video interface, calling each video interface through the 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 the front-end player. The above-mentioned technical means can solve the problem in the prior art that the R&D cost of the video monitoring tool is wasted because one version of the video monitoring tool cannot serve multiple customers, thereby reducing the R&D cost of the video monitoring tool and avoiding waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0011] Figure 1 is a schematic diagram of an application scenario of an embodiment of the present disclosure;
[0012] Figure 2 It is a flowchart of a monitoring video playback method with multiple interfaces provided by an embodiment of the present disclosure;
[0013] Figure 3 It is a structural diagram of a monitoring video playback device with multiple interfaces provided by an embodiment of the present disclosure;
[0014] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0015] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.
[0016] An air-conditioning passage control method and device according to an embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0017] Figure 1 1 is a schematic diagram of an application scenario of an embodiment of the present disclosure. The application scenario may include terminal devices 101, 102 and 103, a server 104 and a network 105.
[0018] The terminal devices 101, 102 and 103 can be hardware or software. When the terminal devices 101, 102 and 103 are hardware, they can be various electronic devices with display screens and supporting communication with the server 104, including but not limited to smart phones, tablet computers, laptop portable computers and desktop computers; when the terminal devices 101, 102 and 103 are software, they can be installed in the above electronic devices. The terminal devices 101, 102 and 103 can be implemented as multiple software or software modules, or as a single software or software module, and the embodiments of the present disclosure are not limited to this. Furthermore, various applications can be installed on the terminal devices 101, 102 and 103, such as data processing applications, instant messaging tools, social platform software, search applications, shopping applications, etc.
[0019] The server 104 may be a server that provides various services, for example, a background server that receives a request sent by a terminal device that establishes a communication connection with the server, and the background server may receive and analyze the request sent by the terminal device, and generate a processing result. The server 104 may be a single server, a server cluster consisting of several servers, or a cloud computing service center, which is not limited in the embodiments of the present disclosure.
[0020] It should be noted that the server 104 can be hardware or software. When the server 104 is hardware, it can be various electronic devices that provide various services for the terminal devices 101, 102, and 103. When the server 104 is software, it can be multiple software or software modules that provide various services for the terminal devices 101, 102, and 103, or it can be a single software or software module that provides various services for the terminal devices 101, 102, and 103, and the embodiments of the present disclosure are not limited to this.
[0021] The network 105 may be a wired network connected by coaxial cables, twisted pairs, and optical fibers, or a wireless network that can interconnect various communication devices without wiring, such as Bluetooth, Near Field Communication (NFC), infrared, etc., which is not limited in the embodiments of the present disclosure.
[0022] 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 send information, etc. It should be noted that the specific types, quantities and combinations of the terminal devices 101, 102 and 103, the server 104 and the network 105 can be adjusted according to the actual needs of the application scenario, and the embodiments of the present disclosure are not limited to this.
[0023] Figure 2 It is a flowchart of a monitoring video playback method with multiple interfaces provided by an embodiment of the present disclosure. Figure 2 The monitoring video playback method of various interfaces can be Figure 1 The terminal device or server executes it.
[0024] like Figure 2 As shown, the monitoring video playback method of the multiple interfaces includes:
[0025] S201, using a target account to log in to a configuration tool, and obtaining an identification number list corresponding to the target account from the configuration tool, wherein the identification number list includes a plurality of user identification numbers, each user identification number corresponding to a user;
[0026] S202, obtaining from the video surveillance configuration platform the interface address of the video interface corresponding to each user identification number in the identification number list;
[0027] S203, based on the interface address of each video interface, calling each video interface through a calling tool to obtain a video address of a user corresponding to each video interface;
[0028] S204, based on the video address of each user, play the monitoring video of each user through the front-end player.
[0029] The target account is the account of the person logging in. The person logging in has multiple users under his / her name. By providing multiple user identification numbers in the identification number list, the multiple users that the person logging in is responsible for can be determined. The user is the customer, which can be a company or an individual. The identification number list corresponding to the target account can be obtained from the configuration tool, or the account information of the target account can be obtained, and the identification number list corresponding to the account information can be obtained from the platform providing video surveillance services. The account information is the relevant information of the target account, such as the mobile phone number bound to the target account and the name of the person logging in. The embodiment of the present disclosure is applied to a platform that needs to provide video surveillance services, and the execution end of the embodiment of the present disclosure can be the video surveillance tool of the platform. The configuration tool, the video surveillance configuration platform, the calling tool and the front-end player exist independently in the video surveillance tool, and the configuration tool, the video surveillance configuration platform, the calling tool and the front-end player can be connected in series from front to back.
[0030] According to the technical solution provided by the embodiment of the present disclosure: use the target account to log in to the configuration tool, and obtain the identification number list corresponding to the target account from the configuration tool, wherein the identification number list includes multiple user identification numbers, and each user identification number corresponds to a user; obtain the interface address of the video interface corresponding to each user identification number in the identification number list from the video monitoring configuration platform; based on the interface address of each video interface, call each video interface through the calling tool to obtain the video address of the user corresponding to each video interface; based on the video address of each user, play the monitoring video of each user through the front-end player. The above-mentioned technical means can be adopted to solve the problem in the prior art that the R&D cost of the video monitoring tool will be wasted because one version of the video monitoring tool cannot serve multiple customers, thereby reducing the R&D cost of the video monitoring tool and avoiding waste of resources.
[0031] After executing step S201, that is, after logging in to the configuration tool using the target account, the method also includes: obtaining a target user identification number of the target user through a user information management module; based on the target user identification number, obtaining target video related information of the target user through a video source storage module, wherein the target video related information includes a target interface address of the target video interface; based on the target video related information, obtaining a target video address of the target user through a video source output module; based on the target video address, playing the target monitoring video of the target user through a front-end player; wherein the video monitoring configuration platform includes: a user information management module, a video source storage module and a video source output module.
[0032] The user information management module stores users and user identification numbers, and can provide services for adding, deleting, modifying and finding users and user identification numbers; the video source storage module stores users and their video-related information, and the user's video-related information may also include the content description and theme of the user's monitoring video; the video source output module is used to determine the video address based on the video-related information (such as the interface address).
[0033] Before obtaining the target user identification number of the target user through the user information management module, the method also includes: using the target account to complete the verification of the authority management module; using the authority management module to add or delete one or more user information in the user information management module, wherein the user information includes the user identification number; using the authority management module to add or delete one or more video related information in the video source editing module, wherein the video related information includes the interface address of the video interface; using the video source editing module to store one or more video related information in the video source storage module.
[0034] In order to improve security, the operations in the user information management module, the video source editing module and the video source storage module of the embodiment of the present disclosure are performed using the authority management module.
[0035] After executing step S201, that is, after logging into the configuration tool using the target account, the method also includes: obtaining a target user identification number of the target user; 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, wherein the video monitoring configuration platform includes: a video source storage module; based on the target interface address, calling a target video interface to obtain a target video address corresponding to the target video interface; based on the target video address, playing a target monitoring video of the target user through a front-end player.
[0036] For example, if the target user is an enterprise, obtain the enterprise identification number of the enterprise, and based on the enterprise identification number, obtain the interface address of the enterprise's video interface through the video source storage module. According to the interface address, call the video interface to obtain the video address corresponding to the video interface; according to the video address, play the surveillance video of the enterprise through the front-end player.
[0037] After executing step S202, that is, after obtaining the interface address of the video interface corresponding to each user identification number in the identification number list from the video surveillance configuration platform, the method also includes: using the first order of arrangement of multiple user identification numbers in the identification number list as the second order of arrangement of the interface addresses of multiple video interfaces; according to the second order, based on the interface addresses of multiple video interfaces, calling multiple video interfaces one by one through a calling tool to determine whether the target video address of the target user corresponding to the target video interface can be obtained, until the target video address is obtained, the calling is terminated; based on the target video address, playing the target surveillance video through the front-end player.
[0038] There is a corresponding relationship between the user identification number and the video interface, so the second order of the interface addresses of the multiple video interfaces can be determined according to the first order of the multiple user identification numbers in the identification number list. According to the second order, based on the interface addresses of the multiple video interfaces, the video interfaces are called one by one through the calling tool, and when the video address of the user corresponding to a certain video interface is obtained, the video interface is used as the target video interface, the user corresponding to the video interface is the target user, and the video address of the user corresponding to the video interface is the target video address.
[0039] According to the second sequence, based on the interface addresses of multiple video interfaces, multiple video interfaces are called one by one by a calling tool to determine whether the target video address of the target user corresponding to the target video interface can be obtained, until the target video address is obtained, the calling is terminated, including: based on the interface address of the current video interface, the current video interface is called by a calling tool 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, the current video interface is used as the target video interface and the calling is terminated; when the video address of the user corresponding to the current video interface is not obtained, according to the second sequence, based on the video address of the user corresponding to the next video interface of the current video interface, the next video interface of the current video interface is called by a calling tool to determine whether the video address of the user corresponding to the next video interface of the current video interface can be obtained.
[0040] The processing method for calling the next video interface of the current video interface is the same as that for calling the current video interface. If the video address of the user corresponding to the next video interface of the current video interface is obtained, the next video interface of the current video interface is used as the target video interface. If not obtained, the next video interface of the next video interface of the current video interface is called continuously until the video address of the user corresponding to a certain video interface is obtained, and then the call is terminated.
[0041] In step S203, based on the interface address of each video interface, each video interface is called by a calling tool to obtain the video address of the user corresponding to each video interface, including: based on the camera interface address of each camera video interface, each camera video interface is called by a calling tool to obtain 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, each cloud platform video interface is called by a calling tool to obtain the video address of the user corresponding to each cloud platform video interface; wherein, the video interface includes: a camera video interface and a cloud platform video interface, and the interface address includes: a camera interface address and a cloud platform interface address.
[0042] A user's surveillance video can be obtained through a camera video interface or a cloud platform video interface.
[0043] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0044] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0045] Figure 3 Schematic diagram of a surveillance video playback device with multiple interfaces provided by an embodiment of the present disclosure. Figure 3 As shown, the monitoring video playback device with multiple interfaces includes:
[0046] The first acquisition module 301 is configured to log in to the configuration tool using the target account, and obtain an identification number list corresponding to the target account from the configuration tool, wherein the identification number list includes multiple user identification numbers, each user identification number corresponds to a user;
[0047] The second acquisition module 302 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;
[0048] The calling module 303 is configured to call each video interface 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;
[0049] 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.
[0050] The target account is the account of the person logging in. The person logging in has multiple users under his / her name. By providing multiple user identification numbers in the identification number list, the multiple users that the person logging in is responsible for can be determined. The user is the customer, which can be a company or an individual. The identification number list corresponding to the target account can be obtained from the configuration tool, or the account information of the target account can be obtained, and the identification number list corresponding to the account information can be obtained from the platform providing video surveillance services. The account information is the relevant information of the target account, such as the mobile phone number bound to the target account and the name of the person logging in. The embodiment of the present disclosure is applied to a platform that needs to provide video surveillance services, and the execution end of the embodiment of the present disclosure can be the video surveillance tool of the platform. The configuration tool, the video surveillance configuration platform, the calling tool and the front-end player exist independently in the video surveillance tool, and the configuration tool, the video surveillance configuration platform, the calling tool and the front-end player can be connected in series from front to back.
[0051] According to the technical solution provided by the embodiment of the present disclosure: use the target account to log in to the configuration tool, and obtain the identification number list corresponding to the target account from the configuration tool, wherein the identification number list includes multiple user identification numbers, and each user identification number corresponds to a user; obtain the interface address of the video interface corresponding to each user identification number in the identification number list from the video monitoring configuration platform; based on the interface address of each video interface, call each video interface through the calling tool to obtain the video address of the user corresponding to each video interface; based on the video address of each user, play the monitoring video of each user through the front-end player. The above-mentioned technical means can be adopted to solve the problem in the prior art that the R&D cost of the video monitoring tool will be wasted because one version of the video monitoring tool cannot serve multiple customers, thereby reducing the R&D cost of the video monitoring tool and avoiding waste of resources.
[0052] Optionally, the second acquisition module 301 is also configured to obtain the target user identification number of the target user through the user information management module; based on the target user identification number, obtain the target video related information of the target user through the video source storage module, wherein the target video related information includes the target interface address of the target video interface; based on the target video related information, obtain the target video address of the target user through the video source output module; based on the target video address, play the target monitoring video of the target user through the front-end player; wherein, the video monitoring configuration platform includes: a user information management module, a video source storage module and a video source output module.
[0053] The user information management module stores users and user identification numbers, and can provide services for adding, deleting, modifying and finding users and user identification numbers; the video source storage module stores users and their video-related information, and the user's video-related information may also include the content description and theme of the user's monitoring video; the video source output module is used to determine the video address based on the video-related information (such as the interface address).
[0054] Optionally, the second acquisition module 301 is also configured to use the target account to complete the verification of the permission management module; use the permission management module to add or delete one or more user information in the user information management module, wherein the user information includes a user identification number; use the permission management module to add or delete one or more video-related information in the video source editing module, wherein the video-related information includes an interface address of the video interface; use the video source editing module to store one or more video-related information in the video source storage module.
[0055] In order to improve security, the operations in the user information management module, the video source editing module and the video source storage module of the embodiment of the present disclosure are performed using the authority management module.
[0056] Optionally, the second acquisition module 301 is also configured to obtain the target user identification number of the target user; based on the target user identification number, obtain the target interface address of the target video interface of the target user through the video source storage module, wherein the video monitoring configuration platform includes: a video source storage module; according to the target interface address, call the target video interface to obtain the target video address corresponding to the target video interface; according to the target video address, play the target monitoring video of the target user through the front-end player.
[0057] For example, if the target user is an enterprise, obtain the enterprise identification number of the enterprise, and based on the enterprise identification number, obtain the interface address of the enterprise's video interface through the video source storage module. According to the interface address, call the video interface to obtain the video address corresponding to the video interface; according to the video address, play the surveillance video of the enterprise through the front-end player.
[0058] Optionally, the calling module 303 is also configured to use the first order of arrangement of multiple user identification numbers in the identification number list as the second order of arrangement of interface addresses of multiple video interfaces; according to the second order, based on the interface addresses of multiple video interfaces, call multiple video interfaces one by one through a calling tool to determine whether the target video address of the target user corresponding to the target video interface can be obtained, until the target video address is obtained, the calling is terminated; based on the target video address, the target monitoring video is played through the front-end player.
[0059] There is a corresponding relationship between the user identification number and the video interface, so the second order of the interface addresses of the multiple video interfaces can be determined according to the first order of the multiple user identification numbers in the identification number list. According to the second order, based on the interface addresses of the multiple video interfaces, the video interfaces are called one by one through the calling tool, and when the video address of the user corresponding to a certain video interface is obtained, the video interface is used as the target video interface, the user corresponding to the video interface is the target user, and the video address of the user corresponding to the video interface is the target video address.
[0060] Optionally, the calling module 303 is also configured to call the current video interface through a 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, the current video interface is used as the target video interface and the calling is ended; when the video address of the user corresponding to the current video interface is not obtained, according to the second order, based on the video address of the user corresponding to the next video interface of the current video interface, the next video interface of the current video interface is called through a calling tool to determine whether the video address of the user corresponding to the next video interface of the current video interface can be obtained.
[0061] The processing method for calling the next video interface of the current video interface is the same as that for calling the current video interface. If the video address of the user corresponding to the next video interface of the current video interface is obtained, the next video interface of the current video interface is used as the target video interface. If not obtained, the next video interface of the next video interface of the current video interface is called continuously until the video address of the user corresponding to a certain video interface is obtained, and then the call is terminated.
[0062] Optionally, the calling module 303 is also 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 to 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 interface includes: camera video interface and cloud platform video interface, and the interface address includes: camera interface address and cloud platform interface address.
[0063] A user's surveillance video can be obtained through a camera video interface or a cloud platform video interface.
[0064] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
[0065] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present disclosure. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0066] Exemplarily, the computer program 403 may be divided into one or more modules / units, which are stored in the memory 402 and executed by the processor 401 to complete the present disclosure. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 403 in the electronic device 4.
[0067] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0068] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0069] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 402 may also include both an internal storage unit and an external storage device 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.
[0070] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0072] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0073] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.
[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0075] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0076] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0077] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be included in the protection scope of the present disclosure.
Claims
1. A monitoring video playback method with multiple interfaces, characterized in that: include: Log into a configuration tool using a target account, and obtain a list of identification numbers corresponding to the target account from the configuration tool, wherein the list of identification numbers includes a plurality of user identification numbers, each user identification number corresponding to a user; 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; Based on the interface address of each video interface, each video interface is called by a calling tool to obtain the video address of the user corresponding to each video interface; Based on each user's video address, the surveillance video of each user is played through the front-end player; Wherein, after obtaining the interface address of the video interface corresponding to each user identification number in the identification number list from the video surveillance configuration platform, the method further comprises: using the first order of arrangement of multiple user identification numbers in the identification number list as the second order of arrangement of the interface addresses of multiple video interfaces; according to the second order, based on the interface addresses of multiple video interfaces, calling multiple video interfaces one by one through the calling tool to determine whether the target video address of the target user corresponding to the target video interface can be obtained, until the target video address is obtained, the calling is terminated; based on the target video address, playing the target surveillance video through the front-end player; Among them, according to the second sequence, based on the interface addresses of multiple video interfaces, multiple video interfaces are called one by one by the calling tool to determine whether the target video address of the target user corresponding to the target video interface can be obtained, until the target video address is obtained, the calling is terminated, including: based on the interface address of the current video interface, the current video interface is called by the calling tool 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, the current video interface is used as the target video interface to terminate the calling; when the video address of the user corresponding to the current video interface is not obtained, according to the second sequence, based on the video address of the user corresponding to the next video interface of the current video interface, the next video interface of the current video interface is called by the calling tool to determine whether the video address of the user corresponding to the next video interface of the current video interface can be obtained.
2. The method according to claim 1, characterized in that: After logging into the configuration tool using the target account, the method further includes: Obtaining a target user identification number of a target user through a user information management module; Based on the target user identification number, obtaining target video related information of the target user through a video source storage module, wherein the target video related information includes a target interface address of a target video interface; According to the target video related information, obtaining the target video address of the target user through the video source output module; According to the target video address, the target monitoring video of the target user is played through the front-end player; Wherein, the video surveillance configuration platform includes: the user information management module, the video source storage module and the video source output module.
3. The method according to claim 2, characterized in that Before obtaining the target user identification number of the target user through the user information management module, the method further includes: Using the target account to complete the verification of the rights management module; Using the authority management module to add or delete one or more user information in the user information management module, wherein the user information includes the user identification number; Using the authority management module to add or delete one or more video related information in the video source editing module, wherein the video related information includes an interface address of a video interface; The video source editing module is used to store one or more video related information in the video source storage module.
4. The method according to claim 1, characterized in that: After logging into the configuration tool using the target account, the method further includes: Get the target user identification number of the 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; According to the target interface address, calling the target video interface to obtain the target video address corresponding to the target video interface; According to the target video address, the target monitoring video of the target user is played through the front-end player.
5. The method according to claim 1, characterized in that The method of calling each video interface based on the interface address of each video interface by a calling tool to obtain the video address of the user corresponding to each video interface includes: Based on the camera interface address of each camera video interface, calling each camera video interface through the calling tool to obtain 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, each cloud platform video interface is called by the calling tool to obtain the video address of the user corresponding to each cloud platform video interface; Among them, the video interface includes: a camera video interface and a cloud platform video interface, and the interface address includes: a camera interface address and a cloud platform interface address.
6. A surveillance video playback device with multiple interfaces, characterized in that: include: A first acquisition module is configured to log in to a configuration tool using a target account, and obtain an identification number list corresponding to the target account from the configuration tool, wherein the identification number list includes a plurality of user identification numbers, each user identification number corresponding to a user; A second acquisition module is configured to acquire, from the video surveillance configuration platform, an interface address of a video interface corresponding to each user identification number in the identification number list; The calling module is configured to call each video interface 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; The playback module is configured to play the surveillance video of each user through a front-end player based on the video address of each user; The calling module is further configured to use the first order of the arrangement of the multiple user identification numbers in the identification number list as the second order of the arrangement of the interface addresses of the multiple video interfaces; according to the second order, based on the interface addresses of the multiple video interfaces, the multiple video interfaces are called one by one by the calling tool to determine whether the target video address of the target user corresponding to the target video interface can be obtained, and the calling is terminated when the target video address is obtained; based on the target video address, the target monitoring video is played by the front-end player; The calling module is also 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, the current video interface is used as the target video interface to end the calling; when the video address of the user corresponding to the current video interface is not obtained, according to the second sequence, based on the video address of the user corresponding to the next video interface of the current video interface, the next video interface of the current video interface is called through the calling tool to determine 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: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Monitoring video playing method, device and system
CN104113727A
Method and system in support of multichannel broadcast of camera video data and Homed system
CN106998441A
Video acquisition method, device, terminal equipment and server
CN111641805A
System, method and device for obtaining video data and electronic equipment
CN113014859A
Remote customer assistance system having two-way audio and video interface
US20150097917A1
