CN112749012B - Data processing method, device and system of terminal equipment and storage medium - Google Patents

Data processing method, device and system of terminal equipment and storage medium Download PDF

Info

Publication number
CN112749012B
CN112749012B CN202110055381.3A CN202110055381A CN112749012B CN 112749012 B CN112749012 B CN 112749012B CN 202110055381 A CN202110055381 A CN 202110055381A CN 112749012 B CN112749012 B CN 112749012B
Authority
CN
China
Prior art keywords
data
divided data
edge node
idle
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110055381.3A
Other languages
Chinese (zh)
Other versions
CN112749012A (en
Inventor
崔国宇
周鹏
徐晓丰
刘海洋
王大伟
叶卫
陈逍潇
李同
张锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Microelectronics of CAS
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Electric Power Research Institute of State Grid Jilin Electric Power Co Ltd
State Grid Jilin Electric Power Corp
Beijing Smartchip Microelectronics Technology Co Ltd
Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd
Beijing Smartchip Semiconductor Technology Co Ltd
Original Assignee
Institute of Microelectronics of CAS
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Electric Power Research Institute of State Grid Jilin Electric Power Co Ltd
State Grid Jilin Electric Power Corp
Beijing Smartchip Microelectronics Technology Co Ltd
Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd
Beijing Smartchip Semiconductor Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Microelectronics of CAS, State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Electric Power Research Institute of State Grid Jilin Electric Power Co Ltd, State Grid Jilin Electric Power Corp, Beijing Smartchip Microelectronics Technology Co Ltd, Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd, Beijing Smartchip Semiconductor Technology Co Ltd filed Critical Institute of Microelectronics of CAS
Priority to CN202110055381.3A priority Critical patent/CN112749012B/en
Publication of CN112749012A publication Critical patent/CN112749012A/en
Application granted granted Critical
Publication of CN112749012B publication Critical patent/CN112749012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5066Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5012Processor sets

Landscapes

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

Abstract

The invention discloses a data processing method, a device, a system and a storage medium of terminal equipment, wherein the method comprises the following steps: acquiring preset edge node information and data to be distributed; dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data; performing an allocation operation on the plurality of divided data; in the case where it is determined that the processed data corresponding to each of the divided data is received, it is determined that the data processing is completed. By configuring a plurality of edge nodes near the terminal equipment, dividing the task to be processed into a plurality of subtasks according to the number of the configured edge nodes, and distributing the tasks according to the running states of the edge nodes, so as to effectively share the operation pressure of the terminal equipment, simultaneously, parallel processing is carried out on the task to be processed, the data processing efficiency of the terminal equipment is effectively improved, the data processing pressure and the data processing delay of the terminal equipment are reduced, and the user experience is improved.

Description

Data processing method, device and system of terminal equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method of a terminal device, a data processing apparatus of a terminal device, a data processing system of a terminal device, and a computer readable storage medium.
Background
With the development of wireless communication technology and the popularization of mobile terminal devices, functions configured on mobile terminal devices are increasing, however, due to the requirement of portability features of mobile terminal devices, the weight and volume of mobile terminal devices cannot be increased infinitely, and thus the configuration of mobile terminals is limited, and the operational capability thereof is also limited, thus contradicting the increasing functional requirements.
In order to solve the above technical problems, the concept of edge computation is proposed. In the prior art, by configuring a plurality of edge nodes near the mobile terminal device, each edge node is configured with an edge server, the mobile terminal device can distribute tasks to be processed currently through wireless communication, distribute the tasks to the edge nodes for processing, and send the tasks to the mobile terminal device after the processing is completed, so that the data processing pressure of the mobile terminal device is greatly reduced, and the data processing capacity of the mobile terminal device is expanded.
However, in the actual application process, the conventional task allocation method designates an edge node to be sent for an allocated task, and once the processing progress of the edge node is slow or the processing capacity is insufficient, the overall processing progress of the task to be processed of the mobile terminal device is delayed, so that the data processing capacity is reduced, and the user experience is reduced.
Disclosure of Invention
In order to overcome the technical problems in the prior art, the embodiment of the invention provides a data processing method of terminal equipment, which is characterized in that a plurality of edge nodes are configured in the terminal equipment, and the terminal equipment can distribute data to be processed according to the running state of each edge node, so that the data processing efficiency of the terminal equipment is effectively ensured, the data processing delay is reduced, and the user experience is improved.
In order to achieve the above object, an embodiment of the present invention provides a data processing method of a terminal device, applied to the terminal device, including: acquiring preset edge node information and data to be distributed; dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data; performing an allocation operation on the plurality of divided data; in the case where it is determined that the processed data corresponding to each of the divided data is received, it is determined that the data processing is completed.
Preferably, the dividing the data to be allocated based on the preset edge node information to obtain a plurality of divided data includes: acquiring the running state of each edge node based on the preset edge node information; acquiring the number of edge nodes with idle running states; dividing the data to be distributed based on the quantity to obtain a plurality of corresponding divided data.
Preferably, the performing an allocation operation on the divided data includes: taking all the edge nodes with the running states of idle states as idle edge nodes; and distributing each divided data to the idle edge nodes in turn.
Preferably, said sequentially allocating each of said divided data to said idle edge node comprises: distributing first divided data in the divided data to each idle edge node; judging whether receiving completion information fed back by any one of the idle edge nodes is acquired or not; stopping distributing the first divided data under the condition that the receiving completion information is acquired; and continuing to execute the distribution operation on the rest of the divided data except the first divided data.
On the other hand, the embodiment of the invention also provides a data processing method of the terminal equipment, which is applied to the edge node, and comprises the following steps: acquiring allocated divided data; executing data processing operation on the divided data to generate processed data; and feeding back the processed data.
Preferably, the method further comprises: after the distributed divided data is obtained, judging whether the divided data is received or not; under the condition that the data after division is confirmed to be received, switching the current running state into a working state and feeding back corresponding receiving completion information; and after the processed data is generated, switching the current running state into an idle state and feeding back corresponding processing completion information.
Correspondingly, the embodiment of the invention also provides a data processing device of the terminal equipment, which comprises: the acquisition unit is used for acquiring preset edge node information and data to be distributed; the dividing unit is used for dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data; an allocation unit for performing an allocation operation on the plurality of divided data; and a determining unit configured to determine that data processing is completed in a case where it is determined that processed data corresponding to each of the divided data is received.
Preferably, the dividing unit includes: the state acquisition module is used for acquiring the running state of each edge node based on the preset edge node information; the quantity acquisition module is used for acquiring the quantity of the edge nodes with the running states in the idle state; the dividing module is used for dividing the data to be distributed based on the quantity to obtain a plurality of corresponding divided data.
Preferably, the preset edge node information includes an edge node state, and the allocation unit includes: the idle node acquisition module is used for taking all the edge nodes with the running states of idle states as idle edge nodes; and the distribution module is used for sequentially distributing each divided data to the idle edge nodes.
Preferably, the allocation module is configured to: distributing first divided data in the divided data to each idle edge node; judging whether receiving completion information fed back by any one of the idle edge nodes is acquired or not; stopping distributing the first divided data under the condition that the receiving completion information is acquired; and continuing to execute the distribution operation on the rest of the divided data except the first divided data.
On the other hand, an embodiment of the present invention further provides a data processing apparatus of a terminal device, which is applied to an edge node, where the apparatus includes: an acquisition unit configured to acquire the allocated divided data; the data processing unit is used for executing data processing operation on the divided data and generating processed data; and the feedback unit is used for feeding back the processed data.
Preferably, the data processing unit further comprises: the judging module is used for judging whether the divided data is received after the distributed divided data is obtained; the first feedback module is used for switching the current running state into the working state and feeding back corresponding receiving success information under the condition that the data after division is determined to be received; and the second feedback module is used for switching the current running state into an idle state and feeding back corresponding processing completion information after the processed data are generated.
On the other hand, the embodiment of the invention also provides a data processing system of the terminal equipment, which comprises the terminal equipment and a plurality of edge nodes arranged near the terminal equipment.
In another aspect, the embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements the method provided by the embodiment of the present invention.
Through the technical scheme provided by the invention, the invention has at least the following technical effects:
by configuring a plurality of edge nodes near the terminal equipment, the terminal equipment can divide the task to be processed into a plurality of subtasks according to the number of the configured edge nodes and distribute the subtasks to a plurality of corresponding idle edge nodes according to the running states of the edge nodes so as to perform parallel processing on the task to be processed on the basis of effectively sharing the operation pressure of the terminal equipment, thereby effectively improving the data processing efficiency of the terminal equipment, reducing the data processing pressure and the data processing delay of the terminal equipment and improving the user experience.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain, without limitation, the embodiments of the invention. In the drawings:
fig. 1 is a flowchart of a specific implementation of a data processing method of a terminal device according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of dividing data to be allocated in the data processing method of the terminal device provided by the embodiment of the present invention;
fig. 3 is a flowchart of a specific implementation of a data processing method of a terminal device according to another embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a data processing apparatus of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data processing apparatus of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to overcome the technical problems in the prior art, the embodiment of the invention provides a data processing method of terminal equipment, which is characterized in that a plurality of edge nodes are configured in the terminal equipment, and the terminal equipment can distribute data to be processed according to the running state of each edge node, so that the data processing efficiency of the terminal equipment is effectively ensured, the data processing delay is reduced, and the user experience is improved.
The following describes the detailed implementation of the embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
The terms "system" and "network" in embodiments of the invention may be used interchangeably. "plurality" means two or more, and "plurality" may also be understood as "at least two" in this embodiment of the present invention. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/", unless otherwise specified, generally indicates that the associated object is an "or" relationship. In addition, it should be understood that in the description of embodiments of the present invention, the words "first," "second," and the like are used merely for distinguishing between the descriptions and not be construed as indicating or implying a relative importance or order.
Referring to fig. 1, an embodiment of the present invention provides a data processing method of a terminal device, which is applied to the terminal device, and the method includes:
S10) acquiring preset edge node information and data to be distributed;
s20) dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data;
S30) performing an allocation operation on the plurality of divided data;
s40) in the case where it is determined that the processed data corresponding to each of the divided data is received, it is determined that the data processing is completed.
In one possible implementation manner, a plurality of edge nodes are configured near the terminal device, for example, in the embodiment of the present invention, the terminal device includes, but is not limited to, a desktop computer, a portable computer, a smart phone, a tablet computer, a smart bracelet, and the like, and in the process of performing data processing on the terminal device, in order to reduce the requirement on the computing capability of the terminal device, and meanwhile, improve the processing capability of the terminal device on data, the terminal device is wirelessly connected with the plurality of edge nodes. For example, in the process of processing a task, the terminal device may take data to be processed by the task as data to be allocated, further obtain preset edge node information of the connected edge node, and divide the data to be allocated according to the preset edge node information, for example, divide the data to be allocated according to the data amount of the data to be allocated and the number of the connected edge nodes on average, or, of course, divide the data to be allocated according to the number of subtasks and the number of the edge nodes contained in the data to be allocated, which all belong to the technical field and are easily thought of by those skilled in the art according to the embodiments of the present invention, and therefore all belong to the scope of protection of the embodiments of the present invention, and are not repeated herein.
After the data to be allocated is divided, a plurality of corresponding divided data are obtained, at this time, an allocation operation is performed on the plurality of divided data, for example, in the embodiment of the present invention, the divided data may be sequentially allocated to a corresponding edge node, after the edge node receives the divided data, corresponding receiving completion information is fed back to the terminal device, and processing is started on the received divided data, after the processing is completed, processing completion information and corresponding processed data are fed back to the terminal device, at this time, the terminal device determines that the processing of the data to be allocated is completed according to the received processed data, for example, the terminal device monitors in real time whether the processed data corresponding to each divided data is obtained, and determines that the data processing is completed when all the processed data are obtained.
In the embodiment of the invention, the plurality of edge nodes are distributed near the terminal equipment, so that the terminal equipment is allowed to divide the task to be processed into a plurality of corresponding subtasks, and each subtask is subjected to task distribution, thereby on one hand, the data processing capacity of the terminal equipment is enlarged through the edge nodes, on the other hand, the data processing efficiency of the edge nodes is greatly improved in a parallel transmission and parallel processing mode, the data processing capacity and the data processing efficiency of the terminal equipment are effectively improved, the data processing delay of the terminal equipment is reduced, and the user experience is improved.
Referring to fig. 2, in an embodiment of the present invention, the dividing the data to be allocated based on the preset edge node information to obtain a plurality of divided data includes:
s21) acquiring the running state of each edge node based on the preset edge node information;
S22) acquiring the number of edge nodes with idle running states;
s23) dividing the data to be allocated based on the number, to obtain a plurality of corresponding divided data.
In a possible implementation manner, after configuring the edge nodes, each edge node is initialized first, and an operation state of each edge node is set to be an idle state, after the terminal device is connected with the edge nodes, preset edge node information is obtained, for example, each edge node is encoded in the preset edge node information, for example, N edge nodes are total, and each edge node is encoded as E 1,E2,…,EN, where the terminal device may divide data to be allocated according to the number of edge nodes, and obtain N corresponding divided data, where a total data amount of the N divided data is equal to a data amount of the data to be allocated.
In the practical application process, the edge nodes may be occupied by other terminal devices, so in order to further improve accuracy of data partitioning, the current terminal device first obtains an operation state of each edge node according to the preset edge node information, for example, in the embodiment of the present invention, M edge nodes in the N edge nodes are in an idle state, and the rest are in a working state, where M < N, so that data to be distributed is partitioned according to the idle number M of the edge nodes in the idle state, so as to obtain corresponding M partitioned data.
In an embodiment of the present invention, the performing an allocation operation on the partitioned data includes: taking all the edge nodes with the running states of idle states as idle edge nodes; and distributing each divided data to the idle edge nodes in turn.
Further, in an embodiment of the present invention, the sequentially distributing each piece of the divided data to the idle edge node includes: distributing first divided data in the divided data to each idle edge node; judging whether receiving completion information fed back by any one of the idle edge nodes is acquired or not; stopping distributing the first divided data under the condition that the receiving completion information is acquired; and continuing to execute the distribution operation on the rest of the divided data except the first divided data.
In a possible implementation manner, after dividing data to be allocated and obtaining M pieces of divided data corresponding to edge nodes, the dividing data starts to be allocated to each edge node, in this embodiment of the present invention, first divided data is allocated to each edge node, feedback information of all edge nodes is received after allocation, for example, in this embodiment of the present invention, when an edge node of E 1 is in an idle state, it is determined in real time whether the allocated divided data is obtained, and after it is determined that the allocated divided data is obtained, it is further determined whether the first divided data is received, for example, at a certain moment, the edge node of E 1 determines that the first divided data is received, so that an operation state of a current edge node is switched to an operating state, corresponding receiving completion information is generated and fed back, and immediately processing is started to the first divided data, for example, in this embodiment of the present invention, it is determined whether receiving completion information fed back by any one edge node is obtained after the terminal device performs allocation operation, for example, in this embodiment of the present invention, it is determined whether receiving completion information fed back by the edge node of E 1 has been obtained, after the first divided data is determined that the first divided data has been received, and then the first divided data is stopped, and the first divided data is received except for the first edge node.
And then the terminal equipment further continues to execute the allocation operation on other divided data except the first divided data, for example, the terminal equipment re-acquires the edge node with the running state being the idle state, takes the edge node currently in the idle state as the idle edge node, further allocates the second divided data to each idle edge node for data processing, and repeats the steps until all the divided data are allocated to the corresponding idle edge node for data processing.
In the embodiment of the invention, the actual data processing condition of the edge node is acquired according to the data processing feedback information fed back by the edge node in the data processing process, so that the data transmission reliability of the terminal equipment and the edge node is ensured, each divided data can be distributed to a reasonable idle edge node for data processing, and the processing efficiency of data parallel processing is improved.
In the embodiment of the present invention, the total data amount of the data to be allocated is C, after the data to be allocated is divided into M parts, each part of divided data is C i (i=1, 2, …, M), after each part of divided data is sent to the edge node, the terminal device monitors in real time whether to obtain the processed data corresponding to each divided data C i fed back by the edge node, and determines that the data to be allocated is processed, that is, completes the data processing of the task under the condition that the processed data corresponding to each divided data C i is received.
In the embodiment of the invention, the data processing task of the terminal equipment is simultaneously distributed to a plurality of idle edge nodes, so that on one hand, the same task can be processed more quickly by adopting a parallel processing mode, the data processing speed is effectively improved, and on the other hand, the data processing capacity requirement of the terminal equipment is transferred to a plurality of edge nodes, thereby effectively improving the data processing capacity of the terminal equipment and meeting the actual use requirement of users.
Further, referring to fig. 3, an embodiment of the present invention further provides a data processing method of a terminal device, applied to an edge node, where the method includes:
s100) obtaining allocated divided data;
s200) performing data processing operation on the divided data to generate processed data;
s300) feeding back the processed data.
Further, in an embodiment of the present invention, the method further includes: after the distributed divided data is obtained, judging whether the divided data is received or not; under the condition that the data after division is confirmed to be received, switching the current running state into a working state and feeding back corresponding receiving completion information; and after the processed data is generated, switching the current running state into an idle state and feeding back corresponding processing completion information.
In a possible implementation manner, a plurality of edge nodes are configured near the terminal device, and an edge server is configured at each edge node, for example, in this embodiment of the present invention, the edge server may be an offline server or a cloud server with a certain data computing and storing capability, which is connected to the terminal device in a wired or wireless manner, in an actual application process, the edge node first performs an initialization operation, and sets an operation state to an idle state after the initialization operation is completed, in this state, the terminal device may allocate divided data to the edge node, after obtaining the allocated divided data, the current edge node immediately processes the divided data, switches the current operation state to an operating state, and feeds back corresponding receiving completion information, so as to feed back to the terminal device that the divided data has been allocated to the current edge node, at this time, other edge nodes will stop receiving the divided data, and the terminal device may further allocate other divided data to other idle edge nodes, so as to perform parallel data processing.
After the divided data is processed, corresponding processed data and processing completion information are generated and fed back to the terminal equipment so as to inform the terminal equipment that the divided data is processed, the terminal equipment receives the processed data, and meanwhile, the current edge node switches the running state of the current edge node into an idle state so as to receive the subsequent data for processing.
In the embodiment of the invention, the processing task of the terminal equipment is reasonably shared by configuring the additional edge servers nearby the terminal equipment, so that the requirement of the increasing functional requirement on the operation capability of the terminal equipment is greatly reduced, the operation burden of the terminal equipment is effectively reduced, and the actual requirement of a user is met.
Correspondingly, referring to fig. 4, an embodiment of the present invention further provides a data processing apparatus of a terminal device, where the apparatus includes: the acquisition unit is used for acquiring preset edge node information and data to be distributed; the dividing unit is used for dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data; an allocation unit for performing an allocation operation on the plurality of divided data; and a determining unit configured to determine that data processing is completed in a case where it is determined that processed data corresponding to each of the divided data is received.
Preferably, the dividing unit includes: the state acquisition module is used for acquiring the running state of each edge node based on the preset edge node information; the quantity acquisition module is used for acquiring the quantity of the edge nodes with the running states in the idle state; the dividing module is used for dividing the data to be distributed based on the quantity to obtain a plurality of corresponding divided data.
Preferably, the preset edge node information includes an edge node state, and the allocation unit includes: the idle node acquisition module is used for taking all the edge nodes with the running states of idle states as idle edge nodes; and the distribution module is used for sequentially distributing each divided data to the idle edge nodes.
Preferably, the allocation module is configured to: distributing first divided data in the divided data to each idle edge node; judging whether receiving completion information fed back by any one of the idle edge nodes is acquired or not; stopping distributing the first divided data under the condition that the receiving completion information is acquired; and continuing to execute the distribution operation on the rest of the divided data except the first divided data.
Further, referring to fig. 5, an embodiment of the present invention further provides a data processing apparatus of a terminal device, which is applied to an edge node, and the apparatus includes: an acquisition unit configured to acquire the allocated divided data; the data processing unit is used for executing data processing operation on the divided data and generating processed data; and the feedback unit is used for feeding back the processed data.
Preferably, the data processing unit further comprises: the judging module is used for judging whether the divided data is received after the distributed divided data is obtained; the first feedback module is used for switching the current running state into the working state and feeding back corresponding receiving success information under the condition that the data after division is determined to be received; and the second feedback module is used for switching the current running state into an idle state and feeding back corresponding processing completion information after the processed data are generated.
Further, the embodiment of the invention also provides a data processing system of the terminal equipment, which comprises the terminal equipment and a plurality of edge nodes arranged near the terminal equipment.
Further, the embodiment of the present invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method described in the embodiment of the present invention.
The foregoing details of the optional implementation of the embodiment of the present invention have been described in conjunction with the accompanying drawings, but the embodiment of the present invention is not limited to the specific details of the foregoing implementation, and various simple modifications may be made to the technical solution of the embodiment of the present invention within the scope of the technical concept of the embodiment of the present invention, where all the simple modifications belong to the protection scope of the embodiment of the present invention.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, various possible combinations of embodiments of the present invention are not described in detail.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, including instructions for causing a single-chip microcomputer, chip or processor (processor) to perform all or part of the steps of the methods of the embodiments described herein. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In addition, any combination of various embodiments of the present invention may be performed, so long as the concept of the embodiments of the present invention is not violated, and the disclosure of the embodiments of the present invention should also be considered.

