Business processing method and device, electronic equipment and computer readable medium
By receiving business attributes and determining the edge computing mode and resource allocation method, the business is processed to reduce the pressure on the cloud center, which solves the problem of high processing pressure on the cloud center under the centralized computing mode, and achieves the reduction of business processing delay and improvement of efficiency.
Patent Information
- Application Number
- CN202311426756.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2024-10-18
AI Technical Summary
The centralized computing model results in heavy processing pressure on the cloud center and prolonged business processing time. It is necessary to reduce the processing pressure on the cloud center and reduce the business processing delay.
By receiving the business attributes of the target business and inputting them into the decision-making model to determine the edge computing mode and resource allocation mode, including full offloading mode and partial offloading mode, edge-edge collaboration mode and cloud-edge collaboration mode, the target business is processed to reduce the processing time of the cloud center. pressure.
It effectively reduces the processing pressure of the cloud center, reduces the business processing delay, and improves the efficiency and security of business processing through the combination of edge computing mode and resource allocation method.
Smart Images

Figure CN118796416A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of edge computing, and in particular to a business processing method, device, electronic device and computer-readable medium. Background Art
[0002] The business support system is a business system that centrally and uniformly plans and integrates various business functions, and is mainly used in the communications industry. For example, the business support system can provide services shared by the entire network, such as billing, settlement, business, accounting, and customer service.
[0003] Business support systems usually use a centralized computing model to ensure the security of business data. The centralized computing model requires that business data be offloaded to the cloud center and processed by the computing nodes in the cloud center. This computing model results in greater processing pressure on the cloud center and longer business processing delays. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a business processing method, device, electronic device and computer-readable medium that can reduce the processing pressure of the cloud center and reduce business processing delays.
[0005] To solve the above technical problems, the embodiments of the present application are implemented through the following aspects.
[0006] In the first aspect, an embodiment of the present application provides a business processing method, including: receiving a target business and obtaining business attributes of the target business; inputting the business attributes into a decision model to obtain an edge computing mode and a resource allocation method of the target business; the edge computing mode includes at least one of a full unloading mode and a partial unloading mode, and the resource allocation method includes at least one of an edge-edge collaboration mode and a cloud-edge collaboration mode; based on the edge computing mode and the resource allocation method, processing the target business.
[0007] In the second aspect, an embodiment of the present application provides a business processing device, including: an acquisition module, used to receive a target business and obtain business attributes of the target business; an analysis module, used to input the business attributes into a decision model to obtain an edge computing mode and a resource allocation method of the target business; the edge computing mode includes at least one of a full unloading mode and a partial unloading mode, and the resource allocation method includes at least one of an edge-edge collaboration method and a cloud-edge collaboration method; a processing module, used to process the target business based on the edge computing mode and the resource allocation method.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the business processing method described in the first aspect above is implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the business processing method described in the first aspect is implemented.
[0010] In an embodiment of the present application, a target business is received and business attributes of the target business are obtained; the business attributes are input into a decision model to obtain an edge computing mode and a resource allocation method of the target business; the edge computing mode includes at least one of a full offloading mode and a partial offloading mode, and the resource allocation method includes at least one of an edge-edge collaboration mode and a cloud-edge collaboration mode; processing the target business based on the edge computing mode and the resource allocation method can reduce the processing pressure of the cloud center and reduce business processing delays. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0012] Figure 1 A schematic diagram showing a process flow of a business processing method provided by an embodiment of the present application;
[0013] Figure 2 A flowchart of another service processing method provided by an embodiment of the present application is shown;
[0014] Figure 3a A schematic diagram showing a business processing method provided in an embodiment of the present application;
[0015] Figure 3b A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0016] Figure 3c A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0017] Figure 3d A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0018] Figure 4a A schematic diagram showing a corresponding relationship provided by an embodiment of the present application;
[0019] Figure 4b A schematic diagram showing another corresponding relationship provided by an embodiment of the present application;
[0020] Figure 5 A flowchart of another service processing method provided by an embodiment of the present application is shown;
[0021] Figure 6a A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0022] Figure 6b A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0023] Figure 6c A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0024] Figure 6d A schematic diagram showing another service processing method provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram showing the structure of a service processing device provided in an embodiment of the present application is shown;
[0026] Figure 8 A schematic diagram of the hardware structure of an electronic device provided for executing an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0028] Figure 1 A flow chart of a business processing method provided by an embodiment of the present application is shown, and the method can be executed by an electronic device, such as a terminal device or a server device. In other words, the method can be executed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. As shown in the figure, the method may include the following steps.
[0029] Step S110: receiving a target service and acquiring service attributes of the target service.
[0030] Specifically, the target business may be a business initiated by an operator in a business support system, and the business attributes of the target business may be obtained by querying or calling a database or interface of the business support system.
[0031] Business attributes are important information about a business and play an important role in the business support system. For example, they can describe the characteristics of a business, control business permissions, implement business routing, and expand business. Based on business attributes, business managers can classify, manage, and maintain the business to ensure the quality and security of the business.
[0032] Step S120: Input the business attributes into the decision model to obtain the edge computing mode and resource allocation method of the target business.
[0033] Specifically, the decision model can be a decision tree model. For the target business, the decision model can classify the target business according to different business attributes input, and assign a suitable edge computing mode and resource allocation method to the target business.
[0034] The above-mentioned edge computing mode includes at least one of full offloading and partial offloading. Among them, in the full offloading mode, the business data will be transmitted to the edge server through the local area network / local area subnet for business processing, and the edge server will return the processing results to the cloud center after the processing is completed. In the partial offloading mode, the business data is pre-processed by the edge server, and the pre-processing results are sent to the cloud center for subsequent business processing.
[0035] The above resource allocation methods include at least one of edge-edge collaboration and cloud-edge collaboration. Among them, the edge-edge collaboration method is that the edge servers collaborate with each other to complete business processing. The edge-edge collaboration method is suitable for scenarios where the edge server has sufficient computing power. The cloud-edge collaboration method is that the cloud center server and the edge server coordinate scheduling to complete business processing. The cloud-edge collaboration method is suitable for scenarios where the edge server has insufficient computing power and the cloud center server has sufficient computing power.
[0036] Step S130: Process the target business based on the edge computing mode and the resource allocation method.
[0037] By combining edge computing modes and resource allocation modes, different business processing modes can be obtained. For example, by combining edge computing modes and resource allocation modes in pairs, four business processing modes can be obtained. Based on the edge computing mode and resource allocation mode, processing the target business can be based on at least two of the edge computing mode and resource allocation mode to process the target business. As an example, Figure 3a-3d Four processing methods are shown that are obtained by combining edge computing modes and resource allocation methods in pairs.
[0038] Figure 3a It shows the edge-to-edge collaborative processing method used in the full offloading mode. This processing method sends all target services to the edge, and the edge servers complete the service processing through collaborative scheduling by the scheduling center. The processing results are returned to the cloud center for archiving, and the cloud center does not perform any service processing.
[0039] Figure 3b It shows the cloud-edge collaborative processing method in the full offloading mode. This processing method sends all target services to the edge server. The service processing is completed between the cloud center and the edge server, and between the edge servers through the collaborative scheduling of the scheduling center, and the cloud center participates in the service processing.
[0040] Figure 3c It shows the edge-to-edge collaborative processing method in the partial offloading mode. This processing method sends the target business part to the edge server, which performs preprocessing. After the preprocessing is completed, the processing results are sent to the cloud center for subsequent business processing. The cloud center does not participate in the preprocessing.
[0041] Figure 3d The processing method of cloud-edge collaboration in partial offloading mode is shown. This processing method sends the target business part to the edge server, and the edge server and the cloud center jointly perform preprocessing through the collaborative scheduling of the scheduling center. After the preprocessing is completed, the processing results are sent to the cloud center for subsequent business processing, and the cloud center participates in the preprocessing.
[0042] In an embodiment of the present application, a target business is received and business attributes of the target business are obtained; the business attributes are input into a decision model to obtain an edge computing mode and a resource allocation method of the target business; the edge computing mode includes at least one of a full offloading mode and a partial offloading mode, and the resource allocation method includes at least one of an edge-edge collaboration mode and a cloud-edge collaboration mode; based on the edge computing mode and the resource allocation method, the target business is processed, which can reduce the processing pressure of the cloud center and reduce business processing delays.
[0043] In a possible implementation, after processing the target business, the method further includes: synchronizing the processing data of the target business from the edge server to the cloud center.
[0044] Specifically, after the edge server completes the target business processing, synchronizing the processed data to the cloud center can achieve data backup and disaster recovery, avoid losses caused by local data loss or damage, and improve data security. In addition, by synchronizing data to the cloud, business data sharing and collaboration can be achieved, and multiple users can access and use the same business data at the same time, thereby improving the work efficiency of the business support system.
[0045] Figure 2 Another flowchart of a service processing method provided by an embodiment of the present application is shown, including:
[0046] Step S210: Receive the target service and obtain the service attributes of the target service.
[0047] This step can refer to Figure 1 The description of step S110 in the embodiment will not be repeated here.
[0048] Step S220: Determine the edge computing mode of the target business according to the matching result between the business attribute and the node.
[0049] Specifically, the above nodes are nodes in the decision model. The decision model has multiple nodes, and the nodes have a corresponding relationship with the business attributes. The nodes are used to screen the target business according to the business attributes, so as to determine the edge computing mode suitable for the target business.
[0050] In a possible implementation, determining the edge computing mode of the target service according to the matching result between the service attribute and the node includes:
[0051] Step S2201: when the target service has a first service attribute, determine, through the node, that the edge computing mode of the target service is a partial offloading mode.
[0052] Step S2202: When the target service does not have the first service attribute, determine, through the node, that the edge computing mode of the target service is a full offloading mode.
[0053] The first business attribute reflects the interaction relationship between the target business and the cloud center. If the target business has the first business attribute, it indicates that the target business needs to interact with the cloud center, for example, the target business needs to call the business data of the cloud database, etc. If the target business does not have the first business attribute, it indicates that the target business does not need to interact with the cloud center.
[0054] When the target business needs to interact with the cloud center, the edge computing mode of the target business is determined to be a partial offloading mode because only offloading the entire target business to the edge server may cause inconsistencies in the business data of the target business between the cloud center and the edge server, requiring data synchronization, which will increase network bandwidth overhead and the risk of data leakage. When the target business does not need to interact with the cloud center, the edge computing mode of the target business is determined to be a full offloading mode, thereby saving network transmission delays and cloud center processing pressure, and also ensuring the security of business data.
[0055] Step S230: Determine a resource allocation method for the target service according to the matching results between the service attribute and the plurality of nodes.
[0056] Specifically, based on the correspondence between nodes and business attributes, the resource allocation method of the target business in this step can be determined according to the matching results of multiple business attributes of the target business with multiple nodes. In view of the different impacts of different business attributes on resource demand and utilization, this step determines the resource allocation method of the target business according to the matching results of the business attributes with multiple nodes, comprehensively considers multiple business attributes of the target business, and can effectively allocate computing resources of the edge server to the target business, thereby reducing the processing pressure of the cloud center.
[0057] In a possible implementation manner, determining the resource allocation manner of the target service according to the matching result between the service attribute and the plurality of nodes includes:
[0058] Step S2301: when the edge server meets the third service attribute and the fourth service attribute of the target service, determine, through a plurality of the nodes, that the resource allocation mode of the target service is an edge-to-edge collaboration mode.
[0059] Step S2302: When the edge server does not meet the fourth service attribute, the resource allocation mode of the target service is determined to be a cloud-edge collaboration mode through the node.
[0060] The third service attribute reflects the security performance requirements of the target service, and the fourth service attribute reflects the computing power requirements of the target service. Exemplarily, the security performance requirements include at least one of identity authentication, data security, vulnerability management, physical security, network security, reliability, and compliance. The computing power requirements include at least one of CPU occupancy, memory utilization, disk I / O performance, network bandwidth, system load, throughput, response time, etc.
[0061] Specifically, when the target business does not need to interact with the cloud center, a node of the decision model is used to determine whether the edge server meets the security performance requirements of the target business. If it does, another node of the decision model is used to determine whether the edge server meets the computing power requirements of the target business. When the edge server does not meet the above computing power requirements, the resource allocation method of the target business is determined to be a cloud-edge collaboration method, and the edge server processes part of the target business within its business carrying capacity, and transmits part of the target business that exceeds the business carrying capacity of the edge server to the cloud center for processing. For example, when the business volume threshold of the edge server is 30,000 orders, if the business volume of the target business is less than 30,000 orders, the edge computing mode is determined to be edge-edge collaboration; if the business volume of the target business exceeds 30,000 orders, the business carrying capacity of the edge server is insufficient, and the business volume exceeding 30,000 orders needs to be transmitted to the cloud center for processing using the cloud-edge scheduling capability, and the edge computing mode is determined to be cloud-edge collaboration.
[0062] Since the CPU of the edge server is difficult to schedule, large errors are likely to occur when judging whether the edge server meets the computing power requirements of the target business.
[0063] In order to accurately evaluate the business carrying capacity of the edge server, as an example, the embodiment of the present application tests the business volume of the sample task, the processing delay and the average CPU occupancy rate during the sample task processing, and fills the test results into the test result record table shown in Table 1. As an example, the interval Δ of the business volume is set to 5000 single business volumes, and 18 sample businesses with business volumes ranging from 5000 to 85000 are collected. Each sample business is tested 20 times to obtain the average CPU occupancy rate and business calculation delay during the processing of the sample business.
[0064] Table 1 Sample business test results record on a server
[0065]
[0066] According to the data in the test result record table, the corresponding relationship between the business volume and the business calculation delay, and the corresponding relationship between the business volume and the average CPU occupancy rate are established respectively.
[0067] Figure 4a A corresponding relationship between the service volume and the service calculation delay is shown, and the corresponding relationship satisfies the following formula (1):
[0068] y1=a1x1+b1 (1)
[0069] Among them, x1 and y1 are the service order quantity and the average service calculation delay respectively, and a1 and b1 are constants.
[0070] Figure 4bThe corresponding relationship between the business volume and the average CPU occupancy rate is shown, and the corresponding relationship satisfies the following formula (2):
[0071]
[0072] Among them, y2 and x2 are the average CPU occupancy and business volume of the edge server respectively, and a2, b2, c2, and d2 are all constants.
[0073] Furthermore, if the latency requirement of the target service is within 1000ms and the CPU occupancy rate of the edge server does not exceed 70%, then Figure 4a The corresponding relationship shown in the figure shows that the threshold of the traffic volume that the edge server can carry is no more than 3×10 4 Single, according to Figure 4b Another corresponding relationship shown in Figure 2 shows that the edge server processes 3×10 4 A single business volume requires a CPU usage rate of 62% to 63%, which is less than 70%. Therefore, it can be determined that the business volume threshold that the edge server can carry is 3×10 4 one.
[0074] Optionally, when the edge server does not conform to the third service attribute, the target service is sent to the cloud center for processing.
[0075] In a possible implementation, when the edge server meets the third service attribute and the fourth service attribute of the target service, determining, through the plurality of nodes, that the resource allocation mode of the target service is an edge-to-edge collaboration mode includes:
[0076] When the edge server meets the third service attribute and the fourth service attribute and the target service has the second service attribute, the resource allocation mode of the target service is determined to be an edge-to-edge collaborative mode through the multiple nodes.
[0077] Among them, the second business attribute reflects the interactive relationship between the target business and the edge server. Specifically, in the case where the target business needs to interact with the cloud center, if the target business has a second business attribute, it indicates that some tasks in the target business only need to interact with the edge server and do not need to interact with the cloud center, such as pre-processing tasks such as collection and duplicate checking in the billing business. Therefore, when the edge server meets the third business attribute and the fourth business attribute, through multiple nodes, it is determined that the resource allocation method of the target business is an edge-to-edge collaborative method, and at least one edge server collaboratively processes some tasks of the above-mentioned target business that do not need to interact with the cloud center, thereby achieving maximum utilization of computing resources on the edge side for business processing and reducing the processing pressure of the cloud center.
[0078] Step S240: Process the target business based on the edge computing mode and resource allocation method.
[0079] This step can refer to Figure 1 The description of step S130 in the embodiment will not be repeated here.
[0080] The embodiment of the present application receives the target business and obtains the business attributes of the target business; determines the edge computing mode of the target business according to the matching results of the business attributes and the nodes; determines the resource allocation method of the target business according to the matching results of the business attributes and multiple nodes; the nodes have a corresponding relationship with the business attributes; and processes the target business based on the edge computing mode and the resource allocation method, which can reduce the processing pressure of the cloud center and reduce the business processing delay.
[0081] In a possible implementation manner, acquiring the attribute of the target service includes: determining the service attribute of the target service according to at least one of a service volume and a delay requirement of the target service.
[0082] Specifically, according to at least one of the traffic volume and latency requirements of the target service, Figure 4a The corresponding relationship between the business volume and business calculation delay is shown, or Figure 4b The corresponding relationship between the business volume and the average CPU occupancy rate is shown to determine the fourth business attribute of the target business, which is used to reflect the computing power requirement of the target business. As an example, when the business volume of the target business is 6×10 4 In the case of a single Figure 4b The corresponding relationship shown determines that the computing power requirement reflected by the fourth attribute of the target service is that the CPU occupancy rate of the edge server is not less than 70%. Or when the latency requirement of the target service is within 1000ms, when the business volume of the target service is 2×10 4 When the number of CPU occupancy rates of the edge servers is not less than 57%, the computing power requirement reflected by the fourth attribute of the target business is determined.
[0083] The embodiment of the present application determines the service attributes of the target service according to at least one of the service volume and latency requirements of the target service, thereby being able to quickly determine the computing power requirements reflected by the target service and reduce service processing latency.
[0084] like Figure 5 As shown, the embodiment of the present application further provides a service processing method. The following describes an application scenario of each of the above embodiments through the service processing method, including:
[0085] Step S501: Business arrives.
[0086] Step S502: attribute extraction.
[0087] Specifically, after receiving the billing service from the operator's cloud computing service, the business attributes of the billing service are extracted, and the above business attributes are input into the decision model. The decision model classifies the target business according to the business attributes and assigns a suitable edge computing mode and resource allocation method to the target business.
[0088] Step S503: Determine center interaction.
[0089] The first node of the decision model is used to determine whether the billing service needs to interact with the cloud center. Specifically, when the billing service does not need to rely on the billing data stored in the EBOSS database, it is determined that the billing service does not have the business attributes of interacting with the cloud center, and the edge computing mode of the billing service is determined to be a full unloading mode, and step S504 is executed. When the billing service depends on the billing data stored in the EBOSS database, it is determined that the billing service has the business attributes of interacting with the cloud center, thereby determining that the edge computing mode of the billing service is a partial unloading mode, and jumping to step S506.
[0090] Step S504: Determine business splitting.
[0091] Specifically, the above-mentioned billing service can be decomposed into four sub-services, namely, bill collection, bill duplication check, bill verification and bill batch pricing. That is, the billing service has the attribute of service splitting.
[0092] Optionally, when the above-mentioned billing service does not have the service splitting attribute, jump to step S509.
[0093] Step S505: Determine the security of the edge side.
[0094] Specifically, when the edge server meets the security performance requirements reflected by the business attributes of the above-mentioned billing business, for example, the edge server has a security protection mechanism for security performance requirements, execute step S506.
[0095] Optionally, when the edge server meets the security performance requirements reflected by the service attributes of the above-mentioned billing service, the process jumps to step S509 to ensure the security of the service data.
[0096] Step S506: Determine the computing power calculation.
[0097] Specifically, if the available computing power of the edge server can meet the computing power requirements reflected by the service attributes of the above-mentioned billing service, jump to step S511. If the available computing power of the edge server cannot meet the computing power requirements reflected by the service attributes of the above-mentioned billing service, jump to step S510.
[0098] Step S507: Determine the security of the edge side.
[0099] Specifically, when the edge server meets the security performance requirements reflected by the service attributes of the above-mentioned billing service, for example, the edge server has a security guarantee mechanism for the security performance requirements, step S508 is executed.
[0100] Optionally, when the edge server meets the security performance requirements reflected by the service attributes of the above-mentioned billing service, the process jumps to step S509 to ensure the security of the service data.
[0101] Step S508: Determine the computing power calculation.
[0102] Specifically, if the available computing power of the edge server can meet the computing power requirements reflected by the service attributes of the above-mentioned billing service, jump to step S513. If the available computing power of the edge server cannot meet the computing power requirements reflected by the service attributes of the above-mentioned billing service, jump to step S512.
[0103] Step S509: Send to the center.
[0104] Specifically, the above-mentioned billing service is transmitted to the cloud center, and the cloud computing node processes the billing service.
[0105] Step S510: Uninstall all (cloud-edge collaboration).
[0106] Specifically, the edge computing mode and resource allocation mode of the above-mentioned billing service are determined to be a cloud-edge collaboration mode in the full offloading mode. As an example, Figure 6b The processing process of billing services in the cloud-edge collaboration mode in the full offload mode is shown. The edge server collects the call records generated by the terminal in stage ① through the local area network in stage ②, and dispatches multiple edge servers through edge-to-edge scheduling technology and dispatches cloud computing nodes through cloud-edge scheduling technology to collaboratively process the three subtasks of call record verification, call record duplicate checking, and call record batch pricing in stage ③. After the processing is completed, the edge server transmits the service data to the database of the cloud center through the bearer network in stage ④, and the cloud computing nodes also store the service data in the database in stage ④.
[0107] Step S511: Uninstall all (side-by-side collaboration).
[0108] Specifically, the edge computing mode and resource allocation mode of the above-mentioned billing service are determined to be the edge-to-edge collaboration mode in the full offloading mode. As an example, Figure 6aThe processing process of the billing service in the edge-to-edge collaboration mode in the full offload mode is shown. The edge server collects the call records generated by the terminal in stage ① through the local area network in stage ②, and dispatches multiple edge servers to collaboratively process the three subtasks of call record verification, call record duplication check and call record batch pricing in stage ③ through the edge scheduling technology. After the processing is completed, the edge server transmits the service data to the database of the cloud center through the bearer network in stage ④, and the basic data stored in the edge-side database also needs to be synchronized to the database.
[0109] Step S512: Partial unloading (cloud-edge collaboration).
[0110] Specifically, the edge computing mode and resource allocation mode of the above-mentioned billing service are determined to be a cloud-edge collaboration mode in a partial offloading mode. As an example, Figure 6d The processing process of billing services in the cloud-edge collaborative mode under partial offloading mode is shown. Among them, call bill batch pricing is a subtask that needs to interact with the cloud center. The edge server collects the call bills generated by the terminal in stage ① through the local area network in stage ②, and dispatches multiple edge servers through edge-to-edge scheduling technology and dispatches cloud computing nodes through cloud-edge scheduling technology to collaboratively process the two subtasks of call bill verification and call bill duplicate checking in stage ③. After the processing is completed, the edge server transmits the service data to the cloud center through the bearer network in stage ④, and the cloud center continues to process the call bill batch pricing subtask.
[0111] Step S513: Partial unloading (side-by-side collaboration).
[0112] Specifically, the edge computing mode and resource allocation mode of the above-mentioned billing service are determined to be an edge-to-edge collaboration mode in a partial offloading mode. As an example, Figure 6c The processing process of the billing service in the edge-to-edge collaborative mode under the partial unloading mode is shown. Among them, the call bill batch pricing is a subtask that needs to interact with the cloud center. The edge server collects the call bills generated by the terminal in stage ① through the local area network in stage ②, and dispatches multiple edge servers to collaboratively process the two subtasks of call bill verification and call bill duplicate checking in stage ③ through the edge scheduling technology. After the processing is completed, the edge server transmits the service data to the cloud center in stage ④, and the cloud center continues to process the call bill batch pricing subtask.
[0113] Through the service processing method provided in the embodiment of the present application, the application scenarios of the above-mentioned embodiments in the billing service under the cloud computing service of the communication operator are explained, which can reduce the processing pressure of the cloud center and reduce the processing delay.
[0114] Figure 7 A schematic diagram of the structure of a business processing device provided in an embodiment of the present application is shown. The device 700 includes: an acquisition module 710, an analysis module 720 and a processing module 730.
[0115] The acquisition module 710 is used to receive the target business and obtain the business attributes of the target business; the analysis module 720 is used to input the business attributes into the decision model to obtain the edge computing mode and resource allocation method of the target business; the edge computing mode includes at least one of a full offloading mode and a partial offloading mode, and the resource allocation method includes at least one of an edge-edge collaboration mode and a cloud-edge collaboration mode; the processing module 730 is used to process the target business based on the edge computing mode and the resource allocation method.
[0116] In one possible implementation, the decision model has multiple nodes; the nodes have a corresponding relationship with the business attributes; the analysis module 720 is also used to determine the edge computing mode of the target business based on the matching results of the business attributes and the nodes; and determine the resource allocation method of the target business based on the matching results of the business attributes and the multiple nodes.
[0117] In a possible implementation, the analysis module 720 is also used to, when the target business has a first business attribute, determine, through the node, that the edge computing mode of the target business is a partial unloading mode; when the target business does not have the first business attribute, determine, through the node, that the edge computing mode of the target business is a full unloading mode; the first business attribute reflects the interactive relationship between the target business and the cloud center.
[0118] In a possible implementation, the analysis module 720 is also used to determine, through multiple nodes, that the resource allocation mode of the target business is an edge-to-edge collaboration mode when the edge server meets the third business attribute and the fourth business attribute of the target business; and to determine, through the nodes, that the resource allocation mode of the target business is a cloud-edge collaboration mode when the edge server does not meet the fourth business attribute; wherein the third business attribute reflects the security performance requirements of the target business, and the fourth business attribute reflects the computing power requirements of the target business.
[0119] In a possible implementation, the analysis module 720 is also used to determine, through multiple nodes, that the resource allocation method of the target business is an edge-to-edge collaborative method when the edge server meets the third business attribute and the fourth business attribute and the target business has a second business attribute; the second business attribute reflects the interactive relationship between the target business and the edge server.
[0120] In a possible implementation, the acquisition module 710 is used to determine the service attribute of the target service according to at least one of the service volume and latency requirement of the target service.
[0121] In a possible implementation, the business processing device further includes a synchronization module, which is used to synchronize the processing data of the target business from the edge server to the cloud center after processing the target business.
[0122] The device 700 provided in the embodiment of the present application can execute the various methods described in the foregoing method embodiments, and realize the functions and beneficial effects of the various methods described in the foregoing method embodiments, which will not be repeated here.
[0123] Figure 8 A schematic diagram of the hardware structure of an electronic device that executes the business processing method provided in an embodiment of the present application is shown. Referring to the figure, at the hardware level, the electronic device includes a processor 810, and optionally, an internal bus 820, a network interface 830, and a memory. Among them, the memory may include a memory 840, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory) 880, such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
[0124] The processor 810, the network interface 830 and the memory may be connected to each other via an internal bus 820, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0125] The memory is used to store programs. Specifically, the program may include program codes, and the program codes include computer operation instructions. The memory may include a memory 840 and a non-volatile memory 880, and provide instructions and data to the processor 810.
[0126] The processor 810 reads the corresponding computer program from the non-volatile memory 880 into the memory 840 and then runs it, forming a device for locating the target user at the logical level. The processor 810 executes the program stored in the memory and is specifically used to execute Figure 1 , Figure 2 and Figure 5 The method described in the embodiment achieves the same or corresponding technical effects.
[0127] The above application Figure 1 to Figure 2 The method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor 810. The processor 810 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the processor 810. The above processor 810 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor 810 reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0128] The electronic device can also execute the methods described in the foregoing method embodiments, and realize the functions and beneficial effects of the methods described in the foregoing method embodiments, which will not be repeated here.
[0129] Of course, in addition to software implementation, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0130] The embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device executes Figure 1 , Figure 2 and Figure 5 The method described in the embodiment achieves the same or corresponding technical effects.
[0131] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0132] Furthermore, the embodiment of the present application also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, Figure 1 , Figure 2 and Figure 5 The method described in the embodiment achieves the same or corresponding technical effects.
[0133] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0134] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0135] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0136] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0137] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A business processing method, characterized in that: include: Receive the target business and obtain the business attributes of the target business; Input the business attributes into the decision model to obtain the edge computing mode and resource allocation method of the target business; The edge computing mode includes at least one of a full offloading mode and a partial offloading mode, and the resource allocation mode includes at least one of an edge-edge collaboration mode and a cloud-edge collaboration mode; Based on the edge computing mode and the resource allocation method, the target business is processed.
2. The method according to claim 1, characterized in that The decision model has a plurality of nodes; the nodes have a corresponding relationship with the business attributes; Inputting the service attributes into the decision model to obtain the edge computing mode and resource allocation method of the target service includes: Determining an edge computing mode of the target business according to a matching result between the business attribute and the node; A resource allocation method for the target service is determined according to a matching result between the service attribute and the plurality of nodes.
3. The method according to claim 2, characterized in that Determining the edge computing mode of the target service according to the matching result between the service attribute and the node includes: In a case where the target service has a first service attribute, determining, through the node, that the edge computing mode of the target service is a partial offloading mode; In the case that the target business does not have the first business attribute, the edge computing mode of the target business is determined to be a full offloading mode through the node; the first business attribute reflects the interactive relationship between the target business and the cloud center.
4. The method according to claim 2, characterized in that: The determining of the resource allocation method of the target service according to the matching result between the service attribute and the plurality of nodes includes: When the edge server meets the third service attribute and the fourth service attribute of the target service, determining, through the plurality of nodes, that the resource allocation mode of the target service is an edge-to-edge collaboration mode; When the edge server does not meet the fourth service attribute, determining, through the node, that the resource allocation mode of the target service is a cloud-edge collaboration mode; Among them, the third business attribute reflects the security performance requirements of the target business, and the fourth business attribute reflects the computing power requirements of the target business.
5. The method according to claim 4, characterized in that When the edge server meets the third service attribute and the fourth service attribute of the target service, determining that the resource allocation mode of the target service is an edge-to-edge collaboration mode through the multiple nodes includes: When the edge server meets the third business attribute and the fourth business attribute and the target business has the second business attribute, the resource allocation mode of the target business is determined to be an edge-to-edge collaborative mode through multiple nodes; the second business attribute reflects the interactive relationship between the target business and the edge server.
6. The method according to claim 1, characterized in that The attributes of the target service are as follows: Determine a service attribute of the target service according to at least one of a service volume and a delay requirement of the target service.
7. The method according to claim 1, characterized in that After processing the target business, the method further includes: The processing data of the target business is synchronized from the edge server to the cloud center.
8. A service processing device, characterized in that: include: An acquisition module, used to receive a target business and acquire business attributes of the target business; An analysis module, used to input the business attributes into a decision model to obtain an edge computing mode and resource allocation method for the target business; The edge computing mode includes at least one of a full offloading mode and a partial offloading mode, and the resource allocation mode includes at least one of an edge-edge collaboration mode and a cloud-edge collaboration mode; A processing module is used to process the target business based on the edge computing mode and resource allocation method.
9. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the business processing method according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the business processing method according to any one of claims 1 to 7 are implemented.
