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

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

Info

Publication number
CN112328272A
CN112328272A CN201910717013.3A CN201910717013A CN112328272A CN 112328272 A CN112328272 A CN 112328272A CN 201910717013 A CN201910717013 A CN 201910717013A CN 112328272 A CN112328272 A CN 112328272A
Authority
CN
China
Prior art keywords
algorithm
target
storage directory
new
content
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
CN201910717013.3A
Other languages
Chinese (zh)
Other versions
CN112328272B (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

Images

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, device, equipment and storage medium. The method comprises the following steps: acquiring new algorithm content and new algorithm attribute information; determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm; storing the new algorithm content in a 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 the storage directory to be accessed to the intelligent equipment for upgrading the target algorithm by the intelligent equipment. According to the method and the system, the algorithm is plugged and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, the intelligent equipment can acquire the algorithm from the dispatching center end to perform upgrading operation, automatic upgrading of the algorithm is realized, input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent equipment can be guaranteed, and user experience is improved.

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, device, equipment and storage medium.
Background
Nowadays, with the rapid development of security industry, a large number of intelligent devices, such as a network camera, a network video recorder and the like, are arranged at the front end of a security monitoring platform, and the management of the intelligent devices is very important. Such as upgrades, additions, and deletions to algorithms in the smart device.
In the related art, because the algorithm in the intelligent device is generally integrated in the software, when the algorithm in the intelligent device is upgraded, the algorithm is usually upgraded by manually upgrading the software of the intelligent device. However, since the software upgrading is time-consuming and needs to be performed manually, the upgrading workload is large, the cost is high, the timeliness is poor, and even the service operation of the intelligent device is affected.
Disclosure of Invention
The embodiment of the invention provides an algorithm upgrading method, device, equipment and storage medium, which can realize automatic upgrading of an algorithm, reduce the input cost of manpower and material resources during upgrading of the algorithm, ensure the normal operation of basic services of intelligent equipment and improve the user experience.
In a first aspect, an embodiment of the present invention provides an algorithm upgrading method, which is applied to a scheduling center, and the method includes:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm;
storing the new algorithm content in 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 directory 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, which is applied to an intelligent device, and the method includes:
feeding back a target algorithm upgrading request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
and upgrading the target algorithm according to the target algorithm content.
In a third aspect, an embodiment of the present invention further provides an algorithm upgrading apparatus configured in a scheduling center, where the apparatus 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 directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm;
the storage module is used for storing the new algorithm content into a 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 directory to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
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:
a request sending module, configured to feed back a target algorithm upgrading request to a scheduling center, so as to instruct the scheduling center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
and the upgrading module is used for upgrading the target algorithm according to the target algorithm content.
In a fifth aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the algorithm upgrading method described in the first aspect embodiment or the algorithm upgrading method described in the second aspect embodiment.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the algorithm upgrading method described in the embodiment of the first aspect, or the algorithm upgrading method described in 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 determining a target storage directory of a new algorithm and identification information of the new algorithm under the target storage directory according to new algorithm attribute information by acquiring the new algorithm content and the new algorithm attribute information, storing the new algorithm content under the target storage directory according to the identification information of the new algorithm under the target storage directory, and then responding to a target algorithm upgrading request fed back by intelligent equipment and sending the target algorithm content with access to the storage directory to the intelligent equipment for the intelligent equipment to upgrade the target algorithm. Therefore, the algorithm is plugged and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, the intelligent equipment can acquire the algorithm from the dispatching center end to perform upgrading operation, automatic upgrading of the algorithm is realized, input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent equipment can be guaranteed, and user experience is improved.
Drawings
FIG. 1 is a schematic flow chart of an algorithm upgrading method provided by the present 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 algorithm upgrading method provided by the present 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 signaling interaction between a scheduling center and an intelligent device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an algorithm upgrading device provided by the present invention;
FIG. 7 is a schematic diagram of another algorithm upgrading device provided by the present invention;
fig. 8 is a schematic structural diagram of a computer device provided in the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
The embodiment of the invention provides an algorithm upgrading method aiming at the problems that in the related technology, the algorithm upgrading is realized by manually upgrading the software in the intelligent equipment, the existing software upgrading is long in time consumption, and the software upgrading needs 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.
According to the embodiment of the 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 new algorithm attribute information by acquiring the new algorithm content and the new algorithm attribute information, 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, and then the target algorithm content with access to the storage directory is sent to the intelligent equipment in response to the target algorithm upgrading request fed back by the intelligent equipment for the intelligent equipment to upgrade the target algorithm. Therefore, the algorithm is plugged and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, the intelligent equipment can acquire the algorithm from the dispatching center end to perform upgrading operation, automatic upgrading of the algorithm is realized, input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent equipment can be guaranteed, and user experience is improved.
The following describes an algorithm upgrading method, apparatus, device and storage medium according to an embodiment of the present invention with reference to the accompanying drawings.
First, the algorithm upgrading method according to the embodiment of the present invention is described in detail by taking a scheduling center as an example.
Fig. 1 is a schematic flowchart of an algorithm upgrading method provided by the present invention, where an embodiment of the present invention is applicable to a scenario of upgrading an algorithm in an intelligent device, and the method may be executed by an algorithm upgrading apparatus configured in a dispatch center provided by an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware and may be applied in the dispatch center. 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 by a technician updating any algorithm, and after the new algorithm is obtained, a new algorithm upload 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 upload request according to the obtained new algorithm upload request.
The client may be any device having an operation portal, such as a computer, a personal digital assistant, and the like, which is not limited herein.
S102, determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm.
Since the new algorithm attribute information may include: new algorithm versions and/or new algorithm update times, as well as new algorithm types and new algorithm models. Wherein 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 specifically limited herein.
For this reason, in this embodiment, determining the target storage directory of the new algorithm according to the attribute information of the new algorithm, and the identification information of the new algorithm in the target storage directory may include:
determining a target storage directory 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, the different chips, and the different models may also be different. Wherein the new algorithm model may be determined according to a different dimensional algorithm. For example, a 256-dimensional algorithm is an algorithm model; the 128-dimensional algorithm is another algorithm model. In the present embodiment, for an image, a dimension refers to the number of feature vectors in the image.
In this embodiment, the new algorithm model may be described by the precision of the new algorithm, or the complexity of the new algorithm. If the performance of the chip is good, the precision of the new algorithm is higher or the complexity is higher, and otherwise, the precision of the new algorithm is low or the complexity is lower.
Further, the present embodiment may determine the target storage directory of the new algorithm by:
the first method is as follows:
matching the new algorithm type with at least two pre-established storage catalogues, and if the new algorithm type is successfully matched with any storage catalog, then re-matching the new algorithm model with the any storage catalog; and if the new algorithm model is successfully matched with any storage directory, determining the storage directory as a target storage directory of the new algorithm.
For example, if 4 storage directories are pre-established, they are: /mnt/face/model 1; /mnt/face/model 2; /mnt/vehicle/model 1; the new algorithm type is face, the new algorithm model is model2, and then the face and/mnt/face/model 1 can be respectively connected with the algorithm upgrading device; /mnt/face/model 2; /mnt/vehicle/model 1; matching is carried out on/mnt/vehicle/model 1, a new algorithm type face is determined and matched with/mnt/face/model 1 and/mnt/face/model 2, then model2 is respectively matched with/mnt/face/model 1 and/mnt/face/model 2, and model2 is determined to be matched with/mnt/face/model 2, and then/mnt/face/model 2 is determined to be a target storage directory.
The second method comprises the following steps:
and establishing a primary directory according to the new algorithm type, and establishing a secondary directory according to the new algorithm model to obtain a target storage directory.
For example, if the new algorithm type is face and the new algorithm model is model3, the face may be used as the primary directory and model3 as the secondary directory, and the target storage directory is/mnt/face/model 3.
If the algorithm type and the algorithm model of any new algorithm are matched with the established storage directory, the matched storage directory is directly determined as the target storage directory, so that the speed of determining the target storage directory can be increased, and the repeated establishment of the same storage directory is avoided.
It should be noted that the two modes described above in this embodiment may be implemented individually or in combination, and are not specifically limited herein.
Furthermore, because different new algorithm types and new algorithm models in the new algorithm attribute information correspond to different new algorithm versions and/or new algorithm update times, in order to facilitate subsequent acquisition of new algorithm contents for upgrading operations, the present embodiment may determine the identification information of the new algorithm in 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/mnt/face/model 3, 2.0, 2019-6-2 may be determined as the identification information of the new algorithm under/mnt/face/model 3.
It can be understood that, in the present embodiment, the new algorithm version and/or the new algorithm update time may be a new algorithm version; or, a new algorithm update time; further alternatively, the new algorithm version and the new algorithm update time are not particularly limited herein.
S103, storing the new algorithm content in 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 update time of the new algorithm is 2019-7-3, and the target storage directory is: the/mnt/face/model 3 is 2.2 according to the identification information; 2019-7-3, and storing the new algorithm content under/mnt/face/model 3. Namely, the corresponding relation between the identification information and the target storage directory is established.
Further, in order to uniformly manage the algorithm, the present embodiment may further set an algorithm warehouse in the scheduling center, so as to store different algorithm contents. That is to say, 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 content of the new algorithm in the algorithm warehouse according to the identification information of the content of the new algorithm in the target storage directory, and a storage path of the new calculation content is obtained. And then, the corresponding new algorithm content can be obtained according to the new algorithm content storage path.
And S104, responding to a target algorithm upgrading request fed back by the intelligent equipment, and sending target algorithm content in the storage directory 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 the new algorithm content is stored 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, and send the obtained target algorithm content to the intelligent device, so that the intelligent device may perform an upgrade operation of the target algorithm according to the obtained target algorithm content.
The method for feeding back the target algorithm upgrading request to the scheduling center by the intelligent device may be implemented in a wired manner or a wireless manner, and is not specifically limited herein.
During specific implementation, the scheduling center can determine the storage directory to be accessed according to the target algorithm type and the target algorithm model carried in the obtained target algorithm request, then obtain target algorithm contents from the storage directory 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 contents to the intelligent equipment so as to update the target algorithm for the intelligent equipment.
According to the algorithm upgrading method provided by the embodiment of the invention, the target storage directory of the new algorithm and the identification information of the new algorithm in the target storage directory are determined according to the new algorithm attribute information by acquiring the new algorithm content and the new algorithm attribute information, the new algorithm content is stored in the target storage directory according to the identification information of the new algorithm in the target storage directory, and then the target algorithm content with access to the storage directory is sent to the intelligent equipment in response to the target algorithm upgrading request fed back by the intelligent equipment so as to be used for the intelligent equipment to upgrade the target algorithm. Therefore, the algorithm is plugged and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, the intelligent equipment can acquire the algorithm from the dispatching center end to perform upgrading operation, automatic upgrading of the algorithm is realized, input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent equipment can be guaranteed, and user experience is improved.
On the basis of the above embodiment, S103 is followed by: and if the storage duration of the algorithm content in the scheduling center exceeds the algorithm retention period according to the identification information of any algorithm content, deleting the algorithm content.
The algorithm retention 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 still use the historical algorithm to extract image features and execute the applications such as image searching and the like after the algorithm is upgraded, the scheduling center of the embodiment may store the historical algorithm content and the new algorithm content at the same time. Therefore, when the device side carries out image searching application according to the algorithm content of the device side, the device side can respectively carry out image feature extraction on the image to be searched by utilizing the new algorithm content and the historical algorithm content stored in the scheduling center. 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 respective corresponding image data to obtain all image data matched with the image features.
However, as time goes on, the storage time of the historical algorithm content in the scheduling center is earlier than the updated new algorithm content, and the algorithm retention period is exceeded. The image data generated by the corresponding historical algorithm content will also be completely covered by the image data generated by the new algorithm content. Therefore, when the device side performs the graph searching application by using the image feature extracted by the content of the historical algorithm, the image data generated by the content of the historical algorithm cannot be acquired, which causes unnecessary waste of computing resources and increases the maintenance pressure of the dispatching center.
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 (the algorithm version and/or the 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, so that the algorithm content storage space is increased, and the maintenance pressure of the scheduling center is reduced.
In the embodiment of the invention, the scheduling center can determine whether the image data of the content of the historical algorithm can be completely covered by the image data of the content of the new algorithm according to the image acquisition time of the content of the new algorithm and the updating time of the content of the historical algorithm. In specific implementation, 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 content, if so, the image data of the historical algorithm content can be covered, and the process is repeated 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 scheduling center through the background, so that the scheduling center deletes the historical algorithm content.
That is to say, in the embodiment, by deleting the algorithm content whose storage duration exceeds the algorithm retention period, it can be ensured that the scheduling center always has enough storage space to store the new algorithm, and the maintenance pressure of the scheduling center on the algorithm can be reduced.
Through the analysis, the target storage directory of the new algorithm and the identification information of the new algorithm in the target storage directory are determined according to the attribute information of the new algorithm, and the content of the new algorithm is stored in the target storage directory according to the identification information of the new algorithm in the target storage directory, so that the intelligent device can upgrade the target algorithm according to the stored content of the new algorithm.
In another implementation scenario of the present invention, the storing the new algorithm content in the target storage directory further includes: and storing the compatibility of the historical algorithm content and the new algorithm content in a target storage directory so as to facilitate the subsequent application of searching the images and the like. The following describes the foregoing situation of the algorithm upgrading method according to the embodiment of the present invention with reference to fig. 2.
S201, acquiring new algorithm content and new algorithm attribute information.
S202, according to the new algorithm attribute information, determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory.
S203, if the target storage directory stores the historical algorithm content with the same type as the new algorithm content, the new algorithm content and the historical algorithm content are compatibly stored in the target storage directory; and the new algorithm content and the historical algorithm content are different in identification information under the target storage directory.
In the practical application process, after the algorithm of the equipment end is upgraded, the problem that the image characteristics extracted by the content of the new algorithm are different from the image characteristics extracted by the content of the historical algorithm exists. For example, taking a face image as an example, the historical algorithm content extracts image features based on 128 bits, while the new algorithm content extracts image features based on 256 bits. Therefore, the new algorithm content cannot perform the application of image searching for images on the image features extracted from the historical algorithm content, and the application of image searching for images can only be performed according to the image features extracted from 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 not completely limited in application.
For this reason, the present embodiment may store the same type of compatibility between the new algorithm content and the historical algorithm content in the target storage directory, and the identification information of the new algorithm content and the historical algorithm content in the target storage directory is different. Therefore, when the subsequent image searching application is executed, the image meeting the conditions can be acquired from the image data corresponding to the new algorithm content and the historical algorithm content, and finally acquired data are more comprehensive.
In specific implementation, when the algorithm stored in the scheduling center is used for executing the graph searching application, the stored new algorithm content and the stored historical algorithm content of the same type can be loaded. And then, respectively extracting image features of the image input by the user by using the new algorithm content and the historical algorithm content, and setting marking information for the image features extracted by the new algorithm content and the historical algorithm content so as to mark which algorithm the image features are extracted by. Therefore, the scheduling center can perform image feature matching in the image data corresponding to the algorithm according to the annotation information of the image features extracted by the algorithm 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.
Through the analysis, the embodiment of the invention stores the historical algorithm content with the same type as the new algorithm content in the target storage directory, and then the new algorithm content and the historical algorithm content are compatibly stored in the target storage directory, so that the algorithm content is compatibly stored.
In another implementation scenario of the present invention, before the scheduling center sends the target algorithm content to the intelligent device, the scheduling center of this embodiment may further receive an algorithm information obtaining request sent by the intelligent device, so as to determine the storage directory to be accessed according to the device-side algorithm type and the device-side algorithm model of the target algorithm carried in the algorithm information obtaining request, and send the scheduling-side version and/or the scheduling-side update time of the target algorithm in the storage directory to be accessed to the intelligent device, so that the intelligent device determines whether the target algorithm is updated. The following describes the foregoing situation of the algorithm upgrading method according to the embodiment of the present invention with reference to fig. 3.
Fig. 3 is a schematic flow chart of another algorithm upgrading method provided by the present invention. As shown in fig. 3, the algorithm upgrading method may include the following:
s301, acquiring new algorithm content and new algorithm attribute information.
S302, according to the new algorithm attribute information, determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory.
S303, storing the new algorithm content in the target storage directory according to the identification information of the new algorithm in the target storage directory.
S304, responding to the algorithm information acquisition request sent by the intelligent equipment, and determining the storage directory 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 the scheduling end updating information of the target algorithm in the storage directory to be accessed are issued to the intelligent equipment, and the intelligent equipment 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 obtaining 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 obtaining request, so that the scheduling center obtains the device-side algorithm type and the device-side algorithm model of the target algorithm by analyzing the algorithm information obtaining request. And then, determining a storage directory to be accessed in the storage directory 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 upgrading. The manner in which the intelligent device sends the algorithm information acquisition request to the scheduling center may be implemented in a wired manner or a wireless manner, and is not specifically limited herein.
For example, if the device-side algorithm type is face and the device-side algorithm model is model1, the scheduling center may search for a matching storage directory in the 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 obtaining the storage directory to be accessed, the scheduling center may issue the scheduling end version and/or the scheduling end update time of the target algorithm in the storage directory to be accessed to the intelligent device, so that the intelligent device compares the scheduling end version and/or the scheduling end update time issued by the scheduling center with the device end version and/or the device end update time to determine whether the target algorithm needs to be updated.
It can be understood that, in this embodiment, the version of the scheduling end and/or the update time of the scheduling end may be the version of the scheduling end; or, the scheduling end updates the time; or, the version of the scheduling end and the update time of the scheduling end are not specifically limited herein.
S306, responding to the target algorithm upgrading request fed back by the intelligent equipment, and sending the target algorithm content in the storage directory to be accessed to the intelligent equipment for the intelligent equipment 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, it is determined that the target algorithm needs to be updated. At this time, the intelligent device can obtain the target algorithm content to perform target algorithm upgrading by feeding back the target algorithm upgrading request to the scheduling center.
The scheduling center can determine the storage directory to be accessed according to the target algorithm type and the target algorithm model carried in the obtained target algorithm request, then obtain the target algorithm content from the storage directory 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 so as to update the target algorithm for the intelligent equipment.
The algorithm upgrading method provided by the embodiment of the invention determines the storage directory to be accessed by responding to the algorithm information acquisition request sent by the intelligent equipment, according to the equipment end algorithm type and the equipment end algorithm model of the target algorithm carried in the algorithm information acquisition request, and sends the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage directory to be accessed to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is upgraded, and when the target algorithm upgrading request fed back by the intelligent equipment is received, the target algorithm content in the storage directory to be accessed is sent to the intelligent equipment for upgrading the target algorithm. Therefore, the intelligent equipment can acquire the algorithm at any time and any place to perform upgrading operation, so that automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent equipment can be ensured, and user experience is improved.
The following describes in detail an algorithm upgrading method proposed by an embodiment of the present invention with reference to the accompanying drawings by taking an intelligent device as an example. Fig. 4 is a flowchart of another algorithm upgrading method provided by the present invention. The embodiment is suitable for upgrading an algorithm in an intelligent device, and the method can be executed by the algorithm upgrading device configured in the intelligent device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware manner. The intelligent 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 directory 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 contents in the storage directory to be accessed to the intelligent equipment.
S402, upgrading the target algorithm according to the target algorithm content.
Optionally, the intelligent device may actively send an algorithm upgrading request to the scheduling center, and perform upgrading operation according to target algorithm content fed back in the scheduling.
And when the target algorithm is upgraded according to the target algorithm content, replacing the original content of the target algorithm with the target algorithm content. It can be understood that, when the target algorithm is updated in this embodiment, software in the intelligent device does not need to be updated, and only the target algorithm needs to be updated, so that the intelligent device can still keep normal operation of the basic service in the algorithm updating process, thereby improving the practicability of the intelligent device.
It should be noted that, in this embodiment, specific ways of the target algorithm content sent by the scheduling center may specifically refer to the foregoing embodiments, and redundant description thereof is not repeated here.
In an embodiment of the present application, before sending the target algorithm upgrade request to the scheduling center, the method further includes:
sending an algorithm information acquisition request to a scheduling center to instruct the scheduling center to execute the following steps: determining a storage directory 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 the version of the scheduling end and/or the updating time of the scheduling end of the target algorithm in the storage directory to be accessed to the equipment end, so that the equipment end can determine whether the target algorithm is updated;
and if the target algorithm needs to be upgraded, feeding back a target algorithm upgrading request to the scheduling center so that the scheduling center feeds back target algorithm contents in the storage directory to be accessed.
For example, if the version of the scheduling end issued by the scheduling center to the intelligent device is 2.1, the update time of the scheduling end is 2019-7-8, the version of the device end is 1.5, and the update time of the device end is 2018-12-7, it is determined that the target algorithm needs to be updated, and at this time, the intelligent device may feed back a target algorithm update request to the scheduling center to obtain the target algorithm content for updating.
If the version of the scheduling end issued by the scheduling center to the intelligent device is 1.1 and the version of the device end 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 carried out according to the target algorithm content sent by the dispatching center. Therefore, the algorithm is plugged and stored in the dispatching center end, so that decoupling of the algorithm and software is realized, the intelligent equipment can acquire the algorithm from the dispatching center end to perform upgrading operation, automatic upgrading of the algorithm is realized, input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent equipment can be guaranteed, and user experience is improved.
The algorithm upgrading method according to the above embodiment is specifically described below by using an embodiment, and specifically refer to fig. 5. Fig. 5 is a schematic diagram of signaling interaction between a scheduling 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, and the number of the intelligent devices includes N, which are respectively: n1, N2, … Nn, the interaction process of the dispatch center with the smart device may include the following:
s501, the scheduling center A acquires the new algorithm content and the new algorithm attribute information, and determines a target storage directory of the new algorithm and identification information of the new algorithm in the target storage directory according to the new algorithm attribute information.
And 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 and … Nn send algorithm information acquisition requests to the dispatching center A.
S504, the intelligent devices N1, N2 and … Nn receive the scheduling end version and/or the scheduling end updating time of the target algorithm issued by the scheduling center A, and determine whether the target algorithm is updated.
S505, if the intelligent equipment N1, N2 and … Nn determines that the target algorithm needs to be upgraded, feeding back a target algorithm upgrading request to the dispatching center A;
and S506, the dispatching center A feeds back target algorithm contents according to the target algorithm upgrading requests fed back by the intelligent devices N1, N2 and … Nn.
And S507, the intelligent equipment 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, the intelligent device can acquire the algorithm from the dispatching center end to perform upgrading operation, automatic upgrading of the algorithm is realized, input cost of manpower and material resources during upgrading of the algorithm is reduced, normal operation of basic services of the intelligent device can be ensured, and user experience is improved.
In order to achieve the above object, the present invention provides an algorithm upgrading apparatus, wherein the algorithm upgrading apparatus is configured at a dispatching center. Fig. 6 is a schematic structural diagram of an algorithm upgrading device provided by the present invention. As shown in fig. 6, the algorithm upgrading apparatus according to the embodiment of the present invention includes: an acquisition module 610, a determination module 612, a storage module 614, and a response module 616.
The obtaining module 610 is configured to obtain 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 in the target storage directory;
the storage module 614 is configured to store the new algorithm content in 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, the target algorithm content in the storage directory to be accessed for the smart device to update the target algorithm in response to the target algorithm update request fed back by the smart device.
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, a new algorithm type, and a new algorithm model;
accordingly, the determining module 612 is specifically configured to:
determining a target storage directory 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 apparatus 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 equipment, and determining the storage directory to be accessed according to the equipment-side algorithm type and the equipment-side algorithm model of the 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 directory to be accessed to the intelligent equipment so that the intelligent equipment can determine whether the target algorithm is updated or not.
As an optional implementation manner of the embodiment of the present invention, the algorithm upgrading apparatus further includes: a deletion module;
the deleting module is used for deleting the algorithm content if the storage time of the algorithm content in the scheduling center is determined to exceed the algorithm retention period according to the identification information of any algorithm content.
As an optional implementation manner of the embodiment of the present invention, the storage module 614 is further configured to:
if the target storage directory stores historical algorithm contents with the same types as the new algorithm contents, the new algorithm contents and the historical algorithm contents are compatibly stored in the target storage directory; 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 apparatus of the embodiment, and the implementation principle thereof is similar and will not be described herein again.
According to the algorithm upgrading device provided by the embodiment of the invention, the algorithm is plugged and stored in the dispatching center end, so that the decoupling of the algorithm and the software is realized, the intelligent equipment can obtain the algorithm from the dispatching center end to carry out upgrading operation, the automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the algorithm upgrading is reduced, the normal operation of basic services of the intelligent equipment can be ensured, and the user experience is improved.
Fig. 7 is a schematic structural diagram of another algorithm upgrading apparatus provided in the present invention, wherein the algorithm upgrading apparatus is configured in an intelligent device. As shown in fig. 7, the algorithm upgrading apparatus according to the embodiment of the present invention includes: a request sending module 710 and an upgrade module 712.
The request sending module 710 is configured to feed back a target algorithm upgrading request to a scheduling center, so as to instruct the scheduling center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
the upgrading module 712 is configured to upgrade the target algorithm according to the target algorithm content.
As an optional implementation manner of the embodiment of the present invention, the algorithm upgrading apparatus further includes: the system comprises an information acquisition module and a feedback module;
the information acquisition module is used for sending an algorithm information acquisition request to the scheduling center so as to instruct the scheduling center to execute the following steps: determining a storage directory 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 the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage directory to be accessed to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is updated;
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 required to be upgraded, so that the dispatching center feeds back the target algorithm content in the storage directory 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 apparatus of the embodiment, and the implementation principle thereof is similar and will not be described herein again.
According to the algorithm upgrading device provided by the embodiment of the invention, the algorithm is plugged and stored in the dispatching center end, so that the decoupling of the algorithm and the software is realized, the intelligent equipment can obtain the algorithm from the dispatching center end to carry out upgrading operation, the automatic upgrading of the algorithm is realized, the input cost of manpower and material resources during the algorithm upgrading is reduced, the normal operation of basic services of the intelligent equipment can be ensured, and the user experience is improved.
Fig. 8 is a schematic structural diagram of a computer device provided in 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 only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in FIG. 8, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, 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 may 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. 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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, and commonly referred to as a "hard drive"). Although not shown in FIG. 8, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are 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, for example, in 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing an algorithm upgrading method provided by the embodiment of the present invention, including:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm;
storing the new algorithm content in 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 directory to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
Or, feeding back a target algorithm upgrading request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
and upgrading the target algorithm according to the target algorithm content.
It should be noted that the foregoing explanation of the embodiment of the algorithm upgrading method is also applicable to the computer device of the embodiment, and the implementation principle thereof is similar and will not be described herein again.
According to the computer equipment provided by the embodiment of the invention, the algorithm is plugged and stored in the dispatching center end, so that the decoupling of the algorithm and the software is realized, the intelligent equipment can obtain the algorithm from the dispatching center end to perform upgrading operation, 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 services of the intelligent equipment can be ensured, and the user experience is improved.
In order to achieve the above object, the present invention also provides a computer-readable storage medium. The computer-readable storage medium provided by the embodiment of the present invention stores thereon a computer program, which when executed by a processor implements an algorithm upgrading method according to the embodiment of the present invention, the method including:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm;
storing the new algorithm content in 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 directory to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
Or, feeding back a target algorithm upgrading request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
and upgrading the target algorithm according to the target algorithm content.
Computer storage media for embodiments of the invention may employ 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 + +, or the like, as well as 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. An algorithm upgrading method is applied to a dispatching center, and comprises the following steps:
acquiring new algorithm content and new algorithm attribute information;
determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm;
storing the new algorithm content in 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 directory to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
2. The method of 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, according to the attribute information of the new algorithm, determining a target storage directory of the new algorithm and identification information of the new algorithm under the target storage directory, including:
determining a target storage directory 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 directory to be accessed to the smart device for the smart device to upgrade the target algorithm further comprises:
responding to an algorithm information acquisition request sent by the intelligent equipment, and determining the storage directory 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;
and issuing the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage directory to be accessed to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is updated.
4. The method according to any one of claims 1-3, further comprising, after storing the new algorithm content under the target storage directory based on the identification information of the new algorithm under the target storage directory:
and if the storage duration of the algorithm content in the scheduling center exceeds the algorithm retention period according to the identification information of any algorithm content, deleting the algorithm content.
5. The 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 directory stores the historical algorithm content with the same type as the new algorithm content, the new algorithm content and the historical algorithm content are compatibly stored in the target storage directory; and the new algorithm content and the historical algorithm content are different in identification information under the target storage directory.
6. An algorithm upgrading method is applied to intelligent equipment, and the method comprises the following steps:
feeding back a target algorithm upgrading request to a dispatching center to instruct the dispatching center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
and upgrading the target algorithm according to the target algorithm content.
7. The method of claim 6, wherein before feeding back the target algorithm upgrade request to the dispatch center, further comprising:
sending an algorithm information acquisition request to the scheduling center to instruct the scheduling center to execute the following steps: determining a storage directory 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 the scheduling end version and/or the scheduling end updating time of the target algorithm in the storage directory to be accessed to the intelligent equipment, so that the intelligent equipment can determine whether the target algorithm is updated;
and if the target algorithm is determined to need to be upgraded, feeding back a target algorithm upgrading request to the dispatching center so as to enable the dispatching center to feed back the target algorithm content in the storage directory to be accessed.
8. An algorithm upgrading apparatus, configured at 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 directory of the new algorithm and identification information of the new algorithm under the target storage directory according to the attribute information of the new algorithm;
the storage module is used for storing the new algorithm content into a 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 directory to be accessed to the intelligent equipment for the intelligent equipment to upgrade the target algorithm.
9. An algorithm upgrading device, configured for a smart device, the device comprising:
a request sending module, configured to feed back a target algorithm upgrading request to a scheduling center, so as to instruct the scheduling center to execute the following steps: determining a storage directory 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 directory to be accessed to intelligent equipment;
and the upgrading module is used for upgrading the target algorithm according to the target algorithm content.
10. A computer device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by one or more processors, cause the one or more processors to implement the algorithm upgrade method as claimed in any one of claims 1 to 5, or the algorithm upgrade method as claimed in any one of claims 6 to 7.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the algorithm upgrading method as claimed in any one of claims 1 to 5 or the algorithm upgrading method as claimed in any one of claims 6 to 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 true CN112328272A (en) 2021-02-05
CN112328272B 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)

