CN111163284B - Method, device and equipment for configuring recording and broadcasting host - Google Patents

Method, device and equipment for configuring recording and broadcasting host Download PDF

Info

Publication number
CN111163284B
CN111163284B CN201811320633.5A CN201811320633A CN111163284B CN 111163284 B CN111163284 B CN 111163284B CN 201811320633 A CN201811320633 A CN 201811320633A CN 111163284 B CN111163284 B CN 111163284B
Authority
CN
China
Prior art keywords
recording
camera
configuration
broadcasting
shooting
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
CN201811320633.5A
Other languages
Chinese (zh)
Other versions
CN111163284A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811320633.5A priority Critical patent/CN111163284B/en
Publication of CN111163284A publication Critical patent/CN111163284A/en
Application granted granted Critical
Publication of CN111163284B publication Critical patent/CN111163284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/06Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
    • G09B5/065Combinations of audio and video presentations, e.g. videotapes, videodiscs, television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a method, a device and equipment for configuring a recording and broadcasting host, wherein the method comprises the following steps: establishing connection with a camera device to be accessed, and acquiring a device type identifier of the camera device based on the established connection; when the device type identifier exists in a preset configuration scheme, acquiring preconfigured information corresponding to the device type identifier from the preset configuration scheme, wherein the preset configuration scheme comprises: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system; and configuring the recording and broadcasting host by utilizing the pre-configuration information. The embodiment can simplify the configuration operation of the recording and broadcasting host and improve the configuration efficiency.

Description

