Mirror image batch distribution method and device, electronic equipment and storage medium

By collecting device attribute information to generate grouping tags and utilizing network adaptive transmission strategies, the problems of low efficiency, insufficient security, and high management complexity in traditional image distribution methods are solved, and efficient and secure image batch distribution is achieved.

CN120639758APending Publication Date: 2025-09-12GUANGZHOU KETENG INFORMATION TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510604589.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

Traditional image distribution methods have problems such as single-point bottlenecks, high network bandwidth usage, exponential growth of distribution delays with the number of devices, insufficient security, poor flexibility, and high management complexity, and cannot meet the rapid update needs of large-scale device clusters.

Method used

By obtaining the image file to be distributed, collecting the current device attribute information of each authorized device, performing multi-dimensional feature analysis, generating group labels, and distributing the image file to each device based on the group labels and network adaptive transmission strategy, the distributed image storage system and P2P transmission method are adopted, combined with the device identification model and adaptive distribution strategy, to achieve efficient and secure distribution of image files.

Benefits of technology

It improves the efficiency and flexibility of image distribution, reduces management complexity, ensures the security and adaptability of distribution, and adapts to dynamic adjustments of different device states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120639758A_ABST
    Figure CN120639758A_ABST
Patent Text Reader

Abstract

The invention discloses a mirror image batch distribution method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a to-be-distributed mirror image file; collecting current equipment attribute information of each authorized equipment; performing multi-dimensional feature analysis according to the current equipment attribute information of each authorization equipment, and generating a grouping label corresponding to each authorization equipment; and distributing the to-be-distributed mirror image file to each authorization device according to the corresponding grouping label of each authorization device and a preset network adaptive transmission strategy. According to the method and the device, efficient and safe mirror image batch distribution can be realized, the mirror image distribution efficiency and flexibility are improved, the mirror image distribution management complexity is reduced, and the method and the device can be widely applied to the technical field of electric digital data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic digital data processing, and in particular to a method, device, electronic device and storage medium for batch distribution of images. Background Art

[0002] With the rapid development of the Internet of Things (IoT) and edge computing technologies, software updates and version management for large-scale device clusters have become a critical issue that needs to be addressed. Traditional image distribution methods typically use centralized storage architectures, which are subject to single-point bottlenecks, high network bandwidth usage, and distribution latency that increases exponentially with the number of devices. Furthermore, traditional methods also have numerous shortcomings in terms of security, flexibility, and management complexity:

[0003] 1) Inefficiency: The centralized storage architecture leads to inefficient distribution and cannot meet the rapid update requirements of large-scale device clusters;

[0004] 2) Insufficient security: The image transmission process lacks effective integrity verification and encryption mechanisms, making it vulnerable to tampering or attacks;

[0005] 3) Poor flexibility: Lack of dynamic scheduling strategies, unable to adaptively adjust the distribution order based on device status (such as online / offline, hardware performance);

[0006] 4) Complex management: Functions such as version rollback, device grouping, and traffic control rely on third-party tools, resulting in low integration and high management complexity. Summary of the Invention

[0007] The main purpose of the embodiments of the present application is to propose a method, device, electronic device and storage medium for batch distribution of images, which can realize batch distribution of images and improve the efficiency, security and flexibility of image distribution.

[0008] In one aspect, an embodiment of the present application provides a method for batch distribution of images, the method comprising the following steps:

[0009] Get the image file to be distributed;

[0010] Collect current device attribute information of each authorized device;

[0011] Performing multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device;

[0012] The image file to be distributed is distributed to each of the authorized devices according to the corresponding grouping label of each of the authorized devices and a preset network adaptive transmission strategy.

[0013] In some embodiments, the method further comprises:

[0014] Constructing the image file to be distributed, and storing the image file to be distributed in a distributed image storage system, wherein the distributed image storage system includes multiple edge nodes;

[0015] The image metadata and device adaptation information corresponding to the image file to be distributed are collected, the image metadata and the device adaptation information are bound together, and then stored in an image management database.