Claims (5)

1. A data processing method of a terminal device, applied to the terminal device, characterized in that the method comprises:
acquiring preset edge node information and data to be distributed;
Dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data;
Performing an allocation operation on the plurality of divided data;
Determining that data processing is completed in the case that it is determined that the processed data corresponding to each of the divided data is received;
The performing an allocation operation on the partitioned data includes:
Taking all the edge nodes with the running states of idle states as idle edge nodes;
Sequentially distributing each divided data to the idle edge nodes;
The sequentially distributing each divided data to the idle edge node includes:
Distributing first divided data in the divided data to each idle edge node;
Judging whether receiving completion information fed back by any one of the idle edge nodes is acquired or not;
stopping distributing the first divided data under the condition that the receiving completion information is acquired;
Continuing to perform the allocation operation on the remaining divided data except the first divided data; the actual data processing condition of the edge node is obtained through the data processing feedback information fed back by the edge node in the data processing process, so that each divided data can be distributed to a reasonable idle edge node for data processing.
2. The method according to claim 1, wherein the dividing the data to be allocated based on the preset edge node information to obtain a plurality of divided data includes:
Acquiring the running state of each edge node based on the preset edge node information;
acquiring the number of edge nodes with idle running states;
Dividing the data to be distributed based on the quantity to obtain a plurality of corresponding divided data.
3. A data processing apparatus of a terminal device, applied to the terminal device, characterized in that the apparatus comprises:
the acquisition unit is used for acquiring preset edge node information and data to be distributed;
The dividing unit is used for dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data;
an allocation unit for performing an allocation operation on the plurality of divided data;
A determination unit configured to determine that data processing is completed in a case where it is determined that processed data corresponding to each of the divided data is received;
The dispensing unit includes:
the idle node acquisition module is used for taking all the edge nodes with the running states of idle states as idle edge nodes;
the distribution module is used for sequentially distributing each divided data to the idle edge nodes;
the distribution module is used for:
Distributing first divided data in the divided data to each idle edge node;
Judging whether receiving completion information fed back by any one of the idle edge nodes is acquired or not;
stopping distributing the first divided data under the condition that the receiving completion information is acquired;
Continuing to perform the allocation operation on the remaining divided data except the first divided data; the actual data processing condition of the edge node is obtained through the data processing feedback information fed back by the edge node in the data processing process, so that each divided data can be distributed to a reasonable idle edge node for data processing.
4. The apparatus of claim 3, wherein the dividing unit comprises:
The state acquisition module is used for acquiring the running state of each edge node based on the preset edge node information;
The quantity acquisition module is used for acquiring the quantity of the edge nodes with the running states in the idle state;
The dividing module is used for dividing the data to be distributed based on the quantity to obtain a plurality of corresponding divided data.
5. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any of claims 1-2.
CN202110055381.3A 2021-01-15 2021-01-15 Data processing method, device and system of terminal equipment and storage medium Active CN112749012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110055381.3A CN112749012B (en) 2021-01-15 2021-01-15 Data processing method, device and system of terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110055381.3A CN112749012B (en) 2021-01-15 2021-01-15 Data processing method, device and system of terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112749012A CN112749012A (en) 2021-05-04
CN112749012B true CN112749012B (en) 2024-05-28

Family

ID=75652121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110055381.3A Active CN112749012B (en) 2021-01-15 2021-01-15 Data processing method, device and system of terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112749012B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919412B (en) * 2021-09-02 2023-07-25 中国电子科技集团公司第二十九研究所 Data distribution method, device and storage medium
CN116954930B (en) * 2023-09-20 2023-11-28 成都拓林思软件有限公司 Operating system data processing method based on edge calculation

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387173A (en) * 2010-09-01 2012-03-21 中国移动通信集团公司 MapReduce system and method and device for scheduling tasks thereof
CN106598743A (en) * 2016-12-30 2017-04-26 重庆邮电大学 Attribute reduction method for information system based on MPI parallel solving
KR20180119905A (en) * 2017-04-26 2018-11-05 에스케이텔레콤 주식회사 Application excution system based on distributed cloud, apparatus and control method thereof using the system
CN109189571A (en) * 2018-07-30 2019-01-11 南京邮电大学 Calculating task dispatching method and system, fringe node, storage medium and terminal
CN109815011A (en) * 2018-12-29 2019-05-28 东软集团股份有限公司 A kind of method and apparatus of data processing
CN111427679A (en) * 2020-03-25 2020-07-17 中国科学院自动化研究所 Computing task scheduling method, system and device facing edge computing
CN111435946A (en) * 2019-01-15 2020-07-21 阿里巴巴集团控股有限公司 Method, device, terminal equipment and system for downloading resources
CN111585916A (en) * 2019-12-26 2020-08-25 国网辽宁省电力有限公司电力科学研究院 LTE electric power wireless private network task unloading and resource allocation method based on cloud edge cooperation
CN111651246A (en) * 2020-04-24 2020-09-11 平安科技(深圳)有限公司 Task scheduling method, device and scheduler between terminal and server
CN112148454A (en) * 2020-09-29 2020-12-29 行星算力(深圳)科技有限公司 Edge computing method supporting serial and parallel and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037318A (en) * 2007-07-31 2009-02-19 Toshiba Corp Information communication system and data sharing method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387173A (en) * 2010-09-01 2012-03-21 中国移动通信集团公司 MapReduce system and method and device for scheduling tasks thereof
CN106598743A (en) * 2016-12-30 2017-04-26 重庆邮电大学 Attribute reduction method for information system based on MPI parallel solving
KR20180119905A (en) * 2017-04-26 2018-11-05 에스케이텔레콤 주식회사 Application excution system based on distributed cloud, apparatus and control method thereof using the system
CN109189571A (en) * 2018-07-30 2019-01-11 南京邮电大学 Calculating task dispatching method and system, fringe node, storage medium and terminal
CN109815011A (en) * 2018-12-29 2019-05-28 东软集团股份有限公司 A kind of method and apparatus of data processing
CN111435946A (en) * 2019-01-15 2020-07-21 阿里巴巴集团控股有限公司 Method, device, terminal equipment and system for downloading resources
CN111585916A (en) * 2019-12-26 2020-08-25 国网辽宁省电力有限公司电力科学研究院 LTE electric power wireless private network task unloading and resource allocation method based on cloud edge cooperation
CN111427679A (en) * 2020-03-25 2020-07-17 中国科学院自动化研究所 Computing task scheduling method, system and device facing edge computing
CN111651246A (en) * 2020-04-24 2020-09-11 平安科技(深圳)有限公司 Task scheduling method, device and scheduler between terminal and server
CN112148454A (en) * 2020-09-29 2020-12-29 行星算力(深圳)科技有限公司 Edge computing method supporting serial and parallel and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Y.-W.PeterHong,Wan-JenHuang,C.-C.JayKuo.《协作通信与网络技术与系统设计》.东南大学出版社,2014,第291页. *

