CN112328272B - Algorithm upgrading method, device, equipment and storage medium - Google Patents

Algorithm upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN112328272B
CN112328272B CN201910717013.3A CN201910717013A CN112328272B CN 112328272 B CN112328272 B CN 112328272B CN 201910717013 A CN201910717013 A CN 201910717013A CN 112328272 B CN112328272 B CN 112328272B
Authority
CN
China
Prior art keywords
algorithm
target
new
content
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910717013.3A
Other languages
Chinese (zh)
Other versions
CN112328272A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201910717013.3A priority Critical patent/CN112328272B/en
Publication of CN112328272A publication Critical patent/CN112328272A/en
Application granted granted Critical
Publication of CN112328272B publication Critical patent/CN112328272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an algorithm upgrading method, an algorithm upgrading device, algorithm upgrading equipment and a storage medium. The method comprises the following steps: acquiring new algorithm content and new algorithm attribute information; determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the attribute information of the new algorithm; storing the content of the new algorithm into the target storage directory according to the identification information of the new algorithm in the target storage directory; and responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in a storage catalog to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm. According to the invention, the algorithm is inserted and stored in the dispatching center so as to realize decoupling of the algorithm and the software, so that the intelligent equipment can acquire the algorithm from the dispatching center to perform upgrading operation, thereby realizing automatic upgrading of the algorithm, reducing the input cost of manpower and material resources during the upgrading of the algorithm, ensuring normal operation of basic service of the intelligent equipment, and improving user experience.

Description