[0016] In some embodiments, collecting the current device attribute information of each authorized device specifically includes:

[0017] Obtaining the device adaptation information corresponding to the image file to be distributed;

[0018] Collecting device configuration data corresponding to a plurality of devices to be distributed, and determining a plurality of target distribution devices that match the device adaptation information from the plurality of devices to be distributed according to the device configuration data corresponding to each of the devices to be distributed;

[0019] receiving authorization authentication instructions corresponding to the target distribution devices, and determining the target distribution devices that pass the authorization authentication as the authorized devices;

[0020] The current device attribute information corresponding to each of the authorized devices is collected, where the current device attribute information includes a device type, a historical image update log, and a current device network status.

[0021] In some embodiments, performing multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device specifically includes:

[0022] Get the device identification model;

[0023] The device identification model is used to perform device feature analysis based on the current device attribute information of each authorized device, and the group label corresponding to each authorized device is output, wherein the group label includes the device priority level, the device network quality level and the device update risk level.

[0024] In some embodiments, distributing the image file to be distributed to each of the authorized devices according to the corresponding grouping label of each of the authorized devices and a preset network adaptive transmission strategy specifically includes:

[0025] Obtaining a staging policy corresponding to the image file to be distributed, wherein the staging policy includes a regional distribution rule and a batch distribution rule, the regional distribution rule includes a number of device distribution areas corresponding to the image file to be distributed, and the batch distribution rule includes a first distribution batch corresponding to each preset device group and a second distribution batch corresponding to each of the device distribution areas;

[0026] Determining a target distribution strategy corresponding to each of the authorized devices according to the installment strategy, the grouping label corresponding to each of the authorized devices, and the current device attribute information;

[0027] According to the target distribution strategy corresponding to each authorized device and the network adaptive transmission strategy, the image file to be distributed is distributed to each authorized device, and the image update result of each authorized device is received.

[0028] In some embodiments, determining the target distribution strategy corresponding to each authorized device according to the installment strategy, the grouping tag corresponding to each authorized device, and the current device attribute information specifically includes:

[0029] Acquire multiple preset device groups and group distribution strategies corresponding to the preset device groups, wherein the preset device groups include priority scheduling groups, bandwidth balancing groups, and offline compensation groups;

[0030] Determining, according to the group label corresponding to each authorized device, a target device group matching each authorized device from the plurality of preset device groups, and determining the group distribution policy corresponding to the target device group as the distribution scheduling policy corresponding to the authorized device;

[0031] Determining a distribution status identifier of each authorized device according to the installment strategy, the target device group corresponding to each authorized device, and the device attribute information, wherein the distribution status identifier includes a distribution batch identifier and a distribution permission identifier;

[0032] The target distribution strategy corresponding to each of the authorized devices is determined according to the distribution status identifier of each of the authorized devices and the distribution scheduling strategy.

[0033] In some embodiments, determining a target device group matching each of the authorized devices from the plurality of preset device groups based on the group label corresponding to each of the authorized devices specifically includes:

[0034] Obtain the preset priority judgment level and update the risk judgment level;

[0035] According to the group label corresponding to each authorized device, each authorized device having a device priority level higher than the priority judgment level is determined as a key device, and the key device is added to the priority scheduling group;

[0036] According to the group label corresponding to each authorized device, each authorized device whose device update risk level is higher than the update risk judgment level is determined as a risky device, and the risky device is added to the offline compensation group;

[0037] The remaining authorized devices except the key device and the risk device are added to the bandwidth balancing group.

[0038] On the other hand, an embodiment of the present application provides a device for batch distribution of images, the device comprising:

[0039] The first module is used to obtain the image file to be distributed;

[0040] The second module is used to collect the current device attribute information of each authorized device;

[0041] A third module is configured to perform multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device;

[0042] The fourth module is configured to distribute the image file to be distributed to each of the authorized devices according to the corresponding grouping label of each of the authorized devices and a preset network adaptive transmission strategy.