Cited By (2)

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

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

Cited By (3)

* 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
CN114911507A (en) * 2022-07-15 2022-08-16 浙江大华技术股份有限公司 Method and device for updating algorithm package
CN114911507B (en) * 2022-07-15 2022-09-23 浙江大华技术股份有限公司 Updating method and equipment of algorithm package

Also Published As

Publication number Publication date
CN112328272B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN106933630B (en) Client upgrading method, device, equipment and storage medium
CN109597640B (en) Account management method, device, equipment and medium for application program
CN113032105B (en) Kubernetes cluster access control method, system and related equipment
CN110647318B (en) Method, device, equipment and medium for creating instance of stateful application
CN111818145B (en) File transmission method, device, system, equipment and storage medium
WO2020010724A1 (en) Front-end static resource management method, apparatus, computer device and storage medium
CN109284108B (en) Unmanned vehicle data storage method and device, electronic equipment and storage medium
CN112328272B (en) Algorithm upgrading method, device, equipment and storage medium
CN110990346A (en) File data processing method, device, equipment and storage medium based on block chain
CN112860706A (en) Service processing method, device, equipment and storage medium
US11983519B2 (en) Abort installation of firmware bundles
CN109472540B (en) Service processing method and device
CN107220375B (en) Data reading and writing method and server
CN110716804A (en) Method and device for automatically deleting useless resources, storage medium and electronic equipment
CN114285838A (en) File uploading method, device, system, storage medium and electronic equipment
CN112039975A (en) Method, device, equipment and storage medium for processing message field
CN112100092B (en) Information caching method, device, equipment and medium
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN111309740A (en) Data processing method, device, equipment and storage medium
CN113807416B (en) Model training method and device, electronic equipment and storage medium
CN109460511B (en) Method and device for acquiring user portrait, electronic equipment and storage medium
CN113590634A (en) Service data processing method and device, electronic equipment and storage medium
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
CN112416422A (en) Development version file submitting method, device, equipment and storage medium
CN113050987A (en) Interface document generation method and device, storage medium and electronic equipment

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