Algorithm upgrading method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an algorithm upgrading method, an algorithm upgrading device, algorithm upgrading equipment and a storage medium.
Background
Nowadays, with the rapid development of the security industry, a large number of intelligent devices, such as network cameras, network video recorders and the like, are arranged at the front end of the security monitoring platform, and management of the intelligent devices is very important. Such as upgrades, additions and deletions to algorithms in the smart device.
In the related art, since algorithms in the intelligent device are generally integrated in software, when the algorithms in the intelligent device are upgraded, the algorithms are usually upgraded by manually upgrading the software of the intelligent device. However, since the software upgrading is long in time consumption and needs to be manually performed, the upgrading workload is large, the cost is high, the timeliness is poor, and even the service operation of the intelligent equipment is affected.
Disclosure of Invention
The embodiment of the invention provides an algorithm upgrading method, an algorithm upgrading device and a storage medium, realizes automatic upgrading of an algorithm, reduces the input cost of manpower and material resources during algorithm upgrading, can ensure normal operation of basic services of intelligent equipment, and improves user experience.
In a first aspect, an embodiment of the present invention provides an algorithm upgrading method, applied to a scheduling center, where the method includes:
Acquiring new algorithm content and new algorithm attribute information;
determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information;
storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory;
and responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in a storage catalog to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
In a second aspect, an embodiment of the present invention provides an algorithm upgrading method, applied to an intelligent device, where the method includes:
feeding back a target algorithm upgrade request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment;
and upgrading the target algorithm according to the content of the target algorithm.
In a third aspect, an embodiment of the present invention further provides an algorithm upgrading device configured in a scheduling center, where the device includes:
The acquisition module is used for acquiring new algorithm content and new algorithm attribute information;
the determining module is used for determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information;
the storage module is used for storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory;
and the response module is used for responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in the storage catalog to be accessed to the intelligent equipment so as to upgrade the target algorithm by the intelligent equipment.
In a fourth aspect, an embodiment of the present invention further provides an algorithm upgrading apparatus configured in an intelligent device, where the apparatus includes:
the request sending module is used for feeding back a target algorithm upgrading request to the dispatching center so as to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment;
and the upgrading module is used for upgrading the target algorithm according to the content of the target algorithm.
In a fifth aspect, an embodiment of the present invention further provides a computer apparatus, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the algorithm upgrade method described in the embodiments of the first aspect, or the algorithm upgrade method described in the embodiments of the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements the algorithm upgrade method according to the embodiment of the first aspect, or the algorithm upgrade method according to the embodiment of the second aspect.
The technical scheme disclosed by the embodiment of the invention has the following beneficial effects:
the method comprises the steps of obtaining new algorithm content and new algorithm attribute information, determining a target storage catalog of a new algorithm according to the new algorithm attribute information, identifying information of the new algorithm under the target storage catalog, storing the new algorithm content under the target storage catalog according to the identifying information of the new algorithm under the target storage catalog, and then responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending the target algorithm content in the access storage catalog to the intelligent equipment for the intelligent equipment to upgrade the target algorithm. Therefore, the algorithm is plugged and stored in the dispatching center to realize decoupling of the algorithm and the software, so that the intelligent equipment can acquire the algorithm from the dispatching center to perform upgrading operation, automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic business of the intelligent equipment can be ensured, and the user experience is improved.
Drawings
FIG. 1 is a schematic flow chart of an algorithm upgrading method provided by the invention;
FIG. 2 is a flow chart of another algorithm upgrading method provided by the invention
FIG. 3 is a schematic flow chart of another method for upgrading algorithm provided by the invention;
FIG. 4 is a flow chart of yet another algorithm upgrade method provided by the present invention;
FIG. 5 is a schematic diagram of a dispatch center interacting with an intelligent device in accordance with one embodiment of the present invention;
FIG. 6 is a schematic diagram of an algorithm upgrade apparatus provided by the present invention;
FIG. 7 is a schematic diagram of another algorithm upgrading device according to the present invention;
fig. 8 is a schematic structural diagram of a computer device according to the present invention.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the drawings and examples. It should be understood that the particular embodiments described herein are illustrative only and are not limiting of embodiments of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the embodiments of the present invention are shown in the drawings.
Aiming at the problems that in the related technology, the algorithm upgrading is realized by manually upgrading the software in the intelligent equipment, the time consumption of the existing software upgrading is long, and the software upgrading is required to be manually carried out, so that the upgrading workload is large, the cost is high, the timeliness is poor, and even the service operation of the intelligent equipment is influenced, the embodiment of the invention provides an algorithm upgrading method.
According to the embodiment of the invention, the new algorithm content and the new algorithm attribute information are acquired to determine the target storage catalog of the new algorithm according to the new algorithm attribute information and the identification information of the new algorithm under the target storage catalog, the new algorithm content is stored under the target storage catalog according to the identification information of the new algorithm under the target storage catalog, and then the target algorithm content in the access storage catalog is sent to the intelligent equipment for the intelligent equipment to upgrade the target algorithm in response to the target algorithm upgrade request fed back by the intelligent equipment. Therefore, the algorithm is plugged and stored in the dispatching center to realize decoupling of the algorithm and the software, so that the intelligent equipment can acquire the algorithm from the dispatching center to perform upgrading operation, automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic business of the intelligent equipment can be ensured, and the user experience is improved.
The following describes an algorithm upgrading method, device, equipment and storage medium according to the embodiment of the invention in detail with reference to the accompanying drawings.
First, a detailed description will be given of an algorithm upgrading method according to an embodiment of the present invention by taking a scheduling center as an example.
Fig. 1 is a schematic flow chart of an algorithm upgrading method provided by the present invention, and the embodiment of the present invention is applicable to a scenario of upgrading an algorithm in an intelligent device. The method specifically comprises the following steps:
s101, acquiring new algorithm content and new algorithm attribute information.
In this embodiment, the new algorithm is obtained after a technician updates any algorithm, and after the new algorithm is obtained, a new algorithm uploading request is sent to the scheduling center through the client, so that the scheduling center obtains new algorithm content and new algorithm attribute information carried in the new algorithm uploading request according to the obtained new algorithm uploading request.
The client may be any device having an operation portal, such as a computer, a personal digital assistant, etc., which is not specifically limited herein.
S102, determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information.
Since the new algorithm attribute information may include: new algorithm version and/or new algorithm update time, as well as new algorithm type and new algorithm model. The new algorithm type may be, but is not limited to: a face algorithm, a vehicle algorithm, a robot algorithm, a human body algorithm, etc., which are not particularly limited herein.
For this reason, in this embodiment, determining the target storage directory of the new algorithm and the identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm may include:
determining a target storage catalog of the new algorithm according to the new algorithm type and the new algorithm model;
and determining the identification information of the new algorithm under the target storage directory according to the new algorithm version and/or the new algorithm updating time.
It should be noted that, in this embodiment, the new algorithm model may be determined according to the performance of the image processor chip in the device side, and the same algorithm and the chip are different, and the models are also different. Wherein the new algorithm model may be determined from different dimensional algorithms. For example, a 256-dimensional algorithm is an algorithm model; the 128-dimensional algorithm is another algorithm model. In this embodiment, for an image, the dimension refers to the number of feature vectors in the image.
In this embodiment, the new algorithm model may be described by the accuracy of the new algorithm, or the complexity of the new algorithm. If the chip performance is good, the higher the accuracy or the higher the complexity of the new algorithm is, otherwise, the lower the accuracy or the lower the complexity of the new algorithm is.
Further, the present embodiment may determine the target storage directory of the new algorithm by:
Mode one:
matching the new algorithm type with at least two preset storage catalogues, and if the new algorithm type is successfully matched with any storage catalogue, re-matching the new algorithm model with any storage catalogue; if the new algorithm model is successfully matched with any storage catalog, the storage catalog is determined to be a target storage catalog of the new algorithm.
For example, if 4 storage directories are pre-established, they are respectively: /mnt/face/model1; /mnt/face/model2; /mnt/veccle/model 1; the new algorithm model is the face, and the new algorithm model is the model2, and the algorithm upgrading device can respectively and firstly and respectively carry out the face and the cnt/face/model 1; /mnt/face/model2; /mnt/veccle/model 1; and matching the model2 with the model1 and the model2 respectively, determining that the model2 is matched with the model2, and determining that the model2 is a target storage catalog.
Mode two:
and establishing a primary catalog according to the new algorithm type, and establishing a secondary catalog according to the new algorithm model to obtain a target storage catalog.
For example, if the new algorithm type is face and the new algorithm model is model3, the face may be used as a primary directory and model3 may be used as a secondary directory, so as to obtain the target storage directory as/mnt/face/model 3.
If the algorithm type and algorithm model of any new algorithm are matched with the established storage catalogue, the matched storage catalogue is directly determined as the target storage catalogue, so that the speed of determining the target storage catalogue can be improved, and repeated establishment of the same storage catalogue is avoided.
The two modes described above in this embodiment may be implemented alone or in combination with each other, and are not particularly limited herein.
Furthermore, because of different new algorithm types and new algorithm models in the new algorithm attribute information, different new algorithm versions and/or new algorithm update times are corresponding, in order to facilitate the subsequent update operation of obtaining new algorithm contents, the embodiment can determine the identification information of the new algorithm under the target storage directory according to the new algorithm versions and/or the new algorithm update times.
For example, if the new algorithm version is 2.0, the new algorithm update time is 2019-6-2, and the target storage directory is/cnt/face/model 3, 2.0, 2019-6-2 may be determined as the identification information of the new algorithm at/cnt/face/model 3.
It may be appreciated that the new algorithm version and/or the new algorithm update time in this embodiment may be a new algorithm version; alternatively, the new algorithm updates the time; alternatively, the new algorithm version and the new algorithm update time are not particularly limited herein.
And S103, storing the content of the new algorithm into the target storage directory according to the identification information of the new algorithm in the target storage directory.
For example, if the new algorithm version in the new algorithm attribute information is 2.2, the new algorithm update time is 2019-7-3, and the target storage directory is: according to the identification information, the ratio of the matrix to the face/model3 is 2.2;2019-7-3, store the new algorithm content to/mnt/face/model 3. Namely, establishing a corresponding relation between the identification information and the target storage directory.
Furthermore, in order to uniformly manage the algorithms, the embodiment may further set an algorithm warehouse in the scheduling center for storing different algorithm contents. That is, after a technician updates any algorithm to obtain a new algorithm, the new algorithm can be uploaded to the scheduling center through the client, so that the scheduling center stores the new algorithm content in the algorithm warehouse according to the identification information of the new algorithm content in the target storage directory, so as to obtain a new algorithm content storage path. And further, the corresponding new algorithm content can be obtained according to the new algorithm content storage path.
S104, responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in a storage catalog to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
In this embodiment, the smart device may be, but is not limited to: network cameras, network video recorders, intelligent servers, etc.
Optionally, after storing the new algorithm content in the target storage directory, the intelligent device may send a target algorithm upgrade request to the scheduling center, so that the scheduling center may obtain the corresponding target algorithm content according to the target algorithm upgrade request, so as to send the obtained target algorithm content to the intelligent device, and thus the intelligent device may perform the target algorithm upgrade operation according to the obtained target algorithm content.
The mode of feeding back the target algorithm upgrading request to the dispatching center by the intelligent device can be realized in a wired mode or a wireless mode, and the mode is not particularly limited herein.
In specific implementation, the scheduling center can determine a storage catalog to be accessed according to the type of the target algorithm and the target algorithm model carried in the obtained target algorithm request, obtain target algorithm content from the storage catalog to be accessed according to the target algorithm version and/or the target algorithm updating time carried in the target algorithm request, and then issue the obtained target algorithm content to the intelligent device for the intelligent device to upgrade the target algorithm.
According to the algorithm upgrading method provided by the embodiment of the invention, the new algorithm content and the new algorithm attribute information are acquired, so that the target storage catalog of the new algorithm and the identification information of the new algorithm under the target storage catalog are determined according to the new algorithm attribute information, the new algorithm content is stored under the target storage catalog according to the identification information of the new algorithm under the target storage catalog, and then the target algorithm content with access to the storage catalog is sent to the intelligent equipment in response to the target algorithm upgrading request fed back by the intelligent equipment, so that the intelligent equipment can upgrade the target algorithm. Therefore, the algorithm is plugged and stored in the dispatching center to realize decoupling of the algorithm and the software, so that the intelligent equipment can acquire the algorithm from the dispatching center to perform upgrading operation, automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic business of the intelligent equipment can be ensured, and the user experience is improved.
On the basis of the above embodiment, S103 further includes: and if the storage time of the algorithm content in the dispatching center exceeds the algorithm retention period according to the identification information of any algorithm content, deleting the algorithm content.
The algorithm remaining period may be adaptively set according to an actual application scenario, for example, 6 months, 8 months, and the like, which is not specifically limited herein.
Optionally, in order to enable the device side to use the historical algorithm to extract image features and execute applications such as searching images after the algorithm is upgraded, the scheduling center of the embodiment may store the historical algorithm content and the new algorithm content simultaneously. When the equipment end performs graph searching application according to the algorithm content of the equipment end, the new algorithm content and the historical algorithm content stored in the dispatching center can be utilized to extract image features of images to be searched respectively. And then, matching the image features extracted according to the new algorithm content and the image features extracted according to the historical algorithm content with the corresponding image data to obtain all the image data matched with the image features.
However, over time, the historical algorithm content may be stored earlier in the dispatch center than the updated new algorithm content, exceeding the algorithm lifetime. The image data generated by the corresponding historical algorithm content is also completely covered by the image data generated by the new algorithm content. Therefore, when the equipment side performs image searching application by using the image features extracted by the historical algorithm content, the image data generated by the historical algorithm content cannot be acquired, so that unnecessary calculation resource waste is caused, and the maintenance pressure of a dispatching center is increased.
In this embodiment, whether the storage duration of the algorithm content in the scheduling center exceeds the algorithm retention period is determined according to the identification information (algorithm version and/or algorithm update time) of the algorithm content, and if the storage duration of the algorithm content exceeds the algorithm retention period, the algorithm content is deleted to increase the storage space of the algorithm content and reduce the maintenance pressure of the scheduling center.
In the embodiment of the invention, the dispatching center can determine whether the image data of the historical algorithm content can be completely covered by the image data of the new algorithm content according to the image acquisition time of the new algorithm content and the update time of the historical algorithm content. In particular, when the image acquisition time of the new algorithm content is implemented, the image acquisition time of the new algorithm content can be compared with the update time of the historical algorithm content to determine whether the image acquisition time of the new algorithm content is later than the update time of the historical algorithm, if so, the image data of the historical algorithm content can be covered, and so on until all the image data of the historical algorithm content is completely covered by the image acquired by the new algorithm content.
When the image data generated by the historical algorithm content is completely covered by the image data generated by the new algorithm content, a deleting instruction can be automatically sent to the dispatching center through the background so that the dispatching center deletes the historical algorithm content.
That is, the embodiment can ensure that the dispatching center always has enough storage space to store a new algorithm by deleting the algorithm content with the storage time exceeding the algorithm retention time, and can also lighten the maintenance pressure of the dispatching center on the algorithm.
As can be seen from the above analysis, according to the embodiment of the present invention, the target storage directory of the new algorithm and the identification information of the new algorithm under the target storage directory are determined according to the attribute information of the new algorithm, and the new algorithm content is stored under the target storage directory according to the identification information of the new algorithm under the target storage directory, so that the intelligent device upgrades the target algorithm according to the stored new algorithm content.
In another implementation scenario of the present invention, the storing the new algorithm content in the target storage directory according to the embodiment of the present invention further includes: and storing the historical algorithm content and the new algorithm content compatibility into a target storage directory so as to facilitate the subsequent execution of applications such as searching the graph by the graph. The above situation of the algorithm upgrading method according to the embodiment of the present invention will be specifically described with reference to fig. 2.
S201, acquiring new algorithm content and new algorithm attribute information.
S202, determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information.
S203, if the target storage catalog stores the historical algorithm content with the same type as the new algorithm content, the new algorithm content and the historical algorithm content are stored in the target storage catalog in a compatible mode; and the new algorithm content and the historical algorithm content are different in identification information under the target storage directory.
In the actual application process, after the algorithm of the equipment end is upgraded, the problem that the image features extracted by the new algorithm content are different from the image features extracted by the historical algorithm content exists. For example, taking a face image as an example, historical algorithm content is based on 128 bits to extract image features, while new algorithm content is based on 256 bits to extract image features. Therefore, the new algorithm content cannot execute the image searching application on the image features extracted by the historical algorithm content, and the image searching application can only be executed according to the image features extracted by the new algorithm content, so that the searched image data cannot acquire the image data generated by the historical algorithm content, and the acquired data is limited in incomplete application.
For this reason, the present embodiment can store the same type of new algorithm content and historical algorithm content compatibility under the target storage directory, and the identification information of the new algorithm content and the historical algorithm content under the target storage directory is different. Therefore, when the image searching application is executed later, the image meeting the condition can be acquired from the image data corresponding to the new algorithm content and the historical algorithm content, and the finally acquired data is more comprehensive.
In particular, when the algorithm stored in the dispatching center is utilized to execute the graph searching application, the embodiment can load the stored new algorithm content and historical algorithm content of the same type. And then, respectively extracting image features of the image input by the user by utilizing the new algorithm content and the historical algorithm content, and setting labeling information for the image features extracted by the new algorithm content and the historical algorithm content so as to label which algorithm the image features are extracted by. Therefore, the dispatching center can perform image feature matching in the image data of the corresponding algorithm according to the labeling information of the image features extracted by the algorithm, so as to obtain the image data matched with the image features, and display the matching result to the user through the client, so that the obtained image data is more comprehensive.
As can be seen from the analysis, in the embodiment of the present invention, the target storage directory stores the historical algorithm content with the same type as the new algorithm content, so that the new algorithm content and the historical algorithm content are stored in the target storage directory in a compatible manner, thereby realizing compatible storage of the algorithm content.
In another implementation scenario of the present invention, before the scheduling center of the present embodiment sends the target algorithm content to the intelligent device, the scheduling center may further receive an algorithm information acquisition request sent by the intelligent device, so as to determine, according to the device-side algorithm type and the device-side algorithm model of the target algorithm carried by the algorithm information acquisition request, a to-be-accessed storage directory, so as to send a scheduling-side version and/or a scheduling-side update time of the target algorithm in the to-be-accessed storage directory to the intelligent device, so that the intelligent device determines whether the target algorithm is updated. The above situation of the algorithm upgrading method according to the embodiment of the present invention will be specifically described with reference to fig. 3.
Fig. 3 is a flow chart of another algorithm upgrading method provided by the invention. As shown in fig. 3, the algorithm upgrade method may include the following:
s301, acquiring new algorithm content and new algorithm attribute information.
S302, determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information.
S303, storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory.
S304, responding to an algorithm information acquisition request sent by the intelligent equipment, and determining the storage catalog to be accessed according to the equipment-end algorithm type and the equipment-end algorithm model of the target algorithm carried in the algorithm information acquisition request.
S305, the scheduling end version and/or scheduling end updating information of the target algorithm in the storage catalog to be accessed are issued to the intelligent device, and the intelligent device determines whether the target algorithm is updated or not.
Wherein the smart device may be, but is not limited to: network cameras, network video recorders, intelligent servers, etc.
Optionally, the intelligent device may send an algorithm information acquisition request to the scheduling center, and carry the device-side algorithm type and the device-side algorithm model of the target algorithm in the algorithm information acquisition request, so that the scheduling center analyzes the algorithm information acquisition request to obtain the device-side algorithm type and the device-side algorithm model of the target algorithm. And then, determining the storage catalogue to be accessed according to the equipment-side algorithm type and the equipment-side algorithm model.
In this embodiment, the intelligent device may periodically send an algorithm information acquisition request to the scheduling center, so as to improve timeliness of algorithm upgrade. The manner in which the intelligent device sends the algorithm information obtaining request to the dispatching center may be implemented in a wired manner or a wireless manner, which is not specifically limited herein.
For example, if the equipment-side algorithm type is face and the equipment-side algorithm model is model1, the scheduling center may search the matched storage directory according to face and model1, and if the storage directory 2 is matched with face and model1, determine the storage directory 2 as the storage directory to be accessed.
After the storage catalog to be accessed is obtained, the scheduling center can issue the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage catalog to be accessed to the intelligent device, so that the intelligent device can compare with the equipment end version and/or the equipment end updating time according to the scheduling end version and/or the scheduling end updating time issued by the scheduling center to determine whether the target algorithm needs to be updated.
It can be appreciated that in this embodiment, the scheduling end version and/or the scheduling end update time may be a scheduling end version; or, the scheduling end updates the time; alternatively, the schedule end version and the schedule end update time are not particularly limited herein.
S306, in response to a target algorithm upgrading request fed back by the intelligent device, sending target algorithm content in the storage catalog to be accessed to the intelligent device for the intelligent device to upgrade the target algorithm.
Optionally, if the intelligent device is newer than the device-side algorithm version and/or the device-side update time according to the scheduling-side version and/or the scheduling-side update time of the target algorithm issued by the scheduling center, determining that the target algorithm needs to be updated. At this time, the intelligent device may obtain the target algorithm content to perform the target algorithm upgrade by feeding back the target algorithm upgrade request to the scheduling center.
The scheduling center can determine a storage catalog to be accessed according to the type of the target algorithm and the target algorithm model carried in the obtained target algorithm request, obtain target algorithm content from the storage catalog to be accessed according to the target algorithm version and/or the target algorithm updating time carried in the target algorithm request, and then send the obtained target algorithm content to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
According to the algorithm upgrading method provided by the embodiment of the invention, the storage catalogue to be accessed is determined according to the equipment-side algorithm type and the equipment-side algorithm model of the target algorithm carried in the algorithm information acquisition request by responding to the algorithm information acquisition request sent by the intelligent equipment, the scheduling-side version and/or the scheduling-side updating time of the target algorithm in the storage catalogue to be accessed are issued to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is upgraded or not, and when the target algorithm upgrading request fed back by the intelligent equipment is received, the target algorithm content in the storage catalogue to be accessed is sent to the intelligent equipment, so that the target algorithm is upgraded by the intelligent equipment. Therefore, the intelligent equipment can acquire the algorithm at any time and any place to perform upgrading operation, so that the automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, the normal operation of basic business of the intelligent equipment can be ensured, and the user experience is improved.
The algorithm upgrading method provided by the embodiment of the invention is described in detail below by taking intelligent equipment as an example with reference to the accompanying drawings. Fig. 4 is a flowchart of still another algorithm upgrading method provided by the present invention. The method is suitable for the condition of updating the algorithm in the intelligent equipment, and the method can be executed by the algorithm updating device configured in the intelligent equipment, which is provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode. The smart device in this embodiment may be, but is not limited to: network cameras, network video recorders, intelligent servers, etc. As shown in fig. 4, the method may include:
s401, feeding back a target algorithm upgrading request to the dispatching center to instruct the dispatching center to execute the following steps: and determining a storage catalog to be accessed of the target algorithm according to the target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to the intelligent equipment.
S402, upgrading the target algorithm according to the content of the target algorithm.
Optionally, the intelligent device may actively send an algorithm upgrade request to the scheduling center, and perform an upgrade operation according to the target algorithm content fed back in the scheduling.
When the target algorithm is updated according to the target algorithm content, the original content of the target algorithm is replaced by the target algorithm content. It can be understood that when the target algorithm is updated in the embodiment, the software in the intelligent device is not required to be updated, and only the target algorithm is required to be updated, so that the intelligent device can still maintain normal operation of the basic service in the process of updating the algorithm, and the practicability of the intelligent device is improved.
It should be noted that, in this embodiment, the specific manner of the target algorithm content sent by the scheduling center may be specifically referred to the above embodiment, and will not be described in detail herein.
In one embodiment of the present application, before sending the target algorithm upgrade request to the dispatch center, the method further includes:
sending an algorithm information acquisition request to the dispatching center to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed according to the equipment-end algorithm type and the equipment-end algorithm model of the target algorithm carried in the algorithm information acquisition request; the method comprises the steps that a scheduling end version and/or scheduling end updating time of a target algorithm in a storage catalog to be accessed are issued to an equipment end, and the equipment end determines whether the target algorithm is updated or not;
And if the target algorithm is determined to be updated, feeding back a target algorithm updating request to the dispatching center so that the dispatching center feeds back the target algorithm content under the storage list to be accessed.
For example, if the scheduling end version issued by the scheduling center to the intelligent device is 2.1, the scheduling end update time is 2019-7-8, and the device end version is 1.5, and the device end update time is 2018-12-7, it is determined that the target algorithm needs to be updated, and at this time, the intelligent device can feed back a target algorithm update request to the scheduling center to acquire the target algorithm content for updating.
For another example, if the scheduling end version issued by the scheduling center to the intelligent device is 1.1 and the device end version is 1.1, it is determined that the target algorithm does not need to be updated, and the operation is ended.
According to the algorithm upgrading method provided by the embodiment of the invention, the target algorithm upgrading request is fed back to the dispatching center, and the upgrading operation is performed according to the target algorithm content sent by the dispatching center. Therefore, the algorithm is plugged and stored in the dispatching center to realize decoupling of the algorithm and the software, so that the intelligent equipment can acquire the algorithm from the dispatching center to perform upgrading operation, automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic business of the intelligent equipment can be ensured, and the user experience is improved.
The algorithm upgrading method of the above embodiment is specifically described below by means of a specific embodiment, and specifically refer to fig. 5. Fig. 5 is a schematic diagram of signaling interaction between a dispatch center and an intelligent device according to an embodiment of the present invention.
In this embodiment, it is assumed that the scheduling center is a, the intelligent devices include N, which are respectively: n1, N2, … Nn, the interaction procedure of the dispatch center with the smart device may include the following:
s501, the scheduling center A acquires new algorithm content and new algorithm attribute information, and determines a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information.
S502, the scheduling center A stores the content of the new algorithm into the target storage directory according to the identification information of the new algorithm in the target storage directory.
S503, the intelligent devices N1, N2, … Nn send an algorithm information acquisition request to the dispatch center a.
S504, the intelligent devices N1, N2 and … NN receive the dispatching end version and/or the dispatching end updating time of the target algorithm issued by the dispatching center A, and determine whether the target algorithm is upgraded.
S505, if the intelligent devices N1, N2 and … NN determine that the target algorithm needs to be upgraded, feeding back a target algorithm upgrading request to the dispatching center A;
S506, the scheduling center A feeds back the target algorithm content according to the target algorithm upgrading request fed back by the intelligent devices N1, N2 and … NN.
S507, the intelligent devices N1, N2 and … NN upgrade the target algorithm according to the target algorithm content fed back by the dispatching center A.
According to the algorithm upgrading method provided by the embodiment, the algorithm is plugged and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, and the intelligent equipment can acquire the algorithm from the dispatching center end to carry out upgrading operation, so that automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the algorithm upgrading is reduced, normal operation of basic services of the intelligent equipment can be ensured, and the user experience is improved.
In order to achieve the above objective, the present invention provides an algorithm upgrading device, wherein the algorithm upgrading device is configured in a dispatch center. Fig. 6 is a schematic structural diagram of an algorithm upgrading device provided by the invention. As shown in fig. 6, the algorithm upgrading device of the embodiment of the present invention includes: the system comprises an acquisition module 610, a determination module 612, a storage module 614 and a response module 616.
The acquiring module 610 is configured to acquire new algorithm content and new algorithm attribute information;
The determining module 612 is configured to determine, according to the new algorithm attribute information, a target storage directory of the new algorithm, and identification information of the new algorithm under the target storage directory;
the storage module 614 is configured to store the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory;
the response module 616 is configured to send, to the smart device, target algorithm content in a storage directory to be accessed in response to a target algorithm upgrade request fed back by the smart device, for the smart device to upgrade a target algorithm.
As an optional implementation manner of the embodiment of the present invention, the new algorithm attribute information includes a new algorithm version and/or a new algorithm update time, and a new algorithm type and a new algorithm model;
accordingly, the determining module 612 is specifically configured to:
determining a target storage catalog of the new algorithm according to the new algorithm type and the new algorithm model;
and determining the identification information of the new algorithm under the target storage directory according to the new algorithm version and/or the new algorithm updating time.
As an optional implementation manner of the embodiment of the present invention, the algorithm upgrading device further includes: the second response module and the information issuing module;
The second response module is used for responding to an algorithm information acquisition request sent by the intelligent device and determining the storage catalog to be accessed according to a device-side algorithm type and a device-side algorithm model of a target algorithm carried in the algorithm information acquisition request;
and the information issuing module is used for issuing the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage catalog to be accessed to the intelligent equipment so as to enable the intelligent equipment to determine whether the target algorithm is updated.
As an optional implementation manner of the embodiment of the present invention, the algorithm upgrading device further includes: deleting the module;
the deleting module is used for deleting the algorithm content if the storage time of the algorithm content in the dispatching center exceeds the algorithm remaining time according to the identification information of any algorithm content.
As an alternative implementation of an embodiment of the present invention, the storage module 614 is further configured to:
if the target storage catalog stores the historical algorithm content with the same type as the new algorithm content, the new algorithm content and the historical algorithm content are stored in the target storage catalog in a compatible mode; and the new algorithm content and the historical algorithm content are different in identification information under the target storage directory.
It should be noted that the foregoing explanation of the embodiment of the algorithm upgrading method is also applicable to the algorithm upgrading device of this embodiment, and the implementation principle is similar, and will not be repeated here.
According to the algorithm upgrading device provided by the embodiment of the invention, the algorithm is inserted and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, and the intelligent equipment can acquire the algorithm from the dispatching center end for upgrading operation, so that automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic service of the intelligent equipment can be ensured, and the user experience is improved.
Fig. 7 is a schematic structural diagram of another algorithm upgrading device provided by the invention, wherein the algorithm upgrading device is configured in an intelligent device. As shown in fig. 7, the algorithm upgrading device of the embodiment of the present invention includes: request sending module 710 and upgrade module 712.
The request sending module 710 is configured to feed back a target algorithm upgrade request to a scheduling center, so as to instruct the scheduling center to perform the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment;
The upgrade module 712 is configured to upgrade the target algorithm according to the content of the target algorithm.
As an optional implementation manner of the embodiment of the present invention, the algorithm upgrading device further includes: the information acquisition module and the feedback module;
the information acquisition module is used for sending an algorithm information acquisition request to the dispatching center so as to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed according to the equipment-end algorithm type and the equipment-end algorithm model of the target algorithm carried in the algorithm information acquisition request; issuing a scheduling end version and/or scheduling end updating time of a target algorithm in the storage catalog to be accessed to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is updated or not;
and the feedback module is used for feeding back a target algorithm upgrading request to the dispatching center if the target algorithm is determined to be upgraded, so that the dispatching center feeds back the target algorithm content under the storage list to be accessed.
It should be noted that the foregoing explanation of the embodiment of the algorithm upgrading method is also applicable to the algorithm upgrading device of this embodiment, and the implementation principle is similar, and will not be repeated here.
According to the algorithm upgrading device provided by the embodiment of the invention, the algorithm is inserted and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, and the intelligent equipment can acquire the algorithm from the dispatching center end for upgrading operation, so that automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic service of the intelligent equipment can be ensured, and the user experience is improved.
Fig. 8 is a schematic structural diagram of a computer device according to the present invention. FIG. 8 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in fig. 8 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in FIG. 8, the computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard disk drive"). Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing an algorithm upgrade method provided by an embodiment of the present invention, including:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information;
storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory;
and responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in a storage catalog to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
Or feeding back a target algorithm upgrade request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment;
and upgrading the target algorithm according to the content of the target algorithm.
It should be noted that the foregoing explanation of the embodiment of the algorithm upgrading method is also applicable to the computer device of this embodiment, and the implementation principle is similar, which is not repeated herein.
According to the computer equipment provided by the embodiment of the invention, the algorithm is inserted and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, and the intelligent equipment can acquire the algorithm from the dispatching center end for upgrading operation, so that automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the upgrading of the algorithm is reduced, normal operation of basic service of the intelligent equipment can be ensured, and the user experience is improved.
To achieve the above object, the present invention also proposes a computer-readable storage medium. The computer readable storage medium provided by the embodiment of the invention stores a computer program, and the program realizes the algorithm upgrading method according to the embodiment of the invention when being executed by a processor, and the method comprises the following steps:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information;
storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory;
And responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in a storage catalog to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
Or feeding back a target algorithm upgrade request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment;
and upgrading the target algorithm according to the content of the target algorithm.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (11)