Also Published As

Publication number Publication date
CN112749012A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN112749012B (en) Data processing method, device and system of terminal equipment and storage medium
US10993127B2 (en) Network slice instance management method, apparatus, and system
CN106897299B (en) Database access method and device
WO2016095524A1 (en) Resource allocation method and apparatus
CN104252390A (en) Resource scheduling method, device and system
CN110673948A (en) Cloud game resource scheduling method, server and storage medium
CN113419846B (en) Resource allocation method and device, electronic equipment and computer readable storage medium
CN111427551A (en) User code operation method of programming platform, equipment and storage medium
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN110633143A (en) Cloud game resource scheduling method, server and storage medium
CN108259568B (en) Task allocation method and device, computer readable storage medium and electronic equipment
CN114155026A (en) Resource allocation method, device, server and storage medium
CN112134964A (en) Controller distribution method, computer equipment, storage medium and network service system
CN112286688A (en) Memory management and use method, device, equipment and medium
CN110532060A (en) A kind of hybrid network environmental data collecting method and system
CN111611017B (en) Display card selection method and related device
CN104572276A (en) Cloud-computation-based concurrent data processing method
CN112437449A (en) Joint resource allocation method and area organizer
CN103761192A (en) Internal memory distributing method and device
KR20070056311A (en) Method for distributed processing of data in mobile communication terminal and distributed system
CN117632457A (en) Method and related device for scheduling accelerator
CN114661465A (en) Resource management method, device, storage medium and electronic equipment
CN110046040B (en) Distributed task processing method and system and storage medium
CN114489978A (en) Resource scheduling method, device, equipment and storage medium
CN115915289A (en) Method, device, network element and medium for determining strategy or allocating resources of computing task

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