A network switching method and related device

By setting up a second network module in a dual-mode terminal for data synchronization and sending network switching commands, the problem of voice not being successfully received during network switching is solved, and the integrity of call data and user experience is improved.

CN115379521BActive Publication Date: 2025-02-18HYTERA COMM CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110536766.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-17
Publication Date
2025-02-18
Estimated Expiration
2041-05-17

AI Technical Summary

Technical Problem

When performing voice service in a dual-mode terminal, network switching causes voice to be not successfully received, poor call integrity and poor user experience.

Method used

By setting a second network module in the terminal, synchronizing the call data is performed, and when switching networks, a network switching command is sent to ensure that the second network system and the first network system are synchronized, and the connection of the communication target is not interrupted.

Benefits of technology

It realizes data communication integrity during network switching, improves user experience, and avoids word dropping in voice calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379521B_ABST
    Figure CN115379521B_ABST
Patent Text Reader

Abstract

The present invention provides a network switching method and related devices. When a preset network switching condition is met, the synchronization operation of the call data of the second network module and the first network module is performed, and the synchronization operation of the call data of the second network system and the first network system is performed, so that the second network module can timely understand the call data of the first network module and the communication target. The second network system establishes a communication connection with the communication target, ensuring that when the network is switched, both network modules are connected to the communication target, and during the connection process, the voice frame to be processed is obtained, and the synchronization comparison operation of the voice frame to be processed is performed with the first network module. After the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed, ensuring the continuous processing of the voice frames of the two communicating parties, thereby ensuring the integrity of data communication and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and more particularly to a network switching method and related devices. Background Art

[0002] With the development of broadband clusters, private networks have also entered the stage of broadband and narrowband integration. More and more dual-mode terminals (supporting both broadband and narrowband communications) choose broadband + narrowband networking. In actual applications, there is a large overlap in the coverage areas of broadband and narrowband networks. Broadband networks generally use a small-area mode, while narrowband networks generally use a large-area mode. Dual-mode terminals will automatically switch to the broadband network or the narrowband network with better network quality during movement, which results in frequent broadband and narrowband network switching for dual-mode terminals.

[0003] If a network switch is performed during a dual-mode terminal performing a voice service, the current voice service needs to be terminated and then the network switch is performed. After the network switch is successful, the voice service needs to be re-established. As a result, in the process of terminating the voice service, the voice output by the voice sender in the communication is not successfully received by the voice receiver, resulting in poor voice call integrity and poor user experience. Summary of the invention

[0004] In view of this, the present invention provides a network switching method and related devices to solve the problem that when network switching is performed in the process of a dual-mode terminal performing voice services, the voice output by the voice sender in the communication is not successfully received by the voice receiver, resulting in poor voice call integrity and poor user experience.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0006] A network switching method is applied to a second network module in a terminal, wherein the first network module and the second network module in the terminal are respectively modules for performing network switching during a voice service of the terminal; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system;

[0007] The network switching method comprises:

[0008] When it is determined that the network qualities of the first network module and the second network module both meet the preset network switching condition, performing a synchronization operation of call data with the first network module, wherein the call data is the service data and voice data of the current voice service performed by the terminal through the first network module;

[0009] Sending a network switching instruction to the second network system so that the second network system and the first network system perform synchronization operations on the call data and establish a communication connection with the communication target; the network switching instruction includes the call data;

[0010] After the second network system successfully establishes a communication connection with the communication target, obtaining a voice frame to be processed, and performing a synchronous comparison operation of the voice frame to be processed with the first network module;

[0011] After the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed.

[0012] Optionally, obtaining a voice frame to be processed, and performing a synchronous comparison operation of the voice frame to be processed with the first network module includes:

[0013] When the voice call state is a voice receiving state, obtaining a first to-be-processed voice frame sent by the communication target and received by the first network module, and receiving a second to-be-processed voice frame sent by the communication target through the second network system;

[0014] The first to-be-processed voice frame and the second to-be-processed voice frame are synchronously compared, wherein, during the synchronous comparison process, the first network module outputs the first to-be-processed voice frame to the voice output module in the terminal so that the voice output module outputs the first to-be-processed voice frame, and the second network module prohibits the second to-be-processed voice frame from being output to the voice output module in the terminal.

[0015] Optionally, after the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, processing other voice frames located after the voice frame to be processed includes:

[0016] After the first to-be-processed voice frame and the second to-be-processed voice frame are synchronously compared and it is determined that the first network module successfully outputs the first to-be-processed voice frame to the voice output module in the terminal, receiving a voice frame sent by the communication target and located after the second to-be-processed voice frame through the second network system;

[0017] The speech frame following the second speech frame to be processed is output to a speech output module in the terminal.

[0018] Optionally, obtaining a voice frame to be processed, and performing a synchronous comparison operation of the voice frame to be processed with the first network module includes:

[0019] When the voice call state is a voice transmission state, obtaining a third voice frame to be processed collected by the first network module, and obtaining a fourth voice frame to be processed input by the user;

[0020] The third voice frame to be processed and the fourth voice frame to be processed are synchronously compared; wherein, during the synchronous comparison process, the first network module outputs the third voice frame to be processed to the communication target, and the second network module prohibits the fourth voice frame to be processed from being output to the communication target.

[0021] Optionally, after the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, processing other voice frames located after the voice frame to be processed includes:

[0022] After the synchronization comparison between the third voice frame to be processed and the fourth voice frame to be processed is completed and it is determined that the first network module successfully outputs the third voice frame to be processed to the communication target, the voice frame that is sequentially located after the fourth voice frame to be processed is obtained and sent to the communication target.

[0023] Optionally, after the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, after processing other voice frames located after the voice frame to be processed, it also includes:

[0024] Sending network switching success information to the first network module so that the first network module disconnects the communication connection with the communication target.

[0025] A network switching device is applied to a second network module in a terminal, wherein the first network module and the second network module in the terminal are respectively modules for performing network switching during a voice service of the terminal; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system;

[0026] The network switching device comprises:

[0027] a data synchronization module, configured to synchronize call data with the first network module when it is determined that the network qualities of the first network module and the second network module both meet a preset network switching condition, wherein the call data is service data and voice data of a current voice service performed by the terminal through the first network module;