1. An algorithm upgrade method, applied to a dispatch center, comprising:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information;
storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory; the target storage catalog is positioned in an algorithm warehouse of the dispatching center;
And responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in a storage catalog to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
2. The method according to claim 1, wherein the new algorithm attribute information comprises a new algorithm version and/or a new algorithm update time, and a new algorithm type and a new algorithm model;
correspondingly, determining the target storage catalog of the new algorithm and the identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information, wherein the method comprises the following steps:
determining a target storage catalog of the new algorithm according to the new algorithm type and the new algorithm model;
and determining the identification information of the new algorithm under the target storage directory according to the new algorithm version and/or the new algorithm updating time.
3. The method of claim 1, wherein sending the target algorithm content in the storage catalog to be accessed to the smart device, prior to upgrading the target algorithm by the smart device, further comprises:
responding to an algorithm information acquisition request sent by the intelligent equipment, and determining the storage catalogue to be accessed according to the equipment-end algorithm type and the equipment-end algorithm model of a target algorithm carried in the algorithm information acquisition request;
And transmitting the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage catalog to be accessed to the intelligent equipment for the intelligent equipment to determine whether the target algorithm is updated.
4. A method according to any one of claims 1-3, wherein after storing the new algorithm content in the target storage directory according to the identification information of the new algorithm in the target storage directory, further comprising:
and if the storage time of the algorithm content in the dispatching center exceeds the algorithm retention period according to the identification information of any algorithm content, deleting the algorithm content.
5. A method according to any one of claims 1-3, wherein said storing said new algorithm content under said target storage directory comprises:
if the target storage catalog stores the historical algorithm content with the same type as the new algorithm content, the new algorithm content and the historical algorithm content are stored in the target storage catalog in a compatible mode; and the new algorithm content and the historical algorithm content are different in identification information under the target storage directory.
6. An algorithm upgrade method, applied to an intelligent device, comprising:
Feeding back a target algorithm upgrade request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment; the storage catalogue to be accessed is positioned in an algorithm warehouse of the dispatching center;
and upgrading the target algorithm according to the content of the target algorithm.
7. The method of claim 6, further comprising, prior to feeding back the target algorithm upgrade request to the dispatch center:
sending an algorithm information acquisition request to the dispatching center to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed according to the equipment-end algorithm type and the equipment-end algorithm model of the target algorithm carried in the algorithm information acquisition request; issuing a scheduling end version and/or scheduling end updating time of a target algorithm in the storage catalog to be accessed to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is updated or not;
and if the target algorithm is determined to be updated, feeding back a target algorithm updating request to the dispatching center so that the dispatching center feeds back the target algorithm content under the storage list to be accessed.
8. An algorithm upgrade apparatus configured in a dispatch center, the apparatus comprising:
the acquisition module is used for acquiring new algorithm content and new algorithm attribute information;
the determining module is used for determining a target storage catalog of the new algorithm and identification information of the new algorithm under the target storage catalog according to the new algorithm attribute information;
the storage module is used for storing the content of the new algorithm to the target storage directory according to the identification information of the new algorithm in the target storage directory; the target storage catalog is positioned in an algorithm warehouse of the dispatching center;
and the response module is used for responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in the storage catalog to be accessed to the intelligent equipment so as to upgrade the target algorithm by the intelligent equipment.
9. An algorithm upgrading device, characterized in that it is configured in an intelligent device, said device comprising:
the request sending module is used for feeding back a target algorithm upgrading request to the dispatching center so as to instruct the dispatching center to execute the following steps: determining a storage catalog to be accessed of the target algorithm according to target algorithm attribute information carried in the target algorithm upgrading request, and sending target algorithm content in the storage catalog to be accessed to intelligent equipment; the storage catalogue to be accessed is positioned in an algorithm warehouse of the dispatching center;
And the upgrading module is used for upgrading the target algorithm according to the content of the target algorithm.
10. A computer device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by one or more processors, causes the one or more processors to implement the algorithm upgrade method of any one of claims 1-5, or the algorithm upgrade method of any one of claims 6-7.
11. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the algorithm upgrade method according to any one of claims 1-5 or the algorithm upgrade method according to any one of claims 6-7.
CN201910717013.3A 2019-08-05 2019-08-05 Algorithm upgrading method, device, equipment and storage medium Active CN112328272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910717013.3A CN112328272B (en) 2019-08-05 2019-08-05 Algorithm upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910717013.3A CN112328272B (en) 2019-08-05 2019-08-05 Algorithm upgrading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112328272A CN112328272A (en) 2021-02-05
CN112328272B true CN112328272B (en) 2024-03-22

Family

ID=74319585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910717013.3A Active CN112328272B (en) 2019-08-05 2019-08-05 Algorithm upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112328272B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277411A (en) * 2022-06-23 2022-11-01 中国银行股份有限公司 Method, device and equipment for upgrading edge box
CN114911507B (en) * 2022-07-15 2022-09-23 浙江大华技术股份有限公司 Updating method and equipment of algorithm package

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933630A (en) * 2017-03-09 2017-07-07 百度在线网络技术(北京)有限公司 A kind of client side upgrading method, device, equipment and storage medium
CN108108181A (en) * 2017-12-14 2018-06-01 深圳市雷鸟信息科技有限公司 The function renewal method, apparatus and computer readable storage medium of application program
US10042634B1 (en) * 2015-12-28 2018-08-07 EMC IP Holding Company LLC Storage management system and method
CN109416629A (en) * 2017-11-01 2019-03-01 深圳市大疆创新科技有限公司 Firmware upgrade method, electronic equipment, camera system and unmanned vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10042634B1 (en) * 2015-12-28 2018-08-07 EMC IP Holding Company LLC Storage management system and method
CN106933630A (en) * 2017-03-09 2017-07-07 百度在线网络技术(北京)有限公司 A kind of client side upgrading method, device, equipment and storage medium
CN109416629A (en) * 2017-11-01 2019-03-01 深圳市大疆创新科技有限公司 Firmware upgrade method, electronic equipment, camera system and unmanned vehicle
CN108108181A (en) * 2017-12-14 2018-06-01 深圳市雷鸟信息科技有限公司 The function renewal method, apparatus and computer readable storage medium of application program

Also Published As

Publication number Publication date
CN112328272A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN106933630B (en) Client upgrading method, device, equipment and storage medium
CN110032459B (en) Message queue configuration method and device, computer equipment and storage medium
CN111339186B (en) Workflow engine data synchronization method, device, medium and electronic equipment
CN110297635B (en) Page display method, device, equipment and storage medium
CN109597640B (en) Account management method, device, equipment and medium for application program
CN110750291B (en) Edge device algorithm updating method, system, device and storage medium
CN113032105B (en) Kubernetes cluster access control method, system and related equipment
US20080086502A1 (en) Dynamic configuration of multiple sources and source types in a business process
CN112328272B (en) Algorithm upgrading method, device, equipment and storage medium
CN111818145B (en) File transmission method, device, system, equipment and storage medium
CN111382123A (en) File storage method, device, equipment and storage medium
US11983519B2 (en) Abort installation of firmware bundles
US8290916B2 (en) Rule-based record profiles to automate record declaration of electronic documents
CN109472540B (en) Service processing method and device
CN111104125B (en) Intelligent integrated version management method, device, medium and electronic equipment
CN115982148A (en) Database table processing method and device, electronic equipment and storage medium
CN114218000A (en) Log management method and device, electronic equipment and computer readable storage medium
CN109460511B (en) Method and device for acquiring user portrait, electronic equipment and storage medium
CN112925796A (en) Write consistency control method, device, equipment and storage medium
US9298449B2 (en) Composite program history
CN112364268A (en) Resource acquisition method and device, electronic equipment and storage medium
CN111711713A (en) Data access method, computer device and storage medium
CN111046430B (en) Data processing method and device, storage medium and electronic equipment
US11379147B2 (en) Method, device, and computer program product for managing storage system
US11709691B2 (en) Software user assistance through image processing

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