A Smart Gateway Service Processing Method Based on Edge Computing
By collecting and analyzing business data from network devices within the local area network through an intelligent gateway, matching edge computing nodes for edge computing, and generating control commands, the problems of high computing pressure and data latency in the cloud center are solved, thereby improving the processing efficiency and accuracy of network devices.
Patent Information
- Application Number
- CN202211627265.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-12-16
AI Technical Summary
Existing smart gateways transmit business data generated by network devices directly to the cloud center for processing during business operations, resulting in high computing pressure on the cloud center, high data transmission costs, low efficiency, and prolonged data latency.
The intelligent gateway collects and analyzes the business data of network devices within the local area network, matches target edge computing nodes for edge computing, generates control commands, and controls the network devices, reducing the amount of data transmission to the cloud center.
It improved the processing efficiency and accuracy of network equipment business data, reduced the computing pressure on the cloud center, reduced data latency, and enabled accurate control of network equipment.
Smart Images

Figure CN116319777B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer algorithm technology, and in particular to a smart gateway service processing method based on edge computing. Background Technology
[0002] Currently, edge computing refers to processing data at the edge of the network. This can reduce request response time, improve battery life, reduce network bandwidth, and ensure data security and privacy. With the emergence of edge computing, various industry manufacturers are exploring edge computing product application solutions by combining their existing technology reserves and product line planning. Smart gateway business processing is one of the applications of edge computing.
[0003] However, existing smart gateways directly transmit the business data generated by network devices to the cloud center for processing when performing business operations. This leads to a sharp increase in the amount of business data that the cloud center needs to process, which in turn greatly reduces the efficiency of processing business data and significantly increases the cost of data transmission and analysis.
[0004] Therefore, the present invention provides a smart gateway service processing method based on edge computing. Summary of the Invention
[0005] This invention provides a smart gateway service processing method based on edge computing, which collects and analyzes service data from different network devices in a local area network through a smart gateway. This improves the processing efficiency and accuracy of service data from different network devices, reduces the computing pressure on the cloud center and lowers data latency, and facilitates the accurate and effective identification of other network devices to be controlled that need to perform collaborative operations based on the analysis results. Finally, by generating target control commands, the method performs service control on the network devices to be controlled, ensuring the effectiveness of service processing on the network devices.
[0006] This invention provides a smart gateway service processing method based on edge computing, comprising:
[0007] Step 1: Obtain service data from each network device within the local area network based on the smart gateway, and analyze the service data to obtain its data attributes;
[0008] Step 2: Match the target edge computing node in the smart gateway based on data attributes, and perform edge computing on the corresponding business data based on the target edge computing node to determine the purpose of business execution;
[0009] Step 3: Transmit the business execution purpose to the cloud center, and generate target control instructions based on the business execution purpose in the cloud center, and perform business control on the network device to be controlled based on the target control instructions.
[0010] Preferably, in a smart gateway service processing method based on edge computing, step 1 involves acquiring service data from various network devices within the local area network based on the smart gateway, including:
[0011] Obtain information about network devices in the local area network (LAN), and determine the connection relationships between network devices in the LAN based on the network device information;
[0012] Based on network device information and connection relationships, determine the target communication address of each network device in the local area network, and construct a distributed transmission link between each network device in the local area network and the smart gateway based on the target communication address.
[0013] The intelligent gateway sends service data acquisition requests to each network device through a distributed transmission link, and each network device authenticates the service data acquisition request. After successful authentication, the network device sends the service data back to the intelligent gateway through the distributed transmission link.
[0014] Preferably, a smart gateway service processing method based on edge computing, after successful verification, feeds back service data to the smart gateway via a distributed transmission link, including:
[0015] Acquire the obtained business data, extract the data features of the business data, and determine the classification labels for the business data based on the data features;
[0016] The business data is clustered based on the classification labels to obtain the first classification result. The first classification result is then grouped and summarized based on the terminal identifier of the network device to obtain the second classification result. The second classification result corresponds one-to-one with the network device.
[0017] The target values of the business data corresponding to the first category results in the second category results are displayed in a preset two-dimensional rectangular coordinate system, and the average value of the first category results is determined based on the display results;
[0018] Based on the average value, the isolated samples contained in the first classification result in the second classification result are determined, and the isolated samples are removed to obtain the final business data.
[0019] Preferably, in a smart gateway service processing method based on edge computing, step 1 involves analyzing the service data to obtain its data attributes, including:
[0020] The obtained business data is acquired, and the business tags corresponding to different business data are determined. Based on the business tags, the target data identification strategy is matched from the preset data identification strategy library.
[0021] Based on the target data identification strategy, the corresponding business data is identified to obtain the data characteristics of the business data of different network devices, and the business characteristics corresponding to the business data are determined based on the data characteristics.
[0022] The service characteristics of the same network device are aggregated to obtain the service characteristic set of different network devices, and the target association relationship of each service characteristic in the service characteristic set is determined.
[0023] Based on the target association, the business dimensions of different network devices are obtained, and based on the business dimensions, the data attributes corresponding to the business data of different network devices are obtained.
[0024] Preferably, a smart gateway service processing method based on edge computing obtains data attributes corresponding to service data of different network devices based on the service dimension, including:
[0025] Obtain the data attributes corresponding to the obtained business data. At the same time, extract the device identifiers of the network devices corresponding to different business data and associate the device identifiers with the obtained data attributes.
[0026] The target record item is determined based on the association results, and the target display mode of the target record item in the record table is determined, and the target data record table is constructed based on the target display mode;
[0027] Based on the association results, the device identifier and corresponding data attributes are filled into the area to be filled in the target data record table to obtain the data attribute record table. Guide tags are added to the data attribute record table, whereby the guide tags are used to instruct the smart gateway to return the execution result.
[0028] The target data attribute record table is obtained based on the added results, and the target data attribute record table is stored in the preset storage area of the smart gateway.
[0029] Preferably, in a smart gateway service processing method based on edge computing, step 2, matching the target edge computing node in the smart gateway based on data attributes, includes:
[0030] Send a node information retrieval request to the cloud center, and obtain the target registration information of each edge computing node from the cloud center based on the node information retrieval request. The target registration information includes the business type of the edge computing node.
[0031] Obtain the data attributes of the business data, match the data attributes with the business types of each edge computing node, and obtain multiple target edge computing nodes corresponding to the same data attribute based on the matching results;
[0032] The matching degree between the same data attribute and the corresponding multiple target edge computing nodes is determined. At the same time, the service processing requirements of each network device are determined based on the data attributes of the service data, and the matching degree between the same data attribute and the corresponding multiple target edge computing nodes is corrected based on the service processing requirements.
[0033] Based on the correction results, multiple target edge computing nodes are sorted in descending order of matching degree, and the target edge computing node with the largest matching degree value is determined as the final target edge computing node based on the sorting results.
[0034] Preferably, in a smart gateway service processing method based on edge computing, step 2 involves performing edge computing on the corresponding service data based on the target edge computing node to determine the service execution objective, including:
[0035] The target edge computing node receives service data from each network device and parses the service data based on the received results to determine the set of service processing tasks corresponding to the service data.
[0036] The pending processing volume of the target edge computing node is determined based on the set of business processing tasks. At the same time, the maximum load value of the target edge computing node is determined. When the pending processing volume exceeds the maximum load value, a collaborative operation task is published in the smart gateway.
[0037] Based on collaborative task, cooperative edge computing nodes of the same type as the target edge computing node are locked from the idle edge computing nodes. At the same time, the task characteristics of each business processing task in the business processing task set are extracted, and the dependency relationship between each business processing task is determined based on the task characteristics.
[0038] The set of business processing tasks is split based on dependencies, and business analysis is performed on the split business processing tasks through target edge computing nodes and collaborating edge computing nodes based on the split results.
[0039] Preferably, a smart gateway service processing method based on edge computing splits a set of service processing tasks based on dependencies, and performs service analysis on the split service processing tasks through target edge computing nodes and collaborating edge computing nodes based on the split results, including:
[0040] Based on the dependency relationship, the set of business processing tasks is split into a first set of business processing tasks and a second set of business processing tasks. Based on the target edge computing node and the collaborative edge computing node, the first set of business processing tasks and the second set of business processing tasks are processed respectively to obtain the first sub-business execution purpose and the second sub-business execution purpose respectively.
[0041] The second sub-business execution objective of the collaborative edge computing node is fed back to the target edge computing node, and the first and second sub-business execution objectives are summarized based on the target edge computing node to obtain the business execution objective corresponding to the business data.
[0042] Preferably, in a smart gateway service processing method based on edge computing, step 3 involves transmitting the service execution purpose to the cloud center, generating a target control instruction based on the service execution purpose in the cloud center, and performing service control on the network device to be controlled based on the target control instruction, including:
[0043] Obtain the first interface configuration parameters of the cloud center and the second interface configuration parameters of the smart gateway, and construct the data transmission link between the smart gateway and the cloud center based on the first interface configuration parameters and the second interface configuration parameters;
[0044] The business execution purpose is transmitted to the cloud center based on the data transmission link. The cloud center parses the received business execution purpose to obtain the type of device to be controlled corresponding to the business execution purpose. At the same time, the target instruction element is retrieved from the preset instruction element library based on the parsing result and the target instruction element is concatenated. The concatenated instruction element is adapted to the identification standard of the instruction based on the type of device to be controlled to obtain the target control instruction.
[0045] Based on the target control instructions, a service flow corresponding to the service execution purpose is created, and based on the service flow, the target control instructions are transmitted to the network device to be controlled corresponding to the type of device to be controlled for service control.
[0046] Preferably, a smart gateway service processing method based on edge computing transmits target control commands to the network device to be controlled corresponding to the type of device to be controlled for service control based on the service flow, including:
[0047] The system acquires the first execution log of the network device under the target control command and the second execution log of the smart gateway between the network device and the network device under the control. At the same time, it determines the status evaluation indicators and service status evaluation dimensions of the network device under the control and the smart gateway, wherein the status evaluation indicators and service status evaluation dimensions correspond one-to-one.
[0048] Based on the status assessment index, the service operation status of the first execution log and the second execution log are assessed under each service status assessment dimension to obtain the service operation status assessment value of the network device to be controlled and the smart gateway under each service status assessment dimension.
[0049] When the business operation status assessment value is less than the preset threshold, it is determined that there is an anomaly in the network device and smart gateway under control during business execution, and an alarm is sent to the management terminal.
[0050] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0051] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0052] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0053] Figure 1 This is a flowchart of a smart gateway service processing method based on edge computing in an embodiment of the present invention;
[0054] Figure 2 This is a flowchart of step 1 in a smart gateway service processing method based on edge computing according to an embodiment of the present invention;
[0055] Figure 3 This is a flowchart of step 2 in a smart gateway service processing method based on edge computing according to an embodiment of the present invention. Detailed Implementation
[0056] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0057] Example 1:
[0058] This embodiment provides a smart gateway service processing method based on edge computing, such as... Figure 1 As shown, it includes:
[0059] Step 1: Obtain service data from each network device within the local area network based on the smart gateway, and analyze the service data to obtain its data attributes;
[0060] Step 2: Match the target edge computing node in the smart gateway based on data attributes, and perform edge computing on the corresponding business data based on the target edge computing node to determine the purpose of business execution;
[0061] Step 3: Transmit the business execution purpose to the cloud center, and generate target control instructions based on the business execution purpose in the cloud center, and perform business control on the network device to be controlled based on the target control instructions.
[0062] In this embodiment, the smart gateway is a network device and is the key to the intelligence of the local area network. It generally supports virtual network access, Wi-Fi access, wired broadband access, etc. It can realize functions such as information collection, information input, information output, centralized control, remote control, and linkage control of various sensors, network devices, cameras, and hosts in the local area network.
[0063] In this embodiment, a local area network (LAN) refers to connecting computer devices or sensors located in different physical locations within a certain range, enabling them to communicate and share resources with each other with the support of network software.
[0064] In this embodiment, network device refers to communication device with networking capabilities, such as computer and sensor.
[0065] In this embodiment, business data refers to the operational data generated by different network devices when performing corresponding functions. Specifically, it may be the data access type that the network device needs to achieve through the smart gateway.
[0066] In this embodiment, data attributes are data characteristics used to characterize the data type and corresponding data volume of different business data.
[0067] In this embodiment, the target edge computing node refers to any node with computing and network resources between the data source (i.e., network device) and the cloud center, which can process the business data generated by the network device.
[0068] In this embodiment, edge computing refers to analyzing and processing the business data generated by network devices in the corresponding smart gateway, avoiding the transmission and multi-level forwarding of business data and improving processing efficiency.
[0069] In this embodiment, the purpose of service execution refers to the final operational result that each network device needs to achieve, such as accessing useful data in other network devices.
[0070] In this embodiment, the cloud center is an internet-based computing method in which shared hardware and software resources and information can be provided to computers and other devices on demand.
[0071] In this embodiment, the target control command is generated based on the received service execution purpose, which is to control other network devices, thereby enabling the processing of services submitted by different network devices.
[0072] In this embodiment, the network device to be controlled refers to other network devices in the local area network that need to cooperate with each other based on the analyzed business execution purpose, and the network device to be controlled is controlled by the target control command.
[0073] The beneficial effects of the above technical solution are as follows: by collecting and analyzing the business data of different network devices in the local area network through the intelligent gateway, the processing efficiency and accuracy of the business data of different network devices are improved, the computing pressure of the cloud center is reduced and the data latency is reduced, and it is convenient to accurately and effectively determine other network devices that need to be controlled for collaborative operations based on the analysis results. Finally, by generating target control commands to control the network devices, the business control of the network devices is carried out, ensuring the effectiveness of the business processing of the network devices.
[0074] Example 2:
[0075] Based on Example 1, this example provides a smart gateway service processing method based on edge computing, such as... Figure 2 As shown, in step 1, the service data of each network device within the local area network is obtained based on the smart gateway, including:
[0076] Step 101: Obtain network device information contained in the local area network, and determine the connection relationship between each network device in the local area network based on the network device information;
[0077] Step 102: Determine the target communication address of each network device in the local area network based on network device information and connection relationships, and construct a distributed transmission link between each network device in the local area network and the smart gateway based on the target communication address;
[0078] Step 103: Based on the intelligent gateway, send service data acquisition requests to each network device through the distributed transmission link, and authenticate the service data acquisition requests based on each network device, and after successful authentication, feed back the service data to the intelligent gateway based on the distributed transmission link.
[0079] In this embodiment, network device information refers to the number of network devices included in the local area network and the target location of each network device in the local area network.
[0080] In this embodiment, the target communication address is used to characterize the communication address of different network devices in the local area network, with the purpose of building a communication link between different network devices in the local area network and the smart gateway.
[0081] In this embodiment, the distributed transmission link refers to the communication between each network device and the smart gateway being unaffected by other network devices, with each network device operating independently of the others.
[0082] In this embodiment, the service data acquisition request is issued by the smart gateway, which is used to collect the corresponding service data from various network devices.
[0083] In this embodiment, identity verification refers to each network device verifying the identity information carried in the received business data acquisition request, with the purpose of verifying whether the smart gateway has the authority to collect business data.
[0084] The beneficial effects of the above technical solution are as follows: by determining the network device information in the local area network and determining the target communication address of each network device in the local area network based on the network device information, a distributed transmission link between each network device and the smart gateway is constructed based on the target communication address. This facilitates the transmission of its own business data to the smart gateway after receiving a business data acquisition request sent by the smart gateway, and facilitates accurate and efficient processing of business data through the smart gateway, reducing the computing pressure on the cloud center and reducing data latency.
[0085] Example 3:
[0086] Based on Example 2, this example provides a smart gateway service processing method based on edge computing. After successful verification, service data is fed back to the smart gateway based on a distributed transmission link, including:
[0087] Acquire the obtained business data, extract the data features of the business data, and determine the classification labels for the business data based on the data features;
[0088] The business data is clustered based on the classification labels to obtain the first classification result. The first classification result is then grouped and summarized based on the terminal identifier of the network device to obtain the second classification result. The second classification result corresponds one-to-one with the network device.
[0089] The target values of the business data corresponding to the first category results in the second category results are displayed in a preset two-dimensional rectangular coordinate system, and the average value of the first category results is determined based on the display results;
[0090] Based on the average value, the isolated samples contained in the first classification result in the second classification result are determined, and the isolated samples are removed to obtain the final business data.
[0091] In this embodiment, data characteristics refer to the data type of business data and the corresponding value range and data volume, etc.
[0092] In this embodiment, the classification label can be a classification standard that represents the obtained business data, that is, the classification basis provided during classification. One classification label corresponds to one data category.
[0093] In this embodiment, the first classification result refers to the business data corresponding to each classification label obtained after clustering the business data according to the classification label.
[0094] In this embodiment, the terminal identifier is a tag used to mark different network devices. The device type of the network device can be quickly and accurately determined through the terminal identifier.
[0095] In this embodiment, grouping and summarizing the first classification results based on the terminal identifier of the network device refers to summarizing the service data corresponding to each network device in the first classification results, so as to facilitate the determination of the data type contained in the service data of each network device.
[0096] In this embodiment, the second classification result refers to the types of service data contained in each network device, that is, the types of service data contained in each network device are grouped together, and the data of the same type in each group are further grouped into a smaller group.
[0097] In this embodiment, the target value refers to the specific value size corresponding to each type of business data.
[0098] In this embodiment, the preset two-dimensional rectangular coordinate system is set in advance, which makes it easy to directly observe the value of different business data, thereby facilitating the removal of isolated samples.
[0099] In this embodiment, isolated samples refer to service data in the network device of the same type whose values differ significantly from the average value.
[0100] The beneficial effects of the above technical solution are as follows: by determining the classification labels for business data, accurate and effective classification of business data can be achieved based on the classification labels. After classification, the data contained in each network device is summarized, and isolated samples in each type of business data are removed, thereby ensuring the accuracy of the obtained business data, improving the accuracy of the analysis of business execution objectives, achieving accurate and reliable control of the network devices to be controlled, and ensuring the effectiveness of business processing of network devices.
[0101] Example 4:
[0102] Based on Example 1, this example provides a smart gateway service processing method based on edge computing. In step 1, the service data is analyzed to obtain the data attributes of the service data, including:
[0103] The obtained business data is acquired, and the business tags corresponding to different business data are determined. Based on the business tags, the target data identification strategy is matched from the preset data identification strategy library.
[0104] Based on the target data identification strategy, the corresponding business data is identified to obtain the data characteristics of the business data of different network devices, and the business characteristics corresponding to the business data are determined based on the data characteristics.
[0105] The service characteristics of the same network device are aggregated to obtain the service characteristic set of different network devices, and the target association relationship of each service characteristic in the service characteristic set is determined.
[0106] Based on the target association, the business dimensions of different network devices are obtained, and based on the business dimensions, the data attributes corresponding to the business data of different network devices are obtained.
[0107] In this embodiment, the business label is a marker symbol used to characterize the business type corresponding to different business data.
[0108] In this embodiment, the preset data recognition strategy library is pre-set and used to store recognition strategies for business data of different business types.
[0109] In this embodiment, the target data identification strategy refers to the method or approach applicable to identifying business data of the current type.
[0110] In this embodiment, the data characteristics of business data refer to the data type and the value of business data.
[0111] In this embodiment, business characteristics refer to the business features of different business data, which may specifically be the conditions that need to be met during business operation and the business attributes that distinguish different businesses.
[0112] In this embodiment, the service feature set refers to the service feature cluster of the network device obtained by summarizing the service features represented by the service data of the same network device.
[0113] In this embodiment, the target association relationship is used to characterize the interaction or influence relationship between different business features.
[0114] In this embodiment, the business dimension refers to the scope of business that different network devices need to perform, which may specifically include data reading, access, and storage.
[0115] The beneficial effects of the above technical solution are as follows: by identifying business data, the business characteristics represented by the business data can be accurately and effectively obtained; secondly, the business dimensions of the same network device can be effectively locked based on the business characteristics; and finally, the data attributes of the business data of each network device can be effectively obtained. This facilitates matching the corresponding edge computing nodes for data analysis based on the data attributes, improves the processing efficiency and accuracy of business data of different network devices, and also facilitates the accurate and effective identification of other network devices to be controlled that need to perform collaborative operations, thus ensuring the effectiveness of business processing of network devices.
[0116] Example 5:
[0117] Building upon Example 4, this example provides a smart gateway service processing method based on edge computing, which obtains data attributes corresponding to service data of different network devices based on the service dimension, including:
[0118] Obtain the data attributes corresponding to the obtained business data. At the same time, extract the device identifiers of the network devices corresponding to different business data and associate the device identifiers with the obtained data attributes.
[0119] The target record item is determined based on the association results, and the target display mode of the target record item in the record table is determined, and the target data record table is constructed based on the target display mode;
[0120] Based on the association results, the device identifier and corresponding data attributes are filled into the area to be filled in the target data record table to obtain the data attribute record table. Guide tags are added to the data attribute record table, whereby the guide tags are used to instruct the smart gateway to return the execution result.
[0121] The target data attribute record table is obtained based on the added results, and the target data attribute record table is stored in the preset storage area of the smart gateway.
[0122] In this embodiment, the device identifier is a label used to characterize the device type of different network devices. The device type of the network device can be quickly and accurately determined through this identifier.
[0123] In this embodiment, the target record item refers to the item that needs to be recorded.
[0124] In this embodiment, the target display mode is used to characterize how the target record item needs to be presented in a chart or table, such as arranging related data horizontally.
[0125] In this embodiment, the target data record table is constructed based on the number and type of target record items and the target display mode required by the target record items, with the purpose of recording the device identifier and data attributes of the network device.
[0126] In this embodiment, the area to be filled refers to the location where the network device's device identifier and data attributes can be recorded in the constructed target data record table.
[0127] In this embodiment, the guide label is used to instruct the smart gateway to return the execution result, that is, to feed back the control result of the smart gateway after controlling the corresponding network device according to the execution purpose of the business data to the corresponding network device.
[0128] In this embodiment, the target data attribute record table refers to the data record table obtained by recording the device identifier and data attributes of the network device in the constructed target data record table and adding a guide tag to the target data record table.
[0129] In this embodiment, the preset storage area is pre-defined and used to store the obtained target data attribute record table, so as to facilitate the feedback of the service execution results to the corresponding network devices based on the target data attribute record table.
[0130] The beneficial effects of the above technical solution are as follows: by recording the device identifier of the network device and the data attributes of the service data in the constructed target data record table, and adding a guide tag to the final data attribute record table and storing it in the preset storage area of the smart gateway, it is convenient to conduct accurate and reliable analysis of the service data based on the storage results, and it is also convenient to provide feedback on the service execution results, thus ensuring the service processing effect of the network device.
[0131] Example 6:
[0132] Based on Example 1, this example provides a smart gateway service processing method based on edge computing, such as... Figure 3 As shown, in step 2, matching the target edge computing node in the smart gateway based on data attributes includes:
[0133] Step 201: Send a node information acquisition request to the cloud center, and obtain the target registration information of each edge computing node from the cloud center based on the node information acquisition request. The target registration information includes the business type of the edge computing node.
[0134] Step 202: Obtain the data attributes of the business data, match the data attributes with the business types of each edge computing node, and obtain multiple target edge computing nodes corresponding to the same data attribute based on the matching results;
[0135] Step 203: Determine the matching degree between the same data attribute and the corresponding multiple target edge computing nodes. At the same time, determine the service processing requirements of each network device based on the data attributes of the service data, and correct the matching degree between the same data attribute and the corresponding multiple target edge computing nodes based on the service processing requirements.
[0136] Step 204: Based on the correction results, sort the multiple target edge computing nodes in descending order of matching degree, and determine the target edge computing node with the largest matching degree value as the final target edge computing node based on the sorting results.
[0137] In this embodiment, the information retrieval request refers to obtaining the registration information of different edge computing nodes during registration from the cloud center.
[0138] In this embodiment, the target registration information refers to the information such as the types of services that the edge computing nodes can process, which are submitted to the cloud center by different edge computing nodes when they are working.
[0139] In this embodiment, the target edge computing node refers to an edge computing node that can process service data of the same network device.
[0140] In this embodiment, the matching degree is used to characterize the similarity between data attributes and target edge computing nodes. The larger the value, the more similar the two are.
[0141] In this embodiment, the service processing requirements refer to the processing objectives and accuracy requirements of the service data that each network device needs to achieve.
[0142] The beneficial effects of the above technical solution are as follows: by obtaining the registration information of different edge computing nodes from the cloud center, and effectively acquiring the service types of different edge computing nodes based on the registration information, and finally matching the data attributes with the service types of the edge computing nodes, the target edge computing nodes required for the service data of each network device can be accurately and effectively determined. This ensures the accuracy and reliability of the processing of service data of different network devices, and also facilitates accurate and reliable control of the network devices to be controlled based on the processing results, thus guaranteeing the service processing effect of the network devices.
[0143] Example 7:
[0144] Based on Example 1, this example provides a smart gateway service processing method based on edge computing. In step 2, edge computing is performed on the corresponding service data based on the target edge computing node to determine the service execution purpose, including:
[0145] The target edge computing node receives service data from each network device and parses the service data based on the received results to determine the set of service processing tasks corresponding to the service data.
[0146] The pending processing volume of the target edge computing node is determined based on the set of business processing tasks. At the same time, the maximum load value of the target edge computing node is determined. When the pending processing volume exceeds the maximum load value, a collaborative operation task is published in the smart gateway.
[0147] Based on collaborative task, cooperative edge computing nodes of the same type as the target edge computing node are locked from the idle edge computing nodes. At the same time, the task characteristics of each business processing task in the business processing task set are extracted, and the dependency relationship between each business processing task is determined based on the task characteristics.
[0148] The set of business processing tasks is split based on dependencies, and business analysis is performed on the split business processing tasks through target edge computing nodes and collaborating edge computing nodes based on the split results.
[0149] In this embodiment, the service processing task set refers to the set of service types to be processed contained in the service data generated by the same network device.
[0150] In this embodiment, the amount to be processed is used to characterize the amount of data analysis that the edge computing node needs to perform, i.e., the load of the edge computing node.
[0151] In this embodiment, the collaborative task aims to find edge computing nodes in the smart gateway that are of the same type as the target edge computing result and are currently in an idle state.
[0152] In this embodiment, an idle edge computing node refers to an edge computing node in the smart gateway that has no working tasks.
[0153] In this embodiment, the collaborative edge computing result refers to the edge computing node that responds to the collaborative task, is of the same type as the target edge computing node, is currently in an idle state, and there is at least one collaborative edge computing node.
[0154] In this embodiment, the task features are used to characterize the processing conditions and processing methods of each business processing task in the business processing task set.
[0155] In this embodiment, dependency is used to characterize the interaction and invocation relationship between different business processing tasks.
[0156] In this embodiment, splitting the set of business processing tasks based on dependencies refers to splitting the set of business processing tasks corresponding to the business data according to the number of collaborative edge computing nodes, thereby facilitating the improvement of the processing efficiency of business data.
[0157] The beneficial effects of the above technical solution are as follows: by receiving business data and accurately and effectively locking the business processing tasks of the received business data, and when the amount of business processing tasks to be processed is greater than the maximum load value of the target edge computing node, the collaborative edge computing nodes are determined to perform collaborative work on the business processing tasks, thereby ensuring the processing efficiency of business data, reducing the computing pressure of the cloud center and reducing data latency, and ensuring the effectiveness of business processing of network devices.
[0158] Example 8:
[0159] Building upon Example 7, this example provides a smart gateway service processing method based on edge computing. It splits a set of service processing tasks based on dependencies, and performs service analysis on the split tasks using target edge computing nodes and collaborating edge computing nodes based on the splitting results. The method includes:
[0160] Based on the dependency relationship, the set of business processing tasks is split into a first set of business processing tasks and a second set of business processing tasks. Based on the target edge computing node and the collaborative edge computing node, the first set of business processing tasks and the second set of business processing tasks are processed respectively to obtain the first sub-business execution purpose and the second sub-business execution purpose respectively.
[0161] The second sub-business execution objective of the collaborative edge computing node is fed back to the target edge computing node, and the first and second sub-business execution objectives are summarized based on the target edge computing node to obtain the business execution objective corresponding to the business data.
[0162] In this embodiment, the first set of business processing tasks refers to the business processing tasks that the target edge computing node needs to process.
[0163] In this embodiment, the second set of business processing tasks refers to the business processing tasks processed by the collaborative edge computing node pairs.
[0164] In this embodiment, processing the first set of business processing tasks and the second set of business processing tasks based on the target edge computing node and the collaborative edge computing node respectively means processing the first set of business processing tasks through the target edge computing node and processing the second set of business processing tasks through the collaborative edge computing node.
[0165] In this embodiment, the first sub-business execution purpose refers to the business execution purpose corresponding to the business data obtained after the target edge computing node analyzes the first business processing task set.
[0166] In this embodiment, the second sub-business execution purpose refers to the business execution purpose corresponding to the business data obtained after the collaborative edge computing node analyzes the second business processing task set.
[0167] In this embodiment, business processing is performed on the first business processing task set and the second business processing task set based on the target edge computing node and the collaborative edge computing node, respectively, including:
[0168] Obtain the amount of business data processed by the edge computing node and the time taken for the edge computing node to complete the processing of the business data, and calculate the processing efficiency of the edge computing node on the business data based on the amount of data and the time taken.
[0169]
[0170] Where η represents the processing efficiency of the edge computing node for business data, and its value ranges from (0, 1); μ represents the error factor, and its value ranges from (0.01, 0.03); M represents the amount of business data that the target edge computing node needs to process; V represents the processing speed of the target edge computing node when processing business data; i represents the number of collaborating edge computing nodes that need to perform collaborative tasks with the target edge computing node, and its value ranges from [1, n]; n represents the total number of collaborating edge computing nodes; m i This represents the amount of business data that the i-th collaborative edge computing node needs to process; v i This represents the processing speed of the i-th collaborative edge computing node when processing business data; T represents the expected time length for the edge computing node to complete the processing of business data.
[0171] Compare the calculated processing efficiency with a preset efficiency threshold.
[0172] If the calculated processing efficiency is greater than or equal to the preset efficiency threshold, the edge computing node is deemed to have a satisfactory processing effect on business data.
[0173] Otherwise, the edge computing node is deemed to be unqualified in processing business data, and additional edge computing nodes are added to the smart gateway until the processing efficiency is greater than or equal to the preset efficiency threshold.
[0174] The aforementioned expected time length value is pre-set.
[0175] The aforementioned preset efficiency threshold is pre-set and is used to characterize the minimum value required to meet processing efficiency.
[0176] The beneficial effects of the above technical solution are: by splitting the set of business processing tasks corresponding to business data, business data can be processed through target edge computing nodes and collaborative edge computing nodes. At the same time, by improving the processing efficiency of business data by the edge computing nodes, it is convenient to optimize the processing links of business data in a timely manner when the processing efficiency does not meet the requirements, thereby improving the processing efficiency of business data, reducing the computing pressure on the cloud center, and reducing data latency.
[0177] Example 9:
[0178] Based on Example 1, this example provides a smart gateway service processing method based on edge computing. In step 3, the service execution purpose is transmitted to the cloud center, and a target control instruction is generated based on the service execution purpose by the cloud center. Service control is then performed on the network device to be controlled based on the target control instruction, including:
[0179] Obtain the first interface configuration parameters of the cloud center and the second interface configuration parameters of the smart gateway, and construct the data transmission link between the smart gateway and the cloud center based on the first interface configuration parameters and the second interface configuration parameters;
[0180] The business execution purpose is transmitted to the cloud center based on the data transmission link. The cloud center parses the received business execution purpose to obtain the type of device to be controlled corresponding to the business execution purpose. At the same time, the target instruction element is retrieved from the preset instruction element library based on the parsing result and the target instruction element is concatenated. The concatenated instruction element is adapted to the identification standard of the instruction based on the type of device to be controlled to obtain the target control instruction.
[0181] Based on the target control instructions, a service flow corresponding to the service execution purpose is created, and based on the service flow, the target control instructions are transmitted to the network device to be controlled corresponding to the type of device to be controlled for service control.
[0182] In this embodiment, the first interface configuration parameter is used to characterize the interface type of the cloud center and the requirements for data reception or transmission.
[0183] In this embodiment, the second interface configuration parameter is used to characterize the interface type of the smart gateway and the requirements for data reception or transmission.
[0184] In this embodiment, the preset instruction library is pre-set and used to store instruction bytes corresponding to different control types.
[0185] In this embodiment, the target instruction element refers to the instruction byte used to generate control instructions for the type of device to be controlled. The final target control instruction is obtained by concatenating the target instruction elements.
[0186] In this embodiment, the identification criteria refer to parameters such as the types of instructions that the controlled device type can recognize and the identification conditions that need to be met when recognizing instructions.
[0187] In this embodiment, adapting the spliced instructions to the identification criteria of the instructions based on the type of the device to be controlled refers to adjusting the form and control parameters of the obtained control instructions according to the identification criteria, so as to ensure that the type of the device to be controlled can accurately and reliably identify the target control instructions.
[0188] In this embodiment, a service flow refers to an instance used to control the device to be controlled.
[0189] The beneficial effects of the above technical solution are as follows: By constructing a data transmission link between the intelligent gateway and the cloud center based on the first interface configuration parameters of the cloud center and the second interface configuration parameters of the intelligent gateway, it is convenient to upload the business execution purpose to the operation center. At the same time, the target control instruction is generated through instruction elements according to the business execution purpose, and the spliced instruction is adapted according to the identification standard of the instruction based on the type of the device to be controlled, thereby ensuring the control accuracy of the network device to be controlled and ensuring the business processing efficiency of the network device.
[0190] Example 10:
[0191] Based on Example 9, this example provides a smart gateway service processing method based on edge computing, which transmits target control commands to the network device to be controlled corresponding to the type of device to be controlled for service control based on the service flow, including:
[0192] The system acquires the first execution log of the network device under the target control command and the second execution log of the smart gateway between the network device and the network device under the control. At the same time, it determines the status evaluation indicators and service status evaluation dimensions of the network device under the control and the smart gateway, wherein the status evaluation indicators and service status evaluation dimensions correspond one-to-one.
[0193] Based on the status assessment index, the service operation status of the first execution log and the second execution log are assessed under each service status assessment dimension to obtain the service operation status assessment value of the network device to be controlled and the smart gateway under each service status assessment dimension.
[0194] When the business operation status assessment value is less than the preset threshold, it is determined that there is an anomaly in the network device and smart gateway under control during business execution, and an alarm is sent to the management terminal.
[0195] In this embodiment, the first execution log refers to the log obtained after recording the running data of the network device to be controlled under the target control command.
[0196] In this embodiment, the second execution log refers to the log obtained by recording the operational data of the smart gateway in the process of business processing between the network device and the network device to be controlled.
[0197] In this embodiment, the status assessment index is an assessment standard and basis used to assess the service operation status of the network devices under control and the smart gateway.
[0198] In this embodiment, the service status assessment dimension refers to the aspects or perspectives from which the service operation status of the network devices to be controlled and the smart gateway needs to be assessed.
[0199] In this embodiment, the service operation status evaluation value is used to characterize the quality of the service operation status of the network device to be controlled and the smart gateway under the corresponding service status evaluation dimension. The larger the value, the better the service operation status.
[0200] In this embodiment, the preset threshold is pre-set and is used to characterize the minimum standard of the service operation status of the network device to be controlled and the smart gateway under the corresponding service status evaluation dimension.
[0201] The beneficial effects of the above technical solution are: by acquiring the first and second execution logs of the network device and smart gateway to be controlled, and determining the status evaluation indicators and service status evaluation dimensions of the network device and smart gateway to be controlled, the service operation status of the network device and smart gateway to be controlled under each service status evaluation dimension can be accurately evaluated, and when the service operation status is abnormal, the corresponding alarm operation can be performed in a timely manner, thus ensuring the service processing effect of the network device.
[0202] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A smart gateway service processing method based on edge computing, characterized in that, include: Step 1: Obtain service data from each network device within the local area network based on the smart gateway, and analyze the service data to obtain its data attributes; Step 2: Match the target edge computing node in the smart gateway based on data attributes, and perform edge computing on the corresponding business data based on the target edge computing node to determine the purpose of business execution; Step 3: Transmit the business execution purpose to the cloud center, and generate target control instructions based on the business execution purpose in the cloud center, and perform business control on the network device to be controlled based on the target control instructions; In step 2, edge computing is performed on the corresponding business data based on the target edge computing node to determine the business execution purpose, including: The target edge computing node receives service data from each network device and parses the service data based on the received results to determine the set of service processing tasks corresponding to the service data. The pending processing volume of the target edge computing node is determined based on the set of business processing tasks. At the same time, the maximum load value of the target edge computing node is determined. When the pending processing volume exceeds the maximum load value, a collaborative operation task is published in the smart gateway. Based on collaborative task, cooperative edge computing nodes of the same type as the target edge computing node are locked from the idle edge computing nodes. At the same time, the task characteristics of each business processing task in the business processing task set are extracted, and the dependency relationship between each business processing task is determined based on the task characteristics. The set of business processing tasks is split based on dependencies, and business analysis is performed on the split business processing tasks through target edge computing nodes and collaborating edge computing nodes based on the split results.
2. The intelligent gateway service processing method based on edge computing according to claim 1, characterized in that, In step 1, the service data of each network device within the local area network is obtained based on the smart gateway, including: Obtain information about network devices in the local area network (LAN), and determine the connection relationships between network devices in the LAN based on the network device information; Based on network device information and connection relationships, the target communication address of each network device in the local area network is determined, and a distributed transmission link between each network device and the smart gateway in the local area network is constructed based on the target communication address. The distributed transmission link means that the communication between each network device and the smart gateway is not affected by other network devices, and each network device is independent of the others. The intelligent gateway sends service data acquisition requests to each network device through a distributed transmission link, and each network device authenticates the service data acquisition request. After successful authentication, the network device sends the service data back to the intelligent gateway through the distributed transmission link.
3. The intelligent gateway service processing method based on edge computing according to claim 2, characterized in that, After successful verification, service data is fed back to the smart gateway based on the distributed transmission link, including: Acquire the obtained business data, extract the data features of the business data, and determine the classification labels for the business data based on the data features; The business data is clustered based on the classification labels to obtain the first classification result. The first classification result is then grouped and summarized based on the terminal identifier of the network device to obtain the second classification result. The second classification result corresponds one-to-one with the network device. The target values of the business data corresponding to the first category results in the second category results are displayed in a preset two-dimensional rectangular coordinate system, and the average value of the first category results is determined based on the display results; Based on the average value, the isolated samples contained in the first classification result in the second classification result are determined, and the isolated samples are removed to obtain the final business data.
4. The intelligent gateway service processing method based on edge computing according to claim 1, characterized in that, In step 1, the business data is analyzed to obtain its data attributes, including: The obtained business data is acquired, and the business tags corresponding to different business data are determined. Based on the business tags, the target data identification strategy is matched from the preset data identification strategy library. Based on the target data identification strategy, the corresponding business data is identified to obtain the data characteristics of the business data of different network devices, and the business characteristics corresponding to the business data are determined based on the data characteristics. The service characteristics of the same network device are aggregated to obtain the service characteristic set of different network devices, and the target association relationship of each service characteristic in the service characteristic set is determined. Based on the target association, the business dimensions of different network devices are obtained, and based on the business dimensions, the data attributes corresponding to the business data of different network devices are obtained.
5. The intelligent gateway service processing method based on edge computing according to claim 4, characterized in that, Based on the business dimension, the data attributes corresponding to the business data of different network devices are obtained, including: Obtain the data attributes corresponding to the obtained business data. At the same time, extract the device identifiers of the network devices corresponding to different business data and associate the device identifiers with the obtained data attributes. The target record item is determined based on the association results, and the target display mode of the target record item in the record table is determined, and the target data record table is constructed based on the target display mode; Based on the association results, the device identifier and corresponding data attributes are filled in the area to be filled in the target data record table to obtain the data attribute record table. Guide tags are added to the data attribute record table. The guide tags are used to instruct the smart gateway to return the execution result. The control result after the smart gateway controls the corresponding network device to be controlled according to the execution purpose of the business data is fed back to the corresponding network device. The target data attribute record table is obtained based on the added results, and the target data attribute record table is stored in the preset storage area of the smart gateway.
6. The intelligent gateway service processing method based on edge computing according to claim 1, characterized in that, In step 2, the target edge computing node is matched in the smart gateway based on data attributes, including: Send a node information retrieval request to the cloud center, and obtain the target registration information of each edge computing node from the cloud center based on the node information retrieval request. The target registration information includes the business type of the edge computing node. Obtain the data attributes of the business data, match the data attributes with the business types of each edge computing node, and obtain multiple target edge computing nodes corresponding to the same data attribute based on the matching results; The matching degree between the same data attribute and the corresponding multiple target edge computing nodes is determined. At the same time, the service processing requirements of each network device are determined based on the data attributes of the service data, and the matching degree between the same data attribute and the corresponding multiple target edge computing nodes is corrected based on the service processing requirements. Based on the correction results, multiple target edge computing nodes are sorted in descending order of matching degree, and the target edge computing node with the largest matching degree value is determined as the final target edge computing node based on the sorting results.
7. The intelligent gateway service processing method based on edge computing according to claim 1, characterized in that, The set of business processing tasks is split based on dependencies, and business analysis is performed on the split tasks through target edge computing nodes and collaborating edge computing nodes based on the split results, including: Based on the dependency relationship, the set of business processing tasks is split into a first set of business processing tasks and a second set of business processing tasks. Based on the target edge computing node and the collaborative edge computing node, the first set of business processing tasks and the second set of business processing tasks are processed respectively to obtain the first sub-business execution purpose and the second sub-business execution purpose respectively. The second sub-business execution objective of the collaborative edge computing node is fed back to the target edge computing node, and the first and second sub-business execution objectives are summarized based on the target edge computing node to obtain the business execution objective corresponding to the business data.
8. The intelligent gateway service processing method based on edge computing according to claim 1, characterized in that, In step 3, the purpose of service execution is transmitted to the cloud center, and a target control instruction is generated based on the purpose of service execution by the cloud center. Service control is then performed on the network device to be controlled based on the target control instruction, including: Obtain the first interface configuration parameters of the cloud center and the second interface configuration parameters of the smart gateway, and construct the data transmission link between the smart gateway and the cloud center based on the first interface configuration parameters and the second interface configuration parameters; The obtained business execution purpose is transmitted to the cloud center via the data transmission link. The cloud center then parses the received business execution purpose to obtain the type of device to be controlled corresponding to the business execution purpose. At the same time, based on the parsing result, the target instruction element is retrieved from the preset instruction element library and concatenated. The concatenated instruction is then adapted to the identification standard of the instruction based on the type of device to be controlled to obtain the target control instruction. The preset instruction element library is pre-set to store instruction bytes corresponding to different control types. The target instruction element refers to the instruction byte used to generate control instructions for the type of device to be controlled. The final target control instruction is obtained by concatenating the target instruction elements. Based on the target control instructions, a service flow corresponding to the service execution purpose is created, and based on the service flow, the target control instructions are transmitted to the network device to be controlled corresponding to the type of device to be controlled for service control.
9. The intelligent gateway service processing method based on edge computing according to claim 8, characterized in that, Based on the service flow, target control commands are transmitted to the network device to be controlled, corresponding to the type of device to be controlled, for service control, including: The system acquires the first execution log of the network device under the target control command and the second execution log of the smart gateway between the network device and the network device under the control. At the same time, it determines the status evaluation indicators and service status evaluation dimensions of the network device under the control and the smart gateway, wherein the status evaluation indicators and service status evaluation dimensions correspond one-to-one. Based on the status assessment index, the service operation status of the first execution log and the second execution log are assessed under each service status assessment dimension to obtain the service operation status assessment value of the network device to be controlled and the smart gateway under each service status assessment dimension. When the business operation status assessment value is less than the preset threshold, it is determined that there is an anomaly in the network device and smart gateway under control during business execution, and an alarm is sent to the management terminal.
Citation Information
Patent Citations
Video data scheduling method and system, electronic equipment and readable medium
CN113934545A
Service processing method, system and device in cloud computing network and electronic equipment
CN114301907A