[0028] an instruction sending module, used for sending a network switching instruction to the second network system, so that the second network system and the first network system perform synchronization operation of the call data and establish a communication connection with the communication target; the network switching instruction includes the call data;

[0029] A synchronous comparison module, used for obtaining the voice frame to be processed and performing a synchronous comparison operation of the voice frame to be processed with the first network module after the second network system successfully establishes a communication connection with the communication target;

[0030] The network switching module is used to process other voice frames after the voice frame to be processed after the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed.

[0031] Optionally, the synchronization comparison module includes:

[0032] A voice frame acquisition submodule, used for acquiring a first to-be-processed voice frame sent by the communication target and received by the first network module when the voice call state is a voice receiving state, and receiving a second to-be-processed voice frame sent by the communication target through the second network system;

[0033] A synchronous comparison submodule is used to synchronously compare the first to-be-processed voice frame and the second to-be-processed voice frame, wherein, during the synchronous comparison process, the first network module outputs the first to-be-processed voice frame to the voice output module in the terminal so that the voice output module outputs the first to-be-processed voice frame, and the second network module prohibits the second to-be-processed voice frame from being output to the voice output module in the terminal.

[0034] Optionally, the network switching module includes:

[0035] A voice frame receiving submodule, configured to receive a voice frame sent by the communication target and located after the second voice frame to be processed is synchronously compared with the first voice frame to be processed and it is determined that the first network module successfully outputs the first voice frame to be processed to the voice output module in the terminal, through the second network system;

[0036] The voice frame output submodule is used to output the voice frame after the second voice frame to be processed to the voice output module in the terminal.

[0037] An electronic device, comprising: a first network module and a second network module, wherein the first network module and the second network module are modules for performing network switching when the terminal is performing a voice service; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system;

[0038] The second network module is used to execute the above-mentioned network switching method.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] The present invention provides a network switching method and related devices. When it is determined that the network quality of the first network module and the second network module meets the preset network switching conditions, the synchronization operation of the call data of the second network module and the first network module is performed, and the second network system and the first network system perform the synchronization operation of the call data, so that the second network module can timely understand the call data between the first network module and the communication target. The second network system establishes a communication connection with the communication target, ensuring that when the network is switched, both network modules are connected to the communication target, and during the connection process, the voice frame to be processed is obtained, and the synchronization comparison operation of the voice frame to be processed is performed with the first network module. After the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed, ensuring the continuous processing of the voice frames of the two communicating parties, thereby ensuring the integrity of data communication and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] 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, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0042] Figure 1 A DMR / PDT uplink TDMA frame structure diagram provided in an embodiment of the present invention;

[0043] Figure 2 A DMR / PDT downlink TDMA frame structure provided in an embodiment of the present invention;

[0044] Figure 3 A schematic diagram of a DMR random access CSBK signaling provided by an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of a DMR registration signaling Service_Options field definition provided by an embodiment of the present invention;

[0046] Figure 5 A schematic diagram of a DMR MBC header signaling provided by an embodiment of the present invention;

[0047] Figure 6 A schematic diagram of DMR MBC middle block signaling provided in an embodiment of the present invention;

[0048] Figure 7 A schematic diagram of DMR MBC last block signaling provided by an embodiment of the present invention;

[0049] Figure 8 A method flow chart of a network switching method provided by an embodiment of the present invention;

[0050] Fig. 9 A schematic diagram of a scenario of a network switching method provided by an embodiment of the present invention;

[0051] Fig.10 A schematic diagram of another network switching method provided by an embodiment of the present invention;

[0052] Fig.11 A schematic diagram of a scenario of another network switching method provided by an embodiment of the present invention;

[0053] Fig.12 A schematic diagram of a scenario of another network switching method provided by an embodiment of the present invention;

[0054] Fig.13 A schematic diagram of the structure of a network switching device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] With the development of broadband clusters, private networks have also entered the stage of broadband and narrowband integration. Many companies' dual-mode terminals can support both network standards at the same time, and more and more customers are choosing broadband + narrowband networking.

[0057] The narrowband network in this embodiment mainly refers to a network system that complies with narrowband standards such as DMR / PDT, which mainly adopts a TDMA frame structure with two time slots, divided into two directions of uplink and downlink. Each time slot is 30ms. A TDMA frame contains two time slots, a total of 60ms. The uplink and downlink frame structures of the DMR / PDT standard are as follows: Figure 1 and 2 shown.

[0058] Broadband network mainly refers to the PoC system based on broadband mobile network (LTE). The PoC system is a Push to Talk service based on mobile network and adopting VoIP technology. It borrows the PTT feature in narrowband trunking system and is generally implemented through SIP protocol.

[0059] Since there is a large overlap between broadband and narrowband network coverage, and broadband networks are generally based on small communities, while narrowband networks are generally based on large regions, users' terminals will frequently switch networks during their mobility. Since broadband and narrowband network standards are different, when dual-mode terminals cross overlapping coverage areas, they will first terminate the current service, exit the current registered network, register with a new network, and then re-establish services to complete the switching process and continue voice and other services. In the process of terminating voice services, the voice output by the voice sender on both sides of the communication is not successfully received by the voice receiver, resulting in call interruption and obvious word loss, poor voice call integrity, and poor user experience.

[0060] In order to solve the above technical problems, the inventors have found through research that a solution can be adopted in which the device is registered in two networks all the time and can be switched at any time. However, this solution consumes more power and wastes a lot of resources.

[0061] In order to solve the problem of wasting resources, the inventor has conducted further research and improvements. When crossing the overlapping coverage area, two networks are connected at the same time and can handle services at the same time. However, the network after the switch does not output voice temporarily. Instead, the network after the switch outputs voice after the smooth switching. After the switch, the network before the switch is disconnected, realizing smooth switching of the two networks, ensuring uninterrupted voice services, without word drop problems, better voice call integrity, and better user experience.

