Data channel switching method and device and electronic equipment

By monitoring and switching data channels, the problem of slow switching speed of dual-card dual-pass mobile terminals when the main card network is dropped or the packet data network connection is disconnected, and fast switching and improved user experience are achieved.

CN119233354APending Publication Date: 2024-12-31BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310776997.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

After the main card network is disconnected or the packet data network connection is disconnected, the network data channel switching speed is slow, resulting in a degradation of user experience.

Method used

By obtaining multiple channel information of the current data channel, monitoring the channel information based on the abnormal state detection strategy. If an abnormal state is detected, switch to the backup data channel to achieve rapid switching.

Benefits of technology

It greatly shortens the abnormal discovery time, improves the user experience, realizes rapid switching of data channels, and reduces network lag problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233354A_ABST
    Figure CN119233354A_ABST
Patent Text Reader

Abstract

The invention relates to a data channel switching method and device and electronic equipment, and relates to the field of data channel switching.The method comprises the steps that firstly, multiple pieces of channel information of a current data channel can be obtained; the multiple pieces of channel information are monitored based on abnormal state detection strategies, multiple monitoring results corresponding to the multiple pieces of channel information are obtained, and the abnormal state detection strategies comprise at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality; if a preset number of monitoring results in the plurality of monitoring results are abnormal, judging that the communication state of the current data channel is an abnormal state; and if the communication state of the current data channel is an abnormal state, switching the current data channel to a standby data channel. Through network monitoring of the current data channel, rapid switching of the data channel is realized, network lagging caused by slowing of the network speed is reduced, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data channel switching, and in particular to a data channel switching method, device and electronic equipment. Background Art

[0002] With the development of wireless communication technology, people are increasingly dependent on wireless terminals. Dual-SIM dual-channel mobile terminals have brought a lot of convenience to users, and the sales proportion of dual-SIM dual-channel mobile terminals in the market is also increasing. Two independent card slots can be installed in a dual-SIM dual-channel mobile terminal, namely a subscriber identity module (SIM) or a universal subscriber identity module (USIM). A dual-SIM dual-channel mobile terminal generally includes two baseband processors, which can support two SIM cards or USIM cards to work simultaneously.

[0003] The dual cards of a dual-SIM dual-pass mobile terminal are divided into a primary card and a secondary card. When a user uses the dual-SIM dual-pass mobile terminal to make calls or surf the Internet, the primary card is selected by default to carry network services. When switching network data between the primary and secondary cards, the prior art only attempts to re-register the network and dial up when the mobile network of the primary card is disconnected or the packet data network (PDN) connection is disconnected, and triggers the channel switching process only after failure. As a result, due to untimely network monitoring, the network data channel switching speed of the primary and secondary cards is slow, thereby reducing the user experience. Summary of the invention

[0004] In view of this, the present disclosure provides a data channel switching method, device and electronic device, the main purpose of which is to improve the problem in the prior art that the client only attempts to re-register for the network and dial up when the mobile network of the primary card is disconnected or the packet data network (PDN) connection is disconnected, and the channel switching process is triggered only after failure, resulting in untimely network monitoring, slow switching of the network data channels of the primary and secondary cards, thereby reducing the user experience.

[0005] In a first aspect, the present disclosure provides a data channel switching method, comprising:

[0006] Acquire multiple channel information of the current data channel, where the current data channel is the channel for current data communication between the host computer system and the server;

[0007] Monitoring the plurality of channel information based on an abnormal state detection strategy to obtain a plurality of monitoring results corresponding to the plurality of channel information, wherein the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality;

[0008] If a preset number of monitoring results among the multiple monitoring results are abnormal, determining that the communication state of the current data channel is an abnormal state;

[0009] If the communication state of the current data channel is an abnormal state, the current data channel is switched to a backup data channel, where the backup data channel is a channel for data communication to be established between the host computer system and the server.

[0010] In a second aspect, the present disclosure provides a data channel switching device, comprising:

[0011] An acquisition module is used to acquire multiple channel information of a current data channel, where the current data channel is a channel for current data communication between the host computer system and the server;

[0012] A monitoring module, configured to monitor the plurality of channel information based on an abnormal state detection strategy to obtain a plurality of monitoring results corresponding to the plurality of channel information, wherein the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality;

[0013] A judgment module, configured to judge that the communication state of the current data channel is an abnormal state if a preset number of monitoring results among the multiple monitoring results are abnormal;

[0014] The switching module is used to switch the current data channel to a backup data channel if the communication state of the current data channel is abnormal. The backup data channel is a channel for data communication to be established between the host computer system and the server.

[0015] In a third aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data channel switching method described in the first aspect.

[0016] In a fourth aspect, the present disclosure provides an electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the data channel switching method described in the first aspect when executing the computer program.

[0017] By means of the above technical scheme, the present disclosure provides a data channel switching method, device and electronic device. Compared with the current existing technology, the present disclosure can realize the rapid switching of data channels and reduce the network jamming problem caused by the slow network speed. Specifically, multiple channel information of the current data channel can be obtained first, and the current data channel is the channel for data communication between the host system and the server; based on the abnormal state detection strategy, multiple channel information is monitored to obtain multiple monitoring results corresponding to the multiple channel information, and the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission, and at least one abnormal state detection strategy for wireless network signal quality; a judgment module is used to judge that the communication state of the current data channel is abnormal if a preset number of monitoring results in the multiple monitoring results are abnormal; if the communication state of the current data channel is abnormal, the current data channel is switched to a backup data channel, and the backup data channel is a channel for data communication to be established between the host system and the server. By applying the technical scheme of the present disclosure, network monitoring of the current data channel is realized, and when it is determined that the communication state of the current data channel is abnormal, the current data channel is switched to the backup data channel. Compared with the previous method of passively waiting for the wireless power distribution network to connect or disconnect, the proposed solution of actively detecting and judging anomalies greatly shortens the anomaly discovery time and improves the user experience.

[0018] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 A schematic diagram of a flow chart of a data channel switching method provided by an embodiment of the present disclosure is shown;

[0022] Figure 2 A schematic diagram showing a flow chart of another data channel switching method provided by an embodiment of the present disclosure;

[0023] Figure 3A system framework diagram of a data channel switching method provided by an embodiment of the present disclosure is shown;

[0024] Figure 4 A timing diagram of a data channel switching method provided by an embodiment of the present disclosure is shown;

[0025] Figure 5 A schematic structural diagram of a data channel switching device provided in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0026] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0027] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0028] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0030] In order to improve the technical problem that the network data channel switching speed of the main and auxiliary cards is slow due to untimely network monitoring in the prior art, thereby reducing the user experience. The present disclosure embodiment provides a data channel switching method, such as Figure 1 As shown, the method includes:

[0031] Step 101: Acquire multiple channel information of the current data channel, where the current data channel is the channel for current data communication between the host computer system and the server.

[0032] For the embodiments of the present disclosure, the host computer system may be a computer or a single-chip microcomputer that directly sends operating instructions, is responsible for business logic, and is used to provide a user operation interaction interface and display feedback data to the user, such as a computer, a mobile phone, a tablet, a panel, a touch screen, etc. In the embodiments of the present disclosure, the host computer system is taken as a mobile phone as an example to illustrate the technical solution in the present disclosure, but it does not constitute a specific limitation on the technical solution in the present disclosure.

[0033] In the disclosed embodiment, the host system can remotely access the connected server through the data channel between the host system and the server; the server can be used to provide an access interface so that a data channel can be established between the host system and the server. The host system and the server can communicate data through the data channel and transmit channel information to each other, wherein the channel information is information transmitted in the data channel, and may include picture information, audio information, signal data, etc., without specific limitation.

[0034] The execution subject of the embodiment of the present disclosure may be a baseband system, which is used to provide network access capabilities and data channels. The baseband system can establish a wireless network data channel with the network operator through the registration network, and obtain the network and bearer information of the network operator through the wireless network data channel, wherein the bearer information may include an IP address, which is not specifically limited. The network operator can access the server through a specific data channel. The tether system transmits the network and bearer information to the host computer system through the data channel between the host computer system and the host computer system. The host computer system receives the network and bearer information, completes the initialization, and transmits it to the host computer system through the control channel between the baseband system and the host computer system. The host computer system can connect to the network operator through the data channel between the baseband system and the wireless network data channel between the baseband system and the network operator, and further use the specific data channel of the network operator to connect to the server and interact with the data.

[0035] Step 102: Monitor multiple channel information based on the abnormal state detection strategy to obtain multiple monitoring results corresponding to the multiple channel information.

[0036] Among them, the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission, and at least one abnormal state detection strategy for wireless network signal quality; the abnormal state detection strategy is used to determine whether the current data channel can transmit data normally, and the abnormal state detection strategy may include a variety of detection strategies for determining whether the communication state of the current data channel is an abnormal state, which is not limited to this. The abnormal state detection strategy may include but is not limited to the following four contents: data transmission delay, packet loss rate, success rate and wireless network signal measurement value. Exemplarily, the abnormal state detection strategy can be to monitor the positive feedback message ratio in the current data channel. If the positive feedback message ratio is less than the preset message ratio, it indicates that the current data channel transmission is abnormal, wherein the positive feedback message is an Ack (Acknowledgement) message. After receiving the data, the receiver replies to the positive feedback message to the sender to inform the sender that the data has been received. The preset message ratio is a ratio value that can be preset according to the actual situation. The abnormal state is a communication state in which the network signal strength is less than the preset strength threshold. The preset strength threshold is a preset network signal strength value that can ensure that the user does not experience freezes during use. For the embodiments of the present disclosure, by adopting abnormal status detection strategies in two dimensions (network layer (IP) data transmission and wireless network signal quality), multiple channel indicator data are monitored in parallel and comprehensive judgments are made, thereby achieving accurate monitoring of data channel network anomalies and realizing rapid switching of data channels.

[0037] Step 103: If a preset number of monitoring results among the multiple monitoring results are abnormal, it is determined that the communication state of the current data channel is an abnormal state.

[0038] For the embodiments of the present disclosure, when the network is monitored for the delay, packet loss rate, success rate and wireless network signal measurement value of data transmission, if there are a preset number of monitoring results that are abnormal, then the communication state of the current data channel is judged to be an abnormal state, wherein the preset number can be pre-set according to the actual situation, and can include but is not limited to 2, 3, 4, etc., and there is no limitation on this. If the communication state of the current data channel is judged to be an abnormal state according to the abnormal state detection strategy, that is, when the current data channel is detected in the process of transmitting channel information, when the current network signal strength is less than the preset strength threshold, it proves that the current network signal quality is reduced, in order to avoid the phenomenon of freezes when the user uses the mobile phone due to the slow network speed, the embodiments of the present disclosure can switch the current data channel to a backup data channel when it is detected that the network signal strength is less than the preset strength threshold, and specifically the process shown in step 103 can be executed to ensure the user's experience during use.

[0039] Step 104: If the communication state of the current data channel is an abnormal state, the current data channel is switched to a backup data channel, where the backup data channel is a channel for data communication to be established between the host computer system and the server.

[0040] For the disclosed embodiment, a separation system is mainly used to switch the current data channel. The separation system includes a baseband system (Modem) and a host system (Host). The baseband system provides network access capabilities and data channels, and the host system is responsible for business logic. This solution defines a dual-system collaboration solution when an exception occurs to achieve the purpose of fast switching, which can be applied to a variety of operating systems. This solution also takes into account the basic software layer division, the high cohesion and low coupling principle of module design, etc. Compared with the previous passive waiting for the wireless power distribution network to connect or disconnect, a solution for actively detecting and judging the exception is proposed, which greatly shortens the abnormality discovery time. In addition, this solution can achieve a millisecond-level data channel switching speed. The host computer can support dual-card dual-pass, which means that it can support two cards (main card and secondary card) to establish a data channel with the server at the same time. The data channel of the main card is selected by default to carry the network service. When the network signal quality of the main card is reduced, it will automatically switch to the backup data channel of the secondary card, reducing the phenomenon of freezes caused by slow network speed during use, and improving the user experience.

[0041] In summary, according to the data channel switching method provided by the present disclosure, compared with the current prior art, the present disclosure can realize the rapid switching of data channels and reduce the network jamming problem caused by the slow network speed. Specifically, multiple channel information of the current data channel can be obtained first, and the current data channel is the channel for data communication between the host system and the server; based on the abnormal state detection strategy, multiple channel information is monitored to obtain multiple monitoring results corresponding to the multiple channel information, and the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission, and at least one abnormal state detection strategy for wireless network signal quality; a judgment module is used to judge that the communication state of the current data channel is abnormal if a preset number of monitoring results in multiple monitoring results are abnormal; if the communication state of the current data channel is abnormal, the current data channel is switched to a backup data channel, and the backup data channel is a channel for data communication to be established between the host system and the server. By applying the technical solution of the present disclosure, network monitoring of the current data channel is realized, and when it is determined that the communication state of the current data channel is abnormal, the current data channel is switched to the backup data channel. Compared with the previous method of passively waiting for the wireless power distribution network to connect or disconnect, the proposed solution of actively detecting and judging anomalies greatly shortens the anomaly discovery time and improves the user experience.

[0042] Further, as a refinement and extension of the above embodiment, in order to fully illustrate the specific implementation process of the method of the embodiment of the present disclosure, the embodiment of the present disclosure provides the following Figure 2 The specific method shown includes:

[0043] Step 201: Create multiple data channels between the host computer system and the server, and create a control channel between the baseband system and the host computer system.

[0044] Among them, multiple data channels are used for data communication between the host system and the server, and the multiple data channels may include a current data channel and at least one spare data channel. In the following embodiment steps in the present disclosure, the technical solution in the present disclosure is described by taking the multiple data channels including a current data channel and a spare data channel as an example, but it does not constitute a specific limitation. The control channel is used for the baseband system to send indication information to the host system, and the indication information may have a variety of indication meanings, such as indicating a successful network connection, indicating a network connection failure, etc., and there is no specific limitation on this.

[0045] For the embodiments of the present disclosure, Figure 3 As shown in the figure, the mainstream mobile terminal system architecture is divided into two parts: baseband system and host computer system. The baseband system includes: wireless unit, monitoring unit, control unit and communication unit; the wireless unit includes network signal analysis and wireless data bearer management; the monitoring unit is responsible for network quality and data channel transmission quality monitoring; the control unit is responsible for data channel switching control and communication with the host computer based on the control plane protocol; the communication unit is responsible for communication between the baseband system and the host computer system, which may include control channel and data channel. The host computer system includes: application unit, service unit, control unit and communication unit; the application unit is responsible for client business logic processing and communication with the remote server at the same time; the service unit is used to provide the system services required by the application layer unit, including command transmission and status reporting; the control unit is responsible for communication with the baseband system and internal control of the host computer; the communication unit is responsible for communication between the baseband system and the host computer system, including control channel and data channel.

[0046] In the embodiment of the present disclosure, when creating multiple data channels between the host computer system and the server, the baseband system can complete initialization after startup, use the wireless unit of the baseband system to register the network communication functions of SIM1 and SIM2 cards, and establish wireless network data channels between SIM1 and SIM2 cards and their respective network operators. The baseband system transmits channel information such as network information and bearer information carried in the wireless network data channel to the host computer system through the control channel, and establishes a data channel with the host computer system. The host computer system can communicate data with the server through the data channel between the baseband system and the wireless network data channel between the baseband system and the network operator, wherein the network operator can access the server through a specific data channel.

[0047] Step 202: Acquire multiple channel information of the current data channel, where the current data channel is the channel for current data communication between the host computer system and the server.

[0048] For the implementation process of the embodiment of the present disclosure, please refer to the relevant description in step 101 of the embodiment, which will not be repeated here.

[0049] Step 203: Monitor multiple channel information based on abnormal state detection strategies to obtain multiple monitoring results corresponding to the multiple channel information. The abnormal state detection strategies include at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality.

[0050] For the embodiments of the present disclosure, the monitoring unit of the baseband system is mainly used to monitor whether the current data channel meets the abnormal state detection strategy. In a specific application scenario, the monitoring unit can monitor the delivery time of the network detection information sent to the operator server by creating a first daemon thread. If the delivery time exceeds the preset delivery time period of the network detection information, it indicates that the current data channel transmission is abnormal. Among them, network detection is a function provided by the system. The network detection command can be used to check whether the network is unobstructed or the network connection speed. After using the network detection command, the current network status can be understood through the delivery time of the return information of the command. The first daemon thread is a thread used to monitor the delivery time of the network detection information.

[0051] In a specific application scenario, the monitoring unit can monitor the loss ratio of the current data channel in the process of transmitting channel information by creating a second daemon thread, and can monitor the negative feedback message ratio in the current data channel. If the negative feedback message ratio is greater than the preset message ratio, it indicates that the current data channel transmission is abnormal, wherein the negative feedback message is a NACK message (Negative Acknowledgement, NACK). When the receiver does not receive the data, it sends a negative feedback message to the sender to inform the sender that the data has not been received. The second daemon thread is a thread used to monitor the loss ratio of the current data channel in the process of transmitting channel information.

[0052] In a specific application scenario, the monitoring unit can monitor the transmission success rate of the current data channel during the transmission of channel information by creating a third daemon thread. If the transmission success rate is less than the preset success rate, it indicates that the current data channel transmission is abnormal. The preset success rate is a success value that can be pre-set according to actual conditions. The third daemon thread is a thread that can be used to monitor the transmission success rate of the current data channel during the transmission of channel information.

[0053] In a specific application scenario, the monitoring unit can monitor the periodic wireless network signal measurement value by creating a fourth daemon thread, wherein the fourth daemon thread is a thread for monitoring the wireless network signal measurement value. By reading the reference signal received power, reference signal received quality, received signal strength index and signal to interference plus noise ratio of the wireless network signal measurement value in the channel information, and comparing with the preset signal reference value, if at least one signal value is less than the preset signal reference value, it indicates that the current data channel transmission is abnormal. Among them, the reference signal received power is the (Reference Signal Received Power, RSRP) signal value, the reference signal received quality is the (Reference Signal Receiving Quality, RSRQ) signal value, the received signal strength index is the (Received Signal Strength Indicator, RSSI) signal value, the signal to interference plus noise ratio is the (Signal to Interference plus Noise Ratio, SINR) signal value, and the preset signal reference value is a reference value of each signal value that can be set in advance according to actual conditions, and there is no specific restriction on this.

[0054] For the embodiments of the present disclosure, multiple channel information is monitored based on the abnormal state detection strategy to obtain multiple monitoring results corresponding to the multiple channel information. The specific implementation process can be described as: create multiple daemon threads corresponding to the abnormal state detection strategy respectively, monitor the multiple channel information through the multiple daemon threads, and obtain multiple monitoring results corresponding to the multiple channel information. Among them, the multiple daemon threads may include a first daemon thread, a second daemon thread, a third daemon thread and a fourth daemon thread, or may also include other daemon threads for detecting channel information, which are not specifically limited here. When the channel information includes the delivery time of the network detection information, the first daemon thread can be used to monitor whether the delivery time exceeds the preset delivery time period of the network detection information to obtain the first monitoring result. The network detection information is used to characterize the transmission delay of the channel information during the transmission process; if the delivery time exceeds the preset delivery time period of the network detection information, the first monitoring result is abnormal; if the delivery time does not exceed the preset delivery time period of the network detection information, the first monitoring result is normal. When the channel information includes the negative feedback message ratio, the second daemon thread can be used to monitor whether the negative feedback message ratio is greater than the preset message ratio to obtain the second monitoring result, and the negative feedback message ratio is used to characterize the loss ratio of the channel information during the transmission process; if the negative feedback message ratio is greater than the preset message ratio, the second monitoring result is abnormal; if the negative feedback message ratio is less than or equal to the preset message ratio, the second monitoring result is normal. When the channel information includes the transmission success rate of the current data channel, the third daemon thread can be used to monitor whether the transmission success rate is less than the preset success rate to obtain the third monitoring result, and the transmission success rate is used to characterize the success ratio of the channel information during the transmission process; if the transmission success rate is less than the preset success rate, the third monitoring result is abnormal; if the transmission success rate is greater than or equal to the preset success rate, the third monitoring result is normal. When the channel information includes a wireless network signal measurement value, the fourth daemon thread can be used to monitor whether the wireless network signal measurement value is less than the corresponding preset signal reference value to obtain a fourth monitoring result. The wireless network signal measurement value is used to characterize the wireless network signal quality of the current data channel. The wireless network signal measurement value includes at least one of the following: reference signal receiving power, reference signal receiving quality, received signal strength index, and signal to interference plus noise ratio; if the wireless network signal measurement value is less than the corresponding preset signal reference value, the fourth monitoring result is abnormal; if the wireless network signal measurement value is greater than or equal to the corresponding preset signal reference value, the fourth monitoring result is normal.

[0055] For the embodiments of the present disclosure, when monitoring multiple channel information based on the abnormal state detection strategy, by creating a daemon thread corresponding to the abnormal state detection strategy and using the daemon thread to monitor different channel information in parallel, automatic monitoring of data channel abnormalities can be achieved, thereby improving the monitoring efficiency and accuracy of abnormal states.

[0056] This disclosure defines a dual-system collaboration solution when an abnormality occurs to achieve the purpose of fast switching, which can be applied to a variety of operating systems. It also introduces two dimensions to monitor abnormal events, network layer (IP) data abnormalities and wireless signal quality abnormalities, and monitors multiple indicator data in parallel for comprehensive judgment, including: throughput, latency, packet loss rate, RSRP / RSRQ / RSRI / SINR, etc., thereby shortening the abnormality discovery time and reducing the misjudgment rate.

[0057] Step 204: If a preset number of monitoring results among the multiple monitoring results are abnormal, it is determined that the communication state of the current data channel is an abnormal state.

[0058] For the disclosed embodiment, as a possible implementation method, when the monitoring result of any daemon thread is abnormal, other monitoring results monitored by other daemon threads can be obtained. If at least one monitoring result among the other monitoring results is abnormal, the communication state of the current data channel can be judged to be abnormal. That is, if at least two monitoring results among the multiple monitoring results corresponding to all daemon threads are abnormal, the communication state of the current data channel is judged to be abnormal, which proves that the current network signal quality is low.

[0059] Step 205: Send instruction information to the host computer system through the control channel.

[0060] For the embodiment of the present disclosure, when the monitoring unit of the baseband system confirms that the current data channel is in an abnormal state, such as Figure 4 As shown, the monitoring unit of the baseband system sends an abnormal signal to the control unit of the baseband system to indicate that the current data channel is in an abnormal state. After receiving the abnormal signal, the control unit sends indication information to the communication unit of the baseband system to instruct the host computer system to disconnect the data connection with the server. After receiving the indication information, the communication unit of the baseband system sends the indication information to the communication unit of the host computer system. The communication unit of the host computer system sends the received indication information to the control unit of the host computer system. The control unit of the host computer system controls the application unit of the host computer system to disconnect the data connection with the server, and sends a disconnection signal to the service unit, and uses the service unit to notify the application unit that the data connection has been disconnected.

[0061] Step 206: If the communication state of the current data channel is an abnormal state, the current data channel is switched to a backup data channel, where the backup data channel is a channel for data communication to be established between the host system and the server.

[0062] For the embodiments of the present disclosure, Figure 4As shown, after the current data channel is switched to the backup data channel, the control unit of the baseband system controls the communication unit of the baseband system to send a reconstruction success signal to the communication unit of the host system through the control channel, which is used to indicate that the current data channel is the backup data channel. The communication unit of the host system sends a reconstruction success signal to the control unit of the host system. After receiving the reconstruction success signal, the control unit of the host system sends the reconstruction success signal to the service unit of the host system, and uses the service unit to notify the application unit to re-establish the connection with the server.

[0063] In summary, according to the data channel switching method provided by the present disclosure, compared with the current prior art, the present disclosure can realize the rapid switching of data channels and reduce the network jamming problem caused by the slow network speed. Specifically, multiple channel information of the current data channel can be obtained first, and the current data channel is the channel for data communication between the host system and the server; based on the abnormal state detection strategy, multiple channel information is monitored to obtain multiple monitoring results corresponding to the multiple channel information, and the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission, and at least one abnormal state detection strategy for wireless network signal quality; a judgment module is used to judge that the communication state of the current data channel is abnormal if a preset number of monitoring results in multiple monitoring results are abnormal; if the communication state of the current data channel is abnormal, the current data channel is switched to a backup data channel, and the backup data channel is a channel for data communication to be established between the host system and the server. By applying the technical solution of the present disclosure, network monitoring of the current data channel is realized, and when it is determined that the communication state of the current data channel is abnormal, the current data channel is switched to the backup data channel. Compared with the previous method of passively waiting for the wireless power distribution network to connect or disconnect, the proposed solution of actively detecting and judging anomalies greatly shortens the anomaly discovery time and improves the user experience.

[0064] Based on the above Figure 1 and Figure 2 The specific implementation of the method shown in the embodiment provides a data channel switching device, such as Figure 5 As shown, the device includes: an acquisition module 31, a monitoring module 32, a judgment module 33, and a switching module 34;

[0065] The acquisition module 31 can be used to obtain multiple channel information of the current data channel, where the current data channel is the channel for current data communication between the host computer system and the server;

[0066] A monitoring module 32, which can be used to monitor multiple channel information based on an abnormal state detection strategy to obtain multiple monitoring results corresponding to the multiple channel information, wherein the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality;

[0067] A judgment module 33, configured to judge that the communication state of the current data channel is an abnormal state if a preset number of monitoring results among the multiple monitoring results are abnormal;

[0068] The switching module 34 can be used to switch the current data channel to a backup data channel if the communication state of the current data channel is abnormal. The backup data channel is a channel for data communication to be established between the host system and the server.

[0069] In a specific application scenario, the monitoring module 32 can be used to create multiple daemon threads corresponding to the abnormal state detection strategy, monitor multiple channel information through multiple daemon threads, and obtain multiple monitoring results corresponding to the multiple channel information. The judgment module 33 can be used to obtain other monitoring results monitored by other daemon threads when the monitoring result of any daemon thread is abnormal; if at least one monitoring result among the other monitoring results is abnormal, the communication state of the current data channel is judged to be abnormal.

[0070] In a specific application scenario, the monitoring module 32 can be used to, when the channel information includes the delivery time of the network detection information, use the first daemon thread to monitor whether the delivery time exceeds the preset delivery time period of the network detection information, and obtain a first monitoring result, where the network detection information is used to characterize the transmission delay of the channel information during the transmission process; if the delivery time exceeds the preset delivery time period of the network detection information, the first monitoring result is abnormal; if the delivery time does not exceed the preset delivery time period of the network detection information, the first monitoring result is normal; when the channel information includes the negative feedback message ratio, use the second daemon thread to monitor whether the negative feedback message ratio is greater than the preset message ratio, and obtain a second monitoring result, where the negative feedback message ratio is used to characterize the loss ratio of the channel information during the transmission process; if the negative feedback message ratio is greater than the preset message ratio, the second monitoring result is abnormal; if the negative feedback message ratio is less than or equal to the preset message ratio, the second monitoring result is normal. When the channel information includes the transmission success rate of the current data channel, the third daemon thread is used to monitor whether the transmission success rate is less than the preset success rate to obtain a third monitoring result, and the transmission success rate is used to characterize the success ratio of the channel information during the transmission process; if the transmission success rate is less than the preset success rate, the third monitoring result is abnormal; if the transmission success rate is greater than or equal to the preset success rate, the third monitoring result is normal. When the channel information includes a wireless network signal measurement value, the fourth daemon thread is used to monitor whether the wireless network signal measurement value is less than the corresponding preset signal reference value to obtain a fourth monitoring result, and the wireless network signal measurement value is used to characterize the wireless network signal quality of the current data channel. The wireless network signal measurement value includes at least one of the following: reference signal received power, reference signal received quality, received signal strength index, and signal to interference plus noise ratio; if the wireless network signal measurement value is less than the corresponding preset signal reference value, the fourth monitoring result is abnormal; if the wireless network signal measurement value is greater than or equal to the corresponding preset signal reference value, the fourth monitoring result is normal.

[0071] In a specific application scenario, the switching module 34 can be used to notify the host computer system to disconnect the data connection with the server and switch the current data channel to the backup data channel.

[0072] In a specific application scenario, the switching module 34 can be used to create a control channel with the host system, and the control channel is used to send instruction information to the host system; the instruction information is sent to the host system through the control channel, and the instruction information is used to instruct the host system to disconnect the data connection with the server.

[0073] It should be noted that for other corresponding descriptions of the functional units involved in the data channel switching device provided in this embodiment, reference can be made to Figure 1 and Figure 2 The corresponding description in will not be repeated here.

[0074] Based on the above Figure 1 and Figure 2 The method shown in the embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figure 1 and Figure 2 The method shown.

[0075] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0076] Based on the above Figure 1 and Figure 2 The method shown, and Figure 5 In order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device that can be configured on the vehicle (such as an electric vehicle) side, and the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 and Figure 2 The method shown.

[0077] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0078] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0079] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0080] Through the description of the above implementation methods, the technicians in this field can clearly understand that the present application can be implemented by means of software plus necessary general hardware platforms, or by hardware. By applying the scheme of this embodiment, compared with the current prior art, the present disclosure can realize the rapid switching of data channels and reduce the network jamming problem caused by the slow network speed. Specifically, multiple channel information of the current data channel can be obtained first, and the current data channel is the channel for data communication between the host computer system and the server; based on the abnormal state detection strategy, multiple channel information is monitored to obtain multiple monitoring results corresponding to the multiple channel information, and the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission, and at least one abnormal state detection strategy for wireless network signal quality; a judgment module is used to judge that the communication state of the current data channel is an abnormal state if a preset number of monitoring results in multiple monitoring results are abnormal; if the communication state of the current data channel is an abnormal state, the current data channel is switched to a backup data channel, and the backup data channel is a channel for data communication to be established between the host computer system and the server. By applying the technical solution disclosed in the present invention, network monitoring of the current data channel is realized. When the communication state of the current data channel is determined to be abnormal, the current data channel is switched to the backup data channel. Compared with the previous passive waiting for the wireless power distribution network to connect or disconnect, the active detection and judgment of abnormalities is proposed, which greatly shortens the abnormality discovery time and improves the user experience.

[0081] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0082] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features applied for herein.

Claims

1. A data channel switching method, characterized in that: The method comprises: Acquire multiple channel information of the current data channel, where the current data channel is the channel for current data communication between the host computer system and the server; Monitoring the plurality of channel information based on an abnormal state detection strategy to obtain a plurality of monitoring results corresponding to the plurality of channel information, wherein the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality; If a preset number of monitoring results among the multiple monitoring results are abnormal, determining that the communication state of the current data channel is an abnormal state; If the communication state of the current data channel is an abnormal state, the current data channel is switched to a backup data channel, where the backup data channel is a channel for data communication to be established between the host computer system and the server.

2. The method according to claim 1, characterized in that The monitoring of the plurality of channel information based on the abnormal state detection strategy to obtain a plurality of monitoring results corresponding to the plurality of channel information includes: Creating a plurality of daemon threads corresponding to the abnormal state detection strategies respectively, monitoring the plurality of channel information through the plurality of daemon threads, and obtaining a plurality of monitoring results corresponding to the plurality of channel information; If a preset number of monitoring results among the multiple monitoring results are abnormal, determining that the communication state of the current data channel is an abnormal state includes: When the monitoring result of any daemon thread is abnormal, obtain other monitoring results monitored by other daemon threads; If at least one monitoring result among the other monitoring results is abnormal, it is determined that the communication state of the current data channel is an abnormal state.

3. The method according to claim 2, characterized in that The plurality of channel information are monitored by the plurality of daemon threads to obtain a plurality of monitoring results corresponding to the plurality of channel information, including: When the channel information includes the delivery time of the network detection information, using the first daemon thread to monitor whether the delivery time exceeds the preset delivery time period of the network detection information to obtain a first monitoring result, wherein the network detection information is used to characterize the transmission delay of the channel information during the transmission process; If the delivery time exceeds the preset delivery time period of the network detection information, the first monitoring result is abnormal; If the delivery time does not exceed the preset delivery time period of the network detection information, the first monitoring result is normal.

4. The method according to claim 2, characterized in that: The plurality of channel information are monitored by the plurality of daemon threads to obtain a plurality of monitoring results corresponding to the plurality of channel information, including: When the channel information includes a negative feedback message ratio, using a second daemon thread to monitor whether the negative feedback message ratio is greater than a preset message ratio to obtain a second monitoring result, wherein the negative feedback message ratio is used to characterize a loss ratio of the channel information during transmission; If the negative feedback message ratio is greater than the preset message ratio, the second monitoring result is abnormal; If the negative feedback message ratio is less than or equal to the preset message ratio, the second monitoring result is normal.

5. The method according to claim 2, characterized in that: The plurality of channel information are monitored by the plurality of daemon threads to obtain a plurality of monitoring results corresponding to the plurality of channel information, including: When the channel information includes the transmission success rate of the current data channel, using a third daemon thread to monitor whether the transmission success rate is less than a preset success rate to obtain a third monitoring result, wherein the transmission success rate is used to characterize the success ratio of the channel information in the transmission process; If the transmission success rate is less than the preset success rate, the third monitoring result is abnormal; If the transmission success rate is greater than or equal to the preset success rate, the third monitoring result is normal.

6. The method according to claim 2, characterized in that The plurality of channel information are monitored by the plurality of daemon threads to obtain a plurality of monitoring results corresponding to the plurality of channel information, including: When the channel information includes a wireless network signal measurement value, a fourth daemon thread is used to monitor whether the wireless network signal measurement value is less than a corresponding preset signal reference value to obtain a fourth monitoring result, wherein the wireless network signal measurement value is used to characterize the wireless network signal quality of the current data channel, and the wireless network signal measurement value includes at least one of the following: a reference signal received power, a reference signal received quality, a received signal strength index, and a signal to interference plus noise ratio; If the wireless network signal measurement value is less than the corresponding preset signal reference value, the fourth monitoring result is abnormal; If the wireless network signal measurement value is greater than or equal to the corresponding preset signal reference value, the fourth monitoring result is normal.

7. The method according to claim 1, characterized in that The switching the current data channel to the standby data channel includes: The host computer system is notified to disconnect the data connection with the server and switch the current data channel to the backup data channel.

8. The method according to claim 7, characterized in that The notifying the host computer system to disconnect the data connection with the server includes: Creating a control channel with the host computer system, wherein the control channel is used to send instruction information to the host computer system; The indication information is sent to the host computer system through the control channel, and the indication information is used to instruct the host computer system to disconnect the data connection with the server.

9. A data channel switching device, characterized in that: include: An acquisition module is used to acquire multiple channel information of a current data channel, where the current data channel is a channel for current data communication between the host computer system and the server; A monitoring module, configured to monitor the plurality of channel information based on an abnormal state detection strategy to obtain a plurality of monitoring results corresponding to the plurality of channel information, wherein the abnormal state detection strategy includes at least one abnormal state detection strategy for network layer data transmission and at least one abnormal state detection strategy for wireless network signal quality; A judgment module, configured to judge that the communication state of the current data channel is an abnormal state if a preset number of monitoring results among the multiple monitoring results are abnormal; The switching module is used to switch the current data channel to a backup data channel if the communication state of the current data channel is abnormal. The backup data channel is a channel for data communication to be established between the host computer system and the server.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

11. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Multi-card communication protocol compatibility processing method

    CN120302274A

  • Data transmission method and apparatus, data channel switching method and apparatus, and vehicle, device and medium

    EP4734610A1