Internet big data intelligent processing method and device based on edge computing, computer equipment and medium
By considering the physical location, computing power and storage capacity of edge nodes for grouping, and using neural networks to determine the proportion of data volume, the problem of low data processing efficiency in edge computing is solved, achieving more efficient and accurate data processing and real-time response.
Patent Information
- Application Number
- CN202410738405.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
AI Technical Summary
Existing edge computing methods have deficiencies in data processing efficiency, resulting in low reliability of calculation results, uneven computing load and poor real-time performance of data synchronization, which affects the efficiency of the overall computing task.
By grouping edge nodes according to their physical location, computing power indicators and storage capacity, selecting the node closest to the data source as the target node, and using the supervision neural network and allocation neural network to determine the proportion of data volume that each node needs to process, realizing data Reasonable distribution and summary of processing results.
It improves the efficiency and response speed of edge computing, ensures the accuracy and real-time nature of data processing, and improves the completion speed of overall computing tasks.
Smart Images

Figure CN118733256A_ABST
Abstract
Description
Technical Field
[0001] The present invention is applicable to the field of data processing, and in particular relates to an edge computing-based Internet big data intelligent processing method, device, computer equipment and medium. Background Art
[0002] Edge computing refers to a computing mode that performs data processing such as computing, storage, and control at the edge of the network close to the physical entity or data source. It has the characteristics of high processing agility and business intelligence. Compared with cloud computing, which requires transferring the data to be processed to the cloud, it can effectively reduce the pressure of data transmission, has higher efficiency in real-time processing, and makes the response to users faster. It has been widely used in smart homes, autonomous driving, industrial Internet of Things, medical and health care, and many other fields.
[0003] However, the computing and storage capabilities of the network edge side, or edge nodes, have an upper limit, which leads to problems in data storage and management of edge nodes, and further affects the reliability of the processing results of edge nodes. Moreover, the task allocation method of selecting edge nodes nearby will lead to uneven computing loads on edge nodes, and the data processing efficiency under the overall edge computing architecture is low. In addition, the different computing time of edge nodes after task allocation will also lead to poor real-time data synchronization, which means that the overall computing task needs to wait for the completion of the calculation of some edge nodes, which also affects the data processing efficiency of edge computing.
[0004] Therefore, the existing edge computing methods still have technical problems in that data processing efficiency needs to be further improved. Summary of the invention
[0005] In view of this, the embodiments of the present invention provide an Internet big data intelligent processing method, device, computer equipment and medium based on edge computing to solve the problem of low efficiency of current edge computing.
[0006] In a first aspect, a method for intelligent processing of Internet big data based on edge computing is provided, the method comprising:
[0007] Determine the node group to which each edge node belongs according to the physical location, computing power index and storage capacity of each edge node, select the edge node closest to the data source as the target node, and record the node group to which the target node belongs as the target group;
[0008] Determine the proportion of the amount of data that needs to be processed by each edge node in the target group according to the computing power index, storage capacity and distance between each edge node in the target group and the target node;
[0009] The target node determines the amount of data to be processed to be sent to the corresponding edge node in the target group according to the total amount of data to be processed in the data source and each of the ratios, receives data processing results of each edge node in the target group, summarizes the results and returns them to the data source.
[0010] In a second aspect, an Internet big data intelligent processing device based on edge computing is provided, the device comprising:
[0011] The edge node selection module is used to determine the node group to which each edge node belongs according to the physical location, computing power index and storage capacity of each edge node, select the edge node closest to the data source as the target node, and record the node group to which the target node belongs as the target group;
[0012] A to-be-processed data allocation module, used to determine the proportion of the amount of data that needs to be processed by each edge node in the target group according to the computing power index, storage capacity and distance between each edge node in the target group and the target node;
[0013] The data distribution processing module is used for the target node to determine the amount of data to be processed to be sent to the corresponding edge node in the target group according to the total amount of data to be processed in the data source and each of the ratios, and to receive the data processing results of each edge node in the target group, summarize the results and return them to the data source.
[0014] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for intelligent processing of Internet big data based on edge computing as described in the first aspect is implemented.
[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the edge computing-based Internet big data intelligent processing method as described in the first aspect is implemented.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] In the process of selecting edge nodes for data processing tasks generated by responding to data sources, the present invention first groups all edge nodes according to the actual distribution of edge nodes. Then, in the process of classifying edge nodes into various groups, computing power indicators and storage capacity are additionally considered based on the location information of edge nodes, so that compared with edge nodes selected only based on location information, more reasonable edge nodes with higher edge computing efficiency can be obtained. Subsequently, when determining the specific amount of data to be processed for each edge node selected to respond to data processing tasks, the present invention adopts a supervised neural network and an allocation neural network to achieve allocation implementation under the condition of taking into account multiple numbers of edge nodes and real-time and fast requirements of edge computing. Under this premise of taking into account, the accurate allocation of the amount of data to be processed by each edge node is completed by additionally considering multiple attribute information of the edge nodes, thereby further improving the efficiency of edge computing. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 This is a schematic diagram of an application environment of an Internet big data intelligent processing method based on edge computing provided in Embodiment 1 of the present invention;
[0020] Figure 2 This is a flow chart of an Internet big data intelligent processing method based on edge computing provided in Embodiment 1 of the present invention;
[0021] Figure 3 is a flowchart of a specific method for determining the node group to which each edge node belongs provided by Embodiment 2 of the present invention;
[0022] Figure 4 It is a flowchart of a specific method for determining the proportion of the amount of data that each edge node in the target group needs to process, provided in the third embodiment of the present invention;
[0023] Figure 5 It is a structural diagram of an Internet big data intelligent processing device based on edge computing provided in Embodiment 4 of the present invention;
[0024] Figure 6 It is a structural diagram of a computer device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0025] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0026] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0027] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0028] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.
[0029] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0030] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0031] The embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0032] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0033] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0034] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0035] The first embodiment of the present invention provides an Internet big data intelligent processing method based on edge computing, which can be applied in the following aspects: Figure 1 In an application environment, a client communicates with a server. The client includes but is not limited to a PDA, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cloud terminal device, a personal digital assistant (PDA), and other terminal devices. The server can be implemented by an independent server or a server cluster consisting of multiple servers.
[0036] See also Figure 2 , is a flow chart of an Internet big data intelligent processing method based on edge computing provided by the first embodiment of the present invention. The Internet big data intelligent processing method based on edge computing can be applied to Figure 1 The client in the client, the terminal device corresponding to the client connects to the target database through a preset application programming interface (Application Programming Interface, API). When the target data is driven to execute the corresponding task, a corresponding task log will be generated, and the above task log can be collected through the API.
[0037] The above-mentioned Internet big data intelligent processing method based on edge computing can also be applied to Figure 1 The server in the server, the computer device corresponding to the server is connected to the corresponding database, rule base, etc. to obtain the corresponding data in the database. The above-mentioned computer device can also be connected to the client to collect data and control instructions sent by the client user.
[0038] like Figure 2 As shown, the first embodiment of the present invention, the Internet big data intelligent processing method based on edge computing may include the following steps:
[0039] S101, determine the node group to which each edge node belongs according to the physical location, computing power index and storage capacity of each edge node, select the edge node closest to the data source as the target node, and record the node group to which the target node belongs as the target group.
[0040] The existing edge computing has low efficiency due to its unreasonable selection of edge nodes near the data source that generates the data to be calculated, and the inappropriate allocation ratio of the data processing amount of each selected edge node. To this end, this embodiment first provides a method concept for how to more reasonably and effectively select which edge nodes near the data source to process the data to be processed in the data source.
[0041] Specifically, unlike the existing edge computing method that only considers the difference in physical distance between each edge node and the data source and selects a certain number of edge nodes nearby, this embodiment, while considering the physical location of each edge node, also considers the actual computing power of the edge node and the storage capacity for caching the data to be processed, or the storage capacity, which will also directly affect the processing speed of the data to be processed assigned to it, thereby affecting the time spent on processing.
[0042] Therefore, this embodiment considers each edge node based on its physical location, computing power index and storage capacity. It is easy to understand that in other embodiments, the attribute categories of the above-mentioned edge nodes can be additionally added or removed, such as additionally considering the transmission bandwidth of the edge node, or not considering the storage capacity, and so on.
[0043] After considering the physical location, computing power index and storage capacity of each edge node simultaneously instead of considering it only based on the physical distance of the edge node, this embodiment first clusters all edge nodes according to the physical location of each edge node, and corrects the clustering process with the computing power index and storage capacity of the edge nodes in the process of classifying all edge clusters into different node groups.
[0044] The reason why all edge nodes are first divided into different node groups is that the distribution of edge nodes is relatively scattered. In order to better determine which edge nodes can prepare for data processing responses to a certain data source, this embodiment first groups nodes according to the above three attributes of edge nodes, so that in the actual response process, the specific edge node selection for the data processing task corresponding to the data source can be completed according to the node group to which the edge node closest to the data source belongs, thereby improving the response speed. For ease of distinction, the node group that responds to the data source is recorded as the target group. The process of selecting the target group is specifically to first determine the edge node closest to the data source as the target node, and then determine the node group to which the target node belongs as the target group.
[0045] S102, determining the proportion of the amount of data that each edge node in the target group needs to process according to the computing power index, storage capacity and distance between each edge node in the target group and the target node.
[0046] Each edge node in the target group is all edge nodes that need to complete the data to be processed generated by the data source. Also, considering that the different distances from the data source, computing power and storage capacity of each edge node will affect the time it takes to complete the data processing response, and the data to be processed generated by the data source is generally distributed and the processing results are summarized with the help of the edge node closest to it, this step of the present embodiment combines the computing power indicators, storage capacity and distance between each edge node in the target group and the target node to consider the different time taken by each edge node in the target group to process the same amount of data. In this way, the different lengths of time taken by each edge node to process the same amount of data are used, and the optimal expectation is that all edge nodes have the same processing time in the process of responding to the data processing task of the data source, to determine the proportion of the amount of data that needs to be processed by each edge node in the target group.
[0047] This ratio is actually the ratio between the amount of data processed by each edge node in the target group, or the proportion of the amount of data to be processed by each edge node in the target group relative to the total amount of data to be processed.
[0048] S103, the target node determines the amount of data to be processed to be sent to the corresponding edge node in the target group according to the total amount of data to be processed in the data source and each of the ratios, receives data processing results of each edge node in the target group, summarizes the results and returns them to the data source.
[0049] After determining the proportion of the amount of data that needs to be processed by each edge node in the target group, the target node can determine the specific amount of data to be processed by each edge node according to the specific total amount of data to be processed obtained from the data source and the proportion corresponding to each edge node, and then split the specific amount of data to be processed from the total amount of data to be processed and distribute it to the edge nodes. After each edge node completes its own data processing task and returns the processing result to the target node, the target node summarizes the processing result and returns it to the data source, finally completing the edge computing process of the data to be processed generated by the data source.
[0050] The edge computing method of this embodiment additionally considers the computing power index and storage capacity of the edge nodes based on the physical location information of the edge nodes, and pre-groups all edge nodes according to these three attribute information to improve the specific selection speed of edge nodes in the process of responding to data source computing tasks, improve the response speed, and then after determining the selected edge nodes, use the above three attributes again to consider the time difference consumed by each edge node to process the same amount of data, or to consider the amount of data processed by each edge node in the same time more reasonably and accurately, so as to determine a more reasonable data allocation ratio for each selected edge node when processing the to-be-processed data generated by the data source, improve data processing efficiency, and ultimately improve edge computing efficiency from two aspects.
[0051] like Figure 3 As shown, the second embodiment of the present invention provides a flow chart of a specific method for determining the node group to which each edge node belongs in step S101. The method includes:
[0052] Step S201, based on the physical location of each edge node, cluster all edge nodes without specifying the number of clusters to obtain several cluster clusters, record the edge node closest to the cluster center in each cluster cluster as a basic node, and after each basic node is divided into different temporary groups, each basic node is recorded as a grouped node, and the edge nodes other than the grouped nodes are recorded as ungrouped nodes.
[0053] Since in actual scenarios, the specific physical location of each edge node is not fixed, or the distribution of which part of all edge nodes is dense and which part is sparse is not fixed or has a predictable pattern, this embodiment preferably first clusters all edge nodes according to their physical locations without specifying the number of clusters, so as to achieve specific grouping under the premise of adapting to the actual distribution of edge nodes, thereby improving the rationality of grouping. The clustering method without specifying the number of clusters can adopt any existing one, and this embodiment preferably adopts the DBSCAN clustering method to complete it.
[0054] After the clustering is determined, since the clustering process at this time only relies on the physical location information of each edge node, the classification basis of the edge nodes in each cluster is only the physical location. However, as described in the above embodiment, it is not reasonable and accurate to classify and divide based on the physical location information alone. Therefore, after the clustering is completed, this embodiment does not directly divide the edge nodes in each cluster into the same group, but only selects the edge nodes closest to the cluster center in each cluster as the basic nodes, which are first used as the basic basis for grouping and dividing all edge nodes in this embodiment. The cluster center can be determined by the average position of the physical positions of each edge node in the cluster.
[0055] After determining each basic node, it is easy to understand that the number of basic nodes corresponds to the number of clusters, and the number of clusters corresponds to the number of groups to be actually divided in the end. Therefore, each basic node is first classified into different temporary groups and then the basic nodes are recorded as grouped nodes, and the edge nodes outside the grouped nodes are recorded as ungrouped nodes.
[0056] Step S202, calculate the initial distance from any ungrouped node to each temporary group, multiply the initial distance by the distance correction weight of the corresponding temporary group to obtain the corrected distance, add the ungrouped node to the temporary group corresponding to the minimum corrected distance, and then update the ungrouped node to a grouped node. The distance correction weight is proportional to the computing power index and storage capacity of each edge node in the corresponding temporary group.
[0057] For a temporary group, the distance difference between an ungrouped node and each grouped node in the temporary group is calculated, and then all the distance differences are averaged and the average is used as the initial distance from the ungrouped node to the temporary group. However, as described in the above embodiment, it is not accurate to determine the deviation between different edge nodes or an edge node to a certain edge node cluster only by using physical location information, so this embodiment also constructs a distance correction weight for the temporary group that is proportional to the computing power index and storage capacity of each edge node in the temporary group.
[0058] The essential construction logic of the distance correction weight of this temporary group is that the ultimate goal of grouping all edge nodes is to make the overall computing power indicators and overall storage capacity of each group as close as possible, so that when facing data processing tasks of data sources in different locations, there will be as close as possible response capabilities, thereby improving the load balancing of the entire edge node cluster to improve edge computing efficiency. Therefore, when deciding which temporary group to assign an ungrouped node to, it is also necessary to consider the overall strength of the computing power indicators and storage capacity currently possessed by each temporary group to correct the initial distance from the ungrouped node to each temporary group, so as to complete a more balanced and reasonable edge node grouping classification.
[0059] There are various methods for constructing distance correction weights that are proportional to the computing power index and storage capacity of each edge node in the corresponding temporary group. This embodiment provides a preferred construction method:
[0060]
[0061] Among them, α is the distance correction weight of the temporary group, e represents the natural constant, R represents the normalized value of the mean value of the computing power index of all edge nodes in the temporary group, S represents the normalized value of the mean value of the storage capacity of all edge nodes in the temporary group, k1 represents the first adjustment parameter, and k2 represents the second adjustment parameter.
[0062] Among them, the acquisition principle of parameter R is the same as that of parameter S. Taking parameter R as an example, its acquisition process is to determine the mean value of the computing power index of all edge nodes in each temporary group, and then take the ratio of the mean value of the computing power index corresponding to the current temporary group to the mean value of the maximum computing power index in each temporary group as the normalized value of the mean value of the computing power index of all edge nodes in the current temporary group. The acquisition principle of parameter S is the same. The first adjustment parameter and the second adjustment parameter are both values greater than 0, and they respectively correspond to the attention paid by the adjustment distance correction weight to the computing power index and storage capacity. The greater the attention, the larger the corresponding adjustment parameter can be set. In this embodiment, k1 and k2 are both set to 5. In other embodiments, the implementer can set the specific values of the first and second adjustment parameters according to the specific attention requirements for the computing power index and storage capacity.
[0063] After obtaining the distance correction weights of each temporary group, the initial distance from the ungrouped node to the temporary group is weightedly corrected using the distance correction weight of each temporary group to obtain the corrected distance. The ungrouped node is then added to the temporary group corresponding to the minimum corrected distance and updated to a grouped node, thereby completing the classification of the ungrouped node into groups.
[0064] Step S203, repeating the process of updating the ungrouped nodes to the grouped nodes until there are no ungrouped nodes, and recording each temporary group at this time as a node group.
[0065] According to the group classification method for ungrouped nodes in step S202, the grouping of all ungrouped nodes can be completed in sequence. After the grouping of all ungrouped nodes is completed, or when there are no ungrouped nodes, the temporary groups obtained at this time are actually the grouping contents obtained after all edge nodes have been grouped. Then, the temporary groups at this time are recorded as node groups.
[0066] This embodiment first determines the number of node groups to be divided by a clustering method that does not specify the number of clusters, so as to achieve specific grouping that can adapt to the actual distribution of edge nodes and improve the rationality of grouping. Then, in the process of dividing each ungrouped edge node into each node group, in addition to considering the distance from each ungrouped node to each node group, it also balances the levels of computing power indicators and storage capacity that each node group already has, so that the three parameters affecting the data processing speed, namely, computing power indicators, storage capacity, and distance from the data source between each node group obtained after the division are as close as possible at the comprehensive level, thereby maximizing the load balancing between different node groups, and finally improving the edge computing efficiency from the aspects of determining the number of node groups and the specific edge nodes contained in each node group.
[0067] like Figure 4 As shown, the third embodiment of the present invention provides a specific method for determining the proportion of the amount of data that each edge node in the target group needs to process in step S102, and the method includes:
[0068] Step S301, construct a first input matrix and a second input matrix, wherein each column of the first input matrix and the second input matrix corresponds to each edge node in the target group respectively, the only row of the first matrix corresponds to a preset ratio of the amount of data that each edge node in the target group needs to process, and the sum of all the preset ratios is 1, the first row of the second input matrix corresponds to the computing power index of each edge node in the target group, the second row of the second input matrix corresponds to the storage capacity of each edge node in the target group, and the third row of the second input matrix corresponds to the distance between each edge node in the target group and the target node.
[0069] The ultimate goal of this embodiment is to determine the relative amount of data that each edge node in the target group needs to process when facing the total amount of data to be processed based on the physical location information, computing power index information and storage capacity information of the edge nodes. Therefore, in order to determine this relative amount or proportion, it is necessary to first construct an initial first input matrix of the proportion of data processed by each edge node for training iteration, and construct a second input matrix for clarifying the edge node attributes that need to be considered during the iterative training process.
[0070] Since the second input matrix is used to assist the iteration of the first input matrix, it is easy to understand that the number of columns of the two should be the same, and each column corresponds to the same edge node in the target group. Assuming that there are A edge nodes in the target group, the first input matrix is 1*A in size, and in this embodiment, it is preferred to set the values of each element in the first input matrix to be Of course, in other embodiments, the specific values of each element in the first input matrix can be set to other values, and it is only necessary to ensure that the sum of each element is 1 and the corresponding total amount of data to be processed is exactly 100% allocated; the number of columns of the second input matrix is the same as the first input size, and the number of rows should be the same as the number of edge node attributes considered, and the number of attributes is recorded as B, then the size of the second input matrix should be B*A. It is particularly important to emphasize that, since the task allocation processing process needs to consider the transmission distance between the edge node and the target node closest to the data source, this embodiment specifically considers the three attributes of the edge node's computing power index, storage capacity, and distance from the target node. In this embodiment, the actual value of B is 3, that is, one row in the second input matrix represents the computing power index of each edge node in the target group, another row represents the storage capacity of each edge node in the target group, and the remaining last row represents the distance between each edge node in the target group and the target node.
[0071] Step S302, merging the first input matrix and the second input matrix row by row to form a reference matrix, constructing a to-be-trained allocation neural network having the same input size as the reference matrix and the same output size as the first input matrix, randomly generating a training input matrix with the same size as the first input matrix, merging the training input matrix and the second input matrix row by row and inputting them into the to-be-trained allocation neural network and outputting a training output matrix, constructing a pre-training loss function about the difference between the training input matrix and the training output matrix, training the to-be-trained allocation neural network with the pre-training loss function, and obtaining a pre-trained allocation neural network.
[0072] Considering that the number of edge nodes of the target group is different in different cases, and the input size of the neural network model usually needs to be fixed, it is impossible to use a fixed model to adapt to the first input matrix of different target groups. Therefore, the neural network used to assign tasks to each edge node in the current target group needs to be constructed in real time, but because edge computing has a high real-time requirement, the constructed neural network for task assignment needs to be quickly applied to the iterative task of the first input matrix. Therefore, this embodiment first pre-trains the training distribution neural network with the reconstruction task target. The input size of the training distribution neural network is the same as the reference matrix formed by merging the first input matrix and the second input matrix by row. Since the output result is to output the data processing ratio of each edge node in the target group, the output size of the training distribution neural network should be the same as the first input matrix. It is easy to understand that the size of the reference matrix is (B+1)*A.
[0073] By randomly changing the values of each element in the first input matrix, a large number of training input matrices can be obtained. The training input matrix and the second input matrix are also merged row by row and input into the distribution neural network to be trained to obtain the training output matrix. It is easy to understand that the training output matrix is the same size as the first input matrix, and each row corresponds to the same edge node. Then, by calculating the difference between the training output matrix and the first input matrix, a pre-training loss function that can be used to pre-train the distribution neural network to be trained can be obtained. In this embodiment, the preferred pre-training loss function is the mean square error between the training output matrix and the first input matrix. Based on the pre-training loss function, the pre-training of the distribution neural network to be trained can be completed to obtain the pre-trained distribution neural network. It is easy to understand that the training end condition should be the convergence of the pre-training loss function. Convergence can refer to the pre-training loss function no longer decreasing or the decrease in the number of consecutive set iterations is less than the set reduction threshold.
[0074] Pre-training of the allocation neural network enables the pre-trained allocation neural network to have basic reconstruction capabilities.
[0075] And, obviously, during the pre-training process, since the pre-training loss function represents the difference between the first input matrix and the training output matrix, the information in the second input matrix is not taken care of by the distribution neural network during the pre-training process. It can be considered that the information of the second input matrix has not been learned, and it is impossible to predict the data processing time of each edge node in the target group only through the distribution neural network after pre-training, and thus it is impossible to successfully obtain the proportion of the amount of data processed by each edge node in the target group. Therefore, it is also necessary to provide an additional supervisory neural network to act on the distribution neural network. The supervisory neural network needs to learn in advance the amount of data to be processed, the proportion of the amount of data that each edge node needs to process, and the correlation information between the attribute information of the edge node and the data processing time of the edge node, so as to supervise the iteration of the first input parameter.
[0076] It should be noted that the reason why the second input matrix and the first input matrix are merged row by row and called the reference matrix to be input into the to-be-trained assigned neural network when the information in the second input matrix will not be learned by the assigned neural network during the pre-training process is to keep the input size matching the input size of the to-be-trained assigned neural network.
[0077] Step S303, input any column of the reference matrix and the total amount of data to be processed into the trained supervised neural network to obtain the reference processing time corresponding to the column, input the reference matrix into the pre-trained distribution neural network to obtain a reference output, and construct a first loss function that characterizes the difference between the reference processing times corresponding to each column in the reference matrix, a second loss function that characterizes the difference between the storage capacity of each edge node in the target group and the amount of data processed by the edge node determined according to the reference output, and a third loss function that characterizes the difference between the sum of each element in the reference output and 1.
[0078] Specifically regarding the acquisition process of the supervised neural network described in step S302, first construct a sample column vector of (B+1)*1, in which each row in the sample column vector has the same content category as each row of the reference matrix, and each sample column vector corresponds to an edge node for completing the training. Then, a sample data amount with a known specific data amount is given, and the sample data amount and the corresponding sample column vector are input into the supervised neural network as input samples. The label corresponding to the input sample is a known processing time. The known processing time can be determined by actually transmitting and processing the sample data amount between the target node and the edge node corresponding to the input sample, or it can be calculated by the implementer through a theoretical formula.
[0079] After receiving the input sample, the supervised neural network outputs the corresponding processing time. The difference between the processing time output by the supervised neural network and the corresponding known processing time is used as the supervised network loss function to complete the training of the supervised neural network and obtain a trained supervised neural network.
[0080] As described in the previous steps, the purpose of constructing a supervised neural network is to introduce the amount of data to be processed, the proportion of the amount of data that each edge node needs to process, and the correlation information between the attribute information of the edge node and the data processing time of the edge node into the allocation neural network. The specific introduction method is to input any column of the reference matrix and the total amount of data to be processed into the trained supervised neural network to obtain the reference processing time corresponding to the column, and then construct a first loss function that characterizes the difference between the reference processing times corresponding to each column in the reference matrix.
[0081] At the same time, in the process of training iterations of the reference matrix input allocation neural network to determine the proportion of data that each edge node in the final available target group needs to process, it is also necessary to ensure that the actual amount of data to be processed that is ultimately allocated to each edge node does not exceed its storage capacity, and that the sum of the proportions of data that need to be processed that are allocated to each edge node is 1, that is, 100%.
[0082] To this end, we continue to construct a second loss function that characterizes the difference between the storage capacity of each edge node in the target group and the amount of data processed by the edge node determined according to the reference output, and a third loss function that characterizes the difference between the sum of the elements in the reference output and 1, and the sum of the first, second and third loss functions is used as the total loss function.
[0083] It is easy to understand that there are multiple specific construction methods for the first, second and third loss functions, and the operator can select any implementation method. This embodiment provides the following preferred construction method, wherein:
[0084] The first loss function L1 is the variance of the reference processing time corresponding to each column in the reference matrix. The so-called reference processing time corresponding to each column in the reference matrix refers to the reference processing time corresponding to the column obtained by inputting any column of the reference matrix and the total amount of data to be processed into the trained supervised neural network.
[0085] The role of the first loss function is to transfer the amount of data to be processed learned by the trained supervision model, the proportion of data that each edge node needs to process, and the correlation information between the attribute information of the edge nodes and the data processing time of the edge nodes to the allocation neural network.
[0086] The second loss function is:
[0087]
[0088] Wherein, L2 is the second loss function, A is the number of edge nodes in the target group, o a is the element corresponding to the ath edge node in the reference output, D is the total amount of data to be processed in the data source, c a is the storage capacity of the ath edge node in the reference matrix, z1 is the first attention adjustment parameter, max(0, o a *Dc a ) means to select 0 and o a *Dc a The maximum value in .
[0089] The second loss function is used to constrain the amount of data received by the edge node to not exceed its storage capacity information. The reason for its construction is that when receiving part of the data to be processed, the edge node may be in a computing state. At this time, the received data needs to be stored in the edge node, so this constraint is necessary; in addition, the second loss function can also constrain the elements in the reference output to be greater than or equal to 0, and no unreasonable negative numbers will occur.
[0090] The third loss function is:
[0091]
[0092] Wherein, L3 is the third loss function, A is the number of edge nodes in the target group, o a is the element corresponding to the ath edge node in the reference output, and z2 is the second attention adjustment parameter.
[0093] The third loss function can constrain the sum of the elements in the reference output to be 1, that is, the sum of the proportions of the amount of data that each edge node in the target group needs to process is 1.
[0094] The role of the first attention adjustment parameter z1 in the second loss function and the second attention adjustment parameter z2 in the third loss function is to adjust the attention to the second loss function and the third loss function in the process of iterative training of the first input matrix using the distribution neural network. By setting the first and second attention adjustment parameters large enough, it is possible to achieve the constraint effect that the second and third loss functions must be satisfied to be 0 first, and then the first loss function is satisfied to be as close to 0 as possible during the iterative approach to convergence of the total loss function training.
[0095] Step S304, taking the sum of the first loss function, the second loss function and the third loss function as the total loss function, iterating the first input matrix in the reference matrix based on the total loss function, and when the total loss function converges, taking each element in the first input matrix at this time as the proportion of the amount of data that the corresponding edge node needs to process.
[0096] The total loss function constructed in the above steps is used to iterate the training of the reference matrix of the pre-trained distribution neural network. When the total loss function converges, it indicates that the training effect has been achieved. At this time, each element in the first input matrix in the reference matrix is the proportion of the amount of data that needs to be processed by the edge nodes in the corresponding target group.
[0097] In the process of determining the specific proportion of data to be processed by each edge node based on the computing power index, storage capacity and distance between each edge node and the target node in the target group, this embodiment takes into account the different numbers of edge nodes included in different target groups. Therefore, the allocation neural network used to obtain the above-mentioned proportion needs to be trained in real time during each acquisition process, which will significantly reduce the overall efficiency of edge computing. Therefore, a supervisory neural network is specially constructed that does not consider the specific number of edge nodes in the target group but successfully obtains the amount of data to be processed, the proportion of the amount of data that each edge node needs to process, and the correlation information between the attribute information of the edge node and the data processing time of the edge node. This important and necessary correlation information is passed to the iterative process of proportion acquisition each time the above-mentioned proportion is obtained through the construction of a related loss function, without the need for the allocation neural network to learn this correlation information each time the proportion is obtained. The size of the allocation neural network each time the proportion is obtained corresponds to the current target group, so the acquisition speed and accuracy of the proportion of the amount of data that each edge node needs to process are taken into account at the same time, which significantly improves the efficiency of edge computing.
[0098] Corresponding to the method of the above embodiment, Figure 5 The structural block diagram of the Internet big data intelligent processing device based on edge computing provided by the fourth embodiment of the present invention is shown. The above-mentioned intelligent processing device is applied to a computer device, and the computer device is connected to the target database through a preset application program interface. When the target database is driven to run to perform the corresponding task, a corresponding task log will be generated, and the above-mentioned task log can be collected through the API. For the convenience of explanation, only the part related to the embodiment of the present invention is shown.
[0099] See also Figure 5 , the intelligent processing device comprises:
[0100] The edge node selection module 41 is used to determine the node group to which each edge node belongs according to the physical location, computing power index and storage capacity of each edge node, select the edge node closest to the data source as the target node, and record the node group to which the target node belongs as the target group;
[0101] The to-be-processed data allocation module 42 is used to determine the proportion of the amount of data that needs to be processed by each edge node in the target group according to the computing power index, storage capacity and distance between each edge node in the target group and the target node;
[0102] The data distribution processing module 42 is used for the target node to determine the amount of data to be processed to be sent to the corresponding edge node in the target group according to the total amount of data to be processed in the data source and each of the ratios, and to receive the data processing results of each edge node in the target group, summarize the results and return them to the data source.
[0103] Optionally, the edge node selection module 41 includes:
[0104] A basic node determination unit, configured to cluster all edge nodes without specifying the number of clusters based on the physical locations of the edge nodes to obtain a number of clusters, record the edge node closest to the cluster center in each cluster as a basic node, and after classifying each basic node into different temporary groups, record each basic node as a grouped node, and record edge nodes other than the grouped nodes as ungrouped nodes;
[0105] An ungrouped node allocation unit is used to calculate the initial distance from any ungrouped node to each temporary group, multiply the initial distance by the distance correction weight of the corresponding temporary group to obtain a corrected distance, add the ungrouped node to the temporary group corresponding to the minimum corrected distance, and then update the ungrouped node to a grouped node, wherein the distance correction weight is proportional to the computing power index and storage capacity of each edge node in the corresponding temporary group;
[0106] The node group acquisition unit is used to repeat the process of updating the ungrouped nodes to the grouped nodes until there are no ungrouped nodes, and record each temporary group at this time as a node group.
[0107] Optionally, the edge node selection module 41 further includes:
[0108] The distance correction weight determination unit is used to determine the distance correction weight of the temporary group as:
[0109]
[0110] Among them, α is the distance correction weight of the temporary group, e represents the natural constant, R represents the normalized value of the mean value of the computing power index of all edge nodes in the temporary group, S represents the normalized value of the mean value of the storage capacity of all edge nodes in the temporary group, k1 represents the first adjustment parameter, and k2 represents the second adjustment parameter.
[0111] Optionally, the to-be-processed data allocation module 42 includes:
[0112] An input matrix construction unit is used to construct a first input matrix and a second input matrix, wherein each column of the first input matrix and the second input matrix corresponds to each edge node in the target group, respectively, the only row of the first matrix corresponds to a preset ratio of the amount of data that each edge node in the target group needs to process, and the sum of all the preset ratios is 1, the first row of the second input matrix corresponds to the computing power index of each edge node in the target group, the second row of the second input matrix corresponds to the storage capacity of each edge node in the target group, and the third row of the second input matrix corresponds to the distance between each edge node in the target group and the target node;
[0113] a pre-trained allocation neural network acquisition unit, used for merging the first input matrix and the second input matrix by row to form a reference matrix, constructing an allocation neural network to be trained with the same input size as the reference matrix and the same output size as the first input matrix, randomly generating a training input matrix with the same size as the first input matrix, merging the training input matrix and the second input matrix by row and inputting them into the allocation neural network to be trained and outputting a training output matrix, constructing a pre-training loss function about the difference between the training input matrix and the training output matrix, training the allocation neural network to be trained with the pre-training loss function, and obtaining a pre-trained allocation neural network;
[0114] A loss function construction unit, used for inputting any column of the reference matrix and the total amount of data to be processed into a trained supervised neural network to obtain a reference processing time corresponding to the column, inputting the reference matrix into the pre-trained distribution neural network to obtain a reference output, and constructing a first loss function representing the difference between the reference processing times corresponding to the columns in the reference matrix, a second loss function representing the difference between the storage capacity of each edge node in the target group and the amount of data processed by the edge node determined according to the reference output, and a third loss function representing the difference between the sum of each element in the reference output and 1;
[0115] The unit for determining the amount of data to be processed by the edge node is used to use the sum of the first loss function, the second loss function and the third loss function as the total loss function, and iterate the first input matrix in the reference matrix based on the total loss function. When the total loss function converges, each element in the first input matrix at this time is used as the proportion of the amount of data that the corresponding edge node needs to process.
[0116] Optionally, the to-be-processed data allocation module 42 further includes:
[0117] A loss function form limiting unit, used to limit the first loss function L1 to the variance of the reference processing time corresponding to each column in the reference matrix;
[0118] The second loss function is:
[0119]
[0120] Wherein, L2 is the second loss function, A is the number of edge nodes in the target group, o a is the element corresponding to the ath edge node in the reference output, D is the total amount of data to be processed in the data source, c a is the storage capacity of the ath edge node in the reference matrix, z1 is the first attention adjustment parameter, max(0, o a *Dc a ) means to select 0 and o a *Dc a The maximum value in ;
[0121] The third loss function is:
[0122]
[0123] Wherein, L3 is the third loss function, A is the number of edge nodes in the target group, o a is the element corresponding to the ath edge node in the reference output, and z2 is the second attention adjustment parameter.
[0124] Optionally, the to-be-processed data allocation module 42 further includes:
[0125] The supervised neural network training unit is used to construct a sample column vector whose number of rows and content categories of each row are the same as those of each row of the reference matrix, and give the total amount of sample data. The sample column vector and the known amount of sample data are used as input samples, the known processing time corresponding to the input samples is used as a label, and the difference between the processing time output by the supervised neural network and the label is used as the supervised network loss function to train the supervised neural network.
[0126] Optionally, the edge node selection module 41 further includes:
[0127] The initial distance acquisition unit is used to calculate the average of the distance differences from any ungrouped node to each edge node in any temporary group, and use the average of the obtained distance differences as the initial distance from the ungrouped node to the temporary group.
[0128] It should be noted that the information interaction, execution process and other contents between the above modules are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0129] Figure 6This is a schematic diagram of the structure of a computer device provided in Embodiment 5 of the present invention. Figure 6 As shown, the computer device of this embodiment includes: at least one processor ( Figure 6 Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, wherein when the processor executes the computer program, the steps in any of the above-mentioned health prediction method embodiments are implemented.
[0130] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 6 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.
[0131] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0132] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of an operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments may also be an external storage device of a computer device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on a computer device. Further, the memory may also include both an internal storage unit of a computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0133] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiment can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0134] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiment when executing.
[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0137] In the embodiments provided by the present invention, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for intelligent processing of Internet big data based on edge computing, characterized in that: The method comprises: Determine the node group to which each edge node belongs according to the physical location, computing power index and storage capacity of each edge node, select the edge node closest to the data source as the target node, and record the node group to which the target node belongs as the target group; Determine the proportion of the amount of data that needs to be processed by each edge node in the target group according to the computing power index, storage capacity and distance between each edge node in the target group and the target node; The target node determines the amount of data to be processed to be sent to the corresponding edge node in the target group according to the total amount of data to be processed in the data source and each of the ratios, receives data processing results of each edge node in the target group, summarizes the results and returns them to the data source.
2. The method for intelligent processing of Internet big data based on edge computing according to claim 1 is characterized in that: Determining the node group to which each edge node belongs according to the physical location, computing power index, and storage capacity of each edge node includes: Based on the physical location of each edge node, all edge nodes are clustered without specifying the number of clusters to obtain a number of cluster clusters, the edge node closest to the cluster center in each cluster cluster is recorded as a basic node, and each basic node is divided into different temporary groups and then recorded as a grouped node, and the edge nodes other than the grouped nodes are recorded as ungrouped nodes; Calculate the initial distance from any ungrouped node to each temporary group, multiply the initial distance by the distance correction weight of the corresponding temporary group to obtain the corrected distance, add the ungrouped node to the temporary group corresponding to the minimum corrected distance, and then update the ungrouped node to a grouped node. The distance correction weight is proportional to the computing power index and storage capacity of each edge node in the corresponding temporary group. The process of updating ungrouped nodes to grouped nodes is repeated until there are no ungrouped nodes, and each temporary group at this time is recorded as a node group.
3. The method for intelligent processing of Internet big data based on edge computing according to claim 2 is characterized in that: The distance correction weight of the temporary group is: Among them, α is the distance correction weight of the temporary group, e represents the natural constant, R represents the normalized value of the mean value of the computing power index of all edge nodes in the temporary group, S represents the normalized value of the mean value of the storage capacity of all edge nodes in the temporary group, k1 represents the first adjustment parameter, and k2 represents the second adjustment parameter.
4. The method for intelligent processing of Internet big data based on edge computing according to claim 1 is characterized in that: Determining the proportion of the amount of data that needs to be processed by each edge node in the target group according to the computing power index, storage capacity, and distance between each edge node in the target group and the target node includes: Constructing a first input matrix and a second input matrix, wherein each column of the first input matrix and the second input matrix respectively corresponds to each edge node in the target group, the only row of the first matrix corresponds to a preset ratio of the amount of data that each edge node in the target group needs to process, and the sum of all the preset ratios is 1, the first row of the second input matrix corresponds to the computing power index of each edge node in the target group, the second row of the second input matrix corresponds to the storage capacity of each edge node in the target group, and the third row of the second input matrix corresponds to the distance between each edge node in the target group and the target node; Merge the first input matrix and the second input matrix row by row to form a reference matrix, construct a to-be-trained allocation neural network with the same input size as the reference matrix and the same output size as the first input matrix, randomly generate a training input matrix with the same size as the first input matrix, merge the training input matrix and the second input matrix row by row, input the matrix into the to-be-trained allocation neural network and output a training output matrix, construct a pre-training loss function about the difference between the training input matrix and the training output matrix, train the to-be-trained allocation neural network with the pre-training loss function, and obtain a pre-trained allocation neural network; Input any column of the reference matrix and the total amount of data to be processed into a trained supervised neural network to obtain a reference processing time corresponding to the column, input the reference matrix into the pre-trained distribution neural network to obtain a reference output, construct a first loss function that characterizes the difference between the reference processing times corresponding to the columns in the reference matrix, a second loss function that characterizes the difference between the storage capacity of each edge node in the target group and the amount of data processed by the edge node determined according to the reference output, and a third loss function that characterizes the difference between the sum of the elements in the reference output and 1; The sum of the first loss function, the second loss function and the third loss function is used as the total loss function, and the first input matrix in the reference matrix is iterated based on the total loss function. When the total loss function converges, each element in the first input matrix at this time is used as the proportion of the amount of data that the corresponding edge node needs to process.
5. The method for intelligent processing of Internet big data based on edge computing according to claim 4 is characterized in that: The first loss function L1 is the variance of the reference processing time corresponding to each column in the reference matrix; The second loss function is: Wherein, L2 is the second loss function, A is the number of edge nodes in the target group, o a is the element corresponding to the ath edge node in the reference output, D is the total amount of data to be processed in the data source, c a is the storage capacity of the ath edge node in the reference matrix, z1 is the first attention adjustment parameter, max(0, o a *Dc a ) means to select 0 and o a *Dc a The maximum value in ; The third loss function is: Wherein, L3 is the third loss function, A is the number of edge nodes in the target group, o a is the element corresponding to the ath edge node in the reference output, and z2 is the second attention adjustment parameter.
6. The method for intelligent processing of Internet big data based on edge computing according to claim 4 is characterized in that: The training method of the supervised neural network is: Construct a sample column vector whose number of rows and content categories of each row are the same as those of each row of the reference matrix, and give the total amount of sample data. Take the sample column vector and the known amount of sample data as input samples, take the known processing time corresponding to the input samples as labels, and take the difference between the processing time output by the supervised neural network and the label as the supervised network loss function to train the supervised neural network.
7. The method for intelligent processing of Internet big data based on edge computing according to claim 2 is characterized in that: The method for calculating the initial distance from any ungrouped node to each temporary group is: The average of the distance differences from any ungrouped node to each edge node in any temporary group is calculated, and the average of the obtained distance differences is used as the initial distance from the ungrouped node to the temporary group.
8. An Internet big data intelligent processing device based on edge computing, characterized in that: The device comprises: The edge node selection module is used to determine the node group to which each edge node belongs according to the physical location, computing power index and storage capacity of each edge node, select the edge node closest to the data source as the target node, and record the node group to which the target node belongs as the target group; A to-be-processed data allocation module, used to determine the proportion of the amount of data that needs to be processed by each edge node in the target group according to the computing power index, storage capacity and distance between each edge node in the target group and the target node; The data distribution processing module is used for the target node to determine the amount of data to be processed to be sent to the corresponding edge node in the target group according to the total amount of data to be processed in the data source and each of the ratios, and to receive the data processing results of each edge node in the target group, summarize the results and return them to the data source.
9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the edge computing-based Internet big data intelligent processing method as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the edge computing-based Internet big data intelligent processing method as described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Method for statically balancing system load, computer device, medium and product
CN119697187A