[0043] On the other hand, an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the aforementioned image batch distribution method when executing the computer program.

[0044] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the image batch distribution method described above is implemented.

[0045] Embodiments of the present application include at least the following beneficial effects: The present application provides a method, apparatus, electronic device, and storage medium for batch image distribution. The method, apparatus, electronic device, and storage medium acquire the image file to be distributed, collect the current device attribute information of each authorized device, perform multidimensional feature analysis based on the current device attribute information of each authorized device, generate grouping tags corresponding to each authorized device, and distribute the image file to each authorized device based on the corresponding grouping tags of each authorized device and a preset network adaptive transmission strategy. The present application can achieve efficient and secure batch image distribution, improve the efficiency and flexibility of image distribution, and reduce the management complexity of image distribution. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0048] Figure 1 This is a flow chart of a method for batch distribution of images provided in an embodiment of the present application;

[0049] Figure 2 is a schematic diagram of regional distribution rules in an embodiment of the present application;

[0050] Figure 3 This is a structural diagram of an image batch distribution device provided by an embodiment of the present application;

[0051] Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.

[0053] It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0054] The terms "at least one", "plurality", "each", "any", etc. used in this application include "at least one", "two" or more, "plurality" or "each", "any" or "any one", "each" or "any one" as used herein.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0056] Reference Figure 1 , Figure 1 This is an optional flowchart of a method for batch distribution of images provided in an embodiment of the present application. The method may include but is not limited to steps S101 to S104:

[0057] Step S101, obtaining the image file to be distributed;

[0058] Step S102: collecting current device attribute information of each authorized device;

[0059] Step S103: Perform multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device;

[0060] Step S104 : Distribute the image file to be distributed to each authorized device according to the corresponding grouping label of each authorized device and a preset network adaptive transmission strategy.

[0061] In some embodiments, the above method further includes steps S201 to S202:

[0062] Step S201: constructing a to-be-distributed image file and storing the to-be-distributed image file in a distributed image storage system, where the distributed image storage system includes a plurality of edge nodes;

[0063] Step S202 : collecting image metadata and device adaptation information corresponding to the image file to be distributed, binding the image metadata and the device adaptation information, and storing them in the image management database.

[0064] In some embodiments, a distributed image storage system is constructed, and the constructed image files to be distributed are sharded and stored in edge nodes of the distributed image storage system according to version hash values. The distributed image storage system supports P2P transmission. A version management database is constructed to store image metadata and device adaptation information of the image files to be distributed. The image metadata includes image version number, hash value, dependency relationship and security signature, etc. The device adaptation information is the configuration data and compatibility parameter set required to enable the image files to be distributed to run correctly on the target hardware device, and is the key bridge for the interaction between the image files to be distributed and the specific device hardware.

[0065] The distributed image storage system mentioned above realizes the distributed storage and P2P transmission of the image files to be distributed. Through edge node shard storage and P2P transmission between devices, the pressure on the central server is reduced and the cross-regional distribution speed is improved.

[0066] In some embodiments, step S102 may include but is not limited to steps S301 to S304:

[0067] Step S301, obtaining device adaptation information corresponding to the image file to be distributed;

[0068] Step S302: collecting device configuration data corresponding to a plurality of devices to be distributed, and determining a plurality of target distribution devices that match the device adaptation information from the plurality of devices to be distributed according to the device configuration data corresponding to each device to be distributed;

[0069] Step S303: receiving authorization authentication instructions corresponding to each target distribution device, and determining each target distribution device that passes the authorization authentication as an authorized device;

[0070] Step S304: collecting current device attribute information corresponding to each authorized device, where the current device attribute information includes device type, historical image update log, and current device network status.