[0062] More specifically, the present invention can support smooth cross-network handover indication through an extended protocol. The indication is different from ordinary handover and registration processes. Temporary dual-network registration is supported during the handover process, and two call links can be maintained for a short time. The original network is still used during the switching process. The new network will be used only after the switching is successful, so that one of the networks is exited only after the business synchronization. The continuity of the business during the switching process can be guaranteed without dropping words, and there is no need to keep two networks online for a long time. The user experience is greatly improved, and resources will not be wasted for a long time, which is more power-saving.

[0063] In this embodiment, a narrowband DMR system and a broadband PoC system are taken as examples to introduce a process of supporting smooth cross-network cross-zone indication by extending the registration signaling of the SIP (Session Initiation Protocol) and DMR (Digital Mobile Radio) protocols. Among them, the SIP signaling itself can well support the extension, which is not described in detail here. DMR can also be supported by carrying the uplink extended MBC multi-frame signaling or by the system's subsequent pull-up control information.

[0064] The normal registration signaling of the DMR standard is a single-frame CSBK (Control Signalling Block) signaling. The registration CSBK signaling and the Service Options field therein are as follows: Figure 3 and Figure 4 As shown, the signaling needs to be extended to support smooth handover indication, and there are two optional solutions.

[0065] The first method is to first extend the Reserved bit in the Service Options field to distinguish whether the CSBK signaling is a normal registration signaling or a smooth handover request, and then extend the DMR standard multi-frame signaling (MBC) to carry additional handover information. The format of MBC is as follows: Figure 5 , Figure 6 and Figure 7 As shown, the LB field of the first frame can be filled with 0, indicating that there is a subsequent MBC Data Block. Other information in the MBC header is consistent with the standard registration CSBK signaling, and the terminal can carry the relevant cross-zone information in the subsequent MBC Data Block.

[0066] The second method: You can also send a single-frame CSBK signaling without extending the MBC signaling. After the system identifies the extended Service_Options field and determines that it is a smooth handover request, it continues to obtain the terminal's relevant handover information through data pull-up (Polling) and other methods. This method is less efficient than the first method because there is an additional pull-up process, which is about 60ms slower.

[0067] After the extended protocol supports cross-network smooth handover indication, there will be a corresponding smooth handover identifier, which indicates which of the above-mentioned smooth handover methods is used.

[0068] Based on the above content, an embodiment of the present invention provides a network switching method, which is applied to a second network module in a terminal. The terminal (such as a walkie-talkie) is provided with two network modules, namely a broadband module and a narrowband module. In practical applications, there are four situations when network switching is performed, namely:

[0069] 1) During the voice reception service, switch from narrowband to broadband.

[0070] 2) During voice reception service, switch from broadband to narrowband.

[0071] 3) During voice transmission service, switch from narrowband to broadband.

[0072] 4) During voice transmission service, switch from broadband to narrowband.

[0073] In actual application, the second network module is set to be the module after the terminal performs network switching during the voice service, and the first network module is the module before the terminal performs network switching during the voice service.

[0074] The second network module may be a broadband module or a narrowband module, and the first network module may be a broadband module or a narrowband module. When the first network module is a broadband module, the second network module is a narrowband module, and when the first network module is a narrowband module, the second network module is a broadband module. In this embodiment, the first network module and the second network module are two independent chips. In addition, the first network module and the second network module may also be two different software modules on the same chip. In this case, the chip is used to implement network switching control.

[0075] The first network module is connected to the first network system and communicates with the communication target through the first network system. The communication target in this embodiment may also be a terminal, such as an intercom. The second network module is connected to the second network system.

[0076] Among them, taking the first network module as a narrowband module as an example, the first network system is a narrowband system, the second network module is a broadband module, the second network system is a broadband system, also known as a public network intercom system.

[0077] In actual applications, the first network module and the second network module can enable the above-mentioned smooth handover function. When the smooth handover function is enabled, the first network module and the second network module can communicate with the same communication target (such as a walkie-talkie) at the same time and realize smooth switching of services from the first network module to the second network module.

[0078] Reference Figure 8 , the network switching method may include:

[0079] S11. When it is determined that the network qualities of the first network module and the second network module both meet a preset network switching condition, synchronize call data with the first network module.

[0080] The call data is service data and voice data of the current voice service performed by the terminal through the first network module.

[0081] Specifically, the first network module detects the network quality value of the first network module, and sends a network detection instruction to the second network module when the network quality value is less than a preset network quality value corresponding to the first network module in the preset network switching condition.

[0082] The second network module detects the network quality value of the second network module and determines whether the network quality value of the second network module is greater than the preset communication quality value corresponding to the second network module in the preset network switching condition. If greater than, it is determined that the network quality value of the second network module meets the network switching condition, and the information that the network quality of the second network module meets the preset network switching condition is fed back to the first network module, so that the first network module is aware of the need for network switching in a timely manner and performs synchronization operations on call data.

[0083] When performing a synchronization operation on call data, the first network module needs to send the call data to the second network module, where the call data is the business data and voice data of the current voice service performed by the terminal through the first network module. The business data may be the call type (outbound or incoming), the calling and called addresses, etc., and the voice data includes the serial number of the current voice or data, etc.

[0084] In actual applications, taking the first network module as a narrowband module and the second network module as a broadband module as an example, the signal quality on the narrowband side is poor, triggering a network scan on the broadband side. The network quality on the broadband side is better, and the broadband side and the narrowband side synchronize call data.

[0085] S12. Send a network switching instruction to the second network system so that the second network system and the first network system synchronize the call data and establish a communication connection with the communication target; the network switching instruction includes the call data.

[0086] Specifically, the second network module sends a network switching instruction to the second network system corresponding to the second network module. The network switching instruction carries the above-mentioned smooth handover identifier and the above-mentioned call data, so that the second network system synchronizes the call data with the first network system and establishes a communication connection with the communication target.

[0087] After receiving the network switching instruction, the second network system performs smooth handover registration. After the registration is completed, the first network system is notified to synchronize the above-mentioned call data with the first network system.

[0088] After the second network system synchronizes call data with the first network system, the second network module establishes a communication connection with the communication target through the second network system to establish a communication link including the second network module-the second network system-the communication target.

