Communication processing method and device and electronic equipment
By obtaining the target attribute information of the instant communication service and using differentiated communication service strategies to adjust the communication parameters, the problem of network abnormalities in instant communication is solved, and communication stability and user experience are improved.
Patent Information
- Application Number
- CN202510729014.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-07-22
AI Technical Summary
There is a lack of effective network optimization solutions in the prior art to deal with network abnormalities in the instant communication process, resulting in poor communication experience.
By obtaining the target attribute information of the target communication service, different communication service strategies are used to adjust the communication service parameters, including abnormal detection conditions, and different abnormal detection conditions and adjustment strategies are used for different attribute information to ensure communication stability.
It significantly improves network stability and communication quality during instant communication, reduces communication interference in abnormal situations, and improves user experience.
Smart Images

Figure CN120358167A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technologies, and more particularly, to a communication processing method, apparatus, and electronic device. Background Art
[0002] During the analysis of product problems, many communication anomalies have been found. For example, during instant communication, when a network anomaly occurs, it will lead to a poor communication experience. For such communication anomaly situations, no corresponding network optimization solutions have been found in the market. Summary of the Invention
[0003] In view of this, the present disclosure provides an information output method, apparatus, electronic device, computer-readable storage medium, and computer program product that can integrate historical conversation records.
[0004] One aspect of the present disclosure provides a communication processing method, including: in response to detecting a target communication service request, obtaining target attribute information corresponding to the target communication service; during the process of maintaining the target communication service, adjusting communication service parameters of the target communication service with a target communication service strategy; wherein, if the target attribute information is first attribute information, the target communication service strategy is a first communication service strategy; if the target attribute information is second attribute information, the target communication service strategy is a second communication service strategy; wherein, the target communication service strategy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service strategy is different from the anomaly detection condition of the second communication service strategy.
[0005] In some embodiments, the step of in response to detecting a target communication service request, obtaining target attribute information corresponding to the target communication service includes: determining the target attribute information corresponding to the target communication service based on an application identifier corresponding to the target communication service and / or a media identifier corresponding to the target communication service.
[0006] In some embodiments, the step of during the process of maintaining the target communication service, adjusting communication service parameters of the target communication service with a target communication service strategy includes: if the target communication service is in a first network communication state, adjusting communication parameters of the target communication service with a first communication adjustment strategy; if the target communication service is in a second network communication state, adjusting communication parameters of the target communication service with a second communication adjustment strategy; wherein, a first anomaly detection condition for determining that the target communication service is in the first network communication state is different from a second anomaly detection condition for determining that the target communication service is in the second network communication state.
[0007] In some embodiments, the first anomaly detection condition of the first communication service policy is different from the first anomaly detection condition of the second communication service policy; and / or the second anomaly detection condition of the first communication service policy is different from the second anomaly detection condition of the second communication service policy.
[0008] In some embodiments, the first anomaly detection condition includes: meeting a first communication parameter threshold condition, or being within a duration of meeting the first communication parameter threshold condition; the second anomaly detection condition includes: meeting a second communication parameter threshold condition, or being within a duration of meeting the second communication parameter threshold condition.
[0009] In some embodiments, it further includes: during the process of maintaining the target communication service of the target attribute information, collecting communication parameters of the target communication service to obtain a communication parameter set of the communication service corresponding to the target attribute information; based on the communication parameter set of the communication service corresponding to the target attribute information, determining the first communication parameter threshold, and / or based on the communication parameter set of the communication service corresponding to the target attribute information, determining the second communication parameter threshold.
[0010] In some embodiments, the first communication adjustment policy includes a first communication sub - policy and a second communication sub - policy; the second communication adjustment policy includes the first communication sub - policy and a third communication sub - policy.
[0011] In some embodiments, the first communication sub - policy is used to adjust the network communication priority of the target communication service; the second communication sub - policy is used to restore communication within the current network mode; the third communication sub - policy is used to switch the current network mode to restore communication.
[0012] On the other hand, the present disclosure provides a communication processing device, including: an acquisition module, configured to obtain target attribute information corresponding to the target communication service in response to detecting a target communication service request; an adjustment module, configured to adjust communication service parameters of the target communication service with a target communication service policy during the process of maintaining the target communication service; wherein, if the target attribute information is first attribute information, the target communication service policy is the first communication service policy; if the target attribute information is second attribute information, the target communication service policy is the second communication service policy; wherein, the target communication service policy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service policy is different from the anomaly detection condition of the second communication service policy.
[0013] Another aspect of the present disclosure provides an electronic device, including at least one processor; and a memory connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the following operations: in response to detecting a target communication service request, obtain target attribute information corresponding to the target communication service; during the process of maintaining the target communication service, adjust communication service parameters of the target communication service with a target communication service policy; wherein, if the target attribute information is first attribute information, the target communication service policy is a first communication service policy; if the target attribute information is second attribute information, the target communication service policy is a second communication service policy; the target communication service policy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service policy is different from that of the second communication service policy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, the above and other objects, features and advantages of the present disclosure will become clearer. In the drawings:
[0015] Figure 1 Schematically shows an application scenario diagram of a communication processing method according to an embodiment of the present disclosure;
[0016] Figure 2 Schematically shows a flowchart of a communication processing method according to an embodiment of the present disclosure;
[0017] Figure 3 Schematically shows a flowchart of a state detection jump according to an embodiment of the present disclosure;
[0018] Figure 4 Schematically shows a flowchart of a lag state determination method according to an embodiment of the present disclosure;
[0019] Figure 5 Schematically shows a flowchart of a reconnection state determination method according to an embodiment of the present disclosure;
[0020] Figure 6 Schematically shows a flowchart of a calculation method of communication parameter thresholds according to an embodiment of the present disclosure;
[0021] Figure 7 Schematically shows a structural block diagram of a communication processing device according to an embodiment of the present disclosure; and
[0022] Figure 8 Schematically shows a block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, numerous specific details are set forth in order to provide a comprehensive understanding of the embodiments of the present disclosure. However, obviously, one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present disclosure.
[0024] In the technical solution of the present disclosure, the acquisition, storage, and application of the user's personal information involved, etc., all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs. In the technical solution of the present disclosure, the processing of data such as acquisition, collection, storage, use, processing, transmission, provision, disclosure, and application all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs.
[0025] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0026] In the case of using expressions such as "at least one of A, B, or C, etc.", generally, it should be interpreted according to the meaning that those skilled in the art usually understand this expression (for example, "a system having at least one of A, B, or C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.). The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the described features.
[0027] Figure 1 A schematic application scenario diagram of the communication processing method according to an embodiment of the present disclosure is shown.
[0028] As Figure 1 shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used as a medium to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0029] Users can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0030] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and so on.
[0031] The server 105 can be a server that provides various services, such as a background management server that supports the websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (only for example). The background management server can analyze and process data such as received user requests, and feedback the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0032] It should be noted that the communication processing method provided by the embodiments of the present disclosure can generally be executed by the first terminal device 101, the second terminal device 102, and the third terminal device 103. Correspondingly, the communication processing device provided by the embodiments of the present disclosure can generally be set in the first terminal device 101, the second terminal device 102, and the third terminal device 103.
[0033] Before revealing the embodiments of the present disclosure in detail, the key technical terms involved in the embodiments of the present disclosure are explained one by one as follows:
[0034] OTT (Over The Top) communication: It refers to a communication method that provides various application services to users through the Internet, uses the operator's network to provide third-party services, and essentially uses the same content management and distribution platform to provide multimedia services to terminals through the open Internet.
[0035] Box plot algorithm: It is a statistical chart used to display the dispersion of a set of data. The calculation method of the box plot algorithm is as follows: 1. Data preprocessing: First, sort the data from smallest to largest: x1 ≤ x2 ≤... ≤ x n(where n is the number of data); 2. Core quartiles: Q2 (median): the middle value of the sorted data. If n is odd, Q2 is the ((n + 1) / 2)-th value; if n is even, Q2 is the average of the n / 2-th and (n / 2 + 1)-th values; Q1 (first quartile): the lower quartile, which is the median of the first 50% of the sorted data, corresponding to the 25th percentile; Q3 (third quartile): the upper quartile, which is the median of the last 50% of the sorted data, corresponding to the 75th percentile.
[0036] The following will be based on Figure 1 the described scenario, and will detail the information output method of the embodiments of the present disclosure through Figures 2 to 6 the following.
[0037] Figure 2 FIG. schematically shows a flowchart of a communication processing method according to an embodiment of the present disclosure.
[0038] As Figure 2 shown, the communication processing method of this embodiment includes operation S210 and operation S220.
[0039] In operation S210, in response to detecting a target communication service request, obtain the target attribute information corresponding to the target communication service.
[0040] Among them, the target communication service is an instant communication service directly provided through the Internet, different from the dedicated communication network of traditional telecommunications operators.
[0041] The target communication service includes but is not limited to voice communication services, video communication services, message communication services, etc.
[0042] The above-mentioned target communication service refers to an instant communication service that directly provides various application services to users through the Internet, such as OTT communication services. Since such communication services are instant communication services, they have relatively high requirements for network stability.
[0043] Among them, the above-mentioned target attribute information refers to the specific attributes used under the target communication service. For instant communication, multiple different instant communication services can be distinguished. Different instant communication services have different network communication characteristics, and these instant communication services can be distinguished through the target attribute information. For example, different instant communication services have different data flow transmission rate intervals due to their own business characteristics. It should be noted that the target attribute information can be determined by a single attribute, or the target attribute information can be jointly determined by multiple attributes. For example, the target attribute information can be determined by a single attribute A, or for another example, the target attribute information can be jointly determined by attribute A, attribute B, and attribute C.
[0044] Specifically, the target communication service request can be initiated periodically, which is equivalent to a heartbeat detection mechanism. The periodically initiated target communication service is used to detect the current state of the target communication service, which helps to trigger some network adjustment mechanisms to ensure that the target communication service is in a normal state. After initiating the target communication service request, the target attribute information of the target communication service is first determined to trigger the corresponding network adjustment mechanism.
[0045] In operation S220, during the process of maintaining the target communication service, the communication service parameters of the target communication service are adjusted according to the target communication service policy; wherein, if the target attribute information is the first attribute information, the target communication service policy is the first communication service policy; if the target attribute information is the second attribute information, the target communication service policy is the second communication service policy; wherein, the target communication service policy at least includes an anomaly detection condition, and the anomaly detection conditions of the first communication service policy and the second communication service policy are different.
[0046] Specifically, in the embodiments of the present disclosure, multiple states of a communication service are defined. There are different detection conditions, different jump conditions, and communication service logics in different states. The set of these different detection conditions, different jump conditions, and communication service logics in different states is the set of the above-mentioned target communication service policies. The purpose of the target communication service is to ensure the stability of communication.
[0047] The target communication service policy is distinguished based on the target attribute information, and different target communication services correspond to different target attribute information. In the embodiments of the present disclosure, the target attribute information at least includes the first attribute information and the second attribute information. The first attribute information corresponds to the first communication service policy, and the second attribute information corresponds to the second communication service policy. The detection conditions of the target communication service policy at least include the anomaly detection conditions for the abnormal state, and different communication service policies are different for the anomaly detection conditions. Among them, the anomaly detection condition is the detection condition determined to be in an abnormal state triggered by certain abnormal events. For the anomaly detection condition, based on specific anomaly troubleshooting rules, multiple abnormal states can be defined. The abnormal state is defined by the R & D personnel themselves and will not be elaborated here.
[0048] In the embodiments of the present disclosure, during the communication service process, the corresponding service policy is determined through the target attribute of the communication service, and different service policies correspond to different anomaly detection conditions and different communication service policies. The embodiments of the present disclosure can at least differentially determine and process the abnormal state of the communication service, thereby ensuring the communication quality, significantly reducing communication anomalies, and optimizing the communication experience.
[0049] It can be understood that the process of determining the target attribute information in the above operation S210 is specifically as follows:
[0050] According to an embodiment of the present disclosure, obtaining the target attribute information corresponding to the target communication service in response to detecting a target communication service request includes: determining the target attribute information corresponding to the target communication service based on the application identifier corresponding to the target communication service and / or the media identifier corresponding to the target communication service.
[0051] Among them, the application identifier is used to distinguish the applications used by the target communication service, such as Application 1, Application 2, etc.; the media identifier is used to distinguish the media currently used, such as voice call, video call, etc.
[0052] Specifically, the target attribute information can be determined only based on the application or the media, or can be jointly determined by combining the application or the media. For example, Application 1 and voice call determine target attribute information 1, Application 1 and video call determine target attribute information 2, Application 2 and voice call determine target attribute information 3, and Application 2 and video call determine target attribute information 4.
[0053] Among them, the determination logics of the application identifier and the media identifier are specifically as follows:
[0054] For the application identifier, its implementation method is: obtain the processes opened in the operating system, and determine the application identifier by obtaining the ID of the process.
[0055] For determining the media identifier, there are currently several implementation methods: 1. Identify the call duration status by counting the rate. The rate during communication is continuous. By judging the average value of the previous rate, it is determined whether the current call is a video communication or a voice communication; 2. Identify whether it is a voice call or a video call through data stream monitoring; 3. Judge by detecting the camera status of the current terminal. For example, if the camera is turned on, it indicates that video communication is currently being used, and the media identifier is determined to be video communication.
[0056] It should be noted that the determination method of the target attribute information includes but is not limited to being determined by the application identifier and / or the media identifier. Using the application identifier and / or the media identifier to determine can efficiently determine most common instant communication services and ensure the rapid response of subsequent target communication service strategies during the instant communication process.
[0057] It should be noted that the above first communication service strategy and second communication service strategy represent different strategies, and the communication service strategy is not limited to the first communication service strategy and the second communication service strategy.
[0058] Regarding the above operation S220, a target communication service strategy will be disclosed below, specifically as follows:
[0059] According to an embodiment of the present disclosure, during the process of maintaining the target communication service, adjusting the communication service parameters of the target communication service according to the target communication service policy includes: if the target communication service is in a first network communication state, adjusting the communication parameters of the target communication service according to a first communication adjustment policy; if the target communication service is in a second network communication state, adjusting the communication parameters of the target communication service according to a second communication adjustment policy; wherein, a first anomaly detection condition for determining that the target communication service is in the first network communication state is different from a second anomaly detection condition for determining that the target communication service is in the second network communication state.
[0060] Specifically, without discussing different target attribute information, the target communication service includes at least a first network communication state and a second network communication state, and the first network communication state and the second network communication state correspond to different abnormal communication states of the target communication service. Among them, the first network communication state is determined based on the first anomaly detection condition, that is, when the first anomaly detection condition detects a network anomaly, the network communication state of the communication service is jumped to the first network communication state; among them, the second network communication state is determined based on the second anomaly detection condition, that is, when the second anomaly detection condition detects a network anomaly, the network communication state of the communication service is jumped to the second network communication state. Of course, since the identified first network communication state and second network communication state are different, the first anomaly detection condition as the detection condition is also different from the second anomaly detection condition, and the anomaly detection conditions can be distinguished by different anomaly detection rules and / or different critical values of anomaly detection. Among them, the communication adjustment policy is used to perform communication repair means for the current abnormal network communication state to ensure normal communication. Therefore, different abnormal network communication states have different communication adjustment policies.
[0061] Of course, in practical applications, the abnormal network communication states of the target communication service may not be limited to the first network communication state and the second network communication state. According to the monitoring of the communication services of each attribute, the abnormal network communication states can be added more finely, and different communication service policies can also be set for them.
[0062] In one embodiment, different communication adjustment policies are set for the target communication service with the same target attribute information and different network communication states. For example, taking the first network communication state as the reconnection state and the second network communication state as the lag state as an example, when the target attribute information is determined to be target attribute information 1, the communication adjustment policies for the reconnection state and the lag state are different.
[0063] Figure 3 Schematically shows a flowchart of a state detection jump according to an embodiment of the present disclosure. Combining as Figure 3As shown, among them, the normal state, the reconnect monitoring state, and the lag monitoring state are non-abnormal states. In other words, in these three states, there is no need to execute the communication adjustment strategy to adjust the communication state. The reconnect state and the lag state are abnormal states, and the communication adjustment strategy is executed in these two states to adjust the communication state. The reconnect state and the lag state can respectively correspond to the above-mentioned first network communication state and second network communication state, and are respectively referred to as the reconnect state and the lag state in this embodiment.
[0064] a) In the normal state, periodically monitor according to the reconnect threshold (the abnormal detection condition corresponding to the reconnect state) and the lag threshold (the abnormal detection condition corresponding to the lag state) respectively, and judge whether the rate is lower than the reconnect threshold for 1S (preliminary detection of whether the abnormal detection condition of the reconnect state is satisfied), and judge whether the rate is lower than the lag threshold for 1S (preliminary detection of whether the abnormal detection condition of the lag state is satisfied). If triggered, jump to the corresponding network communication state for further monitoring;
[0065] b) Reconnect monitoring state: When the rate is lower than the reconnect threshold, enter the reconnect monitoring state, and further continuously monitor whether the duration of the rate being less than the reconnect threshold reaches the reconnect duration;
[0066] c) Reconnect state: When OTT reconnect is detected, perform the reconnect recovery action (the communication adjustment strategy corresponding to the reconnect state). After the recovery action ends, return to the normal state;
[0067] d) Lag monitoring state: When the rate is lower than the lag threshold, enter the lag monitoring state, and further continuously monitor whether the duration of the rate being less than the lag threshold reaches the reconnect duration;
[0068] e) Lag state: When OTT lag is detected, perform the lag recovery action (the communication adjustment strategy corresponding to the lag state). After the recovery action ends, return to the normal state.
[0069] It should be noted that the above-mentioned first network communication state and second network communication state represent different network communication states, and the network communication state is not limited to the first network communication state and the second network communication state.
[0070] For the above operation S220, another target communication service strategy will be disclosed below, which is specifically as follows:
[0071] According to an embodiment of the present disclosure, among them, the first abnormal detection condition of the first communication service strategy is different from the first abnormal detection condition of the second communication service strategy; and / or the second abnormal detection condition of the first communication service strategy is different from the second abnormal detection condition of the second communication service strategy.
[0072] Specifically, after different abnormal network communication states are set for communication services with the same attribute information (the first network communication state, the second network communication state), for communication services with different target attribute information, the abnormal detection conditions corresponding to the same abnormal network communication state can be different, and the communication service strategies for the same abnormal network communication state are also different. Specifically, the abnormal detection conditions for the same abnormal state are different for different networks. The abnormal detection conditions can be distinguished by different abnormal detection rules and / or different key values of abnormal detection. Among them, the communication adjustment strategy is used to execute communication repair means for the current abnormal network communication state to ensure normal communication.
[0073] Continuing with the above example, under different target state information, the abnormal detection conditions for the lag state in the first communication service strategy of target state information 1 are different from those in the second communication service strategy of target state information 2 for the lag state, and the abnormal detection conditions for the reconnection state in the first communication service strategy of target state information 1 are different from those in the second communication service strategy of target state information 2 for the reconnection state.
[0074] Regarding the conditions of the abnormal detection conditions, the following will be revealed in detail, as shown specifically below:
[0075] According to an embodiment of the present disclosure, wherein the first abnormal detection condition includes: meeting the first communication parameter threshold condition, or, being in the duration of meeting the first communication parameter threshold condition; the second abnormal detection condition includes: meeting the second communication parameter threshold condition, or, being in the duration of meeting the second communication parameter threshold condition.
[0076] Specifically, in the process of judging the communication state, the abnormal detection conditions include judging the communication parameter threshold condition and / or the duration of the communication parameter threshold condition. The communication parameter threshold conditions for different abnormal communication states are different, or the durations of the communication parameter threshold conditions for different abnormal communication states are different, or both the communication parameter threshold conditions and the durations of the communication parameter threshold conditions for different abnormal communication states are different.
[0077] For example, the communication parameter threshold condition for the lag state is that the data stream rate is less than 30 KB / S; the communication parameter threshold condition for the reconnection state is that the data stream rate is less than 15 KB / S.
[0078] Another example, the communication parameter threshold condition for the lag state is that the data stream rate is less than 30 KB / S and the duration is 2S; the communication parameter threshold condition for the lag state is that the data stream rate is less than 15 KB / S for 2S.
[0079] For another example, the communication parameter threshold condition for the stuck state is that the rate of the data stream is less than 30 KB / S and the duration is 1 S; the communication parameter threshold condition for the stuck state is that the rate of the data stream is less than 15 KB / S for 3 S.
[0080] Figure 4 FIG. schematically shows a flowchart of a method for determining an abnormal communication state according to an embodiment of the present disclosure. In this embodiment, the abnormal communication state is the stuck state mentioned above, and the target attribute information of the communication service is taken as an example of the media identifier for illustration.
[0081] As Figure 4 shown, first, media data is obtained from the database to determine the media identifier; then, the communication rate per second at the current moment is read, where the communication rate is the receiving rate of the data; further, whether the stuck state occurs is judged respectively according to the Q1 value (stuck threshold) of the audio or video, where the Q1 value of the audio is different from that of the video. Finally, when the rate is continuously lower than the Q1 value for more than 5 seconds, it is considered that the stuck state has been entered.
[0082] Figure 5 FIG. schematically shows a flowchart of another method for determining an abnormal communication state according to an embodiment of the present disclosure.
[0083] As Figure 5 shown, first, media data is obtained from the database to determine the media identifier; then, the communication rate per second at the current moment is read, where the communication rate is the receiving rate of the data; further, whether the reconnection state occurs is judged respectively according to the Q1 / 2 value (general of the stuck threshold) of the audio or video; finally, when the rate is lower than Q1 / 2, and before the rate is lower than Q1 / 2, the rate has decreased by 80% and the time exceeds 3 seconds, it is considered that the reconnection state has been entered.
[0084] It should be noted that the Q1 value can be regarded as a reference value, and through multiplying this reference value by a preset coefficient, it can be evolved into the communication parameter threshold condition for each abnormal state.
[0085] It can be understood that the communication parameter threshold conditions for the communication services corresponding to different target attribute information are preset, and these communication parameter threshold conditions are determined through a large amount of historical data. The setting logic of the communication parameter threshold conditions for the communication services corresponding to different target attribute information is specifically as follows:
[0086] According to an embodiment of the present disclosure, it further includes: during the process of maintaining the target communication service of the target attribute information, collecting communication parameters of the target communication service to obtain a communication parameter set of the communication service corresponding to the target attribute information; determining the first communication parameter threshold based on the communication parameter set of the communication service corresponding to the target attribute information, and / or determining the second communication parameter threshold based on the communication parameter set of the communication service corresponding to the target attribute information.
[0087] Specifically, for a certain target communication service, a communication parameter set is established by collecting communication parameters within a certain time interval in history. Here, the communication parameters refer to the key indicators of the performance and characteristics of the communication system. After the collection of the communication parameter set is completed, it is used as the original data, and the communication parameter threshold is calculated through statistical algorithms for different abnormal communication states and recorded. It should be noted that the communication parameters in the communication parameter set can be continuously collected and updated based on the use of the communication service in history.
[0088] For example, first, collect communication parameter sets of a large number of different target attribute information; then determine the target attribute information based on different application identifiers and / or different media identifiers to distinguish the communication parameter sets corresponding to different target attribute information; finally, calculate the communication parameter thresholds corresponding to each target attribute information according to the communication parameter sets corresponding to different target attribute information.
[0089] In a typical scenario, taking the OTT communication service as an example, the process of establishing the communication parameter threshold is as follows:
[0090] 1. Record the data of the user's OTT call into the database. When the OTT call is in progress, calculate the average rate every 3 seconds and record it into the database to obtain a full communication parameter set, which contains communication parameter sets of various target attribute information.
[0091] 2. Determine the target attribute information based on the application identifier and the media identifier, and divide the full communication parameter set into communication parameter sets of their respective target attribute information.
[0092] 3. Use the box plot algorithm to calculate the Q1 value (i.e., the value of the first quartile), and record the machine selection result in the calculation result database. Among them, a) calculate the data once a day, and different threshold values will be calculated for different application identifiers and media identifiers; b) ensure that the current data is greater than 1000 before calculation, if less than 1000, then make a judgment the next day; c) use the box plot algorithm to calculate the Q1 value; d) perform weighted calculation on the previously calculated Q1 value and the newly calculated Q1 value.
[0093] 3. For the same target communication attribute: for the reconnection state, the communication parameter threshold takes the value of Q1 / 2; for the lag state, the communication parameter threshold takes the value of Q1.
[0094] It should be noted that, in addition to the box plot algorithm, other algorithms can also be used, such as Histogram and Error Bar Plot. Finally, due to the computational complexity of the box plot algorithm and the reasonable threshold after testing, the box plot algorithm was selected.
[0095] Figure 6 Schematically shows a flowchart of a method for calculating a communication parameter threshold according to an embodiment of the present disclosure.
[0096] As Figure 6 shown, based on the application identifier and the media identifier, calculate the data in the database respectively, and use the box plot algorithm to calculate the Q1 value. And record the machine selection result in the calculation result database.
[0097] a) Read the data in the database every day, and this data is the data of the reception rate at different time periods.
[0098] b) Ensure that the current data is greater than 1000 before calculation. If it is less than 1000, then make a judgment again the next day.
[0099] c) Use the box plot algorithm to calculate the newly calculated Q1 value, and this new Q1 value is not used as the final determined Q1 value.
[0100] d) Perform a weighted sum calculation on the previously calculated Q1 value and the newly calculated Q1 value to obtain the final Q1 value.
[0101] It should be noted that the box plot algorithm is only an exemplary threshold determination method shown in the present disclosure. In actual applications, the threshold parameters for different network communication states can also be determined by other means.
[0102] According to an embodiment of the present disclosure, the first communication adjustment strategy includes a first communication sub-strategy and a second communication sub-strategy; the second communication adjustment strategy includes the first communication sub-strategy and a third communication sub-strategy.
[0103] Specifically, different communication adjustment strategies can include basic general adjustment methods and personalized adjustment methods. Among them, the first communication sub-strategy is a general adjustment strategy, and the second communication sub-strategy and the third communication sub-strategy are personalized adjustment strategies for different network communication states. For the communication adjustment strategy, it can be a set of multiple communication sub-strategies, and these communication sub-strategies include general communication sub-strategies that conform to multiple communication adjustment strategies, and these communication sub-strategies also include personalized communication sub-strategies that conform to the corresponding communication adjustment strategies.
[0104] According to an embodiment of the present disclosure, the first communication sub-strategy is used to adjust the network communication priority of the target communication service; the second communication sub-strategy is used to restore communication within the current network mode; the third communication sub-strategy is used to switch the current network mode to restore communication.
[0105] Specifically, taking the first network communication state as the above-mentioned stuck abnormal state and the second network communication state as the above-mentioned reconnection abnormal state, it can be understood that the reconnection abnormal state is a worse state than the stuck abnormal state. Correspondingly, the reconnection abnormal state requires more thorough adjustment of communication service parameters than the stuck abnormal state. Therefore, the first communication sub-strategy (general adjustment strategy) is used to adjust the network communication priority to handle the current situation; the second communication sub-strategy is used to repair the abnormality in a relatively mild manner while giving priority to avoiding signaling layer overhead; the third communication sub-strategy is used to repair the abnormality in a relatively radical manner through signaling layer conduction while giving priority to ensuring network communication.
[0106] Among them, the first communication sub-strategy includes: by setting priorities, ensuring that data related to the target communication service preferentially uses communication resources; and / or by reducing redundant processes in the communication data transmission process, ensuring that data related to the target communication service can quickly achieve interaction. For example, for "by setting priorities, ensuring that data related to the target communication service preferentially uses communication resources", it includes: increasing the communication priority of data related to the target communication service; and / or reducing the communication priority of data unrelated to the target communication service. Another example, for "by reducing redundant processes in the communication data transmission process, ensuring that data related to the target communication service can quickly achieve interaction", it includes: reducing the uplink cache size of data related to the target communication service; and / or reducing the cache time of the uplink cache of data related to the target communication service.
[0107] In a typical scenario, the first communication sub-strategy includes: 1. Setting the packet priority of OTT communication to preferentially transmit OTT communication packets, in this way, increasing the packet priority of OTT communication, ensuring that in network transmission, it is transmitted with a higher priority, and avoiding abnormalities caused by network jams; 2. Reducing the priority of the secondary card, preventing functions such as MMS or calls of the secondary card, and reducing the possibility of interfering with the OTT call of the primary card. According to daily experience, ordinary calls are usually for takeaways, couriers, etc. OTT calls are more often with family members and colleagues. It is considered that the priority of OTT calls is the same as or even higher than that of ordinary calls. Therefore, the priority of OTT calls is raised to the same level as ordinary calls; 3. Reducing the size of the uplink cache, reducing the call delay, and enabling data of OTT communication to be sent to the network faster.
[0108] Among them, the second communication sub-strategy includes: preferentially adopting means to improve the network communication environment without changing the current communication mode; in the case that the means to improve the network communication environment without changing the current communication mode fails to improve the network communication environment, switching the current communication mode to other communication modes. Among them, the means to improve the network communication environment includes: by avoiding generating non-access stratum signaling overhead, attempting to bypass blocked nodes. Among them, switching from the current communication mode to other communication modes includes: if it is a 4G communication mode, then by invoking the corresponding mode switching interface in the 4G communication mode, switching the communication mode to the 5G communication mode; if it is a 5G communication mode, then by invoking the corresponding mode switching interface in the 5G communication mode, switching the communication mode to the 4G communication mode.
[0109] In a typical scenario, the second communication sub-strategy includes: 1. In the 5G mode, after detecting lag, it will first use the method of blocking the mobile phone signal to make the mobile phone quickly leave the current cell. Then, after 5 seconds of detection, if the mobile phone is still in a lag state, it will leave the current mode by reducing the 5G priority. The method of blocking the mobile phone signal will not trigger non-access stratum signaling consumption. In the lag state, this gentle method is preferred; 2. In the 4G mode, after detecting lag, it will first use the method of blocking the mobile phone signal to make the mobile phone quickly leave the current cell. Then, after 5 seconds of detection, if the mobile phone is still in a lag state, it will switch the network mode through the switching mechanism. The method of blocking the mobile phone signal will not trigger non-access stratum signaling consumption in the network. In the lag state, this gentle method is preferred.
[0110] Among them, the third communication sub-strategy includes: directly switching the current communication mode to other communication modes. Among them, switching from the current communication mode to other communication modes includes: if it is a 4G communication mode, then by invoking the corresponding mode switching interface in the 4G communication mode, switching the communication mode to the 5G communication mode; if it is a 5G communication mode, then by invoking the corresponding mode switching interface in the 5G communication mode, switching the communication mode to the 4G communication mode.
[0111] In a typical scenario, the third communication sub-strategy includes: 1. In the 5G mode, after detecting reconnection, it will directly use the method of reducing the 5G priority to leave the current mode. Because it is found that many OTT applications are very sensitive to reconnection and will prompt users that reconnection has occurred within a short time. This is something that is not wanted and should be avoided as soon as possible. Therefore, after detecting reconnection, relatively radical measures will be taken immediately to leave the 5G network and switch to the 4G network; 2. In the 4G mode, after detecting reconnection, it will switch the network mode through the switching mechanism. Because it is found that many OTT applications are very sensitive to reconnection and will prompt users that reconnection has occurred within a short time. This is something that is not wanted and should be avoided as soon as possible. Therefore, after detecting reconnection, relatively radical measures will be taken immediately to switch to the 5G network.
[0112] Figure 7 A structural block diagram of a communication processing apparatus according to an embodiment of the present disclosure is schematically shown.
[0113] As Figure 7 shown, the communication processing apparatus 700 of this embodiment includes an acquisition module 710 and an adjustment module 720.
[0114] The acquisition module 710 is configured to obtain target attribute information corresponding to the target communication service in response to detecting a target communication service request. In one embodiment, the acquisition module 710 may be configured to perform the operation S210 described above, which will not be elaborated herein.
[0115] The adjustment module 720 is configured to adjust communication service parameters of the target communication service with a target communication service policy during the process of maintaining the target communication service; wherein, if the target attribute information is first attribute information, the target communication service policy is a first communication service policy; if the target attribute information is second attribute information, the target communication service policy is a second communication service policy; wherein, the target communication service policy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service policy is different from that of the second communication service policy. In one embodiment, the adjustment module 720 may be configured to perform the operation S220 described above, which will not be elaborated herein.
[0116] According to some embodiments of the present disclosure, during the process of a communication service, a corresponding service policy is determined through the target attribute of the communication service, and different service policies correspond to different anomaly detection conditions and different communication service policies. The embodiments of the present disclosure can at least differentially determine and process the abnormal state of the communication service, thereby ensuring the communication quality, significantly reducing communication anomalies, and optimizing the communication experience.
[0117] According to an embodiment of the present disclosure, any plurality of modules among the acquisition module 710 and the adjustment module 720 may be combined and implemented in one module, or any one of them may be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the acquisition module 710 and the adjustment module 720 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable way of integrating or packaging circuits, etc., implemented by hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, at least one of the acquisition module 710 and the adjustment module 720 may be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding functions may be executed.
[0118] Figure 8 FIG. schematically shows a block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present disclosure.
[0119] The electronic device includes at least one processor;
[0120] And
[0121] A memory connected to the at least one processor; wherein,
[0122] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the following operations:
[0123] In response to detecting a target communication service request, acquire target attribute information corresponding to the target communication service;
[0124] During the process of maintaining the target communication service, adjust communication service parameters of the target communication service with a target communication service policy;
[0125] Wherein, if the target attribute information is first attribute information, the target communication service policy is a first communication service policy;
[0126] If the target attribute information is second attribute information, the target communication service policy is a second communication service policy;
[0127] The target communication service policy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service policy is different from the anomaly detection condition of the second communication service policy.
[0128] As Figure 8 shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage section 908 into a random access memory (RAM) 903. The processor 901 can include, for example, a general-purpose microprocessor (e.g., CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 can also include on-board memory for caching purposes. The processor 901 can include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0129] In the RAM 903, various programs and data required for the operation of the electronic device 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. The processor 901 performs various operations of the method flow according to an embodiment of the present disclosure by executing the programs in the ROM 902 and / or the RAM 903. It should be noted that the program can also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 can also perform various operations of the method flow according to an embodiment of the present disclosure by executing the programs stored in the one or more memories.
[0130] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, and the input / output (I / O) interface 905 is also connected to the bus 904. The electronic device 900 may further include one or more of the following components connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output (I / O) interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed so that a computer program read from it can be installed into the storage section 908 as needed.
[0131] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the foregoing embodiments; or may exist separately without being assembled into the device / apparatus / system. The foregoing computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the methods according to the embodiments of the present disclosure are implemented.
[0132] Embodiments of the present disclosure further include a computer program product, which includes a computer program containing program codes for executing the methods shown in the flowcharts. When the computer program product runs in a computer system, the program codes are used to cause the computer system to implement the methods of the embodiments of the present disclosure.
[0133] Those skilled in the art can understand that the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly recited in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.
[0134] The foregoing describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are separately described above, this does not mean that the measures in the respective embodiments cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present disclosure.
Claims
1. A communication processing method, comprising: In response to detecting a target communication service request, obtaining target attribute information corresponding to the target communication service; During the process of maintaining the target communication service, adjusting communication service parameters of the target communication service according to a target communication service policy; Wherein, if the target attribute information is first attribute information, the target communication service policy is a first communication service policy; If the target attribute information is second attribute information, the target communication service policy is a second communication service policy; The target communication service policy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service policy is different from that of the second communication service policy.
2. The method according to claim 1, wherein the step of in response to detecting a target communication service request, obtaining target attribute information corresponding to the target communication service includes: Based on an application identifier corresponding to the target communication service and / or a media identifier corresponding to the target communication service, determining the target attribute information corresponding to the target communication service.
3. The method according to claim 1, wherein the step of during the process of maintaining the target communication service, adjusting communication service parameters of the target communication service according to a target communication service policy includes: If the target communication service is in a first network communication state, adjusting communication parameters of the target communication service according to a first communication adjustment policy; If the target communication service is in a second network communication state, adjusting communication parameters of the target communication service according to a second communication adjustment policy; Wherein, the anomaly detection condition includes a first anomaly detection condition and a second anomaly detection condition. The first anomaly detection condition is used to determine that the target communication service is in the first network communication state, and the second anomaly detection condition is used to determine that the target communication service is in the second network communication state. The first anomaly detection condition is different from the second anomaly detection condition.
4. The method according to claim 3, wherein The first anomaly detection condition of the first communication service policy is different from the first anomaly detection condition of the second communication service policy; and / or The second anomaly detection condition of the first communication service policy is different from the second anomaly detection condition of the second communication service policy.
5. The method according to claim 3, wherein The first anomaly detection condition includes: Meeting a first communication parameter threshold condition, or being in a duration that meets the first communication parameter threshold condition; The second anomaly detection condition includes: Meeting a second communication parameter threshold condition, or being in a duration that meets the second communication parameter threshold condition.
6. The method according to claim 5, further comprising: During the process of maintaining the target communication service with the target attribute information, collecting communication parameters of the target communication service to obtain a communication parameter set of the communication service corresponding to the target attribute information; Based on the communication parameter set of the communication service corresponding to the target attribute information, determining the first communication parameter threshold, and / or based on the communication parameter set of the communication service corresponding to the target attribute information, determining the second communication parameter threshold.
7. The method according to claim 3, wherein the first communication adjustment strategy includes a first communication sub-strategy and a second communication sub-strategy; the second communication adjustment strategy includes the first communication sub-strategy and a third communication sub-strategy.
8. The method according to claim 7, wherein the first communication sub-strategy is used to adjust the network communication priority of the target communication service; the second communication sub-strategy is used to restore communication within the current network mode; the third communication sub-strategy is used to switch the current network mode to restore communication.
9. A communication processing device, comprising: an acquisition module, configured to acquire target attribute information corresponding to the target communication service in response to detecting a target communication service request; an adjustment module, configured to adjust communication service parameters of the target communication service with a target communication service strategy during maintaining the target communication service; wherein, if the target attribute information is first attribute information, the target communication service strategy is a first communication service strategy; if the target attribute information is second attribute information, the target communication service strategy is a second communication service strategy; wherein, the target communication service strategy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service strategy is different from that of the second communication service strategy.
10. An electronic device, comprising at least one processor; and a memory connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the following operations: acquire target attribute information corresponding to the target communication service in response to detecting a target communication service request; adjust communication service parameters of the target communication service with a target communication service strategy during maintaining the target communication service; wherein, if the target attribute information is first attribute information, the target communication service strategy is a first communication service strategy; if the target attribute information is second attribute information, the target communication service strategy is a second communication service strategy; the target communication service strategy at least includes an anomaly detection condition, and the anomaly detection condition of the first communication service strategy is different from that of the second communication service strategy.