[0071] In some embodiments, the target distribution device generates a corresponding authorization authentication instruction through fingerprint authentication or face recognition authentication. For example, the target distribution device uses fingerprint authentication to generate a corresponding authorization authentication instruction. If the fingerprint authentication fails, the authorization authentication instruction is authorization authentication failure. If the fingerprint authentication passes, the authorization authentication instruction is authorization authentication failure. Only authorized devices receive the image files to be distributed, preventing unauthorized access and improving the security of image distribution.

[0072] In step S103 of some embodiments, a device identification model is obtained, and the device identification model is used to perform device feature analysis based on the current device attribute information of each authorized device, and a group label corresponding to each authorized device is output, where the group label includes the device priority level, the device network quality level, and the device update risk level.

[0073] Exemplarily, a rule engine (such as Drools) and a machine learning model are combined to build a device identification model, and the device identification model is trained and optimized using a training set, wherein the training set includes attribute information of multiple device samples with grouping labels.

[0074] The trained device identification model performs multi-dimensional feature analysis based on the current device attribute information of each authorized device, and dynamically generates group labels for the authorized devices. The group labels include device priority level (including high priority, medium priority and low priority, etc.), device network quality level (such as excellent, good, average and poor, etc.) and device update risk level (such as stable and prone to failure, etc.).

[0075] In some embodiments, the current device network status includes the device's current network connection quality, signal strength, delay, and packet loss rate, and the historical image update log includes metadata of historical image files and corresponding image update results.

[0076] In some embodiments, step S104 may include but is not limited to steps S401 to S403:

[0077] Step S401: Obtain a staging policy corresponding to the image file to be distributed, wherein the staging policy includes a regional distribution rule and a batch distribution rule. The regional distribution rule includes a number of device distribution regions corresponding to the image file to be distributed, and the batch distribution rule includes a first distribution batch corresponding to each preset device group and a second distribution batch corresponding to each device distribution region.

[0078] Step S402: Determine the target distribution strategy corresponding to each authorized device based on the installment strategy, the grouping tag corresponding to each authorized device, and the current device attribute information;

[0079] Step S403 : Distribute the image file to be distributed to each authorized device according to the target distribution strategy and network adaptive transmission strategy corresponding to each authorized device, and receive the image update result of each authorized device.

[0080] In some embodiments, based on the setting of the staging strategy, the distribution of the image file is completed in stages by region and device batch, so as to realize the flexibility of image batch distribution. Specifically, a human-computer interaction interface is provided, and the user can perform the regional setting operation in the human-computer interaction interface. In response to the regional setting operation, the regional distribution rules are determined. Optionally, reference is made to Figure 2,The area covered by the batch distribution of images is displayed in the ,human-computer interaction interface, which is denoted as area O. There are ,multiple authorized devices G in area O. The user performs ,area setting operations in the human-computer interaction interface to divide ,area O into several device distribution areas, for ,example, areas A to D.

[0081] The user can also perform a batch distribution setting operation in the human-computer interaction interface, and determine the batch distribution rules in response to the batch distribution setting operation. For example, assuming that there are preset device groups 1 to 3, and device distribution areas A to C, the user performs a batch distribution setting operation in the human-computer interaction interface to determine the first distribution batch of each preset device group and the second distribution batch corresponding to each device distribution area. For example, preset device groups 1 and 2 are the first batch of distribution, preset device group 3 is the second batch of distribution, device distribution area A is the first batch of distribution, and device distribution areas B and C are the second batch of distribution. In the subsequent mirror batch distribution, first, the authorized devices belonging to the preset device groups 1 and 2 in the device distribution area A are mirrored, and then the authorized devices belonging to the preset device group 3 in the device distribution area A are mirrored. After that, the authorized devices belonging to the preset device groups 1 and 2 in the device distribution areas B and C are mirrored. Finally, the authorized devices belonging to the preset device group 3 in the device distribution areas B and C are mirrored.