[0089] Still taking the example of the first network module being a narrowband module and the second network module being a broadband module, the broadband side initiates a smooth handover registration. This registration is different from the general registration. The flag bit indicates that it is a smooth handover registration and carries call-related information that is expected to be accessed immediately (call type, calling and called address, current voice or data sequence number, etc.).

[0090] After the broadband side is successfully registered, the broadband system will notify the narrowband system. Both systems need to synchronize relevant call data. The broadband side will establish a corresponding call and notify the dual-mode terminal.

[0091] S13. After the second network system successfully establishes a communication connection with the communication target, obtain the voice frame to be processed, and perform a synchronous comparison operation of the voice frame to be processed with the first network module.

[0092] In this embodiment, the voice frames to be processed are different depending on the current voice call state. When the current voice call state is a voice receiving state, the voice frames to be processed are voice frames output by the communication target. When the current voice call state is a voice sending state, the voice frames to be processed are voice frames output by the user.

[0093] When voice processing is actually performed, it is performed according to voice frames. After the second network system successfully establishes a communication connection with the communication target, it obtains the voice frame to be processed and performs a synchronous comparison operation of the voice frame to be processed with the first network module.

[0094] The synchronous comparison in this embodiment refers to comparing whether the voice frames processed by the first network module and the second network module are synchronous, that is, determining whether the processed voice frames are the same. If they are not the same voice frames, the second network module is controlled to process the same voice frame being processed by the first network module to ensure synchronous processing of the first network module and the second network module.

[0095] S14: After the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, process other voice frames located after the voice frame to be processed.

[0096] After the synchronization is completed, the first network module processes the voice frame to be processed, and the second network module processes other voice frames after the voice frame to be processed, so as to achieve smooth switching of the network.

[0097] After step S14, the method further includes:

[0098] Sending network switching success information to the first network module so that the first network module disconnects the communication connection with the communication target.

[0099] Specifically, in order to avoid the problem of resource waste caused by two network modules being connected to the communication target at the same time after the network switching, in this embodiment, after the two network modules are smoothly switched, the second network module sends a network switching success message to the first network module, and the first network module disconnects the communication connection with the communication target, ensuring that after the network switching, only the second network module is connected to the communication target.

[0100] In this embodiment, when it is determined that the network quality of the first network module and the second network module both meet the preset network switching conditions, the synchronization operation of the call data of the second network module and the first network module is performed, and the synchronization operation of the call data of the second network system and the first network system is performed, so that the second network module can timely understand the call data of the first network module and the communication target. The second network system establishes a communication connection with the communication target, ensuring that when the network is switched, both network modules are connected to the communication target, and during the connection process, the voice frame to be processed is obtained, and the synchronization comparison operation of the voice frame to be processed is performed with the first network module. After the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed, ensuring the continuous processing of the voice frames of the two communicating parties, and no words are dropped at all, thereby ensuring the integrity of data communication, improving equipment performance, and improving user experience. In addition, the present invention only needs to maintain two links online at the same time for a short time, with less waste of channel resources and relatively power saving.

[0101] In actual applications, during a call, the voice call state is divided into a voice receiving state and a voice sending state. When the voice call state is different, the smooth switching operation performed by the network module is different, which is introduced separately. Among them, the voice call state can be judged according to whether the current terminal outputs voice or receives voice. When receiving voice, the voice call state is a voice receiving state, and when sending voice, the voice call state is a voice sending state.

[0102] 1. The voice call state is a voice receiving state.

[0103] When the voice call state is a voice receiving state, step S13 may include:

[0104] 1) Acquire a first voice frame to be processed sent by the communication target and received by the first network module, and receive a second voice frame to be processed sent by the communication target through the second network system.

[0105] After the second network system successfully establishes a communication connection with the communication target, the second network module can also normally receive the voice frame sent by the communication target. That is to say, at the same time, the first network module and the second network module can both receive the voice frame sent by the communication target. In order to distinguish the voice frames received by different modules, the voice frame received by the first network module is called the first voice frame to be processed, and the voice frame received by the second network module is called the second voice frame to be processed.

[0106] 2) Synchronously comparing the first speech frame to be processed and the second speech frame to be processed.

[0107] After receiving the corresponding voice frames, both network modules will process the voice frames. Specifically, the first network module processes the first voice frame to be processed, and the second network module processes the second voice frame to be processed.

[0108] Taking the first network module as an example, the process of processing the first voice frame to be processed may be:

[0109] Since the voice call state is a voice receiving state, it is necessary to receive the voice sent by the communication target at this time, so the first network module outputs the first to-be-processed voice frame to the voice output module in the terminal, so that the voice output module outputs the first to-be-processed voice frame, so that the user can hear the voice output by the communication target through the terminal.

[0110] Synchronous comparison is to compare whether the sequence numbers of the first voice frame to be processed and the second voice frame to be processed are the same, that is, to determine whether the voice frames received by the two network modules are the same. If they are the same, the first network module processes them according to the above processing method. Similarly, the second network module also receives the voice frame, but does not output the voice frame to the voice output module, that is, the call of the second network module is maintained at the back end, and the call of the first network module is maintained at the front end.

[0111] That is to say, during the synchronous comparison process, the first network module outputs the first voice frame to be processed to the voice output module in the terminal, so that the voice output module outputs the first voice frame to be processed, and the second network module is prohibited from outputting the second voice frame to be processed to the voice output module in the terminal, so that before the network switching, only the first network module outputs voice, and the second network module is maintained at the back end.

[0112] If the voice frames received by the two network modules are not the same, the first network module continues to process the received voice frames. If the voice received by the second network module is earlier than the voice received by the first network module, the voice received by the second network needs to be cached until it is completely synchronized with the voice received by the first network, and then the switch is made. If the voice received by the second network is later than the voice received by the first network, the voice received by the second network needs to be supplemented with comfort noise until it is completely synchronized with the voice received by the first network, and then the switch is made.

[0113] In another implementation of the present invention, when the voice call state is a voice receiving state, step S14 may include:

[0114] 1) After the synchronization comparison between the first to-be-processed voice frame and the second to-be-processed voice frame is completed and it is determined that the first network module successfully outputs the first to-be-processed voice frame to the voice output module in the terminal, a voice frame sent by the communication target and located after the second to-be-processed voice frame is received through the second network system.

[0115] Specifically, after the synchronization comparison between the first voice frame to be processed and the second voice frame to be processed is completed, and the first network module successfully outputs the first voice frame to be processed to the voice output module in the terminal, the task of the first network module is completed, and the second network module is required to continue to perform subsequent operations to complete the smooth switching of the network. Thereafter, the second network module receives the voice frame sent by the communication target after the second voice frame to be processed through the second network system.

[0116] 2) Outputting the speech frame after the second speech frame to be processed to the speech output module in the terminal.

[0117] Specifically, the process of processing the voice frame by the second network module is similar to the process of processing the voice frame by the first network module. Please refer to the corresponding description in the above embodiment, and no further details will be given here.

[0118] In order to enable those skilled in the art to more clearly understand the present invention, an example is now given to illustrate the network switching during the voice reception process.

[0119] 1. Reference Fig. 9 , during narrowband speech reception, switch from narrowband to broadband:

[0120] 1) The signal quality on the narrowband side (MS_NB) is poor, triggering a network scan on the broadband side (MS_BB), and the broadband side (MS_BB) finds a network with better quality.

[0121] 2) The broadband side (MS_BB) initiates a smooth handover registration (specifically, a smooth handover registration request) to the broadband system (BB_system). This registration is different from a general registration. The flag bit indicates that it is a smooth handover registration and carries information related to the call that is expected to be accessed immediately (call type, called party address, current voice or data sequence number, etc.). The broadband system (BB_system) performs a smooth handover registration and returns a smooth handover registration response to the broadband side (MS_BB).

[0122] 3) After the broadband side (MS_BB) successfully registers, the broadband system (BB_system) will notify the narrowband system (NB_system), and the two systems need to synchronize relevant service information (specifically Fig. 9 The broadband side (MS_BB) establishes a corresponding call through the broadband system (BB_system) and notifies the dual-mode terminal. In this step and before this step, the narrowband side (MS_NB) has been receiving voice data through the narrowband system (NB_system).

[0123] 4) The dual-mode terminal establishes the desired call with the broadband system (BB_system) on the broadband side (MS_BB) and accesses the downlink voice frame.

[0124] 5) The dual-mode terminal internally performs a synchronous comparison of the serial numbers of the voice frames received by the broadband and narrowband. Before the comparison is successful, the voice played is still the voice received by the narrowband side (MS_NB). At the same time, the call on the broadband side (MS_BB) is maintained in the background.

[0125] 6) After the comparison is successful, the dual-mode terminal switches the call master and slave internally, switches all relevant resources to the broadband side (MS_BB), and the calls on the broadband side (MS_BB) are transferred to the foreground for execution, and the calls on the narrowband side (MS_NB) are transferred to the background for execution.

[0126] 7) The call on the narrowband side (MS_NB) is processed in the background such as call exit and deregistration, so that the narrowband side (MS_NB) exits narrowband reception, and the broadband side (MS_BB) receives voice data thereafter.

[0127] 2. Reference Fig.10 , during broadband voice reception, switching from broadband to narrowband:

[0128] 1) The signal quality on the broadband side (MS_BB) is poor, triggering a network scan on the narrowband side (MS_NB), and the narrowband side (MS_NB) finds a network with better quality.

[0129] 2) The narrowband side (MS_NB) initiates a smooth handover registration to the narrowband system (NB_system). This registration is different from the general registration. The flag bit indicates that it is a smooth handover registration and carries the call-related information (call type, calling and called addresses, current voice or data sequence number, etc.) that is expected to be accessed immediately. It can be directly carried by uplink extended MBC multi-frame signaling or supported by the system's subsequent pull-up of call information. The specific smooth handover registration process is similar to the above-mentioned smooth handover registration implementation process.

[0130] 3) After the narrowband side (MS_NB) successfully registers, the narrowband system (NB_system) will notify the broadband system (BB_system), and the two systems need to synchronize relevant service information (specifically Fig.10 The narrowband side (MS_NB) establishes a corresponding call through the narrowband system (NB_system) and notifies the dual-mode terminal. In this step and before this step, the broadband side (MS_BB) has been receiving voice data through the broadband system (BB_system).

[0131] 4) The dual-mode terminal establishes the desired call with the narrowband system (NB_system) on the narrowband side (MS_NB) and accesses the downlink voice frame.

[0132] 5) The dual-mode terminal internally performs a synchronous comparison of the serial numbers of the voice frames received by the broadband and narrowband. Before the comparison is successful, the voice played is still the voice received by the broadband side (MS_BB). At the same time, the call on the narrowband side (MS_NB) is maintained in the background.

[0133] 6) After the comparison is successful, the dual-mode terminal switches the call master and slave internally, switches all relevant resources to the narrowband side (MS_NB), and the calls on the narrowband side (MS_NB) are transferred to the foreground for execution, and the calls on the broadband side (MS_BB) are transferred to the background for execution.

[0134] 7) The call on the broadband side (MS_BB) is processed in the background such as call exit and deregistration, so that the broadband side (MS_BB) exits broadband reception, and the narrowband side (MS_NB) receives voice data thereafter.

[0135] 2. The voice call status is a voice sending status.

[0136] When the voice call state is a voice transmission state, step S13 may include:

[0137] 1) Acquire a third voice frame to be processed collected by the first network module, and acquire a fourth voice frame to be processed input by a user.

[0138] In actual applications, the first network module and the second network module both receive voice input by a user using the terminal, which are respectively referred to as a third voice frame to be processed and a fourth voice frame to be processed.

[0139] 2) Performing synchronous comparison on the third speech frame to be processed and the fourth speech frame to be processed.

[0140] Wherein, during the synchronous comparison process, the first network module outputs the third voice frame to be processed to the communication target, and the second network module prohibits outputting the fourth voice frame to be processed to the communication target.

[0141] The synchronous comparison process in this embodiment is similar to the synchronous comparison process during voice reception described above. Please refer to the corresponding description in the above embodiment.

[0142] The process in which the first network module outputs the third to-be-processed voice frame to the communication target may include:

[0143] The third speech frame to be processed is encoded, and the encoded data is output to the communication target.

[0144] In another implementation of the present invention, step S14 may include:

[0145] After the synchronization comparison between the third voice frame to be processed and the fourth voice frame to be processed is completed and it is determined that the first network module successfully outputs the third voice frame to be processed to the communication target, the voice frame that is sequentially located after the fourth voice frame to be processed is obtained and sent to the communication target.

[0146] The processing process in this embodiment is similar to the processing process during voice reception described above. Please refer to the corresponding description in the above embodiment.

[0147] In order to enable those skilled in the art to more clearly understand the present invention, an example is now given to illustrate the network switching during voice transmission.

[0148] 1. Reference Fig.11 , during narrowband voice transmission, switch from narrowband to broadband:

[0149] 1) The signal quality on the narrowband side (MS_NB) is poor, triggering a network scan on the broadband side (MS_BB), and the broadband side (MS_BB) finds a network with better quality.

[0150] 2) The broadband side (MS_BB) initiates a smooth handover registration (specifically, a smooth handover registration request) to the broadband system (BB_system). This registration is different from a general registration. The flag bit indicates that it is a smooth handover registration and carries information related to the call that is expected to be accessed immediately (call type, called party address, current voice or data sequence number, etc.). The broadband system (BB_system) performs a smooth handover registration and returns a smooth handover registration response to the broadband side (MS_BB).

[0151] 3) After the broadband side (MS_BB) successfully registers, the broadband system (BB_system) will notify the narrowband system (NB_system), and the two systems need to synchronize relevant service information (specifically Fig.11 The broadband side (MS_BB) establishes a corresponding call through the broadband system (BB_system) and notifies the dual-mode terminal. In this step and before this step, the narrowband side (MS_NB) has been sending voice data through the narrowband system (NB_system).

[0152] 4) The dual-mode terminal establishes the desired call with the broadband system (BB_system) on the broadband side (MS_BB) and maintains the right to speak for a certain period of time, even if there is no voice uplink.

[0153] 5) The dual-mode terminal shares voice data internally, and the wideband and narrowband sides simultaneously perform voice encoding on the same data. After the narrowband side (MS_NB) sends a complete voice superframe, the wideband side (MS_BB) immediately continues to transmit the voice.

[0154] 6) The dual-mode terminal switches the call master and slave inside, switches all related resources to the broadband side (MS_BB), and the calls on the broadband side (MS_BB) are transferred to the foreground for execution, and the calls on the narrowband side (MS_NB) are transferred to the background for execution. The calls on the narrowband side (MS_NB) are processed in the background such as call exit and deregistration, and the voice data sending on the narrowband side (MS_NB) is exited.

[0155] 2. Reference Fig.12 , during broadband voice transmission, switch from broadband to narrowband:

[0156] 1) The signal quality on the broadband side (MS_BB) is poor, triggering a network scan on the narrowband side (MS_NB), and the narrowband side (MS_NB) finds a network with better quality.

[0157] 2) The narrowband side (MS_NB) initiates a smooth handover registration to the narrowband system (NB_system). This registration is different from the general registration. The flag bit indicates that it is a smooth handover registration and carries the call-related information (call type, calling and called addresses, current voice or data sequence number, etc.) that is expected to be accessed immediately. It can be directly carried by uplink extended MBC multi-frame signaling or supported by the system's subsequent pull-up of call information. The specific smooth handover registration process is similar to the above-mentioned smooth handover registration implementation process.

[0158] 3) After the narrowband side (MS_NB) successfully registers, the narrowband system (NB_system) will notify the broadband system (BB_system), and the two systems need to synchronize relevant service information (specifically Fig.12 The narrowband side (MS_NB) establishes a corresponding call through the narrowband system (NB_system) and notifies the dual-mode terminal. In this step and before this step, the broadband side (MS_BB) has been sending voice data through the broadband system (BB_system).

[0159] 4) The dual-mode terminal establishes the desired call with the narrowband system (NB_system) on the narrowband side (MS_NB) and maintains the right to speak for a certain period of time, even if there is no voice uplink.

[0160] 5) The dual-mode terminal shares voice data internally. The narrowband side simultaneously performs voice encoding on the same data. After the broadband side (MS_BB) sends a complete voice superframe, the narrowband side (MS_NB) immediately continues to transmit the voice.

[0161] 6) The dual-mode terminal switches the call master and slave internally, switches all relevant resources to the narrowband side (MS_NB), and the calls on the narrowband side (MS_NB) are transferred to the foreground for execution, and the calls on the broadband side (MS_BB) are transferred to the background for execution. The calls on the broadband side (MS_BB) are processed in the background such as call exit and deregistration, and the voice data sending on the broadband side (MS_BB) is exited.

[0162] To sum up, during the service process of the present invention, when the terminal moves in the overlapping coverage area of ​​multiple networks, if the quality of the current network deteriorates and the quality of another network is better and the handover condition is met, the smooth handover process is started and temporary dual network registration is performed. The terminal needs to maintain the old network service while instructing the new network to perform smooth handover registration and carry the information of the ongoing service of the old network (call type, calling and called addresses, current service sequence number, etc.).

[0163] In addition, the present invention expands the protocol of the corresponding network and can support new smooth inter-zone registration indication signaling, which is distinguished from normal startup and inter-zone registration signaling, and carries current business key messages, mainly including call type, calling and called addresses, current business column number, etc.

[0164] After receiving the smooth handover registration indication signaling, the new network side identifies the current service information and starts the service synchronization and establishment with the old network. After the synchronization is completed, it sends a confirmation message to the terminal, and then establishes a call based on the relevant information and starts forwarding the service.

[0165] The terminal synchronizes the service information received from both networks and attempts to restore the service of the other network.

[0166] If a smooth handover confirmation is received from the new network, the terminal maintains the current service processing on the old network while also accessing services on the new network. If it is a voice reception service, only voice frames are processed and the sound is not played temporarily.

[0167] If it is a voice transmission service, the terminal compares the voice frame sequence number. When there is a time difference between the voice sequences of the two networks, if the new network voice is earlier than the old network, the new network voice needs to be cached until it is completely synchronized with the old network voice, and then switch. If the new network voice is later than the old network, the new network voice needs to be supplemented with comfort noise until it is completely synchronized with the old network voice, and then switch.

[0168] After the service synchronization process is completed, if it is a voice receiving service, you can start playing the voice of the new network, stop the voice of the old network and exit the call. After successfully exiting the old network service, deregistration is performed to complete the entire smooth handover process. If it is a voice transmission service, the new network side transmits voice, and the network side performs deregistration processing and stops transmitting voice.

[0169] Optionally, based on the embodiment of the above network switching method, another embodiment of the present invention provides a network switching device, which is applied to a second network module in a terminal, wherein the first network module and the second network module in the terminal are respectively modules for performing network switching of the terminal during a voice service; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system;

[0170] Reference Fig.13 , the network switching device comprises:

[0171] A data synchronization module 11, configured to synchronize call data with the first network module when it is determined that the network qualities of the first network module and the second network module both meet a preset network switching condition, wherein the call data is service data and voice data of a current voice service performed by the terminal through the first network module;

[0172] The instruction sending module 12 is used to send a network switching instruction to the second network system, so that the second network system and the first network system perform synchronization operations on the call data and establish a communication connection with the communication target; the network switching instruction includes the call data;

[0173] A synchronous comparison module 13, used for obtaining the voice frame to be processed and performing a synchronous comparison operation of the voice frame to be processed with the first network module after the second network system successfully establishes a communication connection with the communication target;

[0174] The network switching module 14 is used to process other voice frames after the voice frame to be processed after the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed.

[0175] Further, the synchronization comparison module includes:

[0176] A first voice frame acquisition submodule, configured to acquire, when the voice call state is a voice receiving state, a first voice frame to be processed and sent by the communication target and received by the first network module, and a second voice frame to be processed and sent by the communication target and received through the second network system;

[0177] The first synchronization comparison submodule is used to perform synchronization comparison on the first to-be-processed voice frame and the second to-be-processed voice frame, wherein, during the synchronization comparison process, the first network module outputs the first to-be-processed voice frame to the voice output module in the terminal so that the voice output module outputs the first to-be-processed voice frame, and the second network module prohibits the second to-be-processed voice frame from being output to the voice output module in the terminal.

[0178] Further, the network switching module includes:

[0179] A voice frame receiving submodule, configured to receive a voice frame sent by the communication target and located after the second voice frame to be processed is synchronously compared with the first voice frame to be processed and it is determined that the first network module successfully outputs the first voice frame to be processed to the voice output module in the terminal, through the second network system;

[0180] The first voice frame output submodule is used to output the voice frame after the second voice frame to be processed to the voice output module in the terminal.

[0181] Further, the synchronization comparison module includes:

[0182] A second voice frame acquisition submodule, configured to acquire, when the voice call state is a voice transmission state, a third voice frame to be processed collected by the first network module, and a fourth voice frame to be processed input by a user;

[0183] The second synchronization comparison submodule is used to perform synchronization comparison on the third voice frame to be processed and the fourth voice frame to be processed; wherein, during the synchronization comparison process, the first network module outputs the third voice frame to be processed to the communication target, and the second network module prohibits the fourth voice frame to be processed from being output to the communication target.

[0184] Further, the network switching module includes:

[0185] The second voice frame output submodule is used to obtain and send a voice frame that is sequentially located after the fourth voice frame to be processed to the communication target after the synchronization comparison between the third voice frame to be processed and the fourth voice frame to be processed is completed and it is determined that the first network module successfully outputs the third voice frame to be processed to the communication target.

[0186] Furthermore, it also includes an information sending module, which is used for the network switching module to send network switching success information to the first network module after the synchronization comparison operation is completed and it is determined that the first network module has successfully executed the processing operation corresponding to the voice frame to be processed, and after processing other voice frames located after the voice frame to be processed, so that the first network module disconnects the communication connection with the communication target.

[0187] In this embodiment, when it is determined that the network quality of the first network module and the second network module both meet the preset network switching conditions, the synchronization operation of the call data of the second network module and the first network module is performed, and the synchronization operation of the call data of the second network system and the first network system is performed, so that the second network module can timely understand the call data of the first network module and the communication target. The second network system establishes a communication connection with the communication target, ensuring that when the network is switched, both network modules are connected to the communication target, and during the connection process, the voice frame to be processed is obtained, and the synchronization comparison operation of the voice frame to be processed is performed with the first network module. After the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed, ensuring the continuous processing of the voice frames of the two communicating parties, thereby ensuring the integrity of data communication and improving user experience.

[0188] Optionally, based on the above-mentioned embodiments of the network switching method and device, another embodiment of the present invention provides an electronic device, comprising: a first network module and a second network module, wherein the first network module and the second network module are respectively modules for performing network switching of the terminal during a voice service; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system;

[0189] The second network module is used to execute the above-mentioned network switching method.

[0190] In this embodiment, when it is determined that the network quality of the first network module and the second network module both meet the preset network switching conditions, the synchronization operation of the call data of the second network module and the first network module is performed, and the synchronization operation of the call data of the second network system and the first network system is performed, so that the second network module can timely understand the call data of the first network module and the communication target. The second network system establishes a communication connection with the communication target, ensuring that when the network is switched, both network modules are connected to the communication target, and during the connection process, the voice frame to be processed is obtained, and the synchronization comparison operation of the voice frame to be processed is performed with the first network module. After the synchronization comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed, ensuring the continuous processing of the voice frames of the two communicating parties, thereby ensuring the integrity of data communication and improving user experience.

