CN115412955A - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN115412955A
CN115412955A CN202211056664.0A CN202211056664A CN115412955A CN 115412955 A CN115412955 A CN 115412955A CN 202211056664 A CN202211056664 A CN 202211056664A CN 115412955 A CN115412955 A CN 115412955A
Authority
CN
China
Prior art keywords
communication
data communication
parameter
electronic equipment
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211056664.0A
Other languages
Chinese (zh)
Inventor
徐青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202211056664.0A priority Critical patent/CN115412955A/en
Publication of CN115412955A publication Critical patent/CN115412955A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a communication method and a device, wherein the method comprises the following steps: under the condition that the electronic equipment is determined to have data communication abnormity, detecting communication parameters corresponding to at least one of the electronic equipment, a data communication service end and data communication service between the electronic equipment and the data communication service end to obtain at least one detection result; optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result; the data communication service end can directly provide the data communication service for the electronic equipment, or the data communication service end provides the data communication service for the electronic equipment by relying on the communication equipment which can provide the data communication service for the data communication service. According to the scheme, the time of data communication abnormity of the electronic equipment can be shortened, and the data communication quality is improved.

Description

Communication method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method and apparatus.
Background
With the development of network communication technology, various communication networks can be selected for the electronic device to access. For example, taking a mobile phone as an example, the mobile phone may access a fifth generation mobile communication 5G network or a fourth generation mobile communication 4G network.
After the electronic device accesses a communication network, data communication is often abnormal due to various reasons, and normal data communication of the electronic device may be affected.
Disclosure of Invention
The application provides a communication method and device.
The communication method comprises the following steps:
under the condition that the electronic equipment is determined to have data communication abnormity, detecting communication parameters corresponding to at least one of the electronic equipment, a data communication service end and data communication service between the electronic equipment and the data communication service end to obtain at least one detection result;
optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result;
the data communication service end can directly provide the data communication service for the electronic equipment, or the data communication service end provides the data communication service for the electronic equipment depending on the communication equipment which can provide the data communication service for the electronic equipment.
In a possible implementation manner, detecting a communication parameter corresponding to a data communication service between the electronic device and the data communication service end includes at least one of:
detecting at least one physical layer parameter of a communication network between the electronic equipment and the data communication server;
detecting coding and decoding parameters corresponding to data coding and decoding services between the electronic equipment and a data communication server;
and detecting a compression parameter corresponding to a data compression service between the electronic equipment and the data communication server.
In another possible implementation manner, detecting a physical layer parameter corresponding to a communication network between the electronic device and the data communication server to obtain at least one detection result includes:
acquiring a single parameter value of each physical layer parameter of the communication network within a preset time period;
if the single parameter value exceeds the corresponding first threshold value, determining that the access layer of the communication network is abnormal; and/or the presence of a gas and/or,
if the single parameter value does not exceed the corresponding first threshold value, determining that the access stratum of the communication network is normal;
wherein the physical layer parameter includes at least one of a signal quality related parameter, a bit error rate related parameter, and a cell stability related parameter.
In another possible implementation manner, detecting a physical layer parameter corresponding to a communication network between the electronic device and the data communication server to obtain at least one detection result includes:
acquiring a comprehensive parameter value based on the parameter value of each physical layer parameter of the communication network and the weight corresponding to the physical layer parameter in a preset time period;
if the comprehensive parameter value exceeds a second threshold value, determining that an access layer of the communication network is abnormal; and/or the presence of a gas in the atmosphere,
if the comprehensive parameter value does not exceed a second threshold value, determining that an access layer of the communication network is normal;
wherein the physical layer parameter includes at least one of a signal quality related parameter, a bit error rate related parameter, and a cell stability related parameter.
In yet another possible implementation manner, optimizing the data communication quality of the electronic device in a corresponding processing manner based on the detection result includes at least one of:
if the detection result represents that the access layer of the communication network is abnormal, switching the communication network between the electronic equipment and the data communication service end from a current first communication network to a second communication network, wherein the second communication network and the first communication network are different at least in network type;
and if the detection result represents that the access layer of the communication network is normal, controlling the electronic equipment to re-register the current first communication network.
In another possible implementation manner, switching a communication network between the electronic device and the data communication server from a current first communication network to a second communication network includes:
and obtaining network characteristic information of the communication network searched by the electronic equipment, and accessing a second communication network based on the network characteristic information so as to switch the first communication network to the second communication network.
In yet another possible implementation manner, the detecting the communication parameter of the electronic device to obtain at least one detection result includes at least one of:
detecting an initialization parameter of a first communication module of electronic equipment, and determining a detection result of normal communication or abnormal communication of the electronic equipment based on the initialization parameter, wherein the first communication module is a module currently executing a communication task;
and detecting the communication network quality between the electronic equipment and other data communication service terminals to obtain the detection result of normal communication or abnormal communication of the electronic equipment.
In another possible implementation manner, detecting a communication parameter of the data communication service end to obtain at least one detection result, including at least one of:
detecting an initialization parameter of a second communication module of a data communication server, and determining a detection result of normal communication or abnormal communication of the data communication server based on the initialization parameter, wherein the second communication module is a module currently executing a communication task;
and detecting the communication network quality between the data communication service end and the communication equipment to obtain a detection result of normal or abnormal communication of the data communication service end.
In yet another possible implementation, the determining that the electronic device has the data communication abnormality includes at least one of:
detecting that the electronic equipment has data packet receiving and sending abnormity;
determining that there is a packet transceiving delay for the electronic device;
and determining that the communication data between the electronic equipment and the data communication server side is abnormally updated.
Wherein, a communication device comprises:
the parameter detection unit is used for detecting communication parameters corresponding to at least one of the electronic equipment, a data communication service end and data communication service between the electronic equipment and the data communication service end under the condition that the electronic equipment is determined to have data communication abnormity so as to obtain at least one detection result, wherein the data communication service end can directly provide the data communication service for the electronic equipment, or the data communication service end can provide the data communication service for the electronic equipment depending on communication equipment which can provide the data communication service for the data communication service end;
and the communication optimization unit is used for optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result.
As can be seen from the above, in the embodiment of the present application, if it is determined that the electronic device has data communication abnormality, at least one of a communication parameter of the electronic device, a communication parameter of a data communication service end that directly or indirectly provides a data communication service for the electronic device, and a communication parameter of the data communication service between the electronic device and the data communication service end is detected, and according to a processing manner suitable for a detection result, data communication quality of the electronic device is optimized, so that time of the data communication abnormality existing in the electronic device can be effectively reduced, and data communication quality of the electronic device is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only the embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a communication method provided by an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a communication method provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of a communication method provided in an embodiment of the present application;
fig. 4 is a schematic flow chart illustrating a communication method provided in an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a component structure of a communication apparatus according to an embodiment of the present disclosure;
fig. 6 shows a schematic diagram of a component architecture of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
As shown in fig. 1, which shows a schematic flow chart of the communication method provided in the embodiment of the present application, the method of the present embodiment is applied to an electronic device, and the electronic device may be an electronic device such as a mobile phone and a tablet computer that can access different types of communication networks.
The method of the embodiment may include:
s101, under the condition that the electronic equipment is determined to have data communication abnormity, detecting communication parameters corresponding to at least one of the electronic equipment, the data communication service end and data communication service between the electronic equipment and the data communication service end to obtain at least one detection result.
The electronic device having the data communication abnormality may be that the electronic device has a data communication condition that does not conform to normal communication.
For example, determining that the electronic device has the data communication abnormality may be at least one of the following cases:
detecting that the electronic equipment has data packet receiving and sending abnormity;
determining that the electronic equipment has data packet transceiving delay;
and determining that the communication data between the electronic equipment and the data communication server is abnormally updated.
The data packet receiving and sending abnormity refers to the existence of data packet receiving or sending abnormity. For example, it is detected that Transmission Control Protocol (TCP)/Internet Protocol (IP) packets are abnormally transmitted and received. For example, a TCP/IP packet (similar to other protocol packets) is lost, for example, there is only an uplink TCP/IP packet between the electronic device and the data communication server, but no downlink TCP/IP packet is transmitted.
The delay in transmitting and receiving the data packet means that although the data packet can be normally received and transmitted, there is a delay in transmitting and receiving the data packet, which causes a delay in data access.
The communication data update abnormality may be an abnormality such as a deviation in update frequency, update duration, or update date of related data that needs to be updated periodically between the electronic device and the data communication server.
The data communication service end can directly provide data communication service for the electronic equipment; or, the data communication service end provides the data communication service to the electronic equipment by relying on the communication equipment capable of providing the data communication service to the data communication service end.
For example, the data Communication service terminal may be a base station providing various types of Mobile Communication networks, for example, a base station in a Communication network based on a Mobile Communication technology such as a fifth Generation Mobile Communication technology (5 g) or a fourth Generation Mobile Communication technology (4 g). In this case, the base station may directly provide the electronic device with a data communication service of a communication network such as 5G or 4G.
For another example, the data communication service end may be a router or an edge server, and in this case, the data communication service end needs to provide a data communication service for the electronic device by using a communication device such as a base station accessed by the router or the edge server, so that the electronic device can access a communication network corresponding to the communication device.
In the present application, the communication parameter of the electronic device may be a relevant parameter that affects the communication quality of the electronic device. Similarly, the communication parameters of the data communication service end are related parameters which can affect the communication quality of the electronic equipment.
The communication parameters corresponding to the data communication service between the electronic device and the data communication service end can comprise related parameters capable of influencing the communication quality between the electronic device and the data communication service end. For example, the physical layer related parameters and the like will be described later with reference to possible situations, and will not be described herein again.
Wherein, the detection result can characterize the parameter value of at least one communication parameter in the obtained communication parameters.
And S102, optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result.
It can be understood that the main cause affecting the data communication abnormality can be reflected based on the detection result, and therefore, the optimization manner may be different based on the type and value of the communication parameter in the detection result, and may be specifically set according to the actual need.
As can be seen from the above, in the embodiment of the present application, if it is determined that the electronic device has data communication abnormality, the communication parameter of the electronic device is detected, at least one of the communication parameter of the data communication server that directly or indirectly provides data communication service for the electronic device and the communication parameter of the data communication service between the electronic device and the data communication server is detected, and the data communication quality of the electronic device is optimized according to a processing manner suitable for a detection result, so that the data communication abnormality existing in the electronic device can be effectively reduced, and the data communication quality of the electronic device is improved.
For ease of understanding, the following description will be made with respect to some possible cases of the detected communication parameters in the case where the electronic device has a data communication abnormality.
First, a communication parameter corresponding to a data communication service between an electronic device and a data communication server will be described.
The communication parameter corresponding to the data communication service between the electronic device and the data communication service end may be a communication parameter responding to a connection state of a communication network between the electronic device and the data communication service end and a data transmission condition.
For example, detecting the communication parameter corresponding to the data communication service between the electronic device and the data communication server may include at least one of:
detecting at least one physical layer parameter of a communication network between the electronic equipment and the data communication server;
detecting coding and decoding parameters corresponding to data coding and decoding services between the electronic equipment and a data communication server;
and detecting a compression parameter corresponding to a data compression service between the electronic equipment and the data communication service terminal.
The physical layer parameters of the communication network between the electronic device and the data communication server are parameters related to the physical layer of the communication network.
For example, the physical layer parameters may include: at least one of a signal quality related parameter, a bit error rate related parameter, and a cell stability related parameter of the communication network.
The Signal Quality related parameter of the communication network may be a parameter characterizing Signal strength, and for example, the Signal Quality related parameter may include at least one of Reference Signal Receiving Power (RSRP) and Reference Signal Receiving Quality (RSRQ).
The error rate related parameter may include uplink and downlink error rates (BLER), etc.
The cell stability related parameter may be one or more of parameters such as a cell signal-to-noise ratio (snr) and Radio Resource Control (RRC) establishment times.
The codec parameters may include a codec mode and a codec rate.
The compression parameters may include a compression mode and a compression rate of data compression.
It can be understood that, based on the physical layer parameters corresponding to the data communication service between the electronic device and the data communication server, whether a network anomaly exists in the communication network between the electronic device and the data communication server can be analyzed. If the abnormity of the communication network is analyzed to be the access layer abnormity, or the temporary abnormity besides the access layer abnormity.
In this case, if there is an access stratum anomaly in the communication network, it is necessary to re-access other communication networks than the communication network. If the anomaly of the communication network does not input an access stratum anomaly, registration to the communication network can be reattempted to resolve the data communication anomaly due to the communication network outage.
Similarly, whether data compression and coding and decoding abnormality exists between the electronic device and the data communication server can be analyzed based on the compression parameter or the coding parameter corresponding to the data communication service between the electronic device and the data communication server.
If the data compression is abnormal, the data compression mode or the compression algorithm and the like can be changed to optimize data coding and reduce data communication abnormity. Similarly, if there is a data codec anomaly, one of the encoder and/or decoder may be altered, or the codec algorithm may be adjusted, etc., to reduce the data communication anomaly due to the codec anomaly.
For ease of understanding, a possible implementation of optimizing the data communication quality of the electronic device based on physical layer parameters is described below as an example.
As shown in fig. 2, which shows another flowchart of the communication method provided in the embodiment of the present application, the method of the present embodiment may include:
s201, under the condition that the electronic equipment is determined to have data communication abnormity, at least one physical layer parameter of a first communication network between the electronic equipment and a data communication service end is detected, and a detection result is obtained.
In this embodiment, there may be many possibilities for the abnormal data communication, which may be specifically described as related to the foregoing embodiments.
In a possible implementation manner, considering that the physical layer parameter mainly reflects whether there is an abnormality in the network condition of the current communication network between the electronic device and the data communication server, in this application, the existence of the data communication abnormality in the electronic device may be the existence of a packet transceiving abnormality in the electronic device. For example, in the case that the communication network between the electronic equipment and the data communication service side is a mobile communication network, it may be that the electronic equipment has a TCP/IP packet abnormality.
In this application, the physical layer parameter may be at least one of a signal quality related parameter, a bit error rate related parameter, a cell stability related parameter, and the like, which is specifically described above and will not be described herein again.
In the present application, for the sake of convenience of distinction, a current communication network between the electronic device and the data communication server is referred to as a first communication network, and other communication networks other than the subsequent first communication network are referred to as second communication networks.
The data communication service terminal can directly provide data communication service for the electronic equipment; or, the data communication service end provides the data communication service to the electronic equipment by relying on the communication equipment which can provide the data communication service to the data communication service end. If the first communication network is a cellular mobile communication network, the data communication service terminal may be a base station. For other cases, reference may be made to the above description, which is not repeated here.
In the present application, the first communication network may have multiple possibilities according to different specific communication scenarios, which is not limited herein. For example, the first communication network may be a cellular mobile network, such as a 3G, 4G or 5G network. As another example, the first communication network may also be a Wireless communication network other than a cellular mobile network, such as a short-range Wireless communication network, e.g., a Wireless Fidelity (WiFi) network, and the like.
The detection result may be a detection result of the physical layer parameter, or a network state result of the communication network analyzed based on the physical layer parameter.
For example, in a possible implementation manner, the detection result may be a parameter value of at least one physical layer parameter, in which case, whether an anomaly exists in the access stratum of the first communication network may be determined based on the parameter value of the at least one physical layer parameter, so as to perform the subsequent step S202 or S203.
In yet another possible implementation manner, the detection result may be a result of whether an access stratum of the first communication network is abnormal. Specifically, the detection result may be a result of determining whether the access stratum of the first communication network is abnormal based on the detected parameter value of the at least one physical layer parameter. Accordingly, the detection result may include: and determining whether the access layer is abnormal or not.
There may be multiple possible situations for the specific implementation of analyzing whether the access stratum is abnormal based on the detected parameter value of at least one physical layer parameter, which is described in the following two situations:
in a possible case, a single parameter value of each physical layer parameter of the first communication network within a preset time period, that is, a value corresponding to each physical layer parameter may be obtained. Correspondingly, if the single parameter value of each physical layer parameter exceeds the corresponding first threshold value, the access layer of the communication network is determined to be abnormal. And if the single parameter value of each physical layer parameter does not exceed the corresponding first threshold value, determining that the access layer of the communication network is normal. Of course, the present application may focus on one or both of the two detection results, i.e., the access stratum abnormal detection result and the access stratum normal detection result, which is not limited to this.
It can be understood that, in the above possible case, when the number of the physical layer parameters is large, it may be that a single parameter value of each physical layer parameter exceeds the respective corresponding first threshold, and then it is determined that the access layer is abnormal; or, if a single parameter value exceeding a set number of physical layer parameters exceeds the corresponding first threshold, determining that the access layer is abnormal, without limitation.
In another possible case, a comprehensive parameter value obtained based on the parameter values of the physical layer parameters of the first communication network and the weights corresponding to the physical layer parameters within a preset time period is obtained.
The weights corresponding to different physical layer parameters may be preset, for example, the weights of the physical layer parameters are set according to the influence degree of the physical layer parameters on causing the access stratum abnormality.
In an optional manner, considering that parameter value ranges and evaluation indexes of different physical layer parameters are different, for each physical layer parameter, a score of the physical layer parameter may be determined based on an obtained parameter value of the physical layer parameter, and the score may represent an abnormal degree of the physical layer parameter. Correspondingly, the scores corresponding to the parameter values of the physical layer parameters may be weighted and then determined as the composite parameter values.
For example, for each physical layer parameter, respective corresponding reference scores of the physical layer parameter in different value ranges are set, and on this basis, in combination with the parameter value of the physical layer parameter, the value range to which the parameter value belongs can be determined, and the reference score corresponding to the value range is determined as the parameter value of the physical layer parameter.
For example, assume that the detected physical layer parameters may include: the parameter values of the RSRP parameters, the small uplink and downlink error rates, and the RRC establishment times may be determined based on reference scores in different value ranges corresponding to the three physical layer parameters, respectively, and then based on the weights of the three physical layer parameters, a weighted sum of the scores of the three physical layer parameters is calculated to obtain the composite parameter value.
Of course, the above is described by taking a way of determining the value of the composite parameter as an example, and in practical applications, the method of determining the value of the composite parameter by other ways is also applicable.
Correspondingly, if the value of the composite parameter exceeds a second threshold value, it is determined that the access stratum of the first communication network is abnormal. And if the comprehensive parameter value does not exceed the second threshold value, determining that the access stratum of the first communication network is normal.
S202, if the detection result indicates that the access layer of the first communication network is abnormal, the communication network between the electronic equipment and the data communication service end is switched from the first communication network to the second communication network.
As described above, if the detection result is the result that the access stratum is normal or abnormal, it can be directly determined whether the access stratum is abnormal according to the detection result. If the detection result is only the parameter value of each physical layer parameter, it can also be determined whether the access layer is abnormal based on the parameter value of each physical layer parameter in the aforementioned manner.
It can be understood that, if an access layer anomaly exists in the current communication network (i.e., the first communication network) between the electronic device and the data communication server, the electronic device cannot solve the data communication anomaly caused by the network anomaly, such as data transceiving anomaly, by frequently re-accessing the communication network for multiple times after the data transceiving anomaly occurs, and thus a long-time network outage may occur.
Based on this, after determining that the communication network has the access stratum anomaly, in order to recover the network communication of the electronic device, the application selects a communication network which is accessed to a network other than the first communication network, namely, the second communication network.
Wherein the second communication network is different from the first communication network at least in network type. Different network systems correspond to different communication standards, and correspondingly, communication networks of different network systems may have one or more differences in network characteristics such as bandwidth, network communication speed, and frequency band covered.
For example, the second communication network and the first communication network belong to two communication networks of the same network type but employing different communication standards, e.g., the first communication network and the second communication network both belong to cellular mobile communication networks, but the first communication network is a 5G communication network employing a 5G communication standard and the second communication network is a 4G communication network employing a 4G communication network.
As another example, the second communication network and the first communication network belong to communication networks of different network types, and naturally, the communication standards adopted by the two communication networks may not be the same. For example, the first communication network is a 5G or other cellular mobile communication network, and the second communication network is a WiFi network.
Of course, the first communication network and the second communication network are only illustrated in several possible cases, and the application is not limited to this embodiment as long as they are different and the same communication network.
In order to switch the first communication network to the second communication network, the application can obtain the network feature information of the communication network searched by the electronic device, and access the second communication network based on the network feature information so as to switch the electronic device from the first communication network to the second communication network.
For example, in the case where it is determined that the access stratum of the first communication network is abnormal, the electronic device may search for network characteristic information of each communication network that can be covered or registered, and select a communication network from the searched communication networks as the second communication network based on the network characteristic information, and register to the second communication network.
The searched network feature information of the communication network may include: based on at least one of the information of the network type, name, signal strength and the like of the communication network, the application can select the second communication network with better communication performance based on the network characteristic information.
In an alternative, when determining the second communication network, a communication network belonging to the same type of communication network as the first communication network but having a different communication standard may be preferentially selected based on the searched network characteristic information of the communication network. For example, if the first communication network is a cellular mobile communication network and belongs to a 5G network, then a communication network belonging to another communication standard of the cellular mobile communication network may be selected from the communication networks based on the network characteristic information.
It is understood that, in order to access a second communication network with higher network communication performance, status information of a communication module supporting a different communication network in the electronic device may also be obtained, and the status information may include a load of the communication network and other usage situations. On the basis, the network characteristic information of the communication network and the state information of the communication modules supporting different communication networks can be combined to comprehensively determine the suitable second communication network.
S203, if the detection result indicates that the access layer of the first communication network is normal, controlling the electronic equipment to re-register to the first communication network.
It can be understood that if the access layer of the first communication network where the electronic device is currently located is normal, but the electronic device has a data communication abnormal situation such as data packet transceiving abnormality, it indicates that the first communication network has a temporary abnormality, and in this case, in order to avoid switching the communication network and influence the communication speed or influence the user experience, the registration may be reattempted to initiate with the first communication network to re-access the first communication network.
For example, on the premise that the electronic device accesses the 5G network, if a TCP/IP packet anomaly is detected, parameter values of physical layer parameters of the 5G network between the electronic device and the accessed 5G base station may be obtained. And analyzing whether the access layer of the 5G network is abnormal or not by combining the respective parameter values of the physical layer parameters in the aforementioned mode.
If the access layer of the 5G network is abnormal, in order to avoid mobile communication interruption, a network such as 4G or 3G that can be covered by the electronic device may be searched, and if the 4G network is searched, the electronic device may register to the 4G network to switch from the 5G network to the 4G network, so as to reduce network interruption time, and also avoid resource consumption and time waste caused by inefficient operation of attempting to access the 5G network for multiple times. If the access layer of the 5G network has no abnormity, the electronic equipment can be registered in the 5G network again in order to keep the electronic equipment still connected into the 5G network with higher communication speed and not connected into other networks with lower communication speed, such as 4G networks.
In the embodiment of the application, if the data communication of the electronic device is abnormal, whether the communication network has an access layer abnormality or not is determined based on the physical layer parameter of the communication network currently accessed by the electronic device. If the access layer abnormality exists in the currently accessed communication network, in order to reduce the time and resources consumed by repeatedly registering the communication network, another communication network is re-determined and enters the determined communication network so as to reduce the network interruption time and recover the normal data communication as soon as possible. If the access layer abnormality does not exist in the currently accessed communication network, the communication network can be determined to be abnormal only temporarily, so that the communication network can be registered again in order to reduce resources consumed by network switching and recover data communication as soon as possible.
It is understood that communication abnormality may be caused by the electronic device itself.
In the following, the data communication quality is optimized by using the detection result of the communication parameter of the electronic device when the data communication abnormality exists in the electronic device as an example.
As shown in fig. 3, which shows another flowchart of the communication method provided in the embodiment of the present application, the method of the present embodiment may include:
s301, detecting an initialization parameter of a first communication module of the electronic equipment under the condition that the electronic equipment is determined to have data communication abnormity, and determining the detection result of normal communication or abnormal communication of the electronic equipment based on the initialization parameter.
The first communication module is a module currently executing a communication task, that is, a communication module required by the electronic device to obtain a communication service corresponding to a currently accessed communication network. For example, the first communication module may be responsible for functions and operations related to communication, such as sending and receiving data or signals between the electronic device and a communication network to which the electronic device is currently connected, and network registration.
For example, the first communication module may include at least one of a radio frequency module supporting a network format corresponding to a communication network to which the electronic device is accessed, and a communication antenna and other communication-related sub-modules. For example, the electronic device accesses a cellular mobile communication network, the first communication module may be a radio frequency module and an antenna supporting a corresponding standard (such as 4G or 5G) in cellular mobile communication, and the like.
The electronic equipment can obtain the data communication service of the first communication network where the electronic equipment is currently located through the data communication service terminal. The data communication service terminal can directly provide data communication service for the electronic equipment; or, the data communication service end provides the data communication service to the electronic equipment by relying on the communication equipment capable of providing the data communication service to the data communication service end. As described above, the details are not repeated herein.
The initialization parameter of the first communication module refers to a parameter of the first communication module after initialization configuration. Such as frequency band, antenna radiation angle, communication frequency, etc.
The mode of determining whether the electronic device is in normal communication based on the initialization parameter of the first communication module may also have multiple possibilities.
For example, whether each parameter value in the initialization parameter is in the respective corresponding reference range may be detected in combination with the stored reference range value of each parameter corresponding to the first communication module, and if there is an initialization parameter that is not in the reference range, it is interpreted that the data communication is abnormal due to the communication abnormality of the electronic device itself.
For another example, whether the communication parameters of the electronic device are abnormal may be detected based on the initialization parameters of the first communication module, for example, whether the antenna transmission power is normal or not may be detected in the case of the antenna angle set in the initialization parameters. If the local communication parameters of the electronic equipment are abnormal, determining that the electronic equipment has communication abnormality; on the contrary, if the communication parameters of the electronic equipment are normal, the electronic equipment does not have communication abnormality.
It should be understood that step S301 is only one implementation manner of determining that the electronic device itself is normal or abnormal in communication, and in practical applications, the detection result of the electronic device itself that is normal or abnormal in communication may also be obtained by detecting the quality of the communication network between the electronic device and other data communication service terminals.
The other data communication service terminals refer to data communication service terminals other than the data communication service terminal corresponding to the communication network with the data communication abnormality.
For example, in case the electronic device is provided with a plurality of Subscriber Identity Module (SIM) cards, the electronic device can have access to cellular mobile communication networks under different operators. In this case, if the operator of the first base station corresponding to the communication network with the data communication abnormality belongs to the first operator, the electronic device may detect the quality of the communication network corresponding to the second base station corresponding to the second operator, and if the quality of the communication network under the second base station meets the requirement, it is indicated that the electronic device itself does not have the communication abnormality; if the communication network quality under the second base station does not meet the requirement, the data communication abnormality caused by the communication abnormality of the electronic equipment is explained.
In practical application, the detection result of normal communication or abnormal communication of the electronic device can be integrated by combining the initialization parameter of the first communication module of the electronic device and the communication network quality between the electronic device and other data communication service terminals.
And S302, optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result.
If the detection result corresponding to the initialization parameter of the first communication module of the electronic device indicates that the communication of the electronic device is abnormal, the data communication quality of the electronic device can be optimized by adjusting the initialization parameter of the first communication module or switching other communication modules in the electronic device to access another communication network. For example, the set initialization parameter is adjusted in combination with a reasonable value range corresponding to the initialization parameter, or the initialization parameter is adjusted according to a specific rule or without a long time, and the like, which is not limited.
For the situation that the communication abnormality of the electronic equipment is determined through the quality of the communication network between the other data service terminals and the electronic equipment, the optimization can be realized in a manner of switching the first communication network where the electronic equipment is currently located to the second communication network. For example, on the premise that the first communication module is currently accessed to the first communication network of the first operator, the electronic device may be switched to access to the second communication network of the second operator through another communication module of the electronic device.
The manner of determining the second communication network may be as described above, but is not limited thereto.
In the following, it is described as an example that when the electronic device has a data communication abnormality, the data communication quality is optimized by analyzing whether the communication of the data communication server is abnormal.
As shown in fig. 4, which shows another flowchart of the communication method provided in the embodiment of the present application, the method of the present embodiment may include:
s401, under the condition that the electronic equipment is determined to have data communication abnormity, detecting initialization parameters of a second communication module of the data communication service end, and determining the detection result of the data communication service end that the data communication service end is normal in communication or abnormal in communication based on the initialization parameters.
For specific possible situations of the data communication abnormality, reference may be made to the related description of the foregoing embodiments, and details are not repeated herein.
The data communication service terminal can directly provide data communication service for the electronic equipment; or, the data communication service end provides the data communication service to the electronic equipment by relying on the communication equipment which can provide the data communication service to the data communication service end.
The second communication module is a module currently executing a communication task. In order to distinguish from the first communication module of the preceding electronic device, the communication module of the data communication service end is referred to as a second communication module.
The second communication module may include a relevant module required by the data communication service end to implement the communication function, for example, taking the data communication service end as a base station as an example, the second communication module may include a wireless transmitting and receiving device in the transceiver station, and the corresponding initialization parameter is an initialized parameter related to wireless transmitting and receiving. The data communication service end is a router or other access hotspot devices, the second communication module may include various modules for implementing signal transmission, and the initialization parameter of the second communication module may be a parameter related to a routing protocol, signaling configuration, and routing table configuration.
The initialization parameter of the second communication module is a parameter for the data communication service end to initialize for the second communication module.
In practical applications, the electronic device may send a detection request to the data communication server, where the detection request is used to request the data communication server to detect the initialization parameter of the second communication module. Accordingly, the data communication service end feeds back the detection result determined based on the initialization parameter to the electronic equipment.
It can be understood that whether the data communication service end has communication abnormality can be judged based on the initialization parameter of the second communication module, and whether the initialization parameter of the second communication module has configuration abnormality can be detected based on the parameter reference range of each parameter configured in advance for initialization, and if so, it is determined that the data communication service end has communication abnormality. And the communication state parameters of the data communication service end can be obtained by the data communication service end based on the initialization parameters of the second communication module, and whether the data communication service end has communication abnormality or not can be analyzed based on the communication state parameters.
It can be understood that, in addition to determining whether the data communication service end itself has the detection result of the communication abnormality in the manner of step S401, when the data communication service end needs to rely on the communication device to provide the data communication service for the electronic device, the quality of the communication network between the data communication service end and the communication device may also be detected, so as to obtain the detection result of the data communication service end itself that is in normal communication or abnormal communication.
The data communication service end may also perform, after receiving the detection request of the electronic device, detection of the quality of the communication network between the electronic device and the communication device, and feed back the obtained detection result to the electronic device.
S402, optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result.
In this embodiment, the detection result may indicate whether the data communication service end is abnormal, and if the data communication service end is abnormal in communication, the data communication service end may be instructed to optimize the communication quality of the data communication service end, or the data communication service end may be switched to a communication network corresponding to another data communication service end, so as to optimize the data communication quality of the electronic device.
If the detection result indicates that the data communication service terminal is normal in communication, it indicates that the data communication is abnormal possibly due to the abnormal communication of the electronic device, and then a prompt or a prompt for switching the first communication module of the electronic device currently providing the network service to other communication modules of the electronic device may be output.
It is understood that, in practical applications, the above several ways of detecting the communication parameters and obtaining the detection results may be applied in combination of two or more ways, for example, the above three embodiments are combined to obtain a plurality of different detection results. On the basis, the reason of the communication abnormity of the electronic equipment is comprehensively determined based on the multiple detection results, such as the abnormity of the communication network of the electronic equipment, the abnormity of the access layer of the first communication network and the like. Accordingly, the data communication quality of the electronic device can be optimized by adopting a processing mode corresponding to a specific reason causing the data communication abnormity.
The application also provides a communication device corresponding to the communication method.
As shown in fig. 5, which shows a schematic structural diagram of a communication device provided in an embodiment of the present application, the device of the present embodiment may include:
a parameter detecting unit 501, configured to detect, when it is determined that a data communication abnormality exists in the electronic device, a communication parameter corresponding to at least one of the electronic device, a data communication service end, and a data communication service between the electronic device and the data communication service end, so as to obtain at least one detection result, where the data communication service end is capable of directly providing the data communication service to the electronic device, or the data communication service end is dependent on a communication device capable of providing the data communication service to the electronic device to provide the data communication service to the electronic device.
A communication optimizing unit 502, configured to optimize data communication quality of the electronic device in a corresponding processing manner based on the detection result.
In a possible implementation manner, the parameter detection unit includes at least one of the following:
the first parameter detection unit is used for detecting at least one physical layer parameter of a communication network between the electronic equipment and the data communication server to obtain at least one detection result;
the second parameter detection unit is used for detecting coding and decoding parameters corresponding to data coding and decoding services between the electronic equipment and the data communication service end so as to obtain at least one detection result;
and the third parameter detection unit is used for detecting a compression parameter corresponding to the data compression service between the electronic equipment and the data communication service end so as to obtain at least one detection result.
In another possible implementation manner, the first parameter detecting unit includes:
a first parameter obtaining unit, configured to obtain a single parameter value of each physical layer parameter of the communication network within a preset time period, where the physical layer parameter includes at least one of a signal quality-related parameter, a bit error rate-related parameter, and a cell stability-related parameter;
a first result determining unit, configured to determine that an access stratum of the communication network is abnormal if the single parameter value exceeds a respective corresponding first threshold; and/or the presence of a gas in the atmosphere,
a second result determining unit, configured to determine that an access stratum of the communication network is normal if the single parameter value does not exceed the respective corresponding first threshold.
In another possible implementation manner, the first parameter detecting unit includes:
a second parameter obtaining unit, configured to obtain a comprehensive parameter value obtained based on a parameter value of each physical layer parameter of the communication network and a weight corresponding to the physical layer parameter within a preset time period, where the physical layer parameter includes at least one of a signal quality-related parameter, an error rate-related parameter, and a cell stability-related parameter;
a third result determining unit, configured to determine that an access stratum of the communication network is abnormal if the value of the composite parameter exceeds a second threshold; and/or the presence of a gas and/or,
and the fourth result determining unit is used for determining that the access stratum of the communication network is normal if the comprehensive parameter value does not exceed the second threshold value.
In another possible implementation manner, on the basis of the above first parameter detecting unit, the communication optimizing unit includes at least one of:
the first optimization control unit is used for switching the communication network between the electronic equipment and the data communication service end from a current first communication network to a second communication network if the detection result represents that the access layer of the communication network is abnormal, wherein the second communication network is different from the first communication network at least in network type;
and the second optimization control unit is used for controlling the electronic equipment to re-register the current first communication network if the detection result represents that the access layer of the communication network is normal.
In another possible implementation manner, when the communication network between the electronic device and the data communication service end is switched from the current first communication network to the second communication network, the first optimization control unit is specifically configured to: and obtaining network characteristic information of the communication network searched by the electronic equipment, and accessing a second communication network based on the network characteristic information so as to switch the first communication network to the second communication network.
In another possible implementation manner, the parameter detecting unit includes at least one of:
the fourth parameter detection unit is used for detecting an initialization parameter of a first communication module of the electronic equipment, and determining a detection result of normal communication or abnormal communication of the electronic equipment based on the initialization parameter, wherein the first communication module is a module currently executing a communication task;
and the fifth parameter detection unit is used for detecting the communication network quality between the electronic equipment and other data communication service terminals to obtain the detection result of normal communication or abnormal communication of the electronic equipment.
In another possible implementation manner, the parameter detecting unit includes at least one of:
a sixth parameter detecting unit, configured to detect an initialization parameter of a second communication module of a data communication server, and determine, based on the initialization parameter, a detection result that the data communication server is normal in communication or abnormal in communication, where the second communication module is a module that currently executes a communication task;
and the seventh parameter detection unit is used for detecting the communication network quality between the data communication service end and the communication equipment to obtain a detection result of normal or abnormal communication of the data communication service end.
In another possible implementation manner, when determining that the data communication abnormality exists in the electronic device, the parameter detecting unit may specifically include at least one of the following:
detecting that the electronic equipment has data packet receiving and sending abnormity;
determining that the electronic equipment has data packet transceiving delay;
and determining that the communication data between the electronic equipment and the data communication server side is updated abnormally.
In yet another aspect, the present application further provides an electronic device, as shown in fig. 6, which shows a schematic structural diagram of the electronic device, and the electronic device may be any type of electronic device, and the electronic device at least includes a processor 601 and a memory 602;
wherein the processor 601 is configured to perform the communication method as in any of the above embodiments.
The memory 602 is used to store programs needed for the processor to perform operations.
It is to be understood that the electronic device may further include a display unit 603 and an input unit 604.
Of course, the electronic device may have more or fewer components than those shown in fig. 6, which is not limited in this respect.
In another aspect, the present application further provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the communication method according to any one of the above embodiments.
The present application further proposes a computer program comprising computer instructions stored in a computer readable storage medium. The computer program is for performing the communication method as in any of the above embodiments when run on an electronic device.
It should be noted that, in this specification, each embodiment is described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same as and similar to each other in each embodiment may be referred to. Also, the features described in the embodiments of the present specification may be replaced or combined with each other to enable one skilled in the art to make or use the present application. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method of communication, comprising:
under the condition that the electronic equipment is determined to have data communication abnormity, detecting communication parameters corresponding to at least one of the electronic equipment, a data communication service end and data communication service between the electronic equipment and the data communication service end to obtain at least one detection result;
optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result;
the data communication service end can directly provide the data communication service for the electronic equipment, or the data communication service end provides the data communication service for the electronic equipment by relying on the communication equipment which can provide the data communication service for the data communication service.
2. The method of claim 1, wherein detecting communication parameters corresponding to the data communication service between the electronic device and the data communication server comprises at least one of:
detecting at least one physical layer parameter of a communication network between the electronic equipment and the data communication server;
detecting coding and decoding parameters corresponding to data coding and decoding services between the electronic equipment and a data communication server;
and detecting a compression parameter corresponding to a data compression service between the electronic equipment and the data communication service terminal.
3. The method of claim 2, wherein detecting the physical layer parameter corresponding to the communication network between the electronic device and the data communication server to obtain at least one detection result comprises:
acquiring a single parameter value of each physical layer parameter of the communication network within a preset time period;
if the single parameter value exceeds the corresponding first threshold value, determining that the access stratum of the communication network is abnormal; and/or the presence of a gas in the atmosphere,
if the single parameter value does not exceed the corresponding first threshold value, determining that the access stratum of the communication network is normal;
wherein the physical layer parameter includes at least one of a signal quality related parameter, a bit error rate related parameter, and a cell stability related parameter.
4. The method of claim 2, wherein detecting the physical layer parameter corresponding to the communication network between the electronic device and the data communication server to obtain at least one detection result comprises:
acquiring a parameter value of each physical layer parameter based on the communication network in a preset time period and a comprehensive parameter value obtained by the weight corresponding to the physical layer parameter;
if the comprehensive parameter value exceeds a second threshold value, determining that an access stratum of the communication network is abnormal; and/or the presence of a gas in the atmosphere,
if the comprehensive parameter value does not exceed a second threshold value, determining that an access layer of the communication network is normal;
wherein the physical layer parameter includes at least one of a signal quality related parameter, a bit error rate related parameter, and a cell stability related parameter.
5. The method according to claim 3 or 4, wherein optimizing the data communication quality of the electronic device in a corresponding processing manner based on the detection result comprises at least one of:
if the detection result represents that the access layer of the communication network is abnormal, switching the communication network between the electronic equipment and the data communication service end from a current first communication network to a second communication network, wherein the second communication network and the first communication network are different at least in network type;
and if the detection result indicates that the access layer of the communication network is normal, controlling the electronic equipment to re-register the current first communication network.
6. The method of claim 5, wherein switching the communication network between the electronic device and the data communication server from a current first communication network to a second communication network comprises:
and obtaining network characteristic information of the communication network searched by the electronic equipment, and accessing a second communication network based on the network characteristic information so as to switch the first communication network to the second communication network.
7. The method of claim 1, wherein detecting the communication parameter of the electronic device to obtain at least one detection result comprises at least one of:
detecting an initialization parameter of a first communication module of electronic equipment, and determining a detection result of normal communication or abnormal communication of the electronic equipment based on the initialization parameter, wherein the first communication module is a module currently executing a communication task;
and detecting the communication network quality between the electronic equipment and other data communication service terminals to obtain the detection result of normal communication or abnormal communication of the electronic equipment.
8. The method of claim 1, wherein detecting the communication parameters of the data communication service end to obtain at least one detection result comprises at least one of:
detecting an initialization parameter of a second communication module of a data communication server, and determining a detection result of normal communication or abnormal communication of the data communication server based on the initialization parameter, wherein the second communication module is a module currently executing a communication task;
and detecting the communication network quality between the data communication server and the communication equipment to obtain a detection result of normal or abnormal communication of the data communication server.
9. The method of claim 1, wherein determining that the electronic device has a data communication anomaly comprises at least one of:
detecting that the electronic equipment has data packet receiving and sending abnormity;
determining that the electronic equipment has data packet transceiving delay;
and determining that the communication data between the electronic equipment and the data communication server side is updated abnormally.
10. A communication device, comprising:
the parameter detection unit is used for detecting communication parameters corresponding to at least one of the electronic equipment, a data communication service end and data communication service between the electronic equipment and the data communication service end under the condition that the electronic equipment is determined to have data communication abnormity so as to obtain at least one detection result, wherein the data communication service end can directly provide the data communication service for the electronic equipment, or the data communication service end can provide the data communication service for the electronic equipment depending on communication equipment which can provide the data communication service for the data communication service end;
and the communication optimization unit is used for optimizing the data communication quality of the electronic equipment in a corresponding processing mode based on the detection result.
CN202211056664.0A 2022-08-31 2022-08-31 Communication method and device Pending CN115412955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211056664.0A CN115412955A (en) 2022-08-31 2022-08-31 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211056664.0A CN115412955A (en) 2022-08-31 2022-08-31 Communication method and device