[0082] In some embodiments, before the image file to be distributed is transmitted to the authorized device, a digital signature verification is performed on the image file to be distributed to generate a corresponding hash original value. After the authorized device receives the image file to be distributed, the image file to be distributed is decrypted to obtain a hash decryption value. The authorized device performs a hash value comparison based on the hash decryption value and the hash original value to improve the tampering detection rate. Specifically, the authorized device compares the hash original value with the hash decryption value to determine the verification result. If the verification result is consistent, the update of the image file to be distributed is executed and an image update success message is generated. If the verification result is inconsistent, the update of the image file to be distributed is stopped and the image file of the previous version is automatically rolled back to generate an image update failure message. Then, the authorized device returns the image update result, which is an image update success message or an image update failure message.

[0083] In some embodiments, the network adaptive transmission strategy includes: real-time monitoring of network topology, determining the optimal transmission path, such as Mesh network multi-hop transmission, and dynamically adjusting the data block size and retransmission strategy according to the quality of the transmission link. Based on this network adaptive transmission strategy, the transmission efficiency and reliability of the image file can be significantly improved.

[0084] In some embodiments, step S402 may include steps S501 to S504:

[0085] Step S501: obtaining a plurality of preset device groups and a group distribution strategy corresponding to each preset device group, wherein the preset device group includes a priority scheduling group, a bandwidth balancing group, and an offline compensation group;

[0086] Step S502: Determine a target device group that matches each authorized device from a plurality of preset device groups based on the group tag corresponding to each authorized device, and determine the group distribution policy corresponding to the target device group as the distribution scheduling policy corresponding to the authorized device;

[0087] Step S503: determining the distribution status identifier of each authorized device according to the installment strategy, the target device group corresponding to each authorized device, and the device attribute information. The distribution status identifier includes a distribution batch identifier and a distribution permission identifier.

[0088] Step S504: determining the target distribution policy corresponding to each authorized device according to the distribution status identifier and distribution scheduling policy of each authorized device.

[0089] In some embodiments, the authorized devices of the priority scheduling group obtain transmission resources first so that their image update delay is minimized. The authorized devices of the bandwidth balancing group dynamically adjust the number of concurrent distribution tasks according to the device network quality level to avoid network congestion. The authorized devices of the offline compensation group are devices with a higher risk of device update, such as devices with a high historical update failure rate. They are marked as pending distribution status and incremental updates are triggered after the devices are online. Optionally, the group distribution strategy corresponding to the priority scheduling group is: giving the authorized devices the highest device priority level and performing preemptive distribution; the group distribution strategy corresponding to the bandwidth balancing group is: dynamically adjusting the number of concurrent distribution tasks based on the real-time bandwidth utilization of the devices; the group distribution strategy corresponding to the offline compensation group is: monitoring device online events and triggering incremental updates of image files.

[0090] In some embodiments, the distribution batch identifier of the authorized device is determined based on the installment strategy, the device area contained in the device attribute information of the authorized device, and the target device group. For example, in the installment strategy, if the second distribution batch corresponding to the area where the device is located is the first batch, and the first distribution batch corresponding to the target device group is the second batch, then the distribution batch identifier is recorded as (1,2); if the second distribution batch corresponding to the area where the device is located is the second batch, and the first distribution batch corresponding to the target device group is the third batch, then the distribution batch identifier is recorded as (2,3), and so on.

[0091] In some embodiments, the distribution permission identifier of the authorized device is determined based on the installment strategy, the device area contained in the device attribute information of the authorized device, and the target device group. For example, if the device area is included in any device distribution area in the installment strategy, and the target device group has been set with a corresponding first distribution batch, then the distribution permission identifier of the authorized device is distribution allowed; otherwise, the distribution permission identifier of the authorized device is pending distribution.

[0092] In some embodiments, step S502 may include but is not limited to steps S601 to S604:

[0093] Step S601: Obtain a preset priority judgment level and update the risk judgment level;

[0094] Step S602: According to the grouping tags corresponding to the authorized devices, each authorized device having a device priority level higher than the priority judgment level is determined as a key device, and the key device is added to the priority scheduling group;

[0095] Step S603: According to the group label corresponding to each authorized device, each authorized device whose device update risk level is higher than the update risk judgment level is determined as a risky device, and the risky device is added to the offline compensation group;