[0191] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A network switching method, characterized in that: A second network module applied to a terminal, wherein the first network module and the second network module in the terminal are respectively modules for performing network switching during voice service of the terminal; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system; when the first network module is a broadband module, the second network module is a narrowband module, and when the first network module is a narrowband module, the second network module is a broadband module; The network switching method comprises: When it is determined that the network qualities of the first network module and the second network module both meet the preset network switching condition, performing a call data synchronization operation with the first network module, wherein the call data is the service data and voice data of the current voice service performed by the terminal through the first network module; Sending a network switching instruction to the second network system so that the second network system and the first network system perform synchronization operations on the call data and establish a communication connection with the communication target; the network switching instruction includes the call data; After the second network system successfully establishes a communication connection with the communication target, obtaining a voice frame to be processed, and performing a synchronous comparison operation of the voice frame to be processed with the first network module; After the synchronous comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed, other voice frames located after the voice frame to be processed are processed; wherein, the first network module outputs the voice frame to be processed, and the second network module is prohibited from outputting the voice frame to be processed. After the synchronous comparison operation is completed and it is determined that the first network module successfully outputs the voice frame to be processed, the first network module completes the processing of the voice frame, and the second network module outputs other voice frames located after the voice frame to be processed.

2. The network switching method according to claim 1, characterized in that: Acquiring a voice frame to be processed, and performing a synchronous comparison operation of the voice frame to be processed with the first network module, including: When the voice call state is a voice receiving state, obtaining a first to-be-processed voice frame sent by the communication target and received by the first network module, and receiving a second to-be-processed voice frame sent by the communication target through the second network system; The first to-be-processed voice frame and the second to-be-processed voice frame are synchronously compared, wherein, during the synchronous comparison process, the first network module outputs the first to-be-processed voice frame to the voice output module in the terminal so that the voice output module outputs the first to-be-processed voice frame, and the second network module prohibits the second to-be-processed voice frame from being output to the voice output module in the terminal.

3. The network switching method according to claim 2, characterized in that: After the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, processing other voice frames located after the voice frame to be processed includes: After the first to-be-processed voice frame and the second to-be-processed voice frame are synchronously compared and it is determined that the first network module successfully outputs the first to-be-processed voice frame to the voice output module in the terminal, receiving a voice frame sent by the communication target and located after the second to-be-processed voice frame through the second network system; The speech frame following the second speech frame to be processed is output to a speech output module in the terminal.

4. The network switching method according to claim 1, characterized in that: Acquiring a voice frame to be processed, and performing a synchronous comparison operation of the voice frame to be processed with the first network module, including: When the voice call state is a voice transmission state, obtaining a third voice frame to be processed collected by the first network module, and obtaining a fourth voice frame to be processed input by the user; The third voice frame to be processed and the fourth voice frame to be processed are synchronously compared; wherein, during the synchronous comparison process, the first network module outputs the third voice frame to be processed to the communication target, and the second network module prohibits the fourth voice frame to be processed from being output to the communication target.

5. The network switching method according to claim 4, characterized in that: After the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, processing other voice frames located after the voice frame to be processed includes: After the synchronization comparison between the third voice frame to be processed and the fourth voice frame to be processed is completed and it is determined that the first network module successfully outputs the third voice frame to be processed to the communication target, the voice frame that is sequentially located after the fourth voice frame to be processed is obtained and sent to the communication target.

6. The network switching method according to claim 1, characterized in that: After the synchronization comparison operation is completed and it is determined that the first network module successfully performs the processing operation corresponding to the voice frame to be processed, after processing other voice frames located after the voice frame to be processed, the method further includes: Sending network switching success information to the first network module so that the first network module disconnects the communication connection with the communication target.

7. A network switching device, characterized in that: A second network module applied to a terminal, wherein the first network module and the second network module in the terminal are respectively modules for performing network switching during voice service of the terminal; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system; when the first network module is a broadband module, the second network module is a narrowband module, and when the first network module is a narrowband module, the second network module is a broadband module; The network switching device comprises: a data synchronization module, configured to synchronize call data with the first network module when it is determined that the network qualities of the first network module and the second network module both meet a preset network switching condition, wherein the call data is service data and voice data of a current voice service performed by the terminal through the first network module; an instruction sending module, used for sending a network switching instruction to the second network system, so that the second network system and the first network system perform synchronization operation of the call data and establish a communication connection with the communication target; the network switching instruction includes the call data; A synchronous comparison module, used for obtaining the voice frame to be processed and performing a synchronous comparison operation of the voice frame to be processed with the first network module after the second network system successfully establishes a communication connection with the communication target; A network switching module is used to process other voice frames located after the voice frame to be processed after the synchronous comparison operation is completed and it is determined that the first network module successfully executes the processing operation corresponding to the voice frame to be processed; wherein, the first network module outputs the voice frame to be processed, and the second network module prohibits outputting the voice frame to be processed. After the synchronous comparison operation is completed and it is determined that the first network module successfully outputs the voice frame to be processed, the first network module completes the processing of the voice frame, and the second network module outputs other voice frames located after the voice frame to be processed.

8. The network switching device according to claim 7, characterized in that: The synchronous comparison module comprises: A voice frame acquisition submodule, used for acquiring a first to-be-processed voice frame sent by the communication target and received by the first network module when the voice call state is a voice receiving state, and receiving a second to-be-processed voice frame sent by the communication target through the second network system; A synchronous comparison submodule is used to synchronously compare the first to-be-processed voice frame and the second to-be-processed voice frame, wherein, during the synchronous comparison process, the first network module outputs the first to-be-processed voice frame to the voice output module in the terminal so that the voice output module outputs the first to-be-processed voice frame, and the second network module prohibits the second to-be-processed voice frame from being output to the voice output module in the terminal.

9. The network switching device according to claim 8, characterized in that: The network switching module comprises: A voice frame receiving submodule, configured to receive a voice frame sent by the communication target and located after the second voice frame to be processed is synchronously compared with the first voice frame to be processed and it is determined that the first network module successfully outputs the first voice frame to be processed to the voice output module in the terminal, through the second network system; The voice frame output submodule is used to output the voice frame after the second voice frame to be processed to the voice output module in the terminal.

10. An electronic device, characterized in that: include: A first network module and a second network module, wherein the first network module and the second network module are modules for performing network switching during voice service of the terminal; the first network module is connected to a first network system and communicates with a communication target through the first network system; the second network module is connected to a second network system; The second network module is used to execute the network switching method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Handover method and device, multimode terminal and broadband base station

    CN110831090A

  • Speaking right switching method and device

    CN111836216A