CN112749012A - 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
CN112749012A
CN112749012A CN202110055381.3A CN202110055381A CN112749012A CN 112749012 A CN112749012 A CN 112749012A CN 202110055381 A CN202110055381 A CN 202110055381A CN 112749012 A CN112749012 A CN 112749012A
Authority
CN
China
Prior art keywords
data
divided data
edge node
idle
terminal device
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.)
Pending
Application number
CN202110055381.3A
Other languages
Chinese (zh)
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.)
STATE GRID JILINSHENG ELECTRIC POWER SUPPLY Co ELECTRIC POWER RESEARCH INSTITUTE
Institute of Microelectronics of CAS
State Grid Corp of China SGCC
State Grid Information and Telecommunication 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
STATE GRID JILINSHENG ELECTRIC POWER SUPPLY Co ELECTRIC POWER RESEARCH INSTITUTE
Institute of Microelectronics of CAS
State Grid Corp of China SGCC
State Grid Information and Telecommunication 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 STATE GRID JILINSHENG ELECTRIC POWER SUPPLY Co ELECTRIC POWER RESEARCH INSTITUTE, Institute of Microelectronics of CAS, State Grid Corp of China SGCC, State Grid Information and Telecommunication 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 STATE GRID JILINSHENG ELECTRIC POWER SUPPLY Co ELECTRIC POWER RESEARCH INSTITUTE
Priority to CN202110055381.3A priority Critical patent/CN112749012A/en
Publication of CN112749012A publication Critical patent/CN112749012A/en
Pending legal-status Critical Current

Links