[0096] Step S604: Add all authorized devices except the key devices and risky devices to the bandwidth balancing group.

[0097] In some embodiments, the device priority level of the authorized device is associated with the importance of the device. The higher the device priority level of the authorized device, the more important the authorized device is, and the faster the image update needs to be completed; the device update risk level of the authorized device is associated with the device image update success rate. The higher the device update risk level of the authorized device, the lower the device image update success rate corresponding to the authorized device.

[0098] Reference Figure 3 , Figure 3 This is an optional structural diagram of an image batch distribution device provided in an embodiment of the present application. The device is used to implement the above-mentioned image batch distribution method. The device may include:

[0099] The first module is used to obtain the image file to be distributed;

[0100] The second module is used to collect the current device attribute information of each authorized device;

[0101] The third module is used to perform multi-dimensional feature analysis based on the current device attribute information of each authorized device and generate a grouping label corresponding to each authorized device;

[0102] The fourth module is used to distribute the image file to be distributed to each authorized device according to the corresponding grouping label of each authorized device and the preset network adaptive transmission strategy.

[0103] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0104] The present application also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned image batch distribution method. The electronic device can be any smart terminal including a tablet computer.

[0105] It can be understood that the contents of the above method embodiments are applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0106] See also Figure 4 , Figure 4 The hardware structure of an electronic device according to another embodiment is shown. The electronic device includes:

[0107] The processor 901 can be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0108] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902 and is called by the processor 901 to execute the image batch distribution method of the embodiments of this application;

[0109] Input / output interface 903, used to implement information input and output;

[0110] Communication interface 904, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);

[0111] Bus 905 , which transmits information between various components of the device (e.g., processor 901 , memory 902 , input / output interface 903 , and communication interface 904 );

[0112] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0113] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned image batch distribution method when executed by a processor.

[0114] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiment, the functions specifically implemented by the present storage medium embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0115] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0116] The embodiments of the present application provide a method, apparatus, electronic device, and storage medium for batch image distribution. These methods obtain image files to be distributed, collect current device attribute information of each authorized device, perform multi-dimensional feature analysis based on the current device attribute information of each authorized device, generate grouping tags corresponding to each authorized device, and distribute the image files to be distributed to each authorized device based on the corresponding grouping tags of each authorized device and a preset network adaptive transmission strategy. This method can achieve efficient and secure batch image distribution, improve the efficiency and flexibility of image distribution, and reduce the management complexity of image distribution.

[0117] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0118] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0119] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.

[0120] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.

[0121] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0122] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0123] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0124] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0126] It should be appreciated that embodiments of the present invention may be implemented or practiced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if desired, the program may be implemented in assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed application-specific integrated circuit for this purpose.

[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: various media that can store programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0128] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.

Claims

1. A method for distributing images in batches, characterized in that: The method comprises the following steps: Get the image file to be distributed; Collect current device attribute information of each authorized device; Performing multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device; The image file to be distributed is distributed to each of the authorized devices according to the corresponding grouping label of each of the authorized devices and a preset network adaptive transmission strategy.

2. The image batch distribution method according to claim 1, characterized in that: The method further comprises: Constructing the image file to be distributed, and storing the image file to be distributed in a distributed image storage system, wherein the distributed image storage system includes multiple edge nodes; The image metadata and device adaptation information corresponding to the image file to be distributed are collected, the image metadata and the device adaptation information are bound together, and then stored in an image management database.

3. The image batch distribution method according to claim 2, characterized in that: The collecting of current device attribute information of each authorized device specifically includes: Obtaining the device adaptation information corresponding to the image file to be distributed; Collecting device configuration data corresponding to a plurality of devices to be distributed, and determining a plurality of target distribution devices that match the device adaptation information from the plurality of devices to be distributed according to the device configuration data corresponding to each of the devices to be distributed; receiving authorization authentication instructions corresponding to the target distribution devices, and determining the target distribution devices that pass the authorization authentication as the authorized devices; The current device attribute information corresponding to each of the authorized devices is collected, where the current device attribute information includes a device type, a historical image update log, and a current device network status.

