Communication methods, systems, devices, media, and program products
By calculating the residual value of business messages and introducing interference integrals and accumulation prediction mechanisms, the problem of data delay or loss caused by congestion during edge-cloud communication is solved, thus achieving the retention of high-value data and communication reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NINGBO SHUYI GONGLIAN TECH CO LTD
- Filing Date
- 2026-06-02
- Publication Date
- 2026-07-03
AI Technical Summary
Congestion can easily occur during communication between the edge and the cloud, leading to delays or loss of high-value or urgent data. Existing communication strategies cannot guarantee communication quality and reliability.
By obtaining the generation time, initial value, and value decay parameters of business messages, the remaining value is calculated, and the message with the lowest remaining value is discarded during congestion. At the same time, interference integral and backlog prediction mechanisms are introduced to optimize the communication process.
It effectively avoids delays or loss in sending high-value or urgent data, prioritizes discarding aging and low-value data, and retains valid information to the greatest extent possible, thus ensuring the quality and reliability of communication.
Smart Images

Figure CN122339636A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a communication method, system, device, medium, and program product. Background Technology
[0002] With the rapid development of Industrial Internet of Things (IIoT) technology, the interaction between edge devices and cloud servers is becoming increasingly frequent. However, due to the complexity of the network environment, the resource limitations of edge devices, and the differences in the processing capabilities of cloud servers, business interactions between the edge and the cloud often face numerous challenges.
[0003] Various business messages are sent between the edge and the cloud, which can easily lead to congestion. Existing communication strategies may actively discard some business messages, which may result in delays or loss of high-value or urgent data, such as alarm data and real-time completion data, thus failing to guarantee the quality and reliability of communication. Summary of the Invention
[0004] The technical problem to be solved by this disclosure is to overcome the defects in the prior art, such as the active discarding of some business messages when congestion occurs during cloud and edge communication, resulting in poor communication quality and low reliability, and to provide a communication method, system, device, medium and program product.
[0005] This disclosure solves the above-mentioned technical problems through the following technical solution:
[0006] This disclosure provides a communication method, the communication method comprising:
[0007] Obtain the generation time, initial value, and value decay parameters of several business messages to be sent;
[0008] When a congestion event occurs during communication, the remaining value of several service messages is obtained based on the current time, the generation time, the initial value, and the value decay parameter.
[0009] Discard the business message with the lowest remaining value from among the aforementioned business messages;
[0010] The formula for calculating the remaining value of several business messages based on the current time, the generation time, the initial value, and the value decay parameter is as follows:
[0011] y=x*a (t2-t1) / Δt ;
[0012] Where y represents the remaining value, x represents the initial value, a is a constant, t2 represents the current time, t1 represents the generation time, and Δt represents the value decay parameter.
[0013] Optionally, the communication method further includes:
[0014] Get the queue dequeue rate of the sending threads for several services;
[0015] When the dequeue rate of the first queue corresponding to the first service increases to a first threshold and the dequeue rate of the second queue corresponding to the second service decreases to a second threshold within a preset time period, it is determined that the sending thread of the first service interferes with the sending thread of the second service, and the interference integral of the sending thread of the first service is increased.
[0016] Based on the interference integral, a rate limiting operation is performed on the sending thread of the first service;
[0017] And / or,
[0018] The communication method further includes:
[0019] Based on the historical backlog of services, predict the predicted backlog of services within a future preset time period;
[0020] Obtain the deviation between the predicted accumulation amount and the actual accumulation amount;
[0021] Based on the deviation value, congestion control operations are performed.
[0022] Optionally, the communication method includes:
[0023] Obtain the actual scores corresponding to several communication indicators during the communication process;
[0024] Based on the actual scores, the preset conditions are determined;
[0025] In response to the fulfillment of the preset conditions, a transmission strategy for the business message is determined;
[0026] Data communication is performed based on the aforementioned transmission strategy.
[0027] Optionally, the step of determining the preset conditions based on the actual score includes:
[0028] The average of the actual scores is used as the target score;
[0029] The preset condition is that the target score is less than the preset score.
[0030] Optionally, the step of determining the preset conditions based on the actual score includes:
[0031] Obtain the actual risk level corresponding to several of the aforementioned communication indicators;
[0032] The preset condition is that the actual risk level is a preset risk level and the actual score is less than the preset score.
[0033] And / or,
[0034] The steps for obtaining the actual scores corresponding to several communication indicators during the communication process include:
[0035] Based on the actual risk level corresponding to the communication indicator, the scoring coefficient corresponding to the communication indicator is obtained;
[0036] Based on the scoring coefficient corresponding to the communication indicator, the actual score corresponding to the communication indicator is obtained.
[0037] Optionally, the step of determining the transmission strategy of the service message in response to the preset condition being met includes:
[0038] In response to the preset condition being met, the actual business level corresponding to the business message is obtained;
[0039] Store the business messages whose actual business level is a preset business level into a temporary queue;
[0040] Based on a preset time duration, obtain the new actual score;
[0041] Based on the new actual score, determine the new preset conditions;
[0042] In response to the new preset condition not being met, the service message in the temporary queue is transmitted;
[0043] And / or,
[0044] The communication method is applied to the client, and before the step of obtaining the actual scores corresponding to several communication indicators during the communication process, it further includes:
[0045] Establish a communication connection with the server;
[0046] Security authentication is performed based on the communication connection;
[0047] In response to successful security authentication, the message type of the business message is subscribed.
[0048] In response to the completion of the message type subscription, data communication with the server is initiated.
[0049] This disclosure also provides a communication system, the communication system further comprising:
[0050] The business information acquisition module is used to acquire the generation time, initial value, and value decay parameters of several business messages to be sent;
[0051] The residual value acquisition module is used to obtain the residual value of several business messages based on the current time, the generation time, the initial value, and the value decay parameter when a congestion event occurs during communication.
[0052] The business message discarding module is used to discard the business message with the lowest remaining value from a plurality of business messages;
[0053] The calculation formula used by the residual value acquisition module is as follows:
[0054] y=x*a (t2-t1) / Δt ;
[0055] Where y represents the remaining value, x represents the initial value, a is a constant, t2 represents the current time, t1 represents the generation time, and Δt represents the value decay parameter.
[0056] Optionally, the communication system further includes:
[0057] The queue dequeue rate acquisition module is used to obtain the queue dequeue rate of the sending threads of several services.
[0058] The interference integral increasing module is used to determine that the sending thread of the first service is interfering with the sending thread of the second service when the dequeue rate of the first queue corresponding to the first service increases by a first threshold and the dequeue rate of the second queue corresponding to the second service decreases by a second threshold within a preset time period, and then increases the interference integral of the sending thread of the first service.
[0059] The restriction operation execution module is used to perform a rate restriction operation on the transmission thread of the first service based on the interference integral;
[0060] And / or,
[0061] The communication system also includes:
[0062] The backlog prediction module is used to predict the predicted backlog of the service within a preset time period based on the historical backlog of the service.
[0063] The deviation value acquisition module is used to acquire the deviation value between the predicted accumulation amount and the actual accumulation amount;
[0064] The control operation execution module is used to perform congestion control operations based on the deviation value.
[0065] Optionally, the communication system further includes:
[0066] The actual score acquisition module is used to acquire the actual scores corresponding to several communication indicators during the communication process.
[0067] The preset condition determination module determines preset conditions based on the actual score;
[0068] A transmission strategy determination module is used to determine the transmission strategy of the service message in response to the fulfillment of the preset conditions.
[0069] A data communication module is used to perform data communication based on the transmission strategy.
[0070] Optionally, the preset condition determination module includes:
[0071] The target score acquisition unit is used to take the average of the actual scores as the target score;
[0072] The preset condition acquisition unit is used to take the target score being less than the preset score as the preset condition.
[0073] Optionally, the preset condition determination module includes:
[0074] A risk level acquisition unit is used to acquire the actual risk level corresponding to several of the aforementioned communication indicators.
[0075] A preset condition determination unit is used to take the actual risk level as a preset risk level and the actual score as less than the preset score as the preset condition.
[0076] And / or,
[0077] The actual score acquisition module includes:
[0078] The scoring coefficient acquisition unit is used to obtain the scoring coefficient corresponding to the communication indicator based on the actual risk level corresponding to the communication indicator.
[0079] The actual score acquisition unit is used to obtain the actual score corresponding to the communication indicator based on the score coefficient corresponding to the communication indicator.
[0080] Optionally, the transmission strategy determination module includes:
[0081] A service level acquisition unit is used to acquire the actual service level corresponding to the service message in response to the preset condition being met.
[0082] A business message storage unit is used to store business messages whose actual business level is a preset business level into a temporary queue;
[0083] The new score acquisition unit is used to acquire the new actual score based on a preset time period;
[0084] The new condition acquisition unit is used to determine the new preset conditions based on the new actual score;
[0085] A business message transmission unit is used to transmit the business message in the temporary queue in response to the new preset condition not being met.
[0086] Optionally, the communication system is applied to a client, and the communication system further includes:
[0087] The communication connection establishment module is used to establish a communication connection with the server.
[0088] A security authentication module is used to perform security authentication based on the communication connection;
[0089] The message type subscription module is used to subscribe to the message type of the business message in response to successful security authentication;
[0090] The subscription response module is used to respond to the completion of the subscription for the message type in order to communicate data with the server.
[0091] This disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and for running on the processor, wherein the processor executes the computer program to implement the communication method described above.
[0092] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the communication method described above.
[0093] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the communication method as described above.
[0094] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of this disclosure.
[0095] The positive and progressive effects of this disclosure are as follows:
[0096] When a congestion event occurs during communication, this disclosure obtains the remaining value of several business messages through initial value and value decay parameters, thereby discarding the business message with the lowest remaining value. This avoids delays or loss in sending high-value or urgent data, prioritizes discarding aging and low-value data, and retains effective information to the greatest extent possible, ensuring the quality and reliability of communication. Attached Figure Description
[0097] Figure 1 This is a first flowchart of a communication method according to an embodiment of the present disclosure.
[0098] Figure 2 This is a second flowchart of a communication method according to an embodiment of the present disclosure.
[0099] Figure 3 This is a third flowchart of the communication method according to an embodiment of the present disclosure.
[0100] Figure 4This is a fourth flowchart of the communication method according to an embodiment of the present disclosure.
[0101] Figure 5 This is a first flowchart of step S102 in the communication method of this embodiment.
[0102] Figure 6 This is a second flowchart of step S102 in the communication method of this embodiment.
[0103] Figure 7 This is a flowchart of step S101 in the communication method of this embodiment.
[0104] Figure 8 This is a flowchart of step S103 in the communication method of this embodiment.
[0105] Figure 9 This is a flowchart of a communication method according to an embodiment of the present disclosure.
[0106] Figure 10 This is a schematic diagram of the functional modules of the communication method according to an embodiment of the present disclosure.
[0107] Figure 11 This is a specific example diagram of the communication method according to an embodiment of the present disclosure.
[0108] Figure 12 This is a schematic diagram of the first module of the communication system according to an embodiment of the present disclosure.
[0109] Figure 13 This is a schematic diagram of the second module of the communication system according to an embodiment of the present disclosure.
[0110] Figure 14 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0111] The present disclosure is further illustrated below by way of embodiments, but the present disclosure is not limited to the scope of the embodiments described herein.
[0112] The prefixes such as "first" and "second" used in this disclosure are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this disclosure does not constitute a limitation on the described objects. The description of the described objects is given in the context of the embodiments, and the use of such prefixes should not constitute unnecessary restrictions. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0113] Example 1
[0114] This embodiment provides a communication method, such as Figure 1 As shown, the communication method includes:
[0115] S11. Obtain the generation time, initial value, and value decay parameters of several business messages to be sent;
[0116] S12. When a congestion event occurs during communication, the remaining value of several business messages is obtained based on the current time, generation time, initial value, and value decay parameters.
[0117] S13. Discard the business message with the lowest remaining value from a number of business messages;
[0118] The calculation formula corresponding to step S12 is as follows:
[0119] y=x*a (t2-t1) / Δt ;
[0120] Where y represents the residual value, x represents the initial value, a is a constant, t2 represents the current time, t1 represents the generation time, Δt represents the value decay parameter, and a can be 0.5.
[0121] Specifically, each type of business message has a corresponding value decay parameter. The value decay parameter represents the time corresponding to the value of the business message decreasing by a preset value. For example, the value decay parameter is the value half-life, which is the time corresponding to the value of the business message decreasing to half of its original value. For every half-life that a business message survives, its value is halved. The survival time is the difference between the current time and the time when the business message was generated.
[0122] During communication between the edge and the cloud, various business messages are exchanged. The business to which these messages belong has multiple attributes, as shown in the table below.
[0123] Business Name source Typical frequency Allowed delay Disposable Value half-life Device status message PLC / CNC Every 5 seconds Extremely short (<1s) yes 1 second Real-time completion count Sensors / Bar Scanners Each completed item Short (<2s) no 10 seconds Label printing task MES distribution When changing orders / packaging Medium (<10s) no Infinite (cannot be discarded) Work statistics HMI Confirmation Every 5-10 minutes Relatively long (<2 min) Discardable intermediate packages 5 minutes Shift handover record Manual input Once per class Length (<5min) no unlimited Abnormal alarm data Equipment Diagnostics Occasional Extremely short (<0.5s) no unlimited
[0124] In the table, the source of equipment status messages is PLC / CNC (Programmable Logic Controller; Computer Numerical Control). The source of label printing tasks is MES (Manufacturing Execution System). The source of work reporting statistics transactions is HMI (Human Machine Interface) confirmation.
[0125] Each business message is assigned an initial value upon generation. The initial value varies depending on the business message's business function. For example, a business message named "Device Status Message" has an initial value of 10 because it is overwritten and updates quickly; a real-time completion count has an initial value of 80; a label printing task has an initial value of 100; a work reporting statistics transaction has an initial value of 30; a shift handover record has an initial value of 95; and abnormal alarm data has an initial value of 100.
[0126] When a congestion event occurs in the communication between the edge and the cloud, and business messages need to be actively discarded, the remaining value of multiple business messages is calculated, and the business message with the lowest remaining value is selected for discarding.
[0127] Additionally, the system can count the number of business messages actively discarded due to congestion, and record the remaining value of each discarded message to score the corresponding business. The business's base score = 100 × (1 - number of discards / maximum tolerable number of discards), where the maximum tolerable number of discards is configured according to the business, such as 5 for work reporting transactions. The business's total score = base score - discard value score.
[0128] Discard value score = (total remaining value of discarded business messages / total value of all business messages for this business) × 30 points.
[0129] If the discarded business messages are all low-value data that is about to expire, the penalty is minimal; if a single high-value data item is discarded, the penalty is substantial. To ensure a high overall business score, low-value data should be discarded first.
[0130] When the base score is below 30 or the total score is below 20, the service is prohibited from sending messages. All new service messages are written to the local retention database and will be resent when the system is idle.
[0131] In this embodiment, when a congestion event occurs during communication, the remaining value of several service messages is obtained through the initial value and value decay parameters, thereby discarding the service message with the lowest remaining value. This avoids the delay or loss of sending high-value or urgent data, prioritizes the discarding of aging and low-value data, and retains effective information to the greatest extent possible, thus ensuring the quality and reliability of communication.
[0132] Example 2
[0133] This embodiment provides a communication method, which is a further improvement on embodiment 1.
[0134] In a feasible solution, such as Figure 2 As shown, the communication method also includes:
[0135] S14. Obtain the queue dequeue rate of the sending threads of several services;
[0136] S15. When the dequeue rate of the first queue corresponding to the first service increases to the first threshold within a preset time period, and the dequeue rate of the second queue corresponding to the second service decreases to the second threshold, it is determined that the sending thread of the first service interferes with the sending thread of the second service, and the interference integral of the sending thread of the first service is increased.
[0137] S16. Perform rate limiting operation on the sending thread of the first service based on the interference integral.
[0138] Specifically, the queue dequeue rate of each service sending thread is sampled once per second. If the queue dequeue rate of service A suddenly increases (more than 50% compared to the previous second), while the queue dequeue rate of service B decreases by more than 40%, then service A is considered to be interfering with service B, and an interference integral is recorded for service A.
[0139] The interference points for each service are accumulated independently, with a maximum score of 100.
[0140] When the interference score of a certain service reaches 50 points or more, its transmission rate will be forcibly limited to half of its original value; when the interference score reaches 80 points or more, the transmission of that service will be suspended for 30 seconds.
[0141] Steps S14, S15, and S16 can be performed before step S11 or after step S13. Figure 2 Only steps S14, S15, and S16 are shown; steps S11, S12, and S13 are not shown again.
[0142] In this solution, interference integrals are introduced during the communication between the edge and the cloud to represent the mutual influence between services. By monitoring the changes in the queue dequeue rate of adjacent services, resource hoarding behavior is identified and punished, which is more in line with the reality of multi-service shared environments and ensures the stability and reliability of communication.
[0143] In a feasible solution, such as Figure 3 As shown, the communication method also includes:
[0144] S17. Based on the historical backlog of business, predict the predicted backlog of business within a future preset time period.
[0145] S18. Obtain the deviation between the predicted accumulation volume and the actual accumulation volume;
[0146] S19. Perform congestion control operations based on the deviation value.
[0147] Specifically, it records the traffic data of each business at various points in time over the past 24 hours, i.e., historical traffic data. For example, the business of recording shift handover at 8:00 every day will see a surge, and 00:00 every hour is the peak period for work reporting statistics. Historical traffic data includes historical backlog volume. Using the backlog volume of the same period in history, the backlog volume in the next 30 seconds can be predicted, i.e., predicted backlog volume.
[0148] Obtain the deviation between the predicted backlog and the actual backlog. If the actual backlog is more than 50% higher than the predicted backlog, give the service an abnormal warning score and trigger congestion control in advance, such as compressing or suppressing low-value data in advance, instead of waiting until congestion has already occurred before taking control measures.
[0149] When the deviation value remains high, the transmission quota for this service is proactively reduced to free up communication resources for the upcoming peak period.
[0150] In this solution, short-term predictions are made based on the periodic patterns of service traffic to achieve feedforward control, changing from passive degradation after the fact to proactive adjustment before the fact, thus ensuring the stability and reliability of communication.
[0151] In addition, during the communication process between the edge and the cloud, besides the aforementioned sampling items such as residual value, interference integral, and predicted accumulation amount, there are other sampling items, as shown in the table below.
[0152] Sampling Item Name Data collection method sampling frequency For which business purposes? Queue stack depth The kernel queue length interface is called every 300ms. 1 second all End-to-end delay Each business message is timestamped using hardware when it is generated, and the difference is calculated when it is sent. Each business message all Success rate of sending Sliding window (5 minutes) statistics on successful attempts / total attempts Updated every 30 seconds all Business Confirmation Rate The percentage of business messages requiring ACK (Acknowledgement) that received confirmation is statistically analyzed. Updated every 30 seconds Label printing tasks, work reporting statistics Interference integral Monitor the changes in the queue dequeue rate of each service sending thread. Sample every 5 seconds all Surplus value Each business message records its generation time and initial value. The remaining value is calculated in real time as follows: Remaining value = Initial value × 0.5^(Survival time / Half-life) Update each business message Allowed discarded services Predicted accumulation Based on the historical accumulation volume over the past 24 hours, predict the accumulation volume for the next 30 seconds. Predicts every 30 seconds. all
[0153] The success rate is maintained using two sliding windows: a short window of 30 seconds and a long window of 10 minutes.
[0154] The short window is responsible for rapid response. If three consecutive transmission failures occur within the short window, the success rate score for that service will be temporarily set to 0, and an alarm will be triggered immediately.
[0155] The long window is responsible for long-term stability evaluation. The success rate of transmission within the long window is calculated and scored according to the following rules:
[0156] A success rate of ≥99.5% earns a score of 100; a success rate of 95%~99.5% earns a score of 90~100; a success rate of 90%~95% earns a score of 70~90; a success rate of 80%~90% earns a score of 40~70; and a success rate of <80% earns a score of 0.
[0157] The success rate score is calculated as follows: short window score × 0.6 + long window score × 0.4. The short window score has a higher weight and reflects the sensitivity of the data.
[0158] When calculating the service acknowledgment rate, for services requiring ACKs, such as label printing tasks, a similar dual-window mechanism is used separately. However, if three consecutive messages lack ACKs, the total score for that service is forced to 0 until the first ACK is received. For services with a total score of 0, transmission is stopped.
[0159] For the success rate of transmission and the business confirmation rate, a dual-window mechanism is adopted, with both short and long windows scoring, and weighted fusion is used to ensure the accuracy and reliability of the scoring.
[0160] In a feasible solution, such as Figure 4 As shown, the communication method also includes: S101, obtaining the actual scores corresponding to several communication indicators during the communication process;
[0161] S102. Determine the preset conditions based on the actual scores;
[0162] S103. In response to the preset conditions being met, determine the transmission strategy for the business message;
[0163] S104. Data communication is performed based on the transmission strategy.
[0164] Specifically, the scoring sampling is based on communication metrics as its constituent elements. Communication metrics include edge device resource metrics, such as CPU (Central Processing Unit), memory, DOM (Document Object Model) nodes, network status, and uplink / downlink bandwidth consumption. Communication metrics include multiple attributes such as name, encoding, label, sampling model, risk level, and scoring coefficient. Labels include edge caching and cloud caching. Risk levels can be set to four levels: P0, P1, P2, and P3, with P0 being the highest and P3 the lowest. The number of risk levels can be set or adjusted according to actual circumstances.
[0165] For each communication metric, actual metric data is acquired and compared with preset metric data to determine whether the comparison is normal or abnormal. The preset metric data represents the metric data under standard conditions. For example, if the actual metric data is greater than the preset metric data, the communication metric is considered normal; if the actual metric data is not greater than the preset metric data, the communication metric is considered abnormal. The actual score is determined based on the comparison results.
[0166] It can be set to perform timed scoring and sampling. Additionally, when core business processes, such as shift handover, work reporting, or schedule changes, encounter anomalies, anomaly reports are made, sampling data is obtained, the actual score is calculated, and the score data is packaged and periodically reported to the cloud. The cloud receives the data, distributes it to audit logs, and then tags and persists it to the database.
[0167] The audit logs are pre-defined to include communication metrics scores, edge device scores, cloud device scores, and overall environment scores. Batch processing tasks are periodically analyzed to more accurately pinpoint which part of the system—edge device, cloud device, or overall environment—is unstable, serving as an important reference indicator for stability improvement.
[0168] When the preset conditions are met, the edge device will issue a notification and determine the transmission strategy for business messages. Notification methods may include issuing alarm messages to prompt manual intervention.
[0169] In this solution, the actual scores corresponding to several communication indicators during the communication process are obtained, and then the transmission strategy of business messages is determined for data communication. The impact of communication indicators on data transmission during the communication process is taken into account, ensuring the normal flow of business messages and improving the stability and reliability of communication.
[0170] In a feasible solution, such as Figure 5 As shown, step S102 includes:
[0171] S1021. Use the average of the actual scores as the target score;
[0172] S1022, Set the target score as less than the preset score as a preset condition.
[0173] Specifically, the sum of the actual scores for all communication metrics is obtained; the quotient of the sum of scores and the number of communication metrics is the average of the actual scores, and this average is used as the target score. A preset score, for example, is 60%, which can be set or adjusted according to actual conditions.
[0174] In this scheme, when the average actual score is less than the preset score, the transmission strategy for business messages is determined to ensure the normal flow of business messages and improve the stability and reliability of communication.
[0175] In a feasible solution, such as Figure 6 As shown, step S102 includes:
[0176] S1023. Obtain the actual risk level corresponding to several communication indicators;
[0177] S1024. The actual risk level is the preset risk level and the actual score is less than the preset score as a preset condition.
[0178] Specifically, for communication indicators, in addition to considering the actual score, the risk level of the communication indicator can also be considered to comprehensively determine the preset conditions.
[0179] In this plan, the preset conditions are determined by combining the actual risk level and the actual score, which ensures the accuracy and reliability of the preset conditions.
[0180] Specifically, the preset risk level can be a high-risk level such as P0 or P1.
[0181] In this solution, when the actual score of the communication indicator corresponding to the preset risk level is less than the preset score, the transmission strategy of the business message is determined to ensure the normal flow of the business message and improve the stability and reliability of communication.
[0182] In a feasible solution, such as Figure 7 As shown, step S101 includes:
[0183] S1011. Based on the actual risk level corresponding to the communication indicator, obtain the scoring coefficient corresponding to the communication indicator;
[0184] S1012. Based on the scoring coefficients corresponding to the communication indicators, obtain the actual scores corresponding to the communication indicators.
[0185] Specifically, the scoring coefficient can range from 0 to 1, preset according to the risk level corresponding to the communication indicator, and can also be modified. If the comparison result is normal, the actual score is the product of the scoring coefficient and 1; if the comparison result is abnormal, the actual score is 0.
[0186] In this scheme, the actual score of the communication indicator is determined based on the actual risk level, which ensures the accuracy and reliability of the actual score.
[0187] In a feasible solution, such as Figure 8 As shown, step S103 includes:
[0188] S1031. In response to the preset condition being met, obtain the actual business level corresponding to the business message;
[0189] S1032. Store business messages whose actual business level is the preset business level into a temporary queue;
[0190] S1033. Obtain a new actual score based on the preset duration;
[0191] S1034. Based on the new actual scores, determine the new preset conditions;
[0192] S1035. In response to the new preset condition not being met, transmit the service messages in the temporary queue.
[0193] Specifically, business communication is structured around message types as its constituent elements. Message types include, for example, device name and device information. Each message type includes multiple attributes such as name, encoding, tag, dimension, message model, business level, business module, and rate limiting policy. Tags include edge caching and cloud caching.
[0194] Edge caching refers to caching partial data on the edge to reduce frequent access to the cloud server and continue local business processing when the edge device loses connection with the cloud server. This is implemented by setting up a cache area on the edge device to store temporary data. The cached data consists of information that changes infrequently on the edge, such as device information. When business operations require this data, it is retrieved from the edge cache first; if not found in the edge cache, the data is requested from the cloud. Upon reconnection, a synchronization mechanism updates the data with the cloud server. Caching partial data reduces frequent access to the cloud server and allows local business processing to continue even when the edge device loses connection, improving service response speed and business continuity. Cloud caching is used to store data that changes infrequently in the cloud.
[0195] The dimensions include equipment, production lines, and site groups. The message model is the message transmission format, such as JSON (a lightweight data exchange format). Business levels can be set to four levels: 0, 1, 2, and 3, with 0 being the highest and 3 the lowest. The number of business levels can also be set or adjusted according to actual needs. Business modules include work reporting, planning, data acquisition, and DNC (Distributed Numerical Control).
[0196] Rate limiting strategies are employed when rate limiting of business messages is required, specifically when preset conditions are met. These strategies include storing messages in a temporary queue, coarsening the message distribution over a period of n seconds, and pushing notifications based on changes. Storing messages in a temporary queue involves storing them there for a preset period, then retrieving a new actual score to further determine the new preset conditions. If the new preset conditions are not met, the business messages in the temporary queue are transmitted. The new preset conditions are similar to the original preset conditions and will not be elaborated further. Business messages stored in the temporary queue can be messages with the lowest business level, i.e., business messages with a preset business level of 3. Coarsening the message distribution over a period of n seconds involves, for example, pushing the message once 1 second before rate limiting and once 3 seconds after rate limiting. Messages stored in the temporary queue are only temporarily stored; they need to be pushed again when the score is monitored and restored, i.e., when the new preset conditions are not met, to ensure that the client receives the message at least once. Change-based push means that before rate limiting, the same message is pushed one by one as usual, but after rate limiting, the same message is pushed only once. For example, if there are ten messages, and the first and tenth messages are different, but the second to ninth messages are the same as the first message, then only the first and tenth messages will be pushed, and the second to ninth messages will not be pushed.
[0197] In addition, reducing the transmission rate and increasing the number of retransmissions can reduce data loss and transmission errors.
[0198] In this solution, when the preset conditions are met, business messages with the actual business level of the preset business level are stored in a temporary queue. After a preset interval, a new actual score is obtained. Based on the new actual score, it is determined whether to push business messages in the temporary queue. That is, low-priority business messages are suspended from being pushed. The score is monitored and restored, which optimizes the priority of data transmission, ensures the priority processing and normal flow of critical business, and ensures the continuity of message transmission.
[0199] In a feasible solution, this communication method is applied to the client, such as... Figure 9 As shown, before step S101, the following steps are also included:
[0200] S1011. Establish a communication connection with the server;
[0201] S1012. Perform security authentication based on communication connection;
[0202] S1013. In response to successful security authentication, subscribe to the message type of the business message;
[0203] S1014. In response to message type subscription completion, data communication with the server is initiated.
[0204] Specifically, the client refers to edge devices, terminal devices, industrial control computers, etc., while the server refers to the cloud. The client launches an application to initiate a request to the server to create a long-lived connection, thereby establishing a communication connection. Connection information can be stored on the server. The client and server maintain an active communication connection via heartbeat packets.
[0205] After a communication connection is established, security authentication is required to determine if the connection is legitimate. Security authentication can be performed through user login and a whitelist. Specifically, after successful user login authentication, an IP (Internet Protocol) whitelist verification is performed; if the whitelist verification is successful, the security authentication is complete.
[0206] After security authentication is passed, the client initiates a subscription request for a business message type. The server completes the message type check and subscription process, and then determines that the current communication channel is a legitimate, secure, and usable channel. Based on this channel, the client and the server can communicate with each other.
[0207] During data communication between the client and the server, business modules on the server, such as personnel management and planning management modules, may perform business operations on a certain device, such as shift switching, personnel clocking in and out, plan switching, work reporting, tooling and clamp mold replacement, and scanning data, and push the data to the client for data refresh or business operations.
[0208] The business data, behavioral data, and sampling data generated by the client are pushed to the server and distributed to relevant sub-business systems for related business processes.
[0209] The current connection information, industrial control computer MAC (Media Access Control) address, IP address, subscription information and other related channel metadata are asynchronously persisted to the server-side audit log module, tagged and stored in the database (DB).
[0210] In this solution, secure authentication and message type subscription are used to enable data communication between the client and the server, thereby improving the security of data communication.
[0211] In addition, data transmission also includes encryption and compression. Specifically, when an edge service requests data, the request flows into the edge communication module for message preprocessing. This involves formatting, compression, serialization, and removing unnecessary fields (such as NULL fields) without compromising semantics. The message is encrypted using TLS / RSA (Transport Layer Security; RSA, Rivest-Shamir-Adleman, an asymmetric encryption algorithm) before being sent to the cloud. During communication, GZIP (a lossless data compression algorithm) is used for compression during the NGINX (a communication infrastructure component used for proxying, load balancing, and message transmission) forwarding phase. Upon receiving the message, the cloud decrypts it. The cloud distributes the plaintext request to the service for data assembly and rendering. After assembling the response data, the cloud preprocesses, encrypts, and compresses the message, then sends it to the edge via the designated communication channel. During communication, GZIP is used for compression during the NGINX response phase. Upon receiving the request data, the edge decrypts, verifies the message, and sends it to the service. Some core data flows into the edge cache to speed up subsequent queries. During data communication and transmission, data encryption enhances data transmission security, data compression reduces data transmission volume, ensures lightweight data packets, reduces network bandwidth consumption, lowers data transmission latency, and improves data transmission efficiency.
[0212] During data transmission, it is also necessary to monitor for anomalies in real time and initiate recovery mechanisms to ensure data transmission continuity. Specifically, by monitoring for anomalies such as data loss and transmission errors during data transmission, once a fault is detected, the corresponding recovery mechanism is immediately activated, such as retransmitting lost data or adjusting transmission parameters. Adjusting transmission parameters determines the transmission strategy. Through fault detection and recovery, real-time monitoring and recovery from anomalies during data transmission are achieved, enhancing data interaction under different network conditions and ensuring the continuity, stability, and reliability of business interactions.
[0213] The sampled data can be persisted, visualized, and tagged to facilitate the analysis of diverse indicators such as environmental status, business function assurance, and device stability. It identifies edge devices or cloud customers with pseudo-health issues for focused, continuous monitoring and optimization. Specifically, it samples all metadata, scoring data, core business data (abnormal processes, module errors, etc.), and other indicator data for detailed auditing. Hot data is stored for one month, while cold data is stored for 1-3 years. The sampled data is tagged to generate analysis reports. Metadata includes communication connections, edge MAC addresses, and IP addresses; scoring data includes edge network and edge device resources; and core business data includes abnormal processes and module errors. Hot data refers to more recent data, while cold data refers to older data. Log auditing enables cloud-based problem detection, reducing business system maintenance costs. Long-term aggregated reports can proactively analyze current customer and edge device strengths and weaknesses for targeted optimization.
[0214] The working principle of the communication method in this embodiment is explained below with specific examples:
[0215] like Figure 10The diagram shows the functional modules corresponding to the communication method in this embodiment. This communication method includes functional modules such as security authentication, compression and encryption / decryption, intelligent scheduling, edge caching and cloud synchronization, audit logs, and fault detection and recovery. These modules utilize databases or message processing queues such as Redis (a remote dictionary service), StarRocks (an analytical database system), and Pulsar (a distributed message queue system). The security authentication module enables data communication between the client and server through user login, whitelisting, and message type subscription. The compression and encryption / decryption algorithm module compresses the transmitted data between the client and server using the GZIP compression algorithm and encrypts the transmitted data using TLS / RSA encryption algorithms. The intelligent scheduling module determines preset conditions based on actual scores and determines the transmission strategy when the preset conditions are met. The edge caching and cloud synchronization module caches some data in the cache area and updates the cache data through cloud synchronization. The audit log module samples data for audit details and generates analysis reports. The fault detection and recovery module monitors abnormal situations during data transmission and initiates a recovery mechanism when abnormal situations occur.
[0216] like Figure 11The diagram illustrates a specific example of the communication method in this embodiment. The communicating parties are an edge device and a cloud device. The edge device includes modules for edge services and the main communication process, while the cloud device includes modules for the main communication process, data sampling, fault detection and recovery, and cloud services. The edge device service initiates connection creation and security authentication; the edge device main communication process initiates long-term connection creation; the cloud device main communication process establishes a connection and performs security authentication; and the data sampling, fault detection and recovery modules perform metadata sampling and audit log operations. During data transmission, the edge device requests data from the cloud device. The edge device main communication process preprocesses, compresses, and encrypts the message before transmitting it to the cloud device main communication process. The cloud device main communication process performs data decryption and data packaging; the cloud service module performs business processing; and then the cloud device transmits data to the edge device. The cloud device main communication process preprocesses, compresses, and encrypts the message before transmitting it to the edge device main communication process. The edge device main communication process performs data decryption and data packaging; and the edge device service module performs business processing. During edge caching and cloud synchronization, the edge device service requests data, and the edge device main communication process requests the communication component to request data from the caching system. When the cache is empty, a request is made to the cloud, and the cloud responds to the cache system, involving an authentication process. The main edge communication process involves periodic cloud synchronization, requesting the cloud to refresh the cache system. A request is also made to the cloud, where services assemble the data. During fault detection and recovery, and log auditing, edge services perform fault detection, monitor network and system resource usage, and send statistics to the edge health center for multi-dimensional scoring, including environmental health and business error rate scores. Based on these scores, edge fault predictions are made. After the score is recovered, the edge takes message processing measures and performs edge-based recovery scheduling. Multi-dimensional score data is reported to the cloud and processed through logs, early warning systems, self-healing based on risk level, and manual intervention. After the score is recovered, the cloud takes message processing measures. The reporting of multi-dimensional score data to the cloud involves a cloud response and authentication process. Message processing measures taken by the edge and cloud include on-demand linear compensation of historical data. The edge takes message processing measures, the cloud processes business workflows, and performs cloud-based recovery scheduling. Multi-dimensional scoring requires integration with intelligent scheduling of both the edge and cloud, with each executing corresponding strategies, including rule-based business degradation to prioritize core business operations.
[0217] In this embodiment, by obtaining the actual scores corresponding to several communication indicators during the communication process, the transmission strategy of business messages is determined for data communication. The impact of communication indicators on data transmission during the communication process is taken into account, ensuring the normal flow of business messages and improving the stability and reliability of communication.
[0218] Example 3
[0219] This embodiment provides a communication system, such as Figure 12 As shown, the communication system includes:
[0220] The business information acquisition module 11 is used to acquire the generation time, initial value, and value decay parameters of several business messages to be sent;
[0221] The residual value acquisition module 12 is used to obtain the residual value of several business messages based on the current time, generation time, initial value and value decay parameters when a congestion event occurs during communication.
[0222] The business message discarding module 13 is used to discard the business message with the lowest remaining value from a number of business messages; in an feasible solution, the calculation formula used by the remaining value acquisition module 12 is as follows:
[0223] y=x*a (t2-t1) / Δt ;
[0224] Where y represents the residual value, x represents the initial value, a is a constant, t2 represents the current time, t1 represents the generation time, and Δt represents the value decay parameter.
[0225] In this embodiment, when a congestion event occurs during communication, the remaining value of several service messages is obtained through the initial value and value decay parameters, thereby discarding the service message with the lowest remaining value. This avoids the delay or loss of sending high-value or urgent data, prioritizes the discarding of aging and low-value data, and retains effective information to the greatest extent possible, thus ensuring the quality and reliability of communication.
[0226] Example 4
[0227] This embodiment provides a communication system, which is a further improvement on embodiment 3.
[0228] In a feasible solution, such as Figure 13 As shown, the communication system also includes:
[0229] The queue dequeue rate acquisition module 14 is used to acquire the queue dequeue rate of the sending threads of several services.
[0230] The interference integral increasing module 15 is used to determine that the sending thread of the first service interferes with the sending thread of the second service when the dequeue rate of the first queue corresponding to the first service increases by a first threshold and the dequeue rate of the second queue corresponding to the second service decreases by a second threshold within a preset time period, and increases the interference integral of the sending thread of the first service.
[0231] The limiting operation execution module 16 is used to perform rate limiting operations on the transmission thread of the first service based on the interference integral;
[0232] In one feasible embodiment, the communication system also includes:
[0233] The backlog prediction module 17 is used to predict the backlog of services within a preset time period based on the historical backlog of services.
[0234] Deviation value acquisition module 18 is used to acquire the deviation value between the predicted accumulation amount and the actual accumulation amount;
[0235] The control operation execution module 19 is used to perform congestion control operations based on the deviation value.
[0236] In one feasible embodiment, the communication system also includes:
[0237] The actual score acquisition module 20 is used to acquire the actual scores corresponding to several communication indicators during the communication process.
[0238] The preset condition determination module 21 determines the preset conditions based on the actual scores;
[0239] The transmission strategy determination module 22 is used to determine the transmission strategy of the service message in response to the fulfillment of preset conditions;
[0240] Data communication module 23 is used for data communication based on transmission strategy.
[0241] In this solution, the actual scores corresponding to several communication indicators during the communication process are obtained, and then the transmission strategy of business messages is determined for data communication. The impact of communication indicators on data transmission during the communication process is taken into account, ensuring the normal flow of business messages and improving the stability and reliability of communication.
[0242] In a feasible solution, such as Figure 10 As shown, the preset condition determination module 21 includes:
[0243] The target score acquisition unit 211 is used to take the average of the actual scores as the target score;
[0244] The preset condition acquisition unit 212 is used to take a target score that is less than a preset score as a preset condition.
[0245] In one feasible solution, the preset condition determination module 21 includes:
[0246] Risk level acquisition unit 213 is used to acquire the actual risk level corresponding to several communication indicators;
[0247] The preset condition determination unit 214 is used to determine preset conditions based on the actual risk level and the actual score.
[0248] In one feasible solution, the preset condition determination unit 214 is further used to set the actual risk level as the preset risk level and the actual score as the preset score as the preset condition.
[0249] In one feasible solution, the actual score acquisition module 20 includes:
[0250] The scoring coefficient acquisition unit 201 is used to obtain the scoring coefficient corresponding to the communication indicator based on the actual risk level corresponding to the communication indicator.
[0251] The actual score acquisition unit 202 is used to obtain the actual score corresponding to the communication index based on the score coefficient corresponding to the communication index.
[0252] In one feasible embodiment, the transmission strategy determination module 22 includes:
[0253] The business level acquisition unit 221 is used to acquire the actual business level corresponding to the business message in response to the establishment of a preset condition.
[0254] Business message storage unit 222 is used to store business messages whose actual business level is a preset business level to a temporary queue;
[0255] The new rating acquisition unit 223 is used to acquire a new actual rating based on a preset time period;
[0256] New condition acquisition unit 224 is used to determine new preset conditions based on the new actual score;
[0257] The business message transmission unit 225 is used to transmit business messages in a temporary queue in response to a new preset condition not being met.
[0258] In one feasible solution, the communication system also includes:
[0259] Communication connection establishment module 24 is used to establish a communication connection with the server.
[0260] The security authentication module 25 is used for security authentication based on the communication connection;
[0261] Message type subscription module 26 is used to subscribe to the message type of business messages in response to successful security authentication;
[0262] The subscription response module 27 is used to respond to the completion of message type subscription in order to communicate data with the server.
[0263] In this embodiment, by obtaining the actual scores corresponding to several communication indicators during the communication process, the transmission strategy of business messages is determined for data communication. The impact of communication indicators on data transmission during the communication process is taken into account, ensuring the normal flow of business messages and improving the stability and reliability of communication.
[0264] Example 5
[0265] Figure 14This is a schematic diagram of the structure of an electronic device according to an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the communication method described in any of the above embodiments. Figure 14 The electronic device 90 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0266] like Figure 14 As shown, the electronic device 90 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including memory 92 and processor 91).
[0267] Bus 93 includes a data bus, an address bus, and a control bus.
[0268] The memory 92 may include volatile memory, such as random access memory (RAM) 921 and / or cache memory 922, and may further include read-only memory (ROM) 923.
[0269] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) program module 924, such program module 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0270] The processor 91 executes various functional applications and data processing, such as the communication methods provided in any of the above embodiments, by running computer programs stored in the memory 92.
[0271] Electronic device 90 can also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 95. Furthermore, electronic device 90 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 96. Figure 14 As shown, network adapter 96 communicates with other modules of electronic device 90 via bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0272] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0273] Example 6
[0274] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the communication method provided in any of the above embodiments.
[0275] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0276] Example 7
[0277] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the communication method described in any of the above embodiments.
[0278] The program code for executing the computer program product of this disclosure can be written in any combination of one or more programming languages, and the program code can be executed entirely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0279] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.
Claims
1. A communication method, characterized in that, The communication method includes: Obtain the generation time, initial value, and value decay parameters of several business messages to be sent; When a congestion event occurs during communication, the remaining value of several service messages is obtained based on the current time, the generation time, the initial value, and the value decay parameter. Discard the business message with the lowest remaining value from among the aforementioned business messages; The calculation formula for the remaining value of several business messages, based on the current time, the generation time, the initial value, and the value decay parameter, is as follows: y=x*a (t2-t1) / Δt ; Where y represents the remaining value, x represents the initial value, a is a constant, t2 represents the current time, t1 represents the generation time, and Δt represents the value decay parameter.
2. The communication method as described in claim 1, characterized in that, The communication method further includes: Get the queue dequeue rate of the sending threads for several services; When the dequeue rate of the first queue corresponding to the first service increases to a first threshold and the dequeue rate of the second queue corresponding to the second service decreases to a second threshold within a preset time period, it is determined that the sending thread of the first service interferes with the sending thread of the second service, and the interference integral of the sending thread of the first service is increased. Based on the interference integral, a rate limiting operation is performed on the sending thread of the first service; And / or, The communication method further includes: Based on the historical backlog of services, predict the predicted backlog of services within a future preset time period; Obtain the deviation between the predicted accumulation amount and the actual accumulation amount; Based on the deviation value, congestion control operations are performed.
3. The communication method as described in claim 1 or 2, characterized in that, The communication method further includes: Obtain the actual scores corresponding to several communication indicators during the communication process; Based on the actual scores, the preset conditions are determined; In response to the fulfillment of the preset conditions, the transmission strategy of the service message is determined; Data communication is performed based on the aforementioned transmission strategy.
4. The communication method as described in claim 3, characterized in that, The step of determining the preset conditions based on the actual score includes: The average of the actual scores is used as the target score; The preset condition is that the target score is less than the preset score.
5. The communication method as described in claim 3, characterized in that, The step of determining the preset conditions based on the actual score includes: Obtain the actual risk level corresponding to several of the aforementioned communication indicators; The preset condition is that the actual risk level is a preset risk level and the actual score is less than the preset score. And / or, The steps for obtaining the actual scores corresponding to several communication indicators during the communication process include: Based on the actual risk level corresponding to the communication indicator, the scoring coefficient corresponding to the communication indicator is obtained; Based on the scoring coefficient corresponding to the communication indicator, the actual score corresponding to the communication indicator is obtained.
6. The communication method as described in claim 4, characterized in that, The step of determining the transmission strategy for the service message in response to the fulfillment of the preset condition includes: In response to the preset condition being met, the actual business level corresponding to the business message is obtained; Store the business messages whose actual business level is a preset business level into a temporary queue; Based on a preset time duration, obtain the new actual score; Based on the new actual score, determine the new preset conditions; In response to the new preset condition not being met, the service message in the temporary queue is transmitted; And / or, The communication method is applied to the client, and before the step of obtaining the actual scores corresponding to several communication indicators during the communication process, it further includes: Establish a communication connection with the server; Security authentication is performed based on the communication connection; In response to successful security authentication, the message type of the business message is subscribed. In response to the completion of the message type subscription, data communication with the server is initiated.
7. A communication system, characterized in that, The communication system includes: The business information acquisition module is used to acquire the generation time, initial value, and value decay parameters of several business messages to be sent; The residual value acquisition module is used to obtain the residual value of several business messages based on the current time, the generation time, the initial value, and the value decay parameter when a congestion event occurs during communication. The business message discarding module is used to discard the business message with the lowest remaining value from a plurality of business messages; The calculation formula used by the residual value acquisition module is as follows: y=x*a (t2-t1) / Δt ; Where y represents the remaining value, x represents the initial value, a is a constant, t2 represents the current time, t1 represents the generation time, and Δt represents the value decay parameter.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the communication method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the communication method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the communication method as described in any one of claims 1-6.