Images

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

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 partitioned data; determining that data processing is complete in a case where it is determined that processed data corresponding to each of the divided data is received. The plurality of edge nodes are configured near the terminal equipment, the tasks to be processed are divided into a plurality of subtasks according to the number of the configured edge nodes, and task distribution is carried out according to the running state of the edge nodes, so that the operation pressure of the terminal equipment is effectively shared, meanwhile, the tasks to be processed are processed in parallel, 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, more and more functions are configured on the mobile terminal devices, however, due to the requirement of portability characteristics of the mobile terminal devices, the weight and the volume of the mobile terminal devices cannot be increased infinitely, so that the configuration of the mobile terminal is limited, and the computing capability thereof is also limited, thereby forming a contradiction with the increasing functional requirements.
In order to solve the above technical problem, a concept of edge calculation is proposed. In the prior art, a plurality of edge nodes are configured near a mobile terminal device, each edge node is configured with an edge server, and the mobile terminal device can distribute a task to be processed to the edge nodes for processing through wireless communication, and then send the task to the mobile terminal device after 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 is to designate an edge node to be sent for an allocated task, and once the processing progress of the edge node is slow or the processing capability is insufficient, the overall processing progress of the task to be processed of the mobile terminal device is delayed, the data processing capability is reduced, and the user experience is reduced.
Disclosure of Invention
In order to solve the technical problems in the prior art, embodiments of the present invention provide a data processing method for a terminal device, where a plurality of edge nodes are configured in the terminal device, and the terminal device may allocate data to be processed according to an operation state of each edge node, so as to effectively ensure data processing efficiency of the terminal device, reduce data processing delay, and improve user experience.
In order to achieve the above object, an embodiment of the present invention provides a data processing method for a terminal device, which is applied to the terminal device, and the method includes: 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 partitioned data; determining that data processing is complete in a case where it is determined that processed data corresponding to each of the divided data is received.
Preferably, the dividing the data to be distributed 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 an idle running state; and dividing the data to be distributed based on the number to obtain a plurality of corresponding divided data.
Preferably, the performing an allocation operation on the divided data includes: taking all edge nodes with the running state of idle state as idle edge nodes; and sequentially distributing each divided data to the idle edge nodes.
Preferably, the sequentially allocating each 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 idle edge node is acquired or not; under the condition that the receiving completion information is acquired, stopping distributing the first divided data; 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 method for a terminal device, which is applied to an edge node, and the method includes: acquiring the distributed 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 are obtained, judging whether the divided data are received or not; under the condition that the divided data are determined to be received, switching the current operation 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, an embodiment of the present invention further provides a data processing apparatus for 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 configured to perform an allocation operation on the plurality of divided data; 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 state being an idle state; and 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 status, and the allocating unit includes: an idle node acquisition module, configured to use all edge nodes with an idle running state 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 idle edge node is acquired or not; under the condition that the receiving completion information is acquired, stopping distributing the first divided data; 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 for a terminal device, which is applied to an edge node, where the apparatus includes: the acquisition unit is used for acquiring the allocated divided data; the data processing unit is used for executing data processing operation on the divided data to generate 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 or not after the distributed divided data is obtained; the first feedback module is used for switching the current operation state into a working state and feeding back corresponding receiving success information under the condition of determining that the divided data is 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 is generated.
On the other hand, the embodiment of the invention also provides a data processing system of the terminal device, and the system comprises the terminal device and a plurality of edge nodes arranged near the terminal device.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method provided by the embodiment of the present invention.
Through the technical scheme provided by the invention, the invention at least has the following technical effects:
by configuring a plurality of edge nodes near the terminal device, the terminal device can divide the task to be processed into a plurality of subtasks according to the number of the configured edge nodes, and allocate the subtasks to a plurality of corresponding idle edge nodes according to the running state of the edge nodes, so that the task to be processed is processed in parallel on the basis of effectively sharing the operation pressure of the terminal device, thereby effectively improving the data processing efficiency of the terminal device, reducing the data processing pressure and the data processing delay of the terminal device, 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, which are included to provide a further understanding of the 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 the embodiments of the invention without limiting 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 a data processing method of a terminal device according to an 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 solve the technical problems in the prior art, embodiments of the present invention provide a data processing method for a terminal device, where a plurality of edge nodes are configured in the terminal device, and the terminal device may allocate data to be processed according to an operation state of each edge node, so as to effectively ensure data processing efficiency of the terminal device, reduce data processing delay, and improve user experience.
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
The terms "system" and "network" in embodiments of the present invention may be used interchangeably. The "plurality" means two or more, and in view of this, the "plurality" may also be understood as "at least two" in the embodiments of the present invention. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified. In addition, it should be understood that the terms first, second, etc. in the description of the embodiments of the invention are used for distinguishing between the descriptions and are not intended to indicate or imply relative importance or order to be construed.
Referring to fig. 1, an embodiment of the present invention provides a data processing method for a terminal device, where the method 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 a case where it is determined that the processed data corresponding to each of the divided data is received, determining that the data processing is completed.
In a possible implementation manner, a plurality of edge nodes are configured near the terminal device, for example, in an 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 band, and the like, and in the process of data processing by the terminal device, in order to reduce the requirement on the computing capability of the terminal device and improve the data processing capability of the terminal device, the terminal device is wirelessly connected to the plurality of edge nodes. For example, in the process of processing a certain task, the terminal device may use data that needs to be processed by the task as data to be allocated, further obtain preset edge node information of the connected edge nodes, and then divide the data to be allocated according to the preset edge node information, for example, average division may be performed according to the data amount of the data to be allocated and the number of the connected edge nodes, and of course, division manners such as division according to the number of subtasks included in the data to be allocated and the number of edge nodes may also be adopted, which should be easily thought of by those skilled in the art according to the embodiment of the present invention, and therefore should belong to the protection range of the embodiment of the present invention, and redundant description is not repeated here.
For example, in the embodiment of the present invention, the divided data may be sequentially allocated to corresponding edge nodes, the edge nodes feed back corresponding reception completion information to the terminal device after receiving the divided data, and start to process the received divided data, and after the processing is completed, feed back the processing completion information and the corresponding processed data 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 whether the processed data corresponding to each divided data is acquired in real time, and determines that the processing of the data is completed under the condition that all the processed data are acquired.
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 the corresponding plurality of subtasks, and the task distribution is carried out on each subtask, thereby on one hand, the data processing capacity of the terminal equipment is expanded through the edge nodes, on the other hand, the data processing efficiency of the edge nodes is greatly improved through 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 the 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 the running state being an idle state;
s23) dividing the data to be distributed based on the number to obtain a plurality of corresponding divided data.
In a possible implementation manner, after configuring edge nodes, first initializing each edge node, and setting the operating state of each edge node to be an idle state, after the terminal device is connected to an edge node, obtaining preset edge node information, for example, encoding each edge node in the preset edge node information, for example, there are N edge nodes in total, where the encoding of each edge node is E1,E2,…,ENAt this time, the terminal device may divide the data to be distributed according to the number of the edge nodes, and obtain N pieces of corresponding divided data, where a total data amount of the N pieces of divided data is equal to a data amount of the data to be distributed.
In an actual application process, the edge nodes may be occupied by other terminal devices, and therefore, in order to further improve the accuracy of data partitioning, the current terminal device first obtains the operating state of each edge node according to the preset edge node information, for example, in the embodiment of the present invention, M edge nodes of the N edge nodes are in an idle state, and the rest are in a working state, where M is less than N, and therefore, the 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 this embodiment of the present invention, the performing an allocation operation on the divided data includes: taking all edge nodes with the running state of idle state as idle edge nodes; and sequentially distributing each divided data to the idle edge nodes.
Further, in this embodiment of the present invention, the sequentially allocating each 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 idle edge node is acquired or not; under the condition that the receiving completion information is acquired, stopping distributing the first divided data; 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 data to be allocated is divided and M pieces of divided data corresponding to edge nodes are obtained, the divided data are initially allocated to each edge node1When the edge node is in an idle state, whether the allocated divided data is acquired is judged in real time, and after the allocated divided data is determined to be acquired, whether the first divided data is received is further judged, for example, at a certain moment, E1The edge node determines to receive the first divided data, so that the current running state of the edge node is switched to a working state, corresponding receiving completion information is generated and fed back at the same time, the first divided data is immediately processed, and the terminal device judges whether the receiving completion information fed back by any edge node is obtained or not after executing the distribution operation1The edge node feeds back the receiving success information and determines that the divided data is sent to E1The edge node, therefore, stops distributing the first divided data, and other edge nodes except the first edge node stop receiving the first divided data.
And then the terminal device further continues to perform the allocation operation on other divided data except the first divided data, for example, re-acquires the edge node whose operating state is an idle state, takes the edge node currently in the idle state as an idle edge node, further allocates the second divided data to each idle edge node for data processing, and repeats the above steps until all the divided data are allocated to the corresponding idle edge nodes for data processing.
In the embodiment of the invention, the actual data processing condition of the edge node is obtained by processing the feedback information according to the data 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 invention, the total data amount of the data to be distributed is C, after the data to be distributed is divided into M parts, each part of divided data is respectively Ci(i-1, 2, …, M), after sending each piece of divided data to the edge node, the terminal device monitors in real time whether the divided data C fed back by the edge node is obtained or notiCorresponding processed data, and receiving each divided data CiAnd under the condition of corresponding processed data, determining that the data to be distributed is processed, namely, finishing the data processing of the task.
In the embodiment of the invention, the data processing task of the terminal equipment is simultaneously distributed to the plurality of idle edge nodes, so that on one hand, the same task can be subjected to faster data processing in a parallel processing mode, the data processing speed is effectively improved, and on the other hand, the data processing capacity requirement on the terminal equipment is transferred to the plurality of edge nodes, so that the data processing capacity of the terminal equipment is effectively improved, and the actual use requirement of a user is met.
Further, referring to fig. 3, an embodiment of the present invention further provides a data processing method for a terminal device, which is applied to an edge node, where the method includes:
s100) acquiring the distributed divided data;
s200) executing 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 are obtained, judging whether the divided data are received or not; under the condition that the divided data are determined to be received, switching the current operation 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 an embodiment of the present invention, the edge server may be an offline server or a cloud server that is connected to the terminal device in a wired or wireless manner and has certain data operation and storage capabilities, 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 which state, the terminal device may allocate the divided data to the edge node, after the allocated divided data is obtained, the current edge node immediately processes the divided data and switches the current operation state to an operation state and feeds back corresponding reception completion information 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 stop receiving the divided data, and the terminal device may further allocate the other divided data to other idle edge nodes 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 device to inform the terminal device that the divided data is processed, the terminal device 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 subsequent data for processing.
In the embodiment of the invention, the extra edge server is configured near the terminal equipment, so that the processing task of the terminal equipment is reasonably shared, the requirement of increasing functional requirements on the computing capacity of the terminal equipment is greatly reduced, the computing burden of the terminal equipment is effectively reduced, and the actual requirements of users are met.
Correspondingly, referring to fig. 4, an embodiment of the present invention further provides a data processing apparatus for 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 configured to perform an allocation operation on the plurality of divided data; 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 state being an idle state; and 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 status, and the allocating unit includes: an idle node acquisition module, configured to use all edge nodes with an idle running state 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 idle edge node is acquired or not; under the condition that the receiving completion information is acquired, stopping distributing the first divided data; 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 for a terminal device, which is applied to an edge node, where the apparatus includes: the acquisition unit is used for acquiring the allocated divided data; the data processing unit is used for executing data processing operation on the divided data to generate 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 or not after the distributed divided data is obtained; the first feedback module is used for switching the current operation state into a working state and feeding back corresponding receiving success information under the condition of determining that the divided data is 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 is generated.
Further, an embodiment of the present invention further provides a data processing system for a terminal device, where the system includes the terminal device and a plurality of edge nodes disposed near the terminal device.
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 according to the embodiment of the present invention.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solutions of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications all belong to the protection scope of the embodiments of the present invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention do not describe every possible combination.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.

Claims (14)

1. A data processing method of a terminal device is applied to the terminal device, and is characterized by comprising 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 partitioned data;
determining that data processing is complete in a case where it is determined that processed data corresponding to each of the divided data is received.
2. The method according to claim 1, wherein the dividing the data to be distributed based on the preset edge node information to obtain a plurality of divided data comprises:
acquiring the running state of each edge node based on the preset edge node information;
acquiring the number of edge nodes with an idle running state;
and dividing the data to be distributed based on the number to obtain a plurality of corresponding divided data.
3. The method of claim 2, wherein the performing the allocation operation on the partitioned data comprises:
taking all edge nodes with the running state of idle state as idle edge nodes;
and sequentially distributing each divided data to the idle edge nodes.
4. The method of claim 3, wherein said sequentially allocating each of the partitioned data to the free edge nodes comprises:
distributing first divided data in the divided data to each idle edge node;
judging whether receiving completion information fed back by any one idle edge node is acquired or not;
under the condition that the receiving completion information is acquired, stopping distributing the first divided data;
and continuing to execute the distribution operation on the rest of the divided data except the first divided data.
5. A data processing method of a terminal device is applied to an edge node, and is characterized in that the method comprises the following steps:
acquiring the distributed divided data;
executing data processing operation on the divided data to generate processed data;
and feeding back the processed data.
6. The method of claim 5, further comprising:
after the distributed divided data are obtained, judging whether the divided data are received or not;
under the condition that the divided data is determined to be received, switching the current operation state into a working state and feeding back corresponding receiving success information; and
and after the processed data is generated, switching the current running state into an idle state and feeding back corresponding processing completion information.
7. A data processing device of a terminal device is applied to the terminal device, and is characterized by comprising:
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 configured to perform an allocation operation on the plurality of divided data;
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.
8. The apparatus of claim 7, 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 state being an idle state;
and the dividing module is used for dividing the data to be distributed based on the quantity to obtain a plurality of corresponding divided data.
9. The apparatus of claim 8, wherein the allocation unit comprises:
an idle node acquisition module, configured to use all edge nodes with an idle running state as idle edge nodes;
and the distribution module is used for sequentially distributing each divided data to the idle edge nodes.
10. The apparatus of claim 9, wherein the assignment 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 idle edge node is acquired or not;
under the condition that the receiving completion information is acquired, stopping distributing the first divided data;
and continuing to execute the distribution operation on the rest of the divided data except the first divided data.
11. A data processing device of a terminal device, applied to an edge node, the device comprising:
the acquisition unit is used for acquiring the allocated divided data;
the data processing unit is used for executing data processing operation on the divided data to generate processed data;
and the feedback unit is used for feeding back the processed data.
12. The apparatus of claim 11, wherein the data processing unit further comprises:
the judging module is used for judging whether to accept the divided data after the allocated divided data are acquired;
the first feedback module is used for switching the current operation state into a working state and feeding back corresponding receiving completion information under the condition of determining that the divided data is received; and
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 is generated.
13. A data processing system of a terminal device is characterized by comprising the terminal device and a plurality of edge nodes arranged near the terminal device.
14. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 6.
CN202110055381.3A 2021-01-15 2021-01-15 Data processing method, device and system of terminal equipment and storage medium Pending CN112749012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110055381.3A CN112749012A (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 CN112749012A (en) 2021-01-15 2021-01-15 Data processing method, device and system of terminal equipment and storage medium

Publications (1)

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

Family

ID=75652121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110055381.3A Pending CN112749012A (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) CN112749012A (en)

Cited By (2)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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: "《协作通信与网络技术与系统设计》", 东南大学出版社, pages: 291 *

Cited By (4)

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

Similar Documents

Publication Publication Date Title
US10993127B2 (en) Network slice instance management method, apparatus, and system
CN109660376B (en) Virtual network mapping method, equipment and storage medium
CN103440202B (en) A kind of communication means based on RDMA, system and communication equipment
EP3817507A1 (en) Configuration method and device
CN105791254B (en) Network request processing method and device and terminal
CN112749012A (en) Data processing method, device and system of terminal equipment and storage medium
CN106776002B (en) Communication method and device for virtualized hardware architecture of FPGA
CN112134964B (en) Controller distribution method, computer equipment, storage medium and network service system
CN111338779B (en) Resource allocation method, device, computer equipment and storage medium
CN105354147A (en) Memory pool management method and management system
CN111427551A (en) User code operation method of programming platform, equipment and storage medium
CN114155026A (en) Resource allocation method, device, server and storage medium
CN105393590B (en) Terminal equipment and D2D resource management method
CN110007867B (en) Cache space allocation method, device, equipment and storage medium
CN116185623A (en) Task allocation method and device, electronic equipment and storage medium
CN112422251B (en) Data transmission method and device, terminal and storage medium
CN110489356B (en) Information processing method, information processing device, electronic equipment and storage medium
CN112437449A (en) Joint resource allocation method and area organizer
CN104572276A (en) Cloud-computation-based concurrent data processing method
CN111382141A (en) Master-slave architecture configuration method, device, equipment and computer readable storage medium
CN104184685A (en) Data center resource allocation method, device and system
US11349540B2 (en) Beam allocation method and apparatus
CN112996112B (en) Frequency domain resource allocation method, device, electronic equipment and storage medium
CN110046040B (en) Distributed task processing method and system and storage medium
WO2016184166A1 (en) Method and apparatus for allocating carrier aggregation bandwidth

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