CN111158612B - Edge storage acceleration method, device and equipment for cooperative mobile equipment - Google Patents
Edge storage acceleration method, device and equipment for cooperative mobile equipment Download PDFInfo
- Publication number
- CN111158612B CN111158612B CN202010252903.4A CN202010252903A CN111158612B CN 111158612 B CN111158612 B CN 111158612B CN 202010252903 A CN202010252903 A CN 202010252903A CN 111158612 B CN111158612 B CN 111158612B
- Authority
- CN
- China
- Prior art keywords
- mobile device
- data
- storage
- edge
- representing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
Abstract
One or more embodiments of the present invention provide a method, an apparatus, and a device for edge storage acceleration in cooperation with a mobile device, where the method includes: establishing an edge collaborative storage task for transmitting data between mobile devices; edge-based collaborative storage tasksEstablishing an edge collaborative storage model, wherein the edge collaborative storage model comprises the following steps: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologySet of mobile devicesComprises at least two mobile devices; calculating to obtain an A2CS acceleration algorithm based on the edge collaborative storage model; based on an edge collaborative storage model and an A2CS acceleration algorithm, an edge collaborative storage strategy is provided; and guiding the edge cooperative storage task by an edge cooperative storage strategy. The acceleration method provided by one or more embodiments of the present invention considers the unique characteristics of the mobile device and the dynamic network topology of the plurality of mobile devices, ensures flexible data backup, has low latency, and improves storage reliability.
Description
Technical Field
One or more embodiments of the present invention relate to the field of edge storage technologies, and in particular, to a method, an apparatus, and a device for accelerating edge storage of a cooperative mobile device.
Background
More and more mobile devices are used to collect and process large amounts of data, on one hand, in the military field, soldiers upload and share data through mobile devices such as tactical handheld terminals, UAVs and UGVs (unmanned ground vehicles). Personal data needs to be backed up to avoid data loss due to possible personal injuries and deaths. On the other hand, in the civilian field, mobile devices may be used to store data of disasters or emergencies to perform real-time disaster monitoring. And (4) a data storage mode. However, there are still some obstacles to solving the cooperative storage problem. First, edge mobile devices have unique characteristics compared to conventional storage devices. Unlike the relatively stable network architecture of servers, computers, and other conventional storage devices, the network topology of the edge formed by mobile devices is highly dynamic. For conventional storage problems, in order to ensure availability of data storage, a distributed data backup method is generally used. However, as mobile device resources are gradually consumed, incorrect copy number selection and unreasonable backup data allocation may result in failed backups of data. The selection of the number of copies and the allocation of backup data should be adjusted as the resources of the edge mobile device change. The time to complete the collaborative storage is a key indicator. On the one hand, as the cooperative storage time increases, it is likely to cause a storage failure. On the other hand, as the cost increases over time, more energy is consumed. Therefore, the requirement of low delay time is crucial and of concern. The designed algorithm should converge as quickly as possible to reduce the time overhead and power consumption of the mobile device. The prior art cannot consider a highly dynamic network topology, and has the advantages of low storage reliability, high data backup failure rate, long cooperative storage time and high delay.
Disclosure of Invention
In view of this, one or more embodiments of the present invention provide a method, an apparatus, and a device for accelerating edge storage of a cooperative mobile device, so as to solve the problems that the prior art cannot consider a highly dynamic network topology, and is low in storage reliability, high in data backup failure rate, long in cooperative storage time, and high in latency.
In view of the above, one or more embodiments of the present invention provide an edge storage acceleration method for a cooperative mobile device, including:
establishing an edge collaborative storage task for transmitting data between mobile devices;
establishing an edge collaborative storage model based on the edge collaborative storage task, wherein the edge collaborative storage model comprises: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologyThe set of mobile devicesComprises at least two mobile devices;
calculating to obtain an A2CS acceleration algorithm based on the edge collaborative storage model;
based on the edge collaborative storage model and an A2CS acceleration algorithm, an edge collaborative storage strategy is proposed;
and guiding the edge cooperative storage task by the edge cooperative storage strategy.
Optionally, the establishing an edge collaborative storage task for transmitting data between mobile devices includes:
the mobile device collecting data;
the mobile device is based on data loss probabilityAnd energy consumptionSending the copy of the data to adjacent mobile devices connected with the mobile device, wherein at least one of the adjacent mobile devices is provided;
the set of mobile devicesDetermining the number of copies based on the storage capacity and battery level of the neighboring mobile deviceAnd the neighboring mobile device receiving the copy.
Optionally, the set of mobile devicesIs modeled asWhereinIs the first-a plurality of said mobile devices to be controlled,is the total number of said mobile devices in the edge.
Optionally, the firstA mobile deviceIs modeled asWhereinTo representThe storage capacity of (a) of (b),to representThe amount of battery charge of (a) is,to representThe amount of data that is collected is large and small,to representThe number of data copies of the collected data,to representThe data transmission rate of (a) is,to representThe data reception rate of.
Optionally, the network topologyIs modeled as,A set of mobile devices is represented as a set of mobile devices,a contiguous matrix is represented that is,representing a distance matrix, said adjacency matrixThe method comprises the following steps:
for any of the mobile devicesWith other said mobile devicesIs represented by an element in the adjacency matrix,representing the adjacency matrixTo (1) aLine and firstThe elements in the column, which are determined by the following expression:
for any of the mobile devicesTo other said mobile devicesIs the distance matrixThe value of the medium element(s),representing said distance matrixTo (1) aLine and firstThe elements in the column, which are determined by the following expression:
Optionally, the sending mobile deviceAnd receiving mobile deviceForm a transceiving mobile device groupThe sending mobile deviceAnd receiving mobile deviceData storage and data transmission are carried out between the two, and the data storage generates data storage energy consumptionSaidIs expressed as
Wherein the content of the first and second substances,is shown asFrom the sending mobile deviceTransmission to receiving mobile deviceThe data size of (2), andthe sending mobile deviceThe amount of data that is stored is of a size,represents the above-mentioned groupEnergy consumption of data storage;
WhereinRepresenting the sending mobile deviceThe transmission power of the antenna is set to be,representing a receiving mobile deviceThe received power of the antenna,representing data from the transmitting mobile deviceTransmitting to the receiving mobile deviceThe time taken for the process to be carried out,representing the receiving mobile deviceReceiving the transmitting mobile deviceThe time taken for the transmitted data to be transmitted,which represents the gain of the transmit antenna,which represents the gain of the receiving antenna,which represents the wavelength of the light emitted by the light source,representing the sending mobile deviceAnd the receiving mobile deviceThe distance between the two or more of the two or more,representing a system loss factor that is independent of propagation,representing the sending mobile deviceThe data transmission rate of (a) is,represents the connectionReceive mobile deviceThe data reception rate of (d);
the data storage energy consumptionAnd said data transmission energy consumptionSumming total energy consumption of edge collaborative storageSaid total energy consumptionIs expressed as
Optionally, the A2CS acceleration algorithm includes:
initial value、Andthe initial value represents the value of the current mobile deviceDeploying an initial value of the A2CS acceleration algorithm, the initial value expressed as
WhereinIs shown and describedThe number of connected mobile devices is such that,to representA dimension vector;
a stopping criterion that brings the A2CS acceleration algorithm to a viable solution and ensures that the A2CS acceleration algorithm converges quickly, the stopping criterion expressed as
whereinIs shown asThe original residual at the time of the sub-iteration,is shown asThe dual residual at the time of the sub-iteration,it is shown that the absolute tolerance is,indicating a relative tolerance.
Optionally, the edge collaborative storage policy includes the following steps: data collection, request distribution, decision making, decision feedback, multiple interactions and data transmission.
Based on the same inventive concept, one or more embodiments of the present invention further provide an edge storage acceleration apparatus for a cooperative mobile device, including:
the mobile device comprises a first establishing module, a second establishing module and a third establishing module, wherein the first establishing module is configured to establish an edge collaborative storage task for transmitting data between mobile devices;
a second building module configured to build an edge collaborative storage model based on the edge collaborative storage task, the edge collaborative storage model including: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologyThe set of mobile devicesComprises at least two mobile devices;
a calculation module configured to calculate an A2CS acceleration algorithm based on the edge collaborative storage model;
a policy module configured to propose an edge collaborative storage policy based on the edge collaborative storage model and an A2CS acceleration algorithm;
an execution module configured to direct the edge collaborative storage task with the edge collaborative storage policy.
Based on the same inventive concept, one or more embodiments of the present invention further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the above-mentioned methods when executing the program.
As can be seen from the foregoing description, according to one or more embodiments of the present invention, an edge storage acceleration method, an edge storage acceleration apparatus, and an edge storage acceleration apparatus for a collaborative mobile device are provided, which particularly pay attention to unique characteristics of a mobile device and a dynamic network topology of a plurality of mobile devices, and convert a collaborative storage problem into a solvable optimization problem, and by studying an acceleration policy, an A2CS acceleration algorithm is proposed to efficiently solve the collaborative storage optimization problem, in an A2CS acceleration algorithm, a convergence speed can be theoretically improved, and a collaborative storage policy is proposed at the same time, the policy includes six steps and may represent an entire process of collaborative storage, and the A2CS acceleration algorithm applies all steps throughout the policy, and guides an entire cycle period of collaborative storage with the policy. The A2CS acceleration algorithm provides better convergence performance under different step rules than the two prior methods ADMM baseline and ADMM-OR (ADMM with excessive relaxation), with an acceleration percentage of at least 25.33% and up to 64.01%. In addition, by performing utility performance comparative analysis using the existing average allocation policy (ADS) and the existing distance-first allocation policy (DPDS), the result shows that the A2CS acceleration algorithm is superior to the ADS policy and the DPDS policy in terms of total utility and energy consumption.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious that the drawings in the description below are only one or more embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort from these drawings.
FIG. 1 is a schematic flow diagram of an acceleration method in accordance with one or more embodiments of the invention;
FIG. 2 is a block diagram of an acceleration algorithm A2CS according to one or more embodiments of the invention;
FIG. 3 is a schematic diagram of a collaborative storage policy in accordance with one or more embodiments of the invention;
FIG. 4 is a schematic illustration of an acceleration device in accordance with one or more embodiments of the present disclosure;
FIG. 5 is a schematic diagram of an electronic device in accordance with one or more embodiments of the invention;
FIG. 6 is a graph of experimental data for normalized values of energy consumption and data loss for a fixed amount of data in one or more embodiments of the invention;
FIG. 7(a) is a diagram illustrating the relationship between the number of replicas and the number of converges and the use of a step rule in one or more embodiments of the present inventionA graph of the total utility of A2CS versus the number of copies;
FIG. 7(b) is a diagram illustrating the relationship between the number of replicas and the number of converges and the use of step size rules in one or more embodiments of the present inventionA graph of the total utility of A2CS versus the number of copies;
FIG. 7(c) is a diagram illustrating the relationship between the number of replicas and the number of converges and the use of a step rule in one or more embodiments of the inventionA graph of the total utility of A2CS versus the number of copies;
FIG. 8(a) is a graph illustrating the effect of the A2CS algorithm using different step size rules on convergence times when the data size is fixed in one or more embodiments of the present invention;
FIG. 8(b) is a graph illustrating the effect of different step size rules on convergence times by the ADMM algorithm when the data size is fixed in one or more embodiments of the invention;
FIG. 8(c) is a graph illustrating the effect of different step size rules on convergence times for the ADMM-OR algorithm with a fixed data size in one OR more embodiments of the invention;
FIG. 9(a) illustrates the use of different algorithms (A2 CS, ADMM and ADMM-OR) in conjunction with step size rules in one OR more embodiments of the inventionA graph of the relationship between the data amount size and the number of convergence times in the case of (1);
FIG. 9(b) illustrates the use of different algorithms (A2 CS, ADMM and ADMM-OR) in conjunction with step size rules in one OR more embodiments of the inventionA graph of the relationship between the data amount size and the number of convergence times in the case of (1); (ii) a
FIG. 10(a) is a graph illustrating the relationship between total utility and percentage of dominance of the A2CS acceleration algorithm over different time ranges relative to the ADS algorithm and the DPDS algorithm using the A2CS acceleration algorithm, respectively, in one or more embodiments of the present invention;
FIG. 10(b) is a graph illustrating the relationship between energy consumption and percentage of dominance of the A2CS acceleration algorithm over the ADS algorithm and the DPDS algorithm over different time ranges using the A2CS acceleration algorithm, the ADS algorithm and the DPDS algorithm, respectively, in one or more embodiments of the present invention;
FIG. 11(a) is a graph of the overall utility of the acceleration algorithm using A2CS in accordance with one or more embodiments of the present invention and a graph of the magnitude of data for different time ranges;
FIG. 11(b) is a graph of energy consumption using the A2CS acceleration algorithm and a graph of data size over different time ranges in accordance with one or more embodiments of the present invention.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It is to be understood that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present invention shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in one or more embodiments of the invention are not intended to indicate any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
One or more embodiments of the invention provide a method, a device and equipment for accelerating edge storage of a cooperative mobile device.
Referring to fig. 1, one or more embodiments of the invention provide a method comprising the steps of:
s101, establishing an edge collaborative storage task for transmitting data between mobile devices.
In this embodiment, on the basis that the edge cooperative storage task establishes the edge cooperative storage framework, the edge cooperative storage framework includes a plurality of mobile devices, and each mobile device includes: the storage unit, the data processor, the scheduler and the data receiver/transmitter, the current storage capacity of different mobile devices is different, and the edge cooperative storage task comprises the following steps:
the mobile device collects data;
the mobile device is based on data loss probabilityAnd energy consumptionSending the copy of the data to adjacent mobile devices connected with the mobile device, wherein at least one of the adjacent mobile devices is provided;
the set of mobile devicesBased onThe storage capacity and battery level of the neighboring mobile device, determining the number of copies andthe neighboring mobile device receiving the copy.
In order to reduce the probability of data lossThe mobile device sends copies of the data to the connected mobile device while taking into account energy consumption, storage capacity and battery level, number of copiesAnd the selection of the mobile device for receiving the data is determined by the plurality of mobile devices in the edge, the battery power of different mobile devices is different, if the battery power is low, the mobile device for sending the data does not send the copy to the mobile device with low power, but selects to send the copy of the data to other mobile devices with sufficient power connected with the mobile device for sending the data.
S102, establishing an edge collaborative storage model based on the edge collaborative storage task, wherein the edge collaborative storage model comprises: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologyThe set of mobile devicesComprising at least two mobile devices.
In this embodiment, the mobile devices are first assembledIs modeled asWhereinIs the first-a plurality of said mobile devices to be controlled,is the total number of said mobile devices in the edge. For any edge mobile deviceThe first mentionedA mobile deviceIs modeled asWhereinTo representThe storage capacity of (a) of (b),to representThe amount of battery charge of (a) is,to representThe amount of data that is collected is large and small,to representThe number of data copies of the collected data,to representThe data transmission rate of (a) is,to representThe data reception rate of.
TABLE 1 symbolic description
Referring to table 1, dynamic network topology in the edge remains a great challenge for collaborative storage, considering mobile devices and relationships between them, including connectivity and distance, in order to model the network topology. Thus, dynamic network topology in the edgeIs modeled as,A set of mobile devices is represented as a set of mobile devices,a contiguous matrix is represented that is,representing a distance matrix, said adjacency matrixThe method comprises the following steps:
for any of the mobile devicesWith other said mobile devicesIs represented by an element in the adjacency matrix,representing the adjacency matrixTo (1) aLine and firstThe elements in the column, which are determined by the following expression:
the adjacency matrix defined aboveRepresenting the connection between mobile devices in an ideal state, which means that the connection is sufficiently robust. However, communication interruptions between mobile devices and the withdrawal of a mobile device may result in a loss of connection. For each mobile device, the loss of connection with the other mobile device is random. In the present embodimentIt follows approximately a 0-1 distribution, which can be expressed as:
whereinIs the probability of connection loss, k represents the order,a time indicates a connection loss. The distance matrixThe method comprises the following steps:
for any of the mobile devicesTo other said mobile devicesIs the distance matrixThe value of the medium element(s),representing said distance matrixTo (1) aLine and firstThe elements in the column, which are determined by the following expression:
whereinTo representAndthe distance between them. According to the above definition, the adjacency matrixAnd distance matrixAre all symmetric matrices. In addition to this, the present invention is,andthe dimension of (a) represents the number of edge mobile devices. With mobile device aggregationOf a contiguous matrixAnd distance matrixOf the network topologyChanges occur and thus can represent dynamic changes in the network topology in the edge. Since complete and correct data is important in the field of collaborative storage, the present embodiment focuses on the reliability of edge collaborative storage. In addition, the reliability of the collaborative storage is closely related to the redundancy mechanism, the probability of copy loss and the failure rate of the data object, and therefore, the aim is to provideHigh storage reliability, the present embodiment allows for data backup. Will be provided withDefined as the failure rate of the data storage,indicating the probability of recovery after a data storage failure. The storage reliability model in the collaborative storage is similar to the Markov process, so any one mobile device canFor example, a mobile deviceThe probability of data loss can be expressed as:
whereinIs the number of copies that are to be made,the order is indicated. Assuming that the data transmitted and stored between different mobile devices are independent and the probability of loss of different data in different mobile devices is the same, the amount of data loss is usedThe storage reliability is described. Obviously, the more data is lost, the lower the storage reliability. The formula can be described as:
whereinIs a mobile deviceThe size of the data amount above. When the number of copies is about 5, a higher reliability requirement can be satisfied. When the number of copies is more than 5, improvement in reliability is meaningless, and data maintenance cost is increased. However, the fixed number of copies may be too large resulting in excessive energy costs, or too small resulting in reduced reliability. Furthermore, when stored in a distributed manner, the energy consumption of transmitting data to different mobile devices is dynamically changing. To balance the relationship between storage reliability and energy consumption, the present embodiment considers a flexible data backup strategy consisting of copy number selection and allocation strategy of data copies, which focuses on reliably storing data with as low energy consumption as possible.
For collaborative storage, the duration of a mobile device is a crucial factor. Longer endurance means that more data can be collected, transmitted and stored. Furthermore, the endurance time can be described in terms of energy consumption, which increases when the energy consumption decreases. The energy consumption of edge collaborative storage mainly consists of two parts: energy consumption for data storage and energy consumption for data transmission. In this embodiment, it is assumed that data transmission and reception do not affect each other. In addition, all mobile devices are classified as transmitting devicesAnd a receiving apparatusGroup of said transmitting mobile deviceAnd receiving mobile deviceForm a transceiving mobile device groupSaid sending is shiftedMobile equipmentAnd receiving mobile deviceFor data storage and data transmission, the transceiving mobile device groups can be formulated as. Each mobile device may be simultaneously grouped into different groups. The data storage generates data storage energy consumptionSaidIs expressed as
Wherein the content of the first and second substances,is shown asFrom the sending mobile deviceTransmission to receiving mobile deviceThe data size of (2), andthe sending mobile deviceThe amount of data that is stored is of a size,represents the above-mentioned groupEnergy consumption of data storage. Generating data transfer energy consumption for said data transferThe present embodiment uses a free space propagation model to describe data transmission in multiple mobile devices. For the sake of analysis, assumeTransmit data to。Representing the sending mobile deviceThe transmission power of the antenna is set to be,representing a receiving mobile deviceThe received power of. Based on the Friis transfer formula, willAndthe relationship between them is modeled as:
whereinWhich represents the gain of the transmit antenna,which represents the gain of the receiving antenna,which represents the wavelength of the light emitted by the light source,representing the sending mobile deviceAnd the receiving mobile deviceThe distance between the two or more of the two or more,representing a system loss factor independent of propagation. In a collaborative storage framework, the transmit power, wavelength, and system loss factor of each mobile device may be considered constant. In addition, data is sent from the sending mobile deviceTransmitting to the receiving mobile deviceTime spent and receiving mobile deviceReceiving the transmitting mobile deviceThe time taken for the transmitted data may be expressed as:
whereinIs shown asFrom the sending mobile deviceTransmission to receiving mobile deviceThe size of the data amount of (a), in addition,representing the sending mobile deviceThe data transmission rate of (a) is,representing the receiving mobile deviceThe data reception rate of. The data transmission rate may be set to a constant since there is no signal attenuation due to propagation, while the data reception rate is related to the Received Signal Strength Indicator (RSSI), which may be described as:
however, the relationship between the data reception rate and the RSSI cannot be described simply by a linear model. Referring to table 2, a correspondence relationship between RSSI and data transmission rate can be obtained,
table 2 correspondence between RSSI and data transmission rate
whereinRepresenting the above-mentioned group of transceiving mobile devicesEnergy consumption of data transmission. Based on (6) and (11), the total energy consumption of edge collaborative storage can be expressed as:
s103, calculating to obtain an A2CS acceleration algorithm based on the edge collaborative storage model.
In this embodiment, the optimization function selected by the A2CS acceleration algorithm is the optimization function F, which is an optimization functionThe overall utility of the collaborative storage in the above steps is described, including the reliability and endurance of the storage. The optimization goal is to minimize data loss and power consumption in cooperative storage. In order to meet the requirements of high storage reliability and long endurance time of the collaborative storage, on the basis of the storage reliability and endurance time model, the optimization function of the collaborative storage system is defined as:
whereinAndis the weight coefficient of the weight of the image,indicating by a sending mobile deviceThe size of the amount of data collected,andcan be described as。
The cooperative memory problem has turned into an optimization problem, which is very close to the application field of ADMM. Furthermore, the optimization function consists of two independent functions, which is suitable for the resolvability of the ADMM. However, the ADMM also has some disadvantages, such as the convergence speed in reality is very slow, and the cooperative storage problem urgently needs a fast convergence speed, so that the slow convergence speed is not acceptable, but the prior art shows that most of the current research is not suitable for the cooperative storage problem, so that the acceleration strategy should be considered and modified, and the inventor needs to make some adjustments in order to make the algorithm more compatible with the optimization problem, and proposes to standardize and decompose the optimization function. The data storage process is always the same for each mobile device in the edge, so the A2CS acceleration algorithm can be deployed in a distributed manner. To make the optimization function clearly visible, in a basic form satisfying A2CS, a mobile deviceFor example, the amount of data collected is of the sizeThe number of the copies is. Order to
WhereinIs shown andthe number of connected mobile devices is such that,. In addition to this, the present invention is,is represented at each andthe amount of data transferred in the connected mobile device,is represented at each andthe amount of data stored in the connected mobile device. Corresponds to (13)Andin this embodiment, there areAndfor movingDevice. In particular, it is possible to use, for example,is meant to be moved by the mobile deviceThe amount of data collected, andis a vector representing a slave mobile deviceData sent to other mobile devices.,,Andthe relationship between can be expressed as:
whereinIs andthe associated column vector is then used to determine,andin connection with,The overall optimization function for all mobile devices can be described as. After normalization, theDecomposition into two sub-functionsAndas follows:
the initial values may be set as:
whereinIs andnumber of connected mobile devices, subscript denoting mobile deviceIteration 0.Andis set to zero, which means that no data is initially stored.
One of the limitations of A2CS is that the sub-function must be a convex function. Therefore, it is necessary to prove that the optimization function is convex and A2CS is applicable. For functionHaving only one variableAnd other parameters can be assigned values based on background knowledge, which means thatIs a linear function. For functionThe variables includeAnd the distance between two nodes. Once a distance is reachedFixed and regarded as constant, then there is only one variable, the functionCan be simplified to a linear function. Based on the collaborative storage framework and the collaborative storage model, each mobile device can obtain distance information from the connected mobile device, which means that the distance can be set to be constant, andit can be further simplified to a linear function. Thus, the convexity of the sub-function is demonstrated as follows.
And (3) proving that:
as defined in (17) and (18), the derivative of sum can be described as:
therefore, the temperature of the molten metal is controlled,andall satisfy subfunction convexity proving formula in background knowledgeI.e. both subfunctions are convex.
After the syndrome is confirmed.
According to the ADMM theory, a reasonable stopping criterion is set for the A2CS acceleration algorithm in this embodiment to obtain a satisfactory feasible solution and ensure fast convergence. When the original residual and the dual residual are small, the target suboptimum must also be small. In particular for mobile devicesUsing the original residual errorSum and dual residualAnd may be at the secondThe sub-iteration is formulated as:
thus, a reasonable stopping criterion is proposed:
whereinRepresenting the original residual at the k-th iteration,representing the dual residual at the kth iteration,it is shown that the absolute tolerance is,indicating a relative tolerance. Furthermore, the method of tolerance selection is to use absolute and relative tolerances, which can be expressed as:
whereinIs a tolerance which is an absolute tolerance and,is a relative tolerance that is a function of,is a variable quantityDimension (d) of (a).
Referring to fig. 2, the optimization function, the initial value and the stopping criterion in the present solution are integrated, and based on the acceleration gradient descent scheme NA and the ADMM algorithm, the scaling form and NA of the ADMM algorithm are combined, so as to obtain the A2CS acceleration algorithm in the present embodiment.
S104, based on the edge collaborative storage model and the A2CS acceleration algorithm, an edge collaborative storage strategy is proposed.
To show in detail and intuitivelyShowing the process of cooperative storage, the embodiment proposes an edge cooperative storage strategy based on an edge cooperative storage model and an A2CS acceleration algorithm, and referring to fig. 3, in the strategy, a name is addedTo distinguish roles of each mobile device at the middle edge, wherein. When in useA mobile device is a requesting node that transmits data to other connected mobile devices. When in useA mobile device is a storage node that receives data from other connected mobile devices. It is obvious that the mobile device may be both a requesting node and a storing node. For a certain mobile deviceIt collects dataAnd then sends the message to the connected mobile device. It then determines the number of copies, selects the mobile devices to store, and determines the data volume allocation for each selected mobile device. At the same time it can also receive requests from other connected mobile devices and decide whether to receive data.
In this embodiment, the edge collaborative storage policy includes six steps: data collection, request distribution, decision making, decision feedback, multiple interactions and data transmission. Data collection step referring to (a) of fig. 3, different types of mobile devices, which are represented by rectangles and circles, have different roles. In addition, the mobile device is in different states at the same time. The shaded rectangles and circles represent requesting nodes, while the others represent free storage nodes. The solid lines in the picture represent the connections between different mobile devices. The requesting node is collecting data and preparing to send data storage messages, while the storage node is ready to receive data storage messages from the requesting node. Request distribution step referring to (b) in fig. 3, the requesting node transmits a data storage message to the connected mobile device and waits for feedback. The solid arrows represent data storage messages from the requesting node to the storage nodes. Decision making step referring to (c) of fig. 3, a free storage node receives a data storage message and becomes busy, represented by the shaded rectangle and the dashed circle. The busy storage node then decides how to respond to the request message, taking into account storage capacity and battery power. Decision feedback step referring to (d) in fig. 3, the busy storage node returns feedback to the requesting node in (a) according to the decision in (c). The decision includes whether and how much to store. (d) The dashed arrow in (d) represents decision feedback. Multiple interaction step referring to (e) in fig. 3, the requesting node interacts with the storage node multiple times to obtain a feasible solution. The two-way dashed arrows represent interactions between different mobile devices. Data transmission step referring to (f) in fig. 3, the requesting node in (a) receives and aggregates the feedback. From the summary, the requesting node first calculates and determines the number of copies. They then select a copy of the data and transmit it to some storage node. In (f), data transmission is represented by solid arrows and data icons. The entire process of cooperative storage is repeated from (a) to (f), and the mobile device may be in more than one of the above states at the same time.
S105, guiding the edge cooperative storage task by the edge cooperative storage strategy.
The edge cooperative storage policy covers the whole process of cooperative storage, and the edge cooperative storage policy guides the edge cooperative storage task established in step S101 so as to apply the edge cooperative storage task to the task execution scenario grouped by the mobile devices in the edge.
As can be seen from the foregoing description, according to one or more embodiments of the present invention, an edge storage acceleration method, an edge storage acceleration apparatus, and an edge storage acceleration apparatus for a collaborative mobile device are provided, which particularly pay attention to unique characteristics of a mobile device and a dynamic network topology of a plurality of mobile devices, and convert a collaborative storage problem into a solvable optimization problem, and by studying an acceleration policy, an A2CS acceleration algorithm is proposed to efficiently solve the collaborative storage optimization problem, in an A2CS acceleration algorithm, a convergence speed can be theoretically improved, and a collaborative storage policy is proposed at the same time, the policy includes six steps and may represent an entire process of collaborative storage, and the A2CS acceleration algorithm applies all steps throughout the policy, and guides an entire cycle period of collaborative storage with the policy. The A2CS acceleration algorithm provides better convergence performance under different step rules than the two prior methods ADMM baseline and ADMM-OR (ADMM with excessive relaxation), with an acceleration percentage of at least 25.33% and up to 64.01%. In addition, by performing utility performance comparison analysis using the existing average allocation policy (ADS) and the existing distance-first allocation policy (DPDS), the result shows that the A2CS acceleration algorithm is superior to ADS and DPDS in terms of total utility and power consumption.
It should be noted that the method of one or more embodiments of the present invention may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of one or more embodiments of the present invention, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Referring to fig. 4, based on the same inventive concept, one or more embodiments of the present invention further provide an edge storage acceleration apparatus for a cooperative mobile device, including: the device comprises a first establishing module, a second establishing module, a calculating module, a strategy module and an executing module.
The first establishing module is configured to establish an edge collaborative storage task for transmitting data between the mobile devices;
a second building module configured to build an edge collaborative storage model based on the edge collaborative storage task, the edge collaborative storage model including: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologyThe set of mobile devicesComprises at least two mobile devices;
a calculation module configured to calculate an A2CS acceleration algorithm based on the edge collaborative storage model;
a policy module configured to propose an edge collaborative storage policy based on the edge collaborative storage model and an A2CS acceleration algorithm;
an execution module configured to direct the edge collaborative storage task with the edge collaborative storage policy.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations of one or more embodiments of the invention.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, one or more embodiments of the present invention further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the program, the method according to any of the above embodiments is implemented.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 501, a memory 502, an input/output interface 503, a communication interface 504, and a bus 505. Wherein the processor 501, the memory 502, the input/output interface 503 and the communication interface 504 are communicatively connected to each other within the device via a bus 505.
The processor 501 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 502 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. The memory 502 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 5020 and called by the processor 501 for execution.
The input/output interface 503 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 504 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
It should be noted that although the above-mentioned device only shows the processor 501, the memory 502, the input/output interface 503, the communication interface 504 and the bus 505, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
To verify the performance of the A2CS acceleration algorithm, the inventors designed and carried out a series of experiments, in particular, taking an Unmanned Aerial Vehicle (UAV) as an example, and used the parameters of DJIUAV in the following. The experiments were performed using the step rule.
First, assume that the edge contains 20 drones. The network topology of the edge includes connectivity and distance between drones at different times. To simulate the dynamics of the edge network topology in a cooperative storage scheme, the connectivity and distance between drones is represented using random numbers within a given range. Specifically, a random number between 1 and 19 is first generated to represent the number of UAVs that can be connected to the requesting UAV to allow data transmission. This means that the requesting drone can connect up to 1 drone and up to 19 drones, consistent with the actual situation. Furthermore, since the loss of connection with another mobile device occurs approximately following a 0-1 distribution, a random number is used to generate a 0-1 Boolean variable to represent the connection state. Then, the distance between drones is also randomly generated within the range of [5,20 ]. The upper and lower bounds are derived from typical values of distances between drones in a cluster of small scale drones.
Furthermore, to verify the validity of the collaborative storage model and reduce the time cost, a simple pre-experiment was performed on the number of copies. Referring to fig. 6, normalized values of energy consumption and data loss for a fixed data size are shown. As the number of copies increases, energy consumption increases and data loss decreases, which means that endurance and marginal storage reliability of the mobile device increases. Therefore, the number of copies should be selected to take into account both energy consumption and data loss, consistent with the collaborative storage model described above. In addition, more than 8 copies do not reduce data loss but rather increase energy consumption, which is considered herein as an unacceptable method of cooperative storage. Therefore, the number of copies is set to 1 to 8 to avoid unnecessary experiments and reduce time cost.
After multiple tests, the values of the parameters are finally set, and the augmented Lagrange parameter is set asCoefficient of weightAndis a hyper-parameter, which is set to,,μ=0.001,θ=0.002,,PT=100mW,GT=2dbi,GR=2dbi,λ=0.125m,L=1,c=[5,30]MB, setting upAndsatisfied after multiple testsAnd (5) carrying out feasible solution. The performance of the comparison algorithm is mainly evaluated from three indexes, including: convergence times, overall utility and energy consumption, wherein the convergence times represent the convergence speed of the algorithm; the overall utility represents the value of the optimization function using different algorithms; energy consumption describes the duration of a mobile device.
whereinIs the relaxation parameter. Particularly whenThis mode is called over-relaxation. After excessive relaxation, is used in the next stepUpdating variablesAnd dual variables. When in useIn the middle, it was shown that the astringency was improved. Thus, in the experiment, set up. For better convergence performance, the inventors added the step rule when conducting experiments. Step size rule refers to evaluatingBy different methods of (2), which meansNot fixed in each iteration. This operation is advantageous in that it is possible to improve the convergence speed in practice and reduce the dependence of the performance on the initial value. When in useIt is difficult to prove convergence when changing in each iteration, but if it is changed, it is difficult to verify convergenceThe above theory still applies if it can become some fixed value after a limited number of iterations. Therefore, two other step size rules are proposed, among whichCan be fixed within the accuracy range required by the cooperative storage problem. They can be represented as:
first, 20 experiments were performed and the results were each evaluated on average based on the same experimental setup using the three algorithms and the three step rules described above. Specifically, the data size is set to. Referring to fig. 7(a), 7(b) and 7(c), the histogram indicates the relationship between the number of duplicates and the number of convergence times, while the line graph shows the relationship between the total utility of the acceleration algorithm using A2CS with different step size rules and the number of duplicates. As the number of copies increases, when,Andthe number of convergence times also increases. For each step size rule, the proposed A2CS acceleration algorithm converges the least number of times, exhibiting the best convergence performance. Furthermore, the overall utility of using the A2CS acceleration algorithm first decreases and then increases. The minimum is reached when the number of copies equals 4, which means that the best choice for the edge requesting node is to backup 4 copies and send them to the connected storage node. It can also be concluded that the step size rule greatly affects the convergence speed, but has little impact on the overall utility.
Referring to fig. 8(a), 8(b) and 8(c), when the data size is fixed, the influence of different step rules on the convergence number is used. In general, step size rules are usedAndthan using a fixed step ruleThe results are better. Although there are some exceptions, the difference between those exceptional results using the three step rule is modest, which is acceptable. Furthermore, it was found that certain step-size rules do not always have better performance than other step-size rules when used in conjunction with other algorithms. In particular, the results with the fastest convergence rates were selected for each algorithm and are listed in table 4. The results of these three combinations were compared. The best performance is underlined in table 3 and the percent acceleration is calculated.
TABLE 3 influence of the number of copies on the convergence of the average number of different combinations
Reference is made to FIG. 9(a)And fig. 9(b), in order to analyze the influence of the data size on the convergence performance, another 20 experiments were performed and the results were averaged, and the number of copies was set to 4 according to the results in fig. 7. Since the results in FIG. 8 show the useRelatively slow convergence rate of using onlyAndthe results are analyzed. The histogram specifies the relationship between the data size and the number of convergence times. Generally, the number of convergence increases as the size of the data amount increases. It is noteworthy that as the size of the data volume increases, A2CS performs much better than other algorithms, which means that the size of the data volume has little impact on the performance of A2CS, but much impact on ADMM and ADMM-OR. In particular, for each algorithm, a combination of the algorithm and the step size rule with the fastest convergence rate is selected. Selected results are shown in table 4, with the best performance underlined and the percent acceleration calculated. As the size of the data volume increases, the acceleration percentage also increases, which means that the proposed algorithm A2CS performs better when processing large amounts of data.
TABLE 4 influence of data size on mean convergence for different combinations
The assignment of data copies is closely related to the utility of the optimization function and is analyzed in the proposed algorithm A2CS, so the utility performance analysis is defined as a comparison between A2CS and the algorithm that also performs the assignment of data. The algorithm compared to the A2CS acceleration algorithm includes:
ADS (average allocation strategy): uniformly distributing the data copies to the connected storage nodes;
DPDS (distance priority allocation policy): the DPDS prioritizes the distance between the requesting node and the connected storage nodes. The shorter the distance, the higher the priority.
Based on the above acceleration performance analysis, when the data amount sizes were randomly selected within the ranges of [5,30] MB, respectively, the number of data copies was set to 4, and 20 experiments were performed.
Referring to fig. 10(a), a histogram depicts the total utility of using different algorithms, and referring to fig. 10(b), a histogram depicts the energy consumption of using different algorithms, and accordingly, a line graph represents the percentage of dominance of A2CS over ADS and DPDS, respectively, over different time ranges. Overall, the proposed algorithm A2CS shows better performance than ADS and DPDS in both total utility and energy consumption. The results show that the data copy distribution strategy of A2CS can reduce the total utility and energy consumption to the maximum extent, thereby meeting the optimization target of high storage reliability of mobile device edge and long endurance time.
Referring to FIG. 11(a), the overall utility of the A2CS acceleration algorithm, referring to FIG. 11(b), the energy consumption of the A2CS acceleration algorithm, to analyze the effect of the step size rule on utility, another 20 experiments were conducted using A2CS, in which,And. Discovery useA2CS of (a) performed almost identically to the other two combinations in most experiments, and only in some cases better. Note that, when the number of copies is set to 4,a2CS of (1) has the best acceleration performance. Although it is not limited toA2CS of (a) may accelerate convergence even better. In some experiments, the results of utility performance indicate that the step size rule has little impact on utility performance.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the invention as described above, which are not provided in detail for the sake of brevity, within the spirit of this disclosure.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, for simplicity of illustration and discussion, and so as not to obscure one or more embodiments of the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the one or more embodiments of the present invention, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the one or more embodiments of the present invention are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
It is intended that the one or more embodiments of the present invention embrace all such alternatives, modifications and variations as fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of one or more embodiments of the present invention are intended to be included within the scope of the present disclosure.
Claims (9)
1. An edge storage acceleration method for a cooperative mobile device, comprising:
establishing an edge collaborative storage task for transmitting data between mobile devices;
establishing an edge collaborative storage model based on the edge collaborative storage task, wherein the edge collaborative storage model comprises: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologyThe set of mobile devicesComprises at least two mobile devices;
calculating an A2CS acceleration algorithm based on the edge collaborative storage model, wherein the A2CS acceleration algorithm comprises:
initial value、Andthe initial value represents the value of the current mobile deviceDeploying an initial value of the A2CS acceleration algorithm, the initial value expressed as
WhereinIs shown and describedThe number of connected mobile devices is such that,to representA dimension vector;
a stopping criterion that brings the A2CS acceleration algorithm to a viable solution and ensures that the A2CS acceleration algorithm converges quickly, the stopping criterion expressed as
WhereinIs shown asThe original residual at the time of the sub-iteration,is shown asThe dual residual at the time of the sub-iteration,it is shown that the absolute tolerance is,indicating a relative tolerance;
optimization functionFor describing the total utility of the edge collaborative storage task, the optimization function is expressed as
WhereinAndis the weight coefficient of the weight of the image,indicating by a sending mobile deviceThe size of the amount of data collected,andcan be described as,Representing the sending mobile deviceThe number of data copies of the collected data,which is indicative of the amount of data loss,represents the total energy consumption for the storage of the data,indicating transmitting mobile deviceThe probability of data loss of (a) is,representing the sending mobile deviceThe data transmission rate of (a) is,representing the receiving mobile deviceThe rate of reception of the data of (c),representing adjacency matricesTo (1) aLine and firstThe elements in the column are selected from the group,representing a distance matrixTo (1) aLine and firstThe elements in the column are selected from the group,representing the power consumption for storing a unit of data,representing the sending mobile deviceThe transmission power of the antenna is set to be,which represents the gain of the transmit antenna,which represents the gain of the receiving antenna,which represents the wavelength of the light emitted by the light source,representing the sending mobile deviceAnd the receiving mobile deviceThe distance between the two or more of the two or more,representing a system loss factor independent of propagation;
based on the edge collaborative storage model and an A2CS acceleration algorithm, an edge collaborative storage strategy is proposed;
and guiding the edge cooperative storage task by the edge cooperative storage strategy.
2. The method of claim 1, wherein establishing an edge collaborative storage task for data transmission between mobile devices comprises:
the mobile device collecting data;
the mobile device is based on data loss probabilityAnd energy consumptionSending the copy of the data to adjacent mobile devices connected with the mobile device, wherein at least one of the adjacent mobile devices is provided;
4. The method of claim 3, wherein the first step is performedA mobile deviceIs modeled asWhereinTo representThe storage capacity of (a) of (b),to representThe amount of battery charge of (a) is,to representThe amount of data that is collected is large and small,to representThe number of data copies of the collected data,to representThe data transmission rate of (a) is,to representThe data reception rate of.
5. The method of claim 1, wherein the network topologyIs modeled as,A set of mobile devices is represented as a set of mobile devices,a contiguous matrix is represented that is,representing a distance matrix, said adjacency matrixThe method comprises the following steps:
for any of the mobile devicesWith other said mobile devicesIs represented by an element in the adjacency matrix,representing the adjacency matrixTo (1) aLine and firstThe elements in the column, which are determined by the following expression:
for any of the mobile devicesTo other said mobile devicesIs in the distance matrixThe value of the element(s) is,representing said distance matrixTo (1) aLine and firstThe elements in the column, which are determined by the following expression:
6. The method of claim 1, wherein the method is performed in a batch processThe transmitting mobile deviceAnd receiving mobile deviceForm a transceiving mobile device groupThe sending mobile deviceAnd receiving mobile deviceData storage and data transmission are carried out between the two, and the data storage generates data storage energy consumptionSaidIs expressed as
Wherein the content of the first and second substances,is shown asFrom the sending mobile deviceTransmission to receiving mobile deviceThe data size of (2), andthe sending mobile deviceThe amount of data that is stored is of a size,represents the above-mentioned groupEnergy consumption of data storage;
WhereinRepresenting a receiving mobile deviceThe received power of the antenna,representing data from the transmitting mobile deviceIs transmitted to the receiverMobile deviceThe time taken for the process to be carried out,representing the receiving mobile deviceReceiving the transmitting mobile deviceThe time taken for the transmitted data to be transmitted,
the data storage energy consumptionAnd said data transmission energy consumptionSumming total energy consumption of edge collaborative storageSaid total energy consumptionIs expressed as
7. The method according to claim 1, wherein the edge collaborative storage policy comprises the steps of: data collection, request distribution, decision making, decision feedback, multiple interactions and data transmission.
8. An edge storage acceleration apparatus for cooperating with a mobile device, comprising:
the mobile device comprises a first establishing module, a second establishing module and a third establishing module, wherein the first establishing module is configured to establish an edge collaborative storage task for transmitting data between mobile devices;
a second building module configured to build an edge collaborative storage model based on the edge collaborative storage task, the edge collaborative storage model including: mobile device collectionSending mobile deviceReceiving mobile deviceAnd network topologyThe set of mobile devicesComprises at least two mobile devices;
a calculation module configured to calculate an A2CS acceleration algorithm based on the edge collaborative storage model, the A2CS acceleration algorithm including:
initial value、Andthe initial value represents the value of the current mobile deviceDeploying the A2CS plusInitial value of the fast algorithm, said initial value being expressed as
WhereinIs shown and describedThe number of connected mobile devices is such that,to representA dimension vector;
a stopping criterion that brings the A2CS acceleration algorithm to a viable solution and ensures that the A2CS acceleration algorithm converges quickly, the stopping criterion expressed as
WhereinIs shown asThe original residual at the time of the sub-iteration,is shown asThe dual residual at the time of the sub-iteration,it is shown that the absolute tolerance is,indicating a relative tolerance;
optimization functionFor describing the total utility of the edge collaborative storage task, the optimization function is expressed as
WhereinAndis the weight coefficient of the weight of the image,indicating by a sending mobile deviceThe size of the amount of data collected,andcan be described as,Represents the aboveTransmitting mobile deviceThe number of data copies of the collected data,which is indicative of the amount of data loss,represents the total energy consumption for the storage of the data,indicating transmitting mobile deviceThe probability of data loss of (a) is,representing the sending mobile deviceThe data transmission rate of (a) is,representing the receiving mobile deviceThe rate of reception of the data of (c),representing adjacency matricesTo (1) aLine and firstThe elements in the column are selected from the group,representing a distance matrixTo (1) aLine and firstThe elements in the column are selected from the group,representing the power consumption for storing a unit of data,representing the sending mobile deviceThe transmission power of the antenna is set to be,which represents the gain of the transmit antenna,which represents the gain of the receiving antenna,which represents the wavelength of the light emitted by the light source,representing the sending mobile deviceAnd the receiving mobile deviceThe distance between the two or more of the two or more,representing a system loss factor independent of propagation;
a policy module configured to propose an edge collaborative storage policy based on the edge collaborative storage model and an A2CS acceleration algorithm;
an execution module configured to direct the edge collaborative storage task with the edge collaborative storage policy.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010252903.4A CN111158612B (en) | 2020-04-02 | 2020-04-02 | Edge storage acceleration method, device and equipment for cooperative mobile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010252903.4A CN111158612B (en) | 2020-04-02 | 2020-04-02 | Edge storage acceleration method, device and equipment for cooperative mobile equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111158612A CN111158612A (en) | 2020-05-15 |
CN111158612B true CN111158612B (en) | 2020-07-24 |
Family
ID=70567659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010252903.4A Active CN111158612B (en) | 2020-04-02 | 2020-04-02 | Edge storage acceleration method, device and equipment for cooperative mobile equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111158612B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830520A (en) * | 2020-01-13 | 2020-02-21 | 中国人民解放军国防科技大学 | Robust and reliable edge storage method and system for Internet of things |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005157712A (en) * | 2003-11-26 | 2005-06-16 | Hitachi Ltd | Remote copy network |
US8612681B2 (en) * | 2011-11-22 | 2013-12-17 | Hitachi, Ltd | Storage system, storage apparatus and method of controlling storage system |
CN104573119B (en) * | 2015-02-05 | 2017-10-27 | 重庆大学 | Towards the Hadoop distributed file system storage methods of energy-conservation in cloud computing |
CN107370802A (en) * | 2017-07-10 | 2017-11-21 | 中国人民解放军国防科学技术大学 | A kind of collaboration storage dispatching method based on alternating direction multiplier method |
CN108121511B (en) * | 2017-12-21 | 2022-05-27 | 北京猫盘技术有限公司 | Data processing method, device and equipment in distributed edge storage system |
CN110471621B (en) * | 2019-07-29 | 2020-12-29 | 东南大学 | Edge collaborative storage method for real-time data processing application |
CN110443298B (en) * | 2019-07-31 | 2022-02-15 | 华中科技大学 | Cloud-edge collaborative computing-based DDNN and construction method and application thereof |
CN110430266B (en) * | 2019-08-06 | 2021-07-13 | 腾讯科技(深圳)有限公司 | Edge cloud cooperative data transmission method, device, equipment and storage medium |
-
2020
- 2020-04-02 CN CN202010252903.4A patent/CN111158612B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830520A (en) * | 2020-01-13 | 2020-02-21 | 中国人民解放军国防科技大学 | Robust and reliable edge storage method and system for Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN111158612A (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | A computation offloading method over big data for IoT-enabled cloud-edge computing | |
Luo et al. | Stability of cloud-based UAV systems supporting big data acquisition and processing | |
CN107766135B (en) | Task allocation method based on particle swarm optimization and simulated annealing optimization in moving cloud | |
CN112422644B (en) | Method and system for unloading computing tasks, electronic device and storage medium | |
CN111260076B (en) | Block chain-based edge node training method, block chain and storage medium | |
Li et al. | Distributed coordinated tracking control of multiple Euler–Lagrange systems by state and output feedback | |
Wang et al. | Guaranteed cost consensus problems for second‐order multi‐agent systems | |
US20230281513A1 (en) | Data model training method and apparatus | |
Li et al. | Computation offloading strategy for improved particle swarm optimization in mobile edge computing | |
CN111158612B (en) | Edge storage acceleration method, device and equipment for cooperative mobile equipment | |
Hao et al. | Topology optimised fixed‐time consensus for multi‐UAV system in a multipath fading channel | |
Yang et al. | Drone formation control via belief-correlated imitation learning | |
US20220197355A1 (en) | Method for implementing power and/or heat generation control and electronic device therefor | |
CN114007231B (en) | Heterogeneous unmanned aerial vehicle data unloading method and device, electronic equipment and storage medium | |
Liang et al. | An effective resource scheduling model for edge cloud oriented AIoT | |
Shi et al. | Multi-UAV-assisted computation offloading in DT-based networks: A distributed deep reinforcement learning approach | |
Meng et al. | Edge computing task offloading method for load balancing and delay optimization | |
CN111541781A (en) | Distributed cooperative task scheduling method for mobile equipment in dense network | |
CN117729113B (en) | Network switching method of smart power grid and related equipment | |
Deb et al. | Loop-the-Loops: Fragmented Learning Over Networks for Constrained IoT Devices | |
Santi et al. | A resource management survey for mission critical and time critical applications in multi access edge computing | |
CN113326112B (en) | Multi-unmanned aerial vehicle task unloading and migration method based on block coordinate descent method | |
Khani et al. | Deep reinforcement learning‐based resource allocation in multi‐access edge computing | |
Lin et al. | MADDPG-based Task Offloading and Resource Management for Edge System | |
CN115226130B (en) | Multi-unmanned aerial vehicle data unloading method based on fairness perception and related 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 |