CN114205141A - IPC algorithm deployment admission method, system, medium and electronic terminal - Google Patents

IPC algorithm deployment admission method, system, medium and electronic terminal Download PDF

Info

Publication number
CN114205141A
CN114205141A CN202111500813.3A CN202111500813A CN114205141A CN 114205141 A CN114205141 A CN 114205141A CN 202111500813 A CN202111500813 A CN 202111500813A CN 114205141 A CN114205141 A CN 114205141A
Authority
CN
China
Prior art keywords
ipc
algorithm
equipment
deployed
deployment
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.)
Granted
Application number
CN202111500813.3A
Other languages
Chinese (zh)
Other versions
CN114205141B (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.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight 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 Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202111500813.3A priority Critical patent/CN114205141B/en
Publication of CN114205141A publication Critical patent/CN114205141A/en
Application granted granted Critical
Publication of CN114205141B publication Critical patent/CN114205141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Multimedia (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 equipment in batches by utilizing the list of the deployable IPC equipment; the method of the invention realizes the admittance judgment and batch deployment of the algorithm access IPC equipment well, and effectively shortens the docking period of the new algorithm and the new IPC equipment.

Description

IPC algorithm deployment admission method, system, medium and electronic terminal
Technical Field
The invention relates to the technical field of internet, in particular to an IPC algorithm deployment admission method, system, medium and 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 actual new algorithm types and new types of IPC devices, if the new algorithm type and the IPC device type need to be adapted each time and the software version needs to be changed, the docking period of the new algorithm and the new IPC device is prolonged, and there is a problem of version matching, and once the mapping relationship is not updated in time, problems such as failure in deploying the new algorithm, unsupportability in deploying the new IPC device, etc. are easily caused.
Disclosure of Invention
The invention provides an IPC algorithm deployment admission method, an IPC algorithm deployment admission system, an IPC algorithm deployment admission medium and an electronic terminal, which are used for solving 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 equipment is long, the new algorithm deployment is easy to fail, and the new IPC equipment does not support algorithm deployment.
The IPC 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 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 access field information to obtain 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.
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 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.
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 to complete 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 an IPC 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, 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;
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 adapted to store a computer program and the processor is adapted to execute the computer program stored by the memory to cause the terminal to perform the method as defined 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 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, the software version does not need to be changed, and the docking period of a new algorithm and new IPC equipment is effectively shortened.
Drawings
Fig. 1 is a schematic flow chart 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 flow chart of 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 structural diagram of an 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 embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. 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 is to 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 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 actual new algorithm types and new types of IPC devices, if the new algorithm type and the IPC device type need to be adapted each time and the software version needs to be changed, the docking period of the new algorithm and the new IPC device is prolonged, and there is a problem of version matching, and once the mapping relationship is not updated in time, problems such as failure in deploying the new algorithm, unsupportability in deploying the new IPC device, etc. 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 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. As can be understood, the IPC has the characteristic that the algorithm types supported under the similar use scenes are the same with high probability, so that the multiple IPC devices are classified according to the use scenes of the IPC devices and the chip models of the IPC devices to obtain the IPC devices under multiple product categories, namely, the IPC devices under the multiple product categories respectively correspond to the corresponding IPC devices, the IPC devices under the multiple product categories have different models, the problem of various types of the IPC devices 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 the 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 which is 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 access field information to obtain a deployable IPC equipment list. For example: reading the admittance field information to obtain the product categories supported by the algorithm, the additionally supported IPC equipment models and the additionally unsupported IPC equipment models in the admittance field information, matching the supported product categories with a plurality of pre-classified product categories to obtain IPC equipment under the corresponding product categories as a first equipment set, on the basis, according to the additionally supported IPC equipment models, traversing the equipment models of the pre-accessed IPC equipment, determining the additionally supported IPC equipment, adding the additionally supported IPC equipment to the first equipment set to form a second equipment set, according to the additionally unsupported IPC equipment models, traversing the equipment models of the IPC equipment in the second equipment set, removing the corresponding additionally unsupported IPC equipment from the second equipment set, and further obtaining a deployable IPC equipment list, the method and the device have the advantages that the IPC list capable of being deployed is accurately obtained, the accuracy is high, the implementation is convenient, the mapping relation between the IPC equipment model and the algorithm package in the system does not need to be updated or modified in advance, and the operation is simple.
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 pre-accessed IPC equipment of a system corresponding to the IPC algorithm deployment admission method in the embodiment. By passing through the pre-accessed IPC equipment 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 deployable IPC equipment corresponding to the current algorithm package can be accurately determined, and then the deployable IPC equipment list is 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 product categories supported in the access 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 is 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 the second equipment set, the additional unsupported IPC equipment is removed from the second equipment set, and a 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 equipment 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 to be deployed 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 to complete 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, including:
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 type 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 deployment admission system in the embodiment obtains the IPC devices under a plurality of product categories by classifying the IPC devices according to preset classification rules, 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 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, the software version does not need to be changed, the docking period of the new algorithm and the new IPC equipment is effectively shortened, the system stability is strong, 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 IPC device deployable 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: decompressing the algorithm packet; namely, the IPC equipment to be deployed decompresses and deploys the algorithm packet to be deployed;
f7: starting an algorithm; starting an algorithm which is already deployed 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 equipment list query instruction sent by the algorithm warehouse, querying the deployable IPC equipment list to the equipment access module according to the deployable IPC equipment list query instruction, acquiring the deployable IPC equipment list and feeding back the deployable IPC equipment 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 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.
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 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.
In some embodiments, the step of obtaining the list of deployable IPC devices by reading and matching the admission field information further comprises:
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.
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;
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.
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, a discrete Gate or transistor logic device, or a discrete hardware component.
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 can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. An IPC algorithm deployment admission method, comprising:
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 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 equipment in batches by utilizing the list of the deployable IPC equipment.
2. The IPC 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 IPC 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 further comprises:
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.
4. The IPC algorithm deployment admission method of claim 1, wherein the step of deploying the algorithm packages to be deployed to the corresponding IPC devices in batch by using the deployable IPC device list comprises the steps of:
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.
5. The IPC algorithm deployment admission method of claim 4, wherein 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.
6. The IPC algorithm deployment admission method of claim 5, wherein 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.
7. An IPC 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, 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;
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.
8. The IPC algorithm deployment admission system of claim 7, wherein the step of reading the admission field information to obtain the 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.
9. 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 6.
10. An electronic terminal, comprising: a processor and a memory;
the memory is for storing a computer program and the processor is for executing the computer program stored by the memory to cause the terminal to perform the method of any of claims 1 to 6.
CN202111500813.3A 2021-12-09 2021-12-09 Network camera algorithm deployment admission method, system, medium and electronic terminal Active CN114205141B (en)

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 true CN114205141A (en) 2022-03-18
CN114205141B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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

Citations (5)

* Cited by examiner, † Cited by third party
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
US20210136329A1 (en) * 2018-08-01 2021-05-06 Huawei Technologies Co., Ltd. Method and system for software-defined camera 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
US20210136329A1 (en) * 2018-08-01 2021-05-06 Huawei Technologies Co., Ltd. Method and system for software-defined camera 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

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN114205141B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN114205141B (en) Network camera algorithm deployment admission method, system, medium and electronic terminal
KR102088164B1 (en) Method and apparatus for generating difference between old and new version of data for updating software
CN109478311A (en) A kind of image-recognizing method and terminal
CN108415714A (en) The method for upgrading system and device of mobile terminal
CN108491715B (en) Terminal fingerprint database generation method and device and server
CN109542462B (en) System environment deployment method, storage medium and server
CN111104387A (en) Method and device for acquiring data set on server
CN112134908B (en) Application adaptation method, server, medium and vehicle-mounted multimedia system
CN113535226B (en) Application downloading method, terminal, server, computer device and storage medium
CN111176706A (en) Terminal upgrading method and device, electronic equipment and storage medium
CN110806979B (en) Interface return value checking method, device, equipment and storage medium
CN111680645A (en) Garbage classification processing method and device
EP4339843A1 (en) Neural network optimization method and apparatus
CN116633771A (en) Gray release method, device and medium
CN113705097B (en) Vehicle model construction method and device, computer equipment and storage medium
CN109582865A (en) A kind of method and device of pushing application program
CN114238767A (en) Service recommendation method and device, computer equipment and storage medium
CN114693220A (en) Algorithm warehouse management method and system based on digital twin DaaS platform
CN113568630A (en) Method, system and equipment for updating algorithm
CN113076128A (en) Method and device for robot configuration, electronic equipment and storage medium
CN114650218A (en) Data acquisition method, equipment, system and storage medium
CN114237754B (en) Data loading method and device, electronic equipment and storage medium
CN110825406A (en) Software upgrading method and related equipment
CN115718680B (en) Data reading method, system, computer and readable storage medium
CN113836012A (en) Algorithm testing method and device, electronic equipment and storage medium

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