CN114205141B - Network camera algorithm deployment admission method, system, medium and electronic terminal - Google Patents
Network camera algorithm deployment admission method, system, medium and electronic terminal Download PDFInfo
- Publication number
- CN114205141B CN114205141B CN202111500813.3A CN202111500813A CN114205141B CN 114205141 B CN114205141 B CN 114205141B CN 202111500813 A CN202111500813 A CN 202111500813A CN 114205141 B CN114205141 B CN 114205141B
- Authority
- CN
- China
- Prior art keywords
- ipc
- algorithm
- equipment
- deployed
- ipc equipment
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an IPC algorithm deployment admission method, a system, a medium and an electronic terminal, wherein the method comprises the following steps: classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, wherein the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment; acquiring an algorithm package to be deployed, wherein admission field information used for representing the current algorithm package to be deployed and capable of being accessed to the IPC equipment is arranged in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models; reading and matching the access field information to obtain a deployable IPC equipment list; deploying the algorithm packages to be deployed to the corresponding IPC devices in batches by utilizing the list of the IPC devices which can be deployed; the method of the invention better realizes the access judgment and the batch deployment of the algorithm to the IPC equipment, and effectively shortens the docking period of a new algorithm and the new IPC equipment.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a network camera algorithm deployment admission method, a system, a medium and an electronic terminal.
Background
With the development of video monitoring technology, the intelligent degree of IPC (IP CAMERA) is also higher and higher. Meanwhile, algorithms suitable for the network cameras are endless and are iterated continuously. Currently, in the process of performing algorithm deployment on an IPC, an admission judgment mechanism for determining whether a new algorithm package can be installed on a specific device is needed, and conventionally, which algorithm types are supported by a specific device of a certain model are recorded in a database of a corresponding video management platform, one-to-many mapping is performed on the device model and the algorithm type, and when an algorithm needs to be deployed, the corresponding deployable IPC device is searched in the database.
However, since there are many different actual IPC devices with new algorithm types and new models, if the new algorithm types and the new IPC device models need to be adapted each time and the software versions need to be changed, the docking period of the new algorithm and the new IPC device is lengthened, and meanwhile, the problem of version matching exists, and once the mapping relationship is not updated in time, the problems of failed deployment of the new algorithm, unsupportable deployment of the new IPC device, and the like are easily caused.
Disclosure of Invention
The invention provides a network camera algorithm deployment admission method, a system, a medium and an electronic terminal, which aim to solve the problems that in the prior art, when an algorithm type and/or an equipment model are newly added, adaptation is needed, and a software version is needed to be changed, so that the butt joint period of a new algorithm and a new IPC (industrial personal computer) equipment is long, the new algorithm deployment is easy to fail, and the new IPC equipment does not support algorithm deployment.
The network camera algorithm deployment admission method provided by the invention comprises the following steps:
classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, wherein the IPC is a network camera, and the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip model of the IPC equipment;
acquiring an algorithm package to be deployed, wherein admission field information used for representing accessible IPC equipment of the current algorithm package to be deployed is set in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models;
reading and matching the access field information to obtain a deployable IPC equipment list;
and deploying the algorithm packages to be deployed to the corresponding IPC devices in batches by utilizing the list of the deployable IPC devices.
Optionally, the step of obtaining the deployable IPC device list by reading and matching the admission field information includes:
and acquiring the deployable IPC equipment list through IPC equipment accessed in advance according to the supported product categories, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the admission field information.
Optionally, the step of obtaining the deployable IPC device list by reading and matching the admission field information further includes:
according to the product types supported in the access field information, obtaining IPC equipment under the corresponding product types as a first equipment set;
acquiring IPC equipment of a corresponding equipment model according to the additionally supported IPC equipment model, and adding the acquired IPC equipment of the corresponding model to the first equipment set to form a second equipment set;
and according to the model of the additional unsupported IPC equipment, removing the additional unsupported IPC equipment from the second equipment set, and further acquiring a deployable IPC equipment list.
Optionally, the step of deploying the algorithm packages to be deployed to the corresponding IPC devices in batch by using the deployable IPC device list includes:
acquiring an algorithm deployment request;
acquiring a plurality of IPC devices to be deployed from the deployable IPC device list according to the algorithm deployment request;
sending an algorithm deployment instruction to a plurality of IPC devices to be deployed, wherein the algorithm deployment instruction comprises the algorithm packages to be deployed;
and finishing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction.
Optionally, the step of completing batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction includes:
acquiring whether the current IPC equipment to be deployed has the corresponding algorithm operation capability or not according to the algorithm deployment instruction, and acquiring a judgment result;
controlling the IPC equipment to be deployed to decompress the algorithm package to be deployed according to the judgment result to obtain algorithm information to be deployed;
verifying the algorithm information to be deployed according to a preset verification rule to obtain a verification result;
and if the verification result is that the verification is passed, deploying the algorithm information to be deployed to the IPC equipment to be deployed, and completing the batch deployment of the algorithm packages to be deployed.
Optionally, the step of verifying the algorithm information to be deployed according to a preset verification rule includes:
judging whether the algorithm information to be deployed contains preset necessary deployment information or not according to the check rule;
and if the algorithm information to be deployed comprises the necessary deployment information, verifying the format of the algorithm information to be deployed to obtain the verification result.
The invention also provides a network camera algorithm deployment admission system, which comprises:
the video management platform is used for classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, wherein the IPC is a network camera, and the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip model of the IPC equipment;
an algorithm warehouse, configured to obtain an algorithm package to be deployed, where the algorithm package to be deployed is provided with access field information indicating that an IPC device of a current algorithm package to be deployed can be accessed, and the access field information includes: supported product categories, additional supported IPC device models, and additional unsupported IPC device models;
the video management platform is further used for reading the access field information to obtain a deployable IPC device list, and deploying the algorithm packages to be deployed to the corresponding IPC devices in batches by using the deployable IPC device list.
Optionally, the step of reading the admission field information and obtaining the deployable IPC device list includes:
and acquiring the deployable IPC equipment list through IPC equipment accessed in the video management platform in advance according to the supported product categories, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the access field information.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method as defined in any one of the above.
The present invention also provides an electronic terminal, comprising: a processor and a memory;
the memory is configured to store a computer program and the processor is configured to execute the computer program stored by the memory to cause the terminal to perform the method as described in any one of the above.
The invention has the beneficial effects that: the IPC algorithm deployment admission method, the system, the medium and the electronic terminal obtain IPC equipment under a plurality of product categories by classifying a plurality of IPC equipment according to preset classification rules, wherein the classification rules are used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment; acquiring an algorithm package to be deployed, wherein admission field information used for representing accessible IPC equipment of the current algorithm package to be deployed is set in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models; reading and matching the admission field information to obtain a deployable IPC equipment list; deploying the algorithm packages to be deployed to the corresponding IPC equipment in batches by utilizing the list of the deployable IPC equipment; the method and the device have the advantages that the admittance judgment and the batch deployment of the IPC algorithm accessed to the IPC equipment are well realized, the mapping relation between the algorithm and the IPC equipment does not need to be preset, when the algorithm type and/or the equipment model are/is newly added, the adaptive modification of the mapping relation is not needed, the software version does not need to be changed, and the docking period of a new algorithm and a new IPC equipment is effectively shortened.
Drawings
Fig. 1 is a schematic flow diagram of an IPC algorithm deployment admission method in an embodiment of the present invention.
FIG. 2 is a flow chart of the IPC algorithm deployment admission method for obtaining the IPC device list in the embodiment of the present invention.
FIG. 3 is another schematic flow chart of the IPC algorithm deployment admission method for obtaining the IPC device list in the embodiment of the present invention.
FIG. 4 is a schematic flowchart of the batch deployment of algorithm packages to be deployed to corresponding IPC devices in the IPC algorithm deployment admission method in the embodiment of the present invention.
Fig. 5 is a schematic flow chart of judgment and verification in the algorithm deployment process in the IPC algorithm deployment admission method in the embodiment of the present invention.
FIG. 6 is a schematic diagram of the IPC algorithm deployment admission system in the embodiment of the present invention.
FIG. 7 is a schematic diagram of the operation flow of an IPC algorithm deployment admission system in the embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a video management platform in an IPC algorithm deployment admission system in an embodiment of the present invention.
FIG. 9 is a schematic structural diagram of an IPC device in an IPC algorithm deployment admission system in an embodiment of the present invention.
Detailed Description
The following embodiments of the present invention are provided by way of specific examples, and other advantages and effects of the present invention will be readily apparent to those skilled in the art from the disclosure herein. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The inventor finds that with the development of video monitoring technology, the degree of intelligence of IPC (IP Camera) is higher and higher. Meanwhile, algorithms suitable for the network cameras are endless and are iterated continuously. Currently, in the process of deploying an algorithm for an IPC, an admission judgment mechanism for determining whether a new algorithm package can be installed on a specific device is required, and the conventional method is to record which algorithm types are supported by a specific device of a certain model into a database of a corresponding video management platform, perform one-to-many mapping on the device model and the algorithm type, and search a corresponding deployable IPC device in the database when the algorithm needs to be deployed. However, since there are many different actual IPC devices with new algorithm types and new models, if the new algorithm types and the new IPC device models need to be adapted each time and the software versions need to be changed, the docking period of the new algorithm and the new IPC device is lengthened, and meanwhile, the problem of version matching exists, and once the mapping relationship is not updated in time, the problems of failed deployment of the new algorithm, unsupportable deployment of the new IPC device, and the like are easily caused. Therefore, the inventor provides an IPC algorithm deployment admission method, system, medium and electronic terminal, and the IPC equipment under a plurality of product categories is obtained by classifying a plurality of IPC equipment according to a preset classification rule, wherein the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment; acquiring an algorithm package to be deployed, wherein admission field information used for representing the accessible IPC equipment of the current algorithm package to be deployed is set in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models; reading and matching the access field information to obtain a deployable IPC equipment list; deploying the algorithm packages to be deployed to the corresponding IPC equipment in batches by utilizing the list of the deployable IPC equipment; the access judgment and the batch deployment of the IPC algorithm accessed to the IPC equipment are well realized, the mapping relation between the algorithm and the IPC equipment does not need to be preset, when the algorithm type and/or the equipment model are newly added, the adaptive modification of the mapping relation is not needed, and the software version does not need to be changed, so that the docking period and the deployment period of a new algorithm and new IPC equipment are effectively shortened, the efficiency of deploying the algorithm to the IPC equipment is improved, the automation degree is higher, and the implementation is more convenient.
As shown in fig. 1, the IPC algorithm deployment admission method in this embodiment includes:
s101: the IPC equipment is classified according to preset classification rules to obtain the IPC equipment under multiple product categories, and the classification rules are used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment. It can be understood that the IPC has the characteristic that the algorithm types supported under the similar use scene are the same with high probability, therefore, the IPC devices are classified according to the use scene of the IPC devices and the chip models of the IPC devices to obtain the IPC devices under a plurality of product categories, namely, the IPC devices under the plurality of product categories respectively correspond to the corresponding IPC devices, the IPC devices under the plurality of product categories have different models, the problem of various IPC device models can be greatly reduced, the IPC device models do not need to be specifically classified, the classification difficulty is reduced, and the matching difficulty of subsequent algorithm packages and the admittance deployment of the IPC devices is further reduced. For example: the use scene of IPC equipment can have and is applicable to traffic, on-vehicle, garden, general etc, the chip model of IPC equipment can have chip vendor A chip model 1, chip vendor B chip model 2 etc, the chip model of IPC equipment indicates the model of the used chip of IPC equipment, the IPC equipment of a plurality of different equipment models can use the chip of same type usually, consequently, according to the use scene of IPC equipment and the chip model of IPC equipment, classify a plurality of IPC equipment, confirm a plurality of product categories, wherein, every product category includes the IPC equipment of a plurality of different equipment models respectively, if: hisi3516_ traffic, hisi3516_ vehicle, hisi3519_ campus, etc.
S102: acquiring an algorithm package to be deployed, wherein admission field information used for representing accessible IPC equipment of the current algorithm package to be deployed is set in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models. The algorithm package to be deployed is a new algorithm package which needs to be deployed and is input by a user, and the admittance field information used for representing the accessible IPC equipment of the current algorithm package to be deployed is preset in the algorithm package to be deployed, so that the corresponding deployable IPC equipment list can be obtained by analyzing the admittance field information in the subsequent admittance judgment process.
S103: and reading and matching the admission field information to obtain a deployable IPC equipment list. For example: the method comprises the steps of reading admission field information, obtaining product types supported by an algorithm, additionally supported IPC equipment models and additionally unsupported IPC equipment models in the admission field information, matching the supported product types with a plurality of pre-classified product types according to the supported product types, obtaining IPC equipment under the corresponding product types as a first equipment set, determining the additionally supported IPC equipment through the equipment types of the pre-accessed IPC equipment according to the additionally supported IPC equipment models on the basis, adding the additionally supported IPC equipment to the first equipment set to form a second equipment set, obtaining accurately a deployable list according to the additionally unsupported IPC equipment models, obtaining high accuracy, implementing conveniently, and not needing to update or modify mapping relations between the additionally supported IPC equipment models and package algorithms in a system in advance to obtain the deployable IPC equipment list.
S104: and deploying the algorithm packages to be deployed to the corresponding IPC equipment in batches by utilizing the list of the deployable IPC equipment. According to the algorithm deployment request, multiple IPC devices to be deployed are obtained from the deployable IPC device list, the algorithm packages to be deployed are deployed to the corresponding IPC devices to be deployed in batches, the algorithm packages to be deployed or new algorithm packages are deployed to the IPC devices in batches, the automation degree is high, the difficulty and complexity of deploying the new algorithm packages to the IPC devices in batches are reduced, the time for deploying the algorithm packages to be deployed to the IPC devices is shortened, software iteration is not needed, the problem of unmatched software versions is reduced, the universality of an algorithm deployment admission mechanism is improved, and the algorithm packages are deployed to the IPC devices in batches and automatically adapt.
As shown in fig. 2, in order to facilitate obtaining a deployable IPC device list and improve the accuracy of obtaining the deployable IPC device list, the inventor proposes that, by reading and matching the admission field information, the step of obtaining the deployable IPC device list includes:
s201: and acquiring the deployable IPC equipment list through pre-accessed IPC equipment according to the supported product categories, additionally supported IPC equipment models and additionally unsupported IPC equipment models in the access field information. The pre-accessed IPC equipment is the IPC equipment pre-accessed to the system corresponding to the IPC algorithm deployment admission method in the embodiment. According to the supported product categories, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the admission field information, the IPC equipment which is accessed in advance can be determined more accurately, the deployable IPC equipment corresponding to the current algorithm package can be determined, and then the deployable IPC equipment list can be obtained.
As shown in fig. 3, in some embodiments, the step of obtaining the list of deployable IPC devices by reading and matching the admission field information further includes:
s301: and according to the supported product categories in the access field information, acquiring IPC equipment under the corresponding product categories as a first equipment set. According to the supported product categories in the admission field information, the product categories passing through the pre-classification number are matched with the product categories of the pre-classification number, IPC equipment under the product categories corresponding to the supported product categories are obtained, and the IPC equipment is used as a first equipment set.
S302: and acquiring the IPC equipment of the corresponding equipment model according to the additionally supported IPC equipment model, and adding the acquired IPC equipment of the corresponding model to the first equipment set to form a second equipment set. The method comprises the steps of obtaining IPC equipment matched with or corresponding to an additionally supported IPC equipment model through pre-accessing the IPC equipment model according to the additionally supported IPC equipment model, and adding the obtained additionally supported IPC equipment into a first equipment set to form a second equipment set.
S303: and according to the model of the additional unsupported IPC equipment, removing the additional unsupported IPC equipment from the second equipment set, and further acquiring a deployable IPC equipment list. According to the model of the additional unsupported equipment, the additional unsupported IPC equipment is acquired through traversing the second equipment set, the additional unsupported IPC equipment is removed from the second equipment set, and the deployable IPC equipment list is acquired, so that the accuracy is high, and the matching speed is high.
As shown in fig. 4, in order to better implement batch deployment of algorithm packages to be deployed, the inventor proposes that, using the deployable IPC device list, the step of deploying the algorithm packages to be deployed to corresponding IPC devices in batches includes:
s401: and acquiring an algorithm deployment request. The algorithm deployment request comprises the model and the number of the IPC equipment to be deployed.
S402: and acquiring a plurality of IPC devices to be deployed from the deployable IPC device list according to the algorithm deployment request. For example: and according to the equipment model and the quantity of the IPC equipment to be deployed in the algorithm deployment request, corresponding IPC equipment to be deployed in the deployable IPC equipment list. In some embodiments, the user may also manually select the corresponding IPC device from the list of deployable IPC devices as the IPC device to be deployed.
S403: and sending an algorithm deployment instruction to the IPC devices to be deployed. The method comprises the steps that a plurality of IPC devices to be deployed send algorithm deployment instructions, so that the IPC devices to be deployed can download algorithm packages to be deployed and perform algorithm deployment on the algorithm packages to be deployed conveniently according to the algorithm deployment instructions. In some embodiments, the algorithm deployment instruction may be sent to a plurality of the IPC devices to be deployed in batch, or may be sent to a plurality of the IPC devices to be deployed in sequence.
S404: and finishing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction. Namely, the IPC equipment to be deployed deploys the algorithm package according to the algorithm deployment instruction, and the effect is good.
As shown in fig. 5, in some embodiments, the step of completing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction includes:
s501: and acquiring whether the current IPC equipment to be deployed has the corresponding algorithm operation capability or not according to the algorithm deployment instruction, and acquiring a judgment result. The method comprises the steps of obtaining a required space for running an algorithm of an algorithm package to be deployed according to an algorithm deployment instruction, judging whether the residual space of the current IPC equipment to be deployed is larger than the required space or not according to the required space, carrying out decompression, verification and deployment of a subsequent algorithm package if the residual space of the current IPC equipment to be deployed is larger than the required space, and stopping deployment of the algorithm package if the residual space of the current IPC equipment is smaller than or equal to the required space.
S502: and controlling the IPC equipment to be deployed to decompress the algorithm packet to be deployed according to the judgment result to obtain the algorithm information to be deployed. If the remaining space of the current IPC equipment to be deployed is larger than the required space, the current IPC equipment is controlled to download the algorithm package to be deployed, and the algorithm package to be deployed is decompressed and checked.
S503: and verifying the algorithm information to be deployed according to a preset verification rule to obtain a verification result.
The check rule may be set according to an actual situation, for example, whether the algorithm information to be deployed includes necessary deployment information is determined, and details are not described here.
Preferably, the step of verifying the algorithm information to be deployed according to a preset verification rule comprises:
judging whether the algorithm information to be deployed contains preset necessary deployment information or not according to the check rule; the necessary deployment information is necessary information and the like required by the deployment of the algorithm package, and can be set according to actual conditions, such as a check code carrying version information of the algorithm package, a necessary content module of the algorithm package and the like;
and if the algorithm information to be deployed comprises the necessary deployment information, verifying the format of the algorithm information to be deployed to obtain the verification result. By checking the algorithm information to be deployed, the deployment efficiency of the algorithm package can be better improved.
S504: and if the verification result is that the verification is passed, deploying the algorithm information to be deployed to the IPC equipment to be deployed, and completing the batch deployment of the algorithm packages to be deployed.
The first embodiment is as follows:
the IPC algorithm deployment admission method in the embodiment can be applied to application scenes such as cloud networking. The cloud networking is composed of a video management platform, an algorithm warehouse and IPC equipment. The video management platform is used for accessing the IPC equipment and classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, wherein the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment; the algorithm warehouse is responsible for functions of importing, storing, downloading and the like of the algorithm packages to be deployed, namely new algorithm packages, a user imports the new algorithm packages into the algorithm warehouse, admission field information used for representing accessible IPC equipment of the current algorithm packages to be deployed is arranged in the algorithm packages to be deployed, and the admission field information comprises: the IPC deployment method comprises the steps that supported product types, additionally supported IPC device models and additionally unsupported IPC device models are inquired for a deployable IPC device list capable of deploying a new algorithm package from an algorithm warehouse to a video management platform, the video management platform reads and matches access field information carried in the algorithm package to be deployed to obtain the deployable IPC device list and sends the deployable IPC device list to the algorithm warehouse, the algorithm warehouse can perform algorithm deployment on IPCs in batches after obtaining the deployable IPC device list, for example, according to the deployable IPC device list, IPC devices to be deployed are manually selected, an algorithm deployment instruction is sent to the IPC devices to be deployed, and the subsequent IPC devices actively download the algorithm packages to be deployed to the algorithm warehouse according to the received algorithm deployment instruction to perform algorithm deployment and control algorithm start and stop.
As shown in fig. 6, this embodiment further provides an IPC algorithm deployment admission system, which includes:
the video management platform is used for classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, and the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip model of the IPC equipment;
an algorithm warehouse, configured to obtain an algorithm package to be deployed, where the algorithm package to be deployed is provided with access field information indicating that an IPC device of a current algorithm package to be deployed can be accessed, and the access field information includes: supported product categories, additional supported IPC device models, and additional unsupported IPC device models;
the video management platform is further used for reading the access field information to obtain a deployable IPC device list, and deploying the algorithm packages to be deployed to the corresponding IPC devices in batches by using the deployable IPC device list. The IPC algorithm in the embodiment deploys the access system, and a plurality of IPC devices are classified according to preset classification rules to obtain the IPC devices under a plurality of product categories, wherein the classification rules are used for classifying the IPC devices according to the use scenes of the IPC devices and the chip models of the IPC devices; acquiring an algorithm package to be deployed, wherein admission field information used for representing accessible IPC equipment of the current algorithm package to be deployed is set in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models; reading and matching the admission field information to obtain a deployable IPC equipment list; deploying the algorithm packages to be deployed to the corresponding IPC equipment in batches by utilizing the list of the deployable IPC equipment; the method and the system have the advantages that the admittance judgment and the batch deployment of the IPC algorithm accessed to the IPC equipment are well realized, the mapping relation between the algorithm and the IPC equipment does not need to be preset, when the algorithm type and/or the equipment model are newly increased, the adaptive modification of the mapping relation is not needed, the software version does not need to be changed, the docking period of a new algorithm and the new IPC equipment is effectively shortened, the system stability is high, and the cost is low.
For example: referring to fig. 7, when a new algorithm package is added, the operation steps of the IPC algorithm deployment admission system in this embodiment include:
f1: adding a new algorithm to the algorithm repository; adding the algorithm package to be deployed to an algorithm warehouse;
f2: the algorithm warehouse inquires a deployable IPC equipment list from the video management platform according to the algorithm package to be deployed, the video management platform performs algorithm admission judgment and returns the deployable IPC equipment list to the algorithm warehouse;
f3: deploying new algorithm packages in batches; the video management platform acquires a plurality of IPC devices to be deployed from the deployable IPC device list according to the algorithm deployment request;
f4: message transparent transmission and algorithm deployment judgment; the video management platform sends algorithm deployment instructions to the IPC equipment to be deployed, transparent transmission refers to transparent transmission, and after receiving the algorithm deployment instructions, the IPC equipment to be deployed judges whether the current IPC equipment to be deployed has corresponding algorithm operation capability;
f5: downloading an algorithm package; if the current IPC equipment to be deployed has the corresponding algorithm operation capability, downloading an algorithm package to be deployed to an algorithm warehouse;
f6: carrying out decompression on the algorithm packet; namely, the IPC equipment to be deployed decompresses and deploys the algorithm packet to be deployed;
f7: starting an algorithm; starting the deployed algorithm in the IPC equipment to be deployed;
f8: analyzing an algorithm; namely, the algorithm is controlled to run, and the analysis result of the algorithm is obtained.
As shown in fig. 8, the video management platform includes:
the equipment access module is used for accessing the IPC equipment into the video management platform;
the IPC algorithm access module is used for receiving a deployable IPC device list query instruction sent by the algorithm warehouse, querying the deployable IPC device list to the device access module according to the deployable IPC device list query instruction, acquiring the deployable IPC device list and feeding back the deployable IPC device list to the algorithm warehouse;
and the IPC algorithm deployment module is used for receiving the algorithm deployment instruction sent by the algorithm warehouse and sending the algorithm package to be deployed to the corresponding IPC equipment to be deployed according to the algorithm deployment instruction.
As shown in fig. 9, the IPC apparatus includes:
the algorithm package management module is used for receiving the algorithm deployment instruction, judging the required space for operating the algorithm package to be deployed, downloading the algorithm package to be deployed from the algorithm warehouse according to the judgment result, decompressing and checking the algorithm package to be deployed, and further completing algorithm deployment;
the algorithm start-stop module is used for controlling the start and stop of the algorithm;
and the algorithm service module is used for performing algorithm service processing.
In some embodiments, reading the admission field information, and the step of obtaining a list of deployable IPC devices comprises:
and acquiring the deployable IPC equipment list through IPC equipment accessed in the video management platform in advance according to the supported product categories, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the access field information.
In some embodiments, reading the admission field information, and the step of obtaining a list of deployable IPC devices further includes:
according to the product types supported in the admission field information, obtaining IPC equipment under the corresponding product types as a first equipment set;
acquiring IPC equipment of a corresponding equipment model according to the additionally supported IPC equipment model, and adding the acquired IPC equipment of the corresponding model to the first equipment set to form a second equipment set;
and according to the model of the additional unsupported IPC equipment, removing the additional unsupported IPC equipment from the second equipment set, and further acquiring a deployable IPC equipment list.
In some embodiments, the step of obtaining the list of deployable IPC devices by reading and matching the admission field information comprises:
and acquiring the deployable IPC equipment list through IPC equipment accessed in advance according to the supported product categories, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the admission field information.
In some embodiments, the step of obtaining a list of deployable IPC devices by reading and matching the admission field information further comprises:
according to the product types supported in the admission field information, obtaining IPC equipment under the corresponding product types as a first equipment set;
acquiring IPC equipment of a corresponding equipment model according to the additionally supported IPC equipment model, and adding the acquired IPC equipment of the corresponding model to the first equipment set to form a second equipment set;
and according to the model of the additional unsupported IPC equipment, removing the additional unsupported IPC equipment from the second equipment set, and further acquiring a deployable IPC equipment list.
In some embodiments, the step of deploying the algorithm packages to be deployed to the corresponding IPC devices in batches by using the list of deployable IPC devices includes:
acquiring an algorithm deployment request;
acquiring a plurality of IPC devices to be deployed from the deployable IPC device list according to the algorithm deployment request;
sending an algorithm deployment instruction to a plurality of IPC devices to be deployed, wherein the algorithm deployment instruction comprises the algorithm packages to be deployed;
and finishing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction.
In some embodiments, the step of completing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction includes:
acquiring whether the current IPC equipment to be deployed has the corresponding algorithm operation capability or not according to the algorithm deployment instruction, and acquiring a judgment result;
according to the judgment result, controlling the IPC equipment to be deployed to decompress the algorithm package to be deployed to obtain algorithm information to be deployed;
verifying the algorithm information to be deployed according to a preset verification rule to obtain a verification result;
and if the verification result is that the verification is passed, deploying the algorithm information to be deployed to the IPC equipment to be deployed to complete the batch deployment of the algorithm packages to be deployed.
The present embodiment also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements any of the methods in the present embodiments.
The present embodiment further provides an electronic terminal, including: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the method in the embodiment.
The computer-readable storage medium in the present embodiment can be understood by those skilled in the art as follows: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The electronic terminal provided by the embodiment comprises a processor, a memory, a transceiver and a communication interface, wherein the memory and the communication interface are connected with the processor and the transceiver and are used for completing mutual communication, the memory is used for storing a computer program, the communication interface is used for carrying out communication, and the processor and the transceiver are used for operating the computer program so that the electronic terminal can execute the steps of the method.
In this embodiment, the Memory may include a Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which may be made by those skilled in the art without departing from the spirit and scope of the present invention as defined in the appended claims.
Claims (9)
1. A network camera algorithm deployment admission method is characterized by comprising the following steps:
classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, wherein the IPC is a network camera, and the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment;
acquiring an algorithm package to be deployed, wherein admission field information used for representing accessible IPC equipment of the current algorithm package to be deployed is set in the algorithm package to be deployed, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models;
reading and matching the admission field information to obtain a deployable IPC equipment list, which comprises the following steps: according to the product types supported in the access field information, obtaining IPC equipment under the corresponding product types as a first equipment set; acquiring IPC equipment of a corresponding equipment model according to the additionally supported IPC equipment model, and adding the acquired IPC equipment of the corresponding model to the first equipment set to form a second equipment set; removing the additional unsupported IPC equipment from the second equipment set according to the additional unsupported IPC equipment model, and further acquiring a deployable IPC equipment list;
and deploying the algorithm packages to be deployed to the corresponding IPC equipment in batches by utilizing the list of the deployable IPC equipment.
2. The webcam algorithm deployment admission method of claim 1, wherein the step of obtaining the list of deployable IPC devices by reading and matching the admission field information comprises:
and acquiring the deployable IPC equipment list through pre-accessed IPC equipment according to the supported product categories, additionally supported IPC equipment models and additionally unsupported IPC equipment models in the access field information.
3. The webcam algorithm deployment admission method of claim 1, wherein the step of deploying the algorithm packages to be deployed in bulk to the corresponding IPC devices by using the deployable IPC device list comprises:
acquiring an algorithm deployment request;
acquiring a plurality of IPC devices to be deployed from the deployable IPC device list according to the algorithm deployment request;
sending an algorithm deployment instruction to a plurality of IPC devices to be deployed, wherein the algorithm deployment instruction comprises the algorithm packages to be deployed;
and finishing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction.
4. The network camera algorithm deployment admission method of claim 3, characterized in that the step of completing the batch deployment of the algorithm packages to be deployed according to the algorithm deployment instruction comprises:
acquiring whether the current IPC equipment to be deployed has the corresponding algorithm operation capability or not according to the algorithm deployment instruction, and acquiring a judgment result;
controlling the IPC equipment to be deployed to decompress the algorithm package to be deployed according to the judgment result to obtain algorithm information to be deployed;
verifying the algorithm information to be deployed according to a preset verification rule to obtain a verification result;
and if the verification result is that the verification is passed, deploying the algorithm information to be deployed to the IPC equipment to be deployed to complete the batch deployment of the algorithm packages to be deployed.
5. The network camera algorithm deployment admission method according to claim 4, characterized in that the step of verifying the algorithm information to be deployed according to a preset verification rule comprises:
judging whether the algorithm information to be deployed contains preset necessary deployment information or not according to the check rule;
and if the algorithm information to be deployed comprises the necessary deployment information, verifying the format of the algorithm information to be deployed to obtain the verification result.
6. A webcam algorithm deployment admission system, comprising:
the video management platform is used for classifying the IPC equipment according to a preset classification rule to obtain the IPC equipment under a plurality of product categories, the IPC is a network camera, and the classification rule is used for classifying the IPC equipment according to the use scene of the IPC equipment and the chip type of the IPC equipment;
the system comprises an algorithm warehouse and an IPC (inter-personal computer) device, wherein the algorithm warehouse is used for acquiring an algorithm package to be deployed, the algorithm package to be deployed is provided with admission field information which is used for representing the current algorithm package to be deployed and can be accessed into the IPC device, and the admission field information comprises: supported product categories, additional supported IPC device models, and additional unsupported IPC device models;
the video management platform is further used for reading and matching the access field information to obtain a deployable IPC equipment list, and deploying the algorithm packages to be deployed to corresponding IPC equipment in batches by using the deployable IPC equipment list;
the step of reading and matching the access field information to further obtain a deployable IPC device list further comprises:
according to the product types supported in the admission field information, obtaining IPC equipment under the corresponding product types as a first equipment set;
acquiring IPC equipment of a corresponding equipment model according to the additionally supported IPC equipment model, and adding the acquired IPC equipment of the corresponding model to the first equipment set to form a second equipment set;
and according to the model of the additional unsupported IPC equipment, removing the additional unsupported IPC equipment from the second equipment set, and further acquiring a deployable IPC equipment list.
7. The webcam algorithm deployment admission system of claim 6, wherein the step of reading and matching the admission field information to obtain the list of deployable IPC devices comprises:
and acquiring the deployable IPC equipment list by passing through IPC equipment pre-accessed in the video management platform according to the supported product categories, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the admission field information.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the method of any one of claims 1 to 5.
9. An electronic terminal, comprising: a processor and a memory;
the memory is configured to store a computer program and the processor is configured to execute the computer program stored by the memory to cause the terminal to perform the method according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111500813.3A CN114205141B (en) | 2021-12-09 | 2021-12-09 | Network camera algorithm deployment admission method, system, medium and electronic terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111500813.3A CN114205141B (en) | 2021-12-09 | 2021-12-09 | Network camera algorithm deployment admission method, system, medium and electronic terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114205141A CN114205141A (en) | 2022-03-18 |
CN114205141B true CN114205141B (en) | 2022-10-04 |
Family
ID=80651756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111500813.3A Active CN114205141B (en) | 2021-12-09 | 2021-12-09 | Network camera algorithm deployment admission method, system, medium and electronic terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114205141B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115474000A (en) * | 2022-08-16 | 2022-12-13 | 支付宝(杭州)信息技术有限公司 | Data processing method and device |
CN116578323A (en) * | 2023-07-14 | 2023-08-11 | 湖南睿图智能科技有限公司 | Deep learning algorithm iteration method based on Yun Bian cooperation |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346177A (en) * | 2013-07-24 | 2015-02-11 | 杭州海康威视数字技术股份有限公司 | Terminal configuration method and device |
CN108259231A (en) * | 2017-12-27 | 2018-07-06 | 生迪智慧科技有限公司 | Method for upgrading software, gateway, server and the system of smart machine |
CN110798654B (en) * | 2018-08-01 | 2021-12-10 | 华为技术有限公司 | Method and system for defining camera by software and camera |
CN113377385A (en) * | 2021-06-07 | 2021-09-10 | 中国工商银行股份有限公司 | Client automatic deployment method and device |
CN113535214A (en) * | 2021-06-21 | 2021-10-22 | 浙江大华技术股份有限公司 | Algorithm file upgrading method and device, electronic device and storage medium |
-
2021
- 2021-12-09 CN CN202111500813.3A patent/CN114205141B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114205141A (en) | 2022-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114205141B (en) | Network camera algorithm deployment admission method, system, medium and electronic terminal | |
CN110427368B (en) | Data processing method and device, electronic equipment and storage medium | |
CN104601438A (en) | Friend recommendation method and device | |
CN109829287A (en) | Api interface permission access method, equipment, storage medium and device | |
KR102088164B1 (en) | Method and apparatus for generating difference between old and new version of data for updating software | |
CN112868004A (en) | Resource recommendation method and device, electronic equipment and storage medium | |
CN108491715B (en) | Terminal fingerprint database generation method and device and server | |
EP4339843A1 (en) | Neural network optimization method and apparatus | |
CN109582865A (en) | A kind of method and device of pushing application program | |
CN114237754B (en) | Data loading method and device, electronic equipment and storage medium | |
CN113535226B (en) | Application downloading method, terminal, server, computer device and storage medium | |
CN115390944A (en) | Algorithm service calling method and device, electronic equipment and storage medium | |
CN114693220A (en) | Algorithm warehouse management method and system based on digital twin DaaS platform | |
CN112084006B (en) | Mirror image package processing method and device and electronic equipment | |
CN115828307B (en) | Text recognition method and AI system applied to OCR | |
CN111680645A (en) | Garbage classification processing method and device | |
CN116633771A (en) | Gray release method, device and medium | |
CN116048786A (en) | Processing method and device of architecture requirements, electronic equipment and storage medium | |
CN113705097B (en) | Vehicle model construction method and device, computer equipment and storage medium | |
CN105867922A (en) | Differential upgrade method and system | |
CN109697072A (en) | Information processing method, device and equipment | |
CN110968267B (en) | Data management method, device, server and system | |
CN111143203A (en) | Machine learning method, privacy code determination method, device and electronic equipment | |
CN114363168B (en) | In-container service configuration modification method and device, electronic equipment and storage medium | |
CN114398073B (en) | Application updating method and device based on RN |
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 |