Method, device and equipment for configuring recording and broadcasting host
Technical Field
The invention relates to the technical field of recording and broadcasting, in particular to a method, a device and equipment for configuring a recording and broadcasting host.
Background
The recording and playing system integrates and synchronously records the video and audio shot and recorded on site to generate a standardized streaming media file for external live broadcasting, storage, later editing or on-demand playing and the like. Taking a teaching recording and broadcasting system as an example, the recording and broadcasting system and teaching are integrated, a camera device can be installed in a classroom, video pictures under scenes such as video courses and conference sites which are being played are collected in multiple directions through the camera device and recorded in a computer hard disk, and students or teachers can watch video files from different camera angles. The core equipment of a set of recording and broadcasting system is a recording and broadcasting host and camera equipment, and after the combination of the recording and broadcasting host and the camera equipment is determined, the specific configuration of the recording and broadcasting host is also determined. However, in some scenarios, there may be a need to change the camera device, and when the camera device is changed, the recording and broadcasting host needs to be reconfigured. Configuration information such as manual configuration of camera access parameters, a broadcasting guide strategy, recording and broadcasting host parameters and the like has the disadvantages of complicated configuration process and low configuration efficiency.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides a method, a device and equipment for configuring a recording and broadcasting host.
According to a first aspect of the embodiments of the present invention, there is provided a method for configuring a recording and broadcasting host, the method including:
establishing connection with a camera device to be accessed, and acquiring a device type identifier of the camera device based on the established connection;
when the device type identifier exists in a preset configuration scheme, acquiring preconfigured information corresponding to the device type identifier from the preset configuration scheme, wherein the preset configuration scheme comprises: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
and configuring the recording and broadcasting host by utilizing the pre-configuration information.
In one embodiment, before establishing a connection with an image capturing apparatus to be accessed, the method further includes: acquiring an IP address, a port number, an account number and a password of the camera equipment to be accessed based on the appointed configuration page;
the connection establishment with the camera equipment to be accessed comprises the following steps: and sending a connection request containing the account and the password to the camera equipment to be accessed based on the IP address and the port number so that the camera equipment can perform security verification in the connection process based on the account and the password.
In one embodiment, the provisioning information includes: recording and broadcasting host parameters, a broadcasting guide strategy, access parameters of the camera channels to be connected and the shooting type of each camera channel; different shooting channels correspond to different shooting scenes, and the shooting types are divided based on the shooting scenes corresponding to the shooting channels;
the configuring the recording and broadcasting host by using the pre-configuration information comprises: and configuring the parameters of the recording and broadcasting host, the shooting type of the camera channel and a broadcasting guide strategy by using the pre-configuration information.
In one embodiment, before configuring the shooting type of each image capturing channel, the method further includes:
and setting the shooting type of the non-multimedia channel as a preset character, wherein the preset character is different from the shooting type to be configured.
In one embodiment, the method further comprises:
sending a channel connection request to each camera channel of the camera equipment according to the pre-configuration information;
if the connection fails, restoring the configuration information in the recording and broadcasting host and outputting an error reporting prompt;
if the connection is successful, the configuration process is ended.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for configuring a recording and broadcasting host, the apparatus being disposed in the recording and broadcasting host, the apparatus including:
the information connection module is used for establishing connection with the camera equipment to be accessed;
an identifier acquisition module configured to acquire an apparatus type identifier of the image pickup apparatus based on the established connection;
an information obtaining module, configured to obtain, when the device type identifier exists in a preset configuration scheme, pre-configuration information corresponding to the device type identifier from the preset configuration scheme, where the preset configuration scheme includes: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
and the information configuration module is used for configuring the recording and broadcasting host by utilizing the pre-configuration information.
In one embodiment, the apparatus further comprises a parameter obtaining module configured to: before establishing connection with the camera equipment to be accessed, acquiring an IP address, a port number, an account number and a password of the camera equipment to be accessed based on a specified configuration page;
the information connection module is specifically configured to: and sending a connection request containing the account and the password to the camera equipment to be accessed based on the IP address and the port number so that the camera equipment can perform security verification in the connection process based on the account and the password.
In one embodiment, the provisioning information includes: recording and broadcasting host parameters, a broadcasting guide strategy, access parameters of the camera channels to be connected and the shooting type of each camera channel; different shooting channels correspond to different shooting scenes, and the shooting types are divided based on the shooting scenes corresponding to the shooting channels;
the information configuration module is specifically configured to: and configuring the parameters of the recording and broadcasting host, the shooting type of the camera channel and a broadcasting guide strategy by using the pre-configuration information.
In one embodiment, the information configuring module is further configured to: before the shooting type of each camera shooting channel is configured, the shooting type of the non-multimedia channel is set as a preset character, and the preset character is different from the shooting type to be configured.
In one embodiment, the apparatus further comprises a channel connection module for:
sending a channel connection request to each camera channel of the camera equipment according to the pre-configuration information;
if the connection fails, restoring the configuration information in the recording and broadcasting host and outputting an error reporting prompt;
if the connection is successful, the configuration process is ended.
According to a third aspect of embodiments of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the following method when executing the program:
establishing connection with a camera device to be accessed, and acquiring a device type identifier of the camera device based on the established connection;
when the device type identifier exists in a preset configuration scheme, acquiring preconfigured information corresponding to the device type identifier from the preset configuration scheme, wherein the preset configuration scheme comprises: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
and configuring the recording and broadcasting host by utilizing the pre-configuration information.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
the embodiment of the invention presets the configuration scheme in advance, judges whether the corresponding configuration scheme exists in the preset configuration scheme by using the equipment type identifier of the camera equipment in the application stage, and configures the recording and broadcasting host by using the pre-configuration information corresponding to the equipment type identifier, thereby realizing automatic configuration, simplifying the configuration operation of the recording and broadcasting host and improving the configuration efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method for configuring a recorded broadcast host in accordance with an exemplary embodiment of the present invention.
FIG. 2 is a schematic diagram of a configuration page according to an exemplary embodiment of the present invention.
Fig. 3 is a flow chart illustrating another method of configuring a recorded broadcast host in accordance with an exemplary embodiment of the present invention.
Fig. 4 is a hardware structure diagram of a computer device where the apparatus for configuring a recording and broadcasting host according to the present invention is located.
Fig. 5 is a block diagram illustrating an apparatus for configuring a recorded broadcast host in accordance with an exemplary embodiment of the present invention.
Fig. 6 is a block diagram of a structure of a recording and broadcasting host according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In practical applications, for example, the teaching recording and broadcasting system may include a teacher camera, a student camera, a blackboard-writing camera, a courseware camera, and the like. For a set of configured recording and broadcasting systems, the number of the camera devices is often fixed, and when the camera devices need to be expanded or changed, the recording and broadcasting host needs to be reconfigured. In the related art, information configuration is performed through a web configuration page provided by the recording and playing host, for example: starting an electronic amplification program director, configuring the high-level parameter No. 75 of the program director host into 9, adding a camera device for positioning students, configuring the lower limit of the height of the students and the like. The configuration process is complicated and the efficiency is low.
The embodiment of the present invention provides a scheme capable of implementing automatic configuration, and the following describes the embodiment of the present invention by way of example with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for configuring a recording and playing host according to an exemplary embodiment of the present invention, where the method includes:
in step 102, establishing connection with a camera device to be accessed, and acquiring a device type identifier of the camera device based on the established connection;
in step 104, when the device type identifier exists in a preset configuration scheme, obtaining preconfigured information corresponding to the device type identifier from the preset configuration scheme, where the preset configuration scheme includes: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
in step 106, the recording and broadcasting host is configured with the pre-configuration information.
In this embodiment, a preset configuration scheme is provided, and the preset configuration scheme may be determined based on an existing configuration scheme in the history. The configuration scheme can be a parameter configuration scheme made for the recording and broadcasting host according to the bill configuration scheme, and the broadcasting guide parameters such as the camera channel required to be connected and the shooting type required to be configured for the camera channel. Among them, the image pickup apparatus may also be referred to as a front-end camera, and the image pickup channel may also be referred to as a camera channel. The allocation scheme may be a scheme describing the composition of the recording and broadcasting system. An allocation scheme can describe the composition of the recording and broadcasting system, and the recording and broadcasting host, the number of the camera devices, the types of the camera devices (camera types), the audio devices and the like can be determined according to the allocation scheme.
The preset configuration scheme may include a mapping relationship between the device type identifier and the pre-configuration information. The image pickup devices can be divided according to types, and the image pickup devices belonging to the same type correspond to the same device type identifier. The type may be determined by a policy of whether a specified function exists or not, or whether a specified character string exists in the device model or not, or the like. The pre-configured information may be configuration information required to compose a specified recording and playing system. In one embodiment, the configuration information may be used to determine a camera streaming mode, a recording and broadcasting host configuration mode, and the like. Correspondingly, the pre-configuration information configuration at least comprises recording and broadcasting host parameters, a broadcasting guide strategy, access parameters of the camera channels to be connected and the shooting type of each camera channel. For example, the recorded broadcast host parameters may include: starting an automatic classroom big data storage function, starting a classroom big data statistics function, starting group behavior analysis on student close-up channels, setting a snapshot interval time (for example, the snapshot interval time is set to be 12 seconds), and the like. The director policy may include: adding a student location camera, configuring a student height lower limit, configuring a director view to set the student panoramic camera to a default picture, configuring a director strategy such as PPT dwell time per page, and the like. Different shooting channels correspond to different shooting scenes, and one shooting channel corresponds to one video stream, so that different video streams can be generated due to different lenses of the shooting equipment and can also be generated due to different code streams of the shooting equipment. Correspondingly, the shooting type is divided based on the shooting scene corresponding to the shooting channel. For example, the shooting types may include: student features, student panorama, teacher panorama, and teacher features. 8092-E, the type of shot for channel 1 may be a student close-up, and the type of shot for channel 2 may be a student panorama. The stream-taking mode can also limit the selected code stream, and the code stream can comprise a main code stream, a sub code stream, a single code stream and the like. For example, for a camera with device type identification 8012, the shooting type of the 1 code stream may be teacher panorama, and the shooting type of the 3 code stream may be teacher close-up.
The image capturing device may also be referred to as a front-end camera, and the image capturing device may be an image capturing device capable of generating one path of video stream, and may also be an image capturing device capable of generating multiple paths of video streams, for example, multiple shooting scenes may be shot by a multi-view video camera, and each shooting scene corresponds to one image capturing channel to provide one path of video stream. The CAMERA equipment can be a network CAMERA, and the network CAMERA, also called IP Camera (IPC for short), can be formed by combining a network coding module and an analog CAMERA.
The recording and broadcasting system may include one or more image capturing apparatuses, and therefore the preset configuration scheme includes an apparatus type identifier (which may also be referred to as a camera tag) of each image capturing apparatus, so as to form an identifier combination.
In the actual application stage, after the user changes the camera device, the connection information required for connecting the camera device can be input in the specified configuration page, and the information can also be understood as the camera order information of the recording and broadcasting system to be constructed, so that the connection can be established with the camera device to be accessed by using the camera order information. For example, the camera inventory information may include: and the IP address and the port number of the camera equipment to be accessed. Further, in order to ensure security, an account number and a password can be input. Fig. 2 is a schematic diagram of a configuration page according to an exemplary embodiment of the present invention. When the user clicks the modification control, the information modification page can be displayed, so that the user can input an IP address, a port number, an input account number and a password through the provided page. After the input information is saved, the user can trigger the execution of the steps 102 to 106 through the one-key configuration control, so as to realize the automatic configuration of the recording and broadcasting host.
Correspondingly, the establishing of the connection with the camera device to be accessed includes: and sending a connection request containing the account and the password to the camera equipment to be accessed based on the IP address and the port number so that the camera equipment can perform security verification in the connection process based on the account and the password. Therefore, the security of the camera equipment can be improved by setting the account number and the password.
After a connection is established with an image pickup apparatus, an apparatus type identifier of the image pickup apparatus is acquired based on the established connection. The device type identifier may also be referred to as a camera tag, and is used to identify the same type of image capture device. If only one image pickup apparatus is replaced, the apparatus type identification of the image pickup apparatus is acquired, and if a plurality of image pickup apparatuses are replaced, the apparatus type identifications of the plurality of image pickup apparatuses are acquired. And acquiring the equipment type identifier of the camera equipment, and aiming at judging whether the camera equipment has the same list configuration capability as a specified recording and broadcasting system in a preset configuration scheme. Specifically, it may be determined whether the preset configuration scheme includes a device type identifier, that is, whether the obtained device type identifier matches the device type identifier in the preset configuration scheme. When the recording and broadcasting system to be constructed includes a plurality of image capturing apparatuses, it can be determined whether a combination of apparatus type identifiers (identifier combination for short) of each image capturing apparatus exists in a preset configuration scheme, that is, whether the obtained identifier combination matches with an identifier combination in the preset configuration scheme. For example, the device type identifiers in all preset configuration schemes can be integrated to analyze which scheme the recording and broadcasting system to be constructed belongs to. If none, an error is returned. And if the system belongs to one of the order matching schemes, acquiring the pre-configuration information of the order matching scheme. The preconfigured information may also be referred to as preset configuration parameters, and the flow taking mode and the configuration mode may be determined based on the preconfigured information. And configuring the recording and broadcasting host by using the pre-configuration information. For example, the pre-configuration information is used for configuring the parameters of the recording and broadcasting host, configuring the shooting type of the camera channel and configuring the broadcasting and guiding strategy.
It can be seen from the above embodiments that the configuration scheme is preset in advance, and in the application stage, the device type identifier of the image capturing device is used to determine whether a corresponding configuration scheme exists in the preset configuration scheme, and then the pre-configuration information corresponding to the device type identifier is used to configure the recording and broadcasting host, thereby implementing automatic configuration.
In an example, in the processes of steps 102 to 106, if the relevant configuration cannot be completed, an error reason and an error result may be returned, and further, before the configuration flow is not completed, the configuration progress may be displayed to the user.
In practical applications, when configuring the shooting type of the image capturing channel, a conflict may occur with the shooting type of the non-multimedia channel, and in order to avoid such a conflict, before configuring the shooting type of each image capturing channel, the method further includes: and setting the shooting type of the non-multimedia channel as a preset character, wherein the preset character is different from the shooting type to be configured. For example, the preset character may be "none", so as to set the shooting type of the non-multimedia channel to "none", and avoid a situation that the currently configured shooting type conflicts with the shooting type of the non-multimedia channel.
In one embodiment, a camera access procedure is also provided. The method further comprises the following steps:
sending channel connection requests to each channel of the camera equipment according to the pre-configuration information;
if the connection fails, restoring the configuration information in the recording and broadcasting host and outputting an error reporting prompt;
if the connection is successful, the configuration process is ended.
In this embodiment, when the connection is successful, the configuration flow ends. When the connection fails, the configuration information in the recording and broadcasting host is restored, so that time waste caused by manual restoration of the configuration information by a user when the connection fails can be avoided.
Various technical features in the above embodiments can be arbitrarily combined, so long as there is no conflict or contradiction between the combinations of the features, but the combination is limited by the space and is not described one by one, and therefore, any combination of various technical features in the above embodiments also belongs to the scope of the disclosure.
One of the combinations is exemplified below.
Fig. 3 is a flow chart illustrating another method for configuring a recording and playing host according to an exemplary embodiment of the present invention. In the preprocessing stage, various existing recording and broadcasting system schemes, namely various recipes of the recording and broadcasting host computer, can be arranged. For example, a 4K regular manifest, a 4K intelligent manifest, an AI class 2 machine place manifest, an AI class 3 machine place manifest, and the like may be included. Each recipe may be provided with a corresponding camera recipe, a stream fetching mode, and a configuration mode, and specific content may be set according to requirements, which is not limited herein. And integrating the preset configuration scheme into the recording and broadcasting host.
In the application stage, the user can input IPC configuration information such as IP address, port number and user name password of the camera through a specified web configuration interface and then save the IPC configuration information. And then clicking a 'one-key configuration' button on the web to trigger the automatic parameter configuration process and the IPC connection process of the recording and broadcasting host. In the recording and broadcasting host, IPC ticket assignment information is read (step 301). Further, IPC policy information verification may be performed, for example, a connection request including an account and a password is sent to the to-be-accessed image pickup device based on the IP address and the port number, so that the image pickup device performs security verification in a connection process based on the account and the password. And connecting IPC according to the IPC configuration information (step 302), and judging whether the identification combination is successfully acquired (step 303). The identification combination is formed by IPC equipment type identification. The identification combination comprises equipment type identification of the camera equipment in the recording and broadcasting system to be constructed. In some examples, a recording and broadcasting system may have two or more IPCs, so there may be two or more device type identifiers in the device type identifier combination. If the acquisition fails, an error message is returned. If the obtaining is successful, a standard identifier combination in each preset configuration scheme is obtained (step 304). The obtained identity combination is compared to the standard identity combination in one of the pre-configured schemes (step 305). If not, returning an error message. If so, the preconfigured information corresponding to the identification combination is obtained (step 306). According to the pre-configuration information, the director parameters, the director policy, the high level parameters, etc. may be configured ( steps 307, 308, 309). The shooting type of the non-multimedia channel is set to none (step 310). And configuring the shooting type of the image pickup channel according to the pre-configuration information (step 311). And sending channel connection requests to the channels of the image pickup device according to the pre-configuration information (step 312). If the connection fails, the configuration information in the recording and broadcasting host is restored (step 313), and an error notification is output. If the connection is successful, the configuration process is ended.
The embodiment of the invention can integrate the preset distribution scheme in the recording and broadcasting host, and the user only needs to configure the IPC distribution information needing to be added through the web, and the recording and broadcasting host automatically identifies the IPC information and automatically matches the IPC information. According to the pre-configuration information, various parameter configurations of the recording and broadcasting host, the broadcasting guide strategy configuration, the IPC channel access and the parameter configuration are completed. And returning the configuration progress and the configuration result in real time in the automatic configuration process, if errors occur, returning error reasons and results, and simultaneously recovering the previous parameter state of the equipment.
Corresponding to the embodiment of the method for configuring the recording and broadcasting host, the invention also provides an embodiment of a device for configuring the recording and broadcasting host and electronic equipment applied by the device.
The embodiment of the device for configuring the recording and broadcasting host can be applied to computer equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for running through the processor of the computer device where the software implementation is located as a logical means. From a hardware aspect, as shown in fig. 4, a hardware structure diagram of a computer device in which the apparatus for configuring a recording and broadcasting host is located according to the present invention is shown, except for the processor 410, the network interface 420, the memory 430, and the nonvolatile memory 440 shown in fig. 4, in an embodiment, the computer device in which the apparatus 431 for configuring a recording and broadcasting host is located may also include other hardware according to an actual function of the device, which is not described again.
Fig. 5 is a block diagram of an apparatus for configuring a recording and broadcasting host according to an exemplary embodiment of the present invention, the apparatus being provided in the recording and broadcasting host, and the apparatus including:
the information connection module 52 is used for establishing connection with the camera equipment to be accessed;
an identifier obtaining module 54 configured to obtain an apparatus type identifier of the image capturing apparatus based on the established connection;
an information obtaining module 56, configured to obtain, when the device type identifier exists in a preset configuration scheme, preconfigured information corresponding to the device type identifier from the preset configuration scheme, where the preset configuration scheme includes: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
and an information configuration module 58, configured to configure the recording and broadcasting host using the preconfigured information.
In an optional embodiment, the apparatus further comprises a parameter obtaining module (not shown in fig. 5) configured to: before establishing connection with the camera equipment to be accessed, acquiring an IP address, a port number, an account number and a password of the camera equipment to be accessed based on a specified configuration page;
the information connection module 52 is specifically configured to: and sending a connection request containing the account and the password to the camera equipment to be accessed based on the IP address and the port number so that the camera equipment can perform security verification in the connection process based on the account and the password.
In an optional embodiment, the provisioning information includes: recording and broadcasting host parameters, a broadcasting guide strategy, access parameters of the camera channels to be connected and the shooting type of each camera channel; different shooting channels correspond to different shooting scenes, and the shooting types are divided based on the shooting scenes corresponding to the shooting channels;
the information configuration module 58 is specifically configured to: and configuring the parameters of the recording and broadcasting host, the shooting type of the camera channel and a broadcasting guide strategy by using the pre-configuration information.
In an optional embodiment, the information configuring module 58 is further configured to: before the shooting type of each camera shooting channel is configured, the shooting type of the non-multimedia channel is set as a preset character, and the preset character is different from the shooting type to be configured.
In an alternative embodiment, the apparatus further comprises a channel connection module (not shown in fig. 5) for:
sending a channel connection request to each camera channel of the camera equipment according to the pre-configuration information;
if the connection fails, restoring the configuration information in the recording and broadcasting host and outputting an error reporting prompt;
if the connection is successful, the configuration process is ended.
In an alternative embodiment, as shown in fig. 6, it is a block diagram of a recording and broadcasting host according to an exemplary embodiment of the present invention. The recording and broadcasting host can comprise a list distribution module and an IPC module, the information acquisition module and the information configuration module can be configured in the list distribution module, and the information connection module and the identification acquisition module can be arranged in the IPC module. The recording and broadcasting host can further comprise: the device comprises a pre-configuration module, a broadcast guide module and a parameter module. The pre-configuration module is used for storing a preset configuration scheme, and the pre-configuration module can call the director module to complete the configuration of the director strategy and the configuration of the director parameters (shooting types). The order matching module can call the parameter module to configure the recording and broadcasting host parameters.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following method when executing the program:
establishing connection with a camera device to be accessed, and acquiring a device type identifier of the camera device based on the established connection;
when the device type identifier exists in a preset configuration scheme, acquiring preconfigured information corresponding to the device type identifier from the preset configuration scheme, wherein the preset configuration scheme comprises: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
and configuring the recording and broadcasting host by utilizing the pre-configuration information.
The embodiments of the present invention are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Correspondingly, an embodiment of the present invention further provides a computer storage medium, where the storage medium stores program instructions, and the program instructions include:
establishing connection with a camera device to be accessed, and acquiring a device type identifier of the camera device based on the established connection;
when the device type identifier exists in a preset configuration scheme, acquiring preconfigured information corresponding to the device type identifier from the preset configuration scheme, wherein the preset configuration scheme comprises: the mapping relation between the equipment type identifier and the pre-configuration information, wherein the pre-configuration information is the configuration information required by the specified recording and broadcasting system;
and configuring the recording and broadcasting host by utilizing the pre-configuration information.
Embodiments of the invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, in which program code is embodied. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
Other embodiments of the present invention will readily suggest themselves to such skilled persons having the benefit of this disclosure and the benefit of the present application. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method for configuring a recorded broadcast host, the method comprising:
establishing connection with each camera device to be accessed, and acquiring a device type identifier of each camera device based on the established connection;
judging whether an identifier combination of the device type identifier of each camera device exists in a preset configuration scheme, and acquiring preconfigured information corresponding to the identifier combination from the preset configuration scheme, wherein the identifier combination of the device type identifier of each camera device is used for indicating a recording and broadcasting system to be constructed, which is composed of the recording and broadcasting host and each camera device, and the preset configuration scheme includes: the mapping relation between the device type identifier and the pre-configuration information, wherein an identifier combination formed by the device type identifiers in the preset configuration scheme is used for indicating a specified recording and broadcasting system, and the pre-configuration information is configuration information required by the specified recording and broadcasting system;
and configuring the recording and broadcasting host by utilizing the pre-configuration information.
2. The method according to claim 1, wherein before establishing the connection with the image pickup apparatus to be accessed, the method further comprises: acquiring an IP address, a port number, an account number and a password of the camera equipment to be accessed based on the appointed configuration page;
the connection establishment with the camera equipment to be accessed comprises the following steps: and sending a connection request containing the account and the password to the camera equipment to be accessed based on the IP address and the port number so that the camera equipment can perform security verification in the connection process based on the account and the password.
3. The method of claim 1, wherein the provisioning information comprises: recording and broadcasting host parameters, a broadcasting guide strategy, access parameters of the camera channels to be connected and the shooting type of each camera channel; different shooting channels correspond to different shooting scenes, and the shooting types are divided based on the shooting scenes corresponding to the shooting channels;
the configuring the recording and broadcasting host by using the pre-configuration information comprises: and configuring the parameters of the recording and broadcasting host, the shooting type of the camera channel and a broadcasting guide strategy by using the pre-configuration information.
4. The method according to claim 3, wherein before configuring the shooting type of each image capturing channel, the method further comprises:
and setting the shooting type of the non-multimedia channel as a preset character, wherein the preset character is different from the shooting type to be configured.
5. The method of claim 3, further comprising:
sending a channel connection request to each camera channel of the camera equipment according to the pre-configuration information;
if the connection fails, restoring the configuration information in the recording and broadcasting host and outputting an error reporting prompt;
if the connection is successful, the configuration process is ended.
6. The utility model provides a configuration recorded broadcast host computer's device, its characterized in that, the device is located recorded broadcast host computer, the device includes:
the information connection module is used for establishing connection with each camera device to be accessed;
an identifier acquisition module for acquiring an apparatus type identifier of each image pickup apparatus based on the established connection;
an information obtaining module, configured to determine whether an identifier combination of device type identifiers of each image capturing device exists in a preset configuration scheme, and obtain preconfigured information corresponding to the identifier combination from the preset configuration scheme, where the identifier combination of the device type identifier of each image capturing device is used to indicate a recording and broadcasting system to be constructed, which is composed of the recording and broadcasting host and each image capturing device, and the preset configuration scheme includes: the mapping relation between the device type identifier and the pre-configuration information, wherein an identifier combination formed by the device type identifiers in the preset configuration scheme is used for indicating a specified recording and broadcasting system, and the pre-configuration information is configuration information required by the specified recording and broadcasting system;
and the information configuration module is used for configuring the recording and broadcasting host by utilizing the pre-configuration information.
7. The apparatus of claim 6, further comprising a parameter acquisition module configured to: before establishing connection with the camera equipment to be accessed, acquiring an IP address, a port number, an account number and a password of the camera equipment to be accessed based on a specified configuration page;
the information connection module is specifically configured to: and sending a connection request containing the account and the password to the camera equipment to be accessed based on the IP address and the port number so that the camera equipment can perform security verification in the connection process based on the account and the password.
8. The apparatus of claim 6, wherein the provisioning information comprises: recording and broadcasting host parameters, a broadcasting guide strategy, access parameters of the camera channels to be connected and the shooting type of each camera channel; different shooting channels correspond to different shooting scenes, and the shooting types are divided based on the shooting scenes corresponding to the shooting channels;
the information configuration module is specifically configured to: and configuring the parameters of the recording and broadcasting host, the shooting type of the camera channel and a broadcasting guide strategy by using the pre-configuration information.
9. The apparatus of claim 8, wherein the information configuration module is further configured to: before the shooting type of each camera shooting channel is configured, the shooting type of the non-multimedia channel is set as a preset character, and the preset character is different from the shooting type to be configured.
10. The apparatus of claim 8, further comprising a channel connection module to:
sending a channel connection request to each camera channel of the camera equipment according to the pre-configuration information;
if the connection fails, restoring the configuration information in the recording and broadcasting host and outputting an error reporting prompt;
if the connection is successful, the configuration process is ended.
11. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the method of:
establishing connection with each camera device to be accessed, and acquiring a device type identifier of each camera device based on the established connection;
judging whether an identifier combination of the device type identifier of each camera device exists in a preset configuration scheme, and acquiring preconfigured information corresponding to the identifier combination from the preset configuration scheme, wherein the identifier combination of the device type identifier of each camera device is used for indicating a recording and broadcasting system to be constructed, which is composed of a recording and broadcasting host and each camera device, and the preset configuration scheme comprises the following steps: the mapping relation between the device type identifier and the pre-configuration information, wherein an identifier combination formed by the device type identifiers in the preset configuration scheme is used for indicating a specified recording and broadcasting system, and the pre-configuration information is configuration information required by the specified recording and broadcasting system;
and configuring the recording and broadcasting host by using the pre-configuration information.
CN201811320633.5A 2018-11-07 2018-11-07 Method, device and equipment for configuring recording and broadcasting host Active CN111163284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811320633.5A CN111163284B (en) 2018-11-07 2018-11-07 Method, device and equipment for configuring recording and broadcasting host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811320633.5A CN111163284B (en) 2018-11-07 2018-11-07 Method, device and equipment for configuring recording and broadcasting host

Publications (2)

Publication Number Publication Date
CN111163284A CN111163284A (en) 2020-05-15
CN111163284B true CN111163284B (en) 2021-11-23

Family

ID=70554607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811320633.5A Active CN111163284B (en) 2018-11-07 2018-11-07 Method, device and equipment for configuring recording and broadcasting host

Country Status (1)

Country Link
CN (1) CN111163284B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638915A (en) * 2020-05-29 2020-09-08 无锡睿勤科技有限公司 Compatible method and shooting terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753989A (en) * 2008-12-08 2010-06-23 北京中星微电子有限公司 Method and device for collocating information in lot in video monitoring system
CN102298365A (en) * 2011-05-17 2011-12-28 中国电子科技集团公司第十研究所 Method for automatically identifying and managing spaceflight measurement and control earth station device change
CN105096098A (en) * 2014-05-21 2015-11-25 苏州市大创信息运用有限公司 Equipment configuration tree management method based on recursion and inheritance algorithms

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140302463A1 (en) * 2007-03-05 2014-10-09 Rafael Lisitsa Mnemonic-based language-learning system and method
EP2950285B1 (en) * 2014-05-26 2016-10-05 Axis AB Automatic configuration of a replacement camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753989A (en) * 2008-12-08 2010-06-23 北京中星微电子有限公司 Method and device for collocating information in lot in video monitoring system
CN102298365A (en) * 2011-05-17 2011-12-28 中国电子科技集团公司第十研究所 Method for automatically identifying and managing spaceflight measurement and control earth station device change
CN105096098A (en) * 2014-05-21 2015-11-25 苏州市大创信息运用有限公司 Equipment configuration tree management method based on recursion and inheritance algorithms

Also Published As

Publication number Publication date
CN111163284A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US20140208355A1 (en) Synchronizing video content with extrinsic data
CN105120299A (en) Video pushing method and video pushing device
US20180343486A1 (en) Program Recording Method and Device, and Set Top Box
CN109729345B (en) Camera simulation debugging test method and device
WO2017157135A1 (en) Media information processing method, media information processing device and storage medium
CN106210773B (en) The method and system of barrage are played in local video
CN105847433A (en) Virtual-theatre-based video playing method, apparatus, and system
CN111163284B (en) Method, device and equipment for configuring recording and broadcasting host
CN111105521A (en) Data reading method and device
CN114666554B (en) Edge gateway cloud service management system
CN108989833B (en) Method and device for generating video cover image
CN112153421A (en) Data processing method, device, system, electronic equipment and storage medium
CN108322640B (en) Method and system for realizing simultaneous calling of multiple applications to camera based on broadcast mechanism
CN109600571B (en) Multimedia resource transmission test system and multimedia resource transmission test method
CN114610605A (en) Test method, test device, terminal equipment and storage medium
CN110855947A (en) Image snapshot processing method and device
CN112769645B (en) Terminal testing method and device, terminal equipment and storage medium
CN106412492A (en) Video data processing method and apparatus
CN105307031A (en) Multi-user information push method and device
CN111031369B (en) Information screen projection method in control system
CN110971923B (en) Bullet screen connection method, storage medium, system and client
CN115278357B (en) Data processing method, device, communication device and storage medium
CN111901351A (en) Remote teaching system, method and device and voice gateway router
JP2019054505A (en) Video monitoring method, server, and video monitoring system
CN110881130B (en) Method and device for accessing network camera in recording and broadcasting system

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