4. The image batch distribution method according to claim 1, characterized in that: The performing of multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device specifically includes: Get the device identification model; The device identification model is used to perform device feature analysis based on the current device attribute information of each authorized device, and the group label corresponding to each authorized device is output, wherein the group label includes the device priority level, the device network quality level and the device update risk level.

5. The image batch distribution method according to claim 1, characterized in that: The distributing the image file to be distributed to each of the authorized devices according to the corresponding grouping label of each of the authorized devices and the preset network adaptive transmission strategy specifically includes: Obtaining a staging policy corresponding to the image file to be distributed, wherein the staging policy includes a regional distribution rule and a batch distribution rule, the regional distribution rule includes a number of device distribution areas corresponding to the image file to be distributed, and the batch distribution rule includes a first distribution batch corresponding to each preset device group and a second distribution batch corresponding to each of the device distribution areas; Determining a target distribution strategy corresponding to each of the authorized devices according to the installment strategy, the grouping label corresponding to each of the authorized devices, and the current device attribute information; According to the target distribution strategy corresponding to each authorized device and the network adaptive transmission strategy, the image file to be distributed is distributed to each authorized device, and the image update result of each authorized device is received.

6. The image batch distribution method according to claim 5, characterized in that: The determining, based on the installment strategy, the grouping label corresponding to each authorized device, and the current device attribute information, of a target distribution strategy corresponding to each authorized device specifically includes: Acquire multiple preset device groups and group distribution strategies corresponding to the preset device groups, wherein the preset device groups include priority scheduling groups, bandwidth balancing groups, and offline compensation groups; Determining, according to the group label corresponding to each authorized device, a target device group matching each authorized device from the plurality of preset device groups, and determining the group distribution policy corresponding to the target device group as the distribution scheduling policy corresponding to the authorized device; Determining a distribution status identifier of each authorized device according to the installment strategy, the target device group corresponding to each authorized device, and the device attribute information, wherein the distribution status identifier includes a distribution batch identifier and a distribution permission identifier; The target distribution strategy corresponding to each of the authorized devices is determined according to the distribution status identifier of each of the authorized devices and the distribution scheduling strategy.

7. The image batch distribution method according to claim 6, characterized in that: The determining, according to the group label corresponding to each of the authorized devices, a target device group matching each of the authorized devices from the plurality of preset device groups specifically includes: Obtain the preset priority judgment level and update the risk judgment level; According to the group label corresponding to each authorized device, each authorized device having a device priority level higher than the priority judgment level is determined as a key device, and the key device is added to the priority scheduling group; According to the group label corresponding to each authorized device, each authorized device whose device update risk level is higher than the update risk judgment level is determined as a risky device, and the risky device is added to the offline compensation group; The remaining authorized devices except the key device and the risk device are added to the bandwidth balancing group.

8. A device for distributing images in batches, characterized in that: The device comprises: The first module is used to obtain the image file to be distributed; The second module is used to collect the current device attribute information of each authorized device; A third module is configured to perform multi-dimensional feature analysis based on the current device attribute information of each authorized device to generate a grouping label corresponding to each authorized device; The fourth module is configured to distribute the image file to be distributed to each of the authorized devices according to the corresponding grouping label of each of the authorized devices and a preset network adaptive transmission strategy.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the image batch distribution method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the image batch distribution method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Authoritative DNS server information distribution method and system

    CN111200642A

  • Mirror image distribution method, mirror image distribution device, electronic equipment and storage medium

    CN114238262A

  • Container mirror image preheating and distributing method for edge computing scene

    CN116614517A

  • Safe starting method and related device

    CN117076002A

  • Method and apparatus for remotely updating firmware in batches, and computer-readable storage medium

    US20230185562A1