Publications (1)

Publication Number Publication Date
CN115412955A true CN115412955A (en) 2022-11-29

Family

ID=84163908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211056664.0A Pending CN115412955A (en) 2022-08-31 2022-08-31 Communication method and device

Country Status (1)

Country Link
CN (1) CN115412955A (en)

Similar Documents

Publication Publication Date Title
US11224042B2 (en) Frequency selection method, random access method and apparatuses
US8712456B2 (en) Method and system of channel detecting and reporting, terminal, and management center
KR101134274B1 (en) Network initiated proactive handover procedure for fast moving wireless devices
EP3072333B1 (en) Dynamically adjusting roaming parameters
US9883442B2 (en) Offload processing method, control unit, and system
US11044774B2 (en) System and method for triggering split bearer activation in 5G new radio environments
KR20050115257A (en) Improved vertical roaming in wireless networks through improved quality of service measures
US20150146535A1 (en) Adaptive non-real-time traffic control method and terminal for same
EP2858455A1 (en) Operating method of wireless access point device and wireless access point device
US20150098429A1 (en) Network Access Method, Device, and System
JP5051128B2 (en) Mobile radio communication system and handover execution method in the same system
RU2725174C1 (en) Method of transmitting data, end device and network device
US10165474B2 (en) Volunteer domain change of existed service for supporting multiple services with service continuity
CN113455027A (en) Method and apparatus for mobile roaming service
US20130122884A1 (en) Control apparatus, communication system and control method
US20100304752A1 (en) Communication system, communication method, and controller
US10320639B2 (en) Method of controlling user equipment communication with a network and corresponding apparatus and computer program product
US9479945B2 (en) Determination of network parameters in mobile communication networks
WO2021109974A1 (en) Beam quality measurement method, and apparatus
CN112911663A (en) Cell switching method and device, terminal equipment and storage medium
CN107534853A (en) A kind of method and apparatus for starting relay function
WO2018001452A1 (en) Method, system and apparatus
KR20120096802A (en) Network selection system and method therof in heterogeneous network
CN115412955A (en) Communication method and device
US20110189989A1 (en) Method and Apparatus for Cross Mode Mobility Optimization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination