Disclosure of Invention
Therefore, the invention provides a method, a server and a storage medium for fusing and communicating a CS domain and a PS domain, which can switch communication modes without interruption and ensure the smoothness of communication information.
In a first aspect, the present invention provides a method for fusing and connecting a CS domain and a PS domain, comprising:
1) Monitoring the network transmission link condition between a platform server and a first terminal in real time, and setting the current first terminal in the consultation process of a mobile network voice data transmission mode (PS domain); the network transmission link comprises a mobile data network transmission link (PS domain) and a telephone network transmission link (CS domain);
if the current mobile data network transmission link (PS domain) is normal, the mobile data network transmission link (PS domain) is preferentially selected to carry out protocol and data transmission;
if the current mobile data network transmission link (PS domain) state is poor or interrupted, sending a network fault notification message to the first terminal;
2) Responding to a protocol instruction which is sent by the first terminal through the platform network monitoring module and requires to start a telephone network transmission link (CS domain), and establishing the telephone network transmission link (CS domain) when the first terminal dials a pre-allocated gateway telephone number;
3) Acquiring voice data transmitted by a first terminal through a telephone network transmission link (CS domain), and performing data conversion and preparation distribution service on the voice data for downloading by other terminals; meanwhile, data transmitted by other terminals in the business process are sent to the first terminal; at the moment, the consultation process is in a communication mode of combining the CS domain and the PS domain;
4) And under the communication mode of the CS domain and the PS domain of the current consultation, continuously monitoring the network transmission link condition between the platform server and the first terminal in real time, if the mobile data network transmission link (PS domain) is judged to be recovered, sending a network recovery notification message to the first terminal, and directly switching back to the mobile data network transmission link (PS domain).
Optionally, the method further includes step 1), where the monitoring of the network transmission link status between the platform server and the first terminal is implemented by detecting indication information of a wireless voice gateway device based on the VOIP technology in the network by using the network transmission link status detecting module.
Optionally, the method further includes step 2), where the first terminal receives the network detection result notification, and requests to enable a telephone network transmission link (CS domain) in a short message protocol interaction manner, where the first terminal is implemented by providing a short message service function through a wireless voice gateway device based on a VOIP technology.
Optionally, the method further includes step 3), where the performing of data conversion and preparing of distribution service is implemented by using a data conversion and distribution function provided by the VOIP proxy service program.
Optionally, the method further includes step 3), sending data transmitted by other terminals in the business process to the first terminal, and specifically, if the other terminals transmit data through a mobile data network transmission link (PS domain), transcoding and mixing the data, and then sending the data to the first terminal.
Optionally, the method further includes that the telephone network transmission link (CS domain) implements satellite telephone communication and/or mobile network (2/3/4/5G) voice communication.
In a second aspect, an embodiment of the present application provides a platform server, including: a memory and a processor;
the memory is used for storing computer instructions; causing the processor to execute the method of bringing together the CS domain and the PS domain fusion as described in the first aspect or an alternative form of the first aspect.
In a third aspect, the present application provides a storage medium comprising: readable storage media and computer instructions, the computer instructions stored in the readable storage media; the computer instructions are for implementing a method of converged connectivity of a CS domain and a PS domain as the first aspect or an alternative to the first aspect.
In a fourth aspect, the present application provides a computer program product comprising: computer instructions for implementing a method of converged connectivity of a CS domain and a PS domain as the first aspect or an alternative to the first aspect.
The invention provides a method, a server and a storage medium for fusing and connecting a CS domain and a PS domain. The method monitors the status of the network transmission link between the platform server and the terminal in real time, if the current status is normal, the mobile data network transmission link (PS domain) is preferentially selected for protocol and data transmission, and if the network is abnormal, the mobile data network transmission link (CS domain) is switched. And carrying out protocol and data transmission, thereby realizing the uninterrupted transmission of information and ensuring the smoothness of information transmission.
Furthermore, voice data transmitted by the first terminal through a transmission link of the telephone network is acquired, and is subjected to data conversion and prepared distribution service for downloading by other terminals, so that mutual information interaction between the terminals is facilitated.
And further, the network transmission link condition between the platform server and the terminal is continuously monitored in real time, and if the mobile data network transmission link is judged to be recovered, the mobile data network transmission link is directly switched back, so that high-speed transmission is ensured.
The invention provides stable and high-quality voice call service in the application fields of mobile emergency command and other fields with higher requirements on voice call reliability in the face of mobile data network faults possibly caused by natural conditions and/or human factors.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The invention is based on voice call service and data transmission service respectively provided by mobile data network transmission link (PS domain) and telephone network transmission link (CS domain), fuses two network channels by means of service platform software architecture design, communication protocol processing and multi-channel data transmission strategy, and fully applies data service characteristics provided by the two networks to meet the voice call requirement in specific application field.
Fig. 1 is a schematic structural diagram of data soft routing interaction for implementing CS and PS provided in the present application; fig. 2 is a schematic diagram of a framework according to an embodiment of the present application, as shown in fig. 1 and fig. 2:
the wireless voice gateway equipment based on the VOIP technology realizes the data soft routing interaction of CS and PS: the wireless voice gateway device is a wireless gateway device used for connecting a CS (circuit switched) network and a PS (packet switched) network of a GSM/UMTS (global system for Mobile communications/Universal Mobile Telecommunications) network, and is an optimal scheme for butting an IP (Internet protocol) telephone system based on an SIP (session initiation protocol) protocol with the GSM/UMTS network through soft switching.
Multi-way VOIP voice data distribution server (VOIPProxyService): the server is a key service subsystem in the whole platform architecture, on one hand, the butt joint of a plurality of voip clients and wireless voice gateway equipment is simulated based on an SIP protocol, on the other hand, the butt joint of an application interaction protocol based on a platform and the existing platform is carried out on the aspects of service function interaction and data, and therefore the interaction of ip voice network data and far-end common telephone data of other types of access terminals in the system platform is realized based on the wireless voice gateway equipment. The scheme design can support the dialing and answering of multiple paths of telephones, accesses the multiple paths of telephone voices to the conference server of the existing platform, and is also responsible for distributing the voices of other terminals in the platform to the accessed telephone terminals.
And integrating application protocol processing of a data channel and a short message channel: based on the SIP protocol, we implement data interworking between the CS domain and the PS domain of voice data, but there are many application control protocols in the actual conference application process, such as: registration, conference control and the like, in the application scenario of the scheme, other wired or mobile wireless networks are unusable in many times, and in order to well support the relevant application scenario, the scheme realizes the transmission of the protocol data packet by means of the short message receiving and sending function of the telephone network channel.
Integrating voice data transmission of mobile data network transmission link (PS domain) and telephone network transmission link (CS domain): in the scheme, a voice data synchronous transmission mechanism of an original IP network data channel (PS), a satellite network data Channel (CS) and a telephone network (CS) of the terminal equipment is considered in the design of a data server of the conference system, and the reliable transmission of multi-channel data is met. Because the audio sampling, coding format and transmission protocol of telephone voice have their specific standards, and there is a certain difference between these data formats and protocol standards of the access terminal of our original system platform, it is necessary to implement mutual conversion on the audio sampling, coding format and transmission protocol.
Terminal protocol and data processing functions: in the design of the equipment terminal software, a voice channel optimization mechanism is also adopted for transmitting the conference control protocol data packet through a telephone short message channel, and the synchronous transmission of the IP data network voice and the telephone network voice data is realized according to the actual network condition.
A platform server cluster: and the service realization of the consultation command interaction and data distribution accessed by a plurality of terminal devices is provided.
The VOIP proxy service program comprises the following steps: and the portable terminal equipment is accessed to the platform business operations in a terminal agent mode through the telephone voice data after calling the wireless voice gateway through the VOIP standard protocol interface.
Portable terminal software: platform services can be accessed through two link communication modes (CS and PS), and the actual network condition is judged according to a notification event triggered by a network transmission quality detection mechanism provided by the platform, so that the dynamic switching of data transmission of the two links is realized.
The method for connecting the CS domain and the PS domain by merging will be described below with the platform server as the executing agent.
Step S101: the platform server monitors the condition of a network transmission link between the platform server and the first terminal in real time, and sets the current first terminal in the consultation process of a mobile network voice data transmission mode; the network transmission link comprises a mobile data network transmission link and a telephone network transmission link;
the platform server judges that if the current mobile data network transmission link is normal, the mobile data network transmission link is preferentially selected to carry out protocol and data transmission; and if the current transmission link condition of the mobile data network is poor or interrupted, sending a network fault notification message to the first terminal.
Step S102: the platform server responds to a protocol instruction which is sent by the first terminal in a short message mode and requires to start a telephone network transmission link, and establishes the telephone network transmission link when the first terminal dials a pre-allocated gateway telephone number;
step S103: the platform server acquires voice data transmitted by a first terminal through a telephone network transmission link, and performs data conversion and preparation distribution service on the voice data for downloading by other terminals; meanwhile, data transmitted by other terminals in the business process are sent to the first terminal; at the moment, the consultation process is in a communication mode of combining the mobile data network transmission link and the telephone network transmission link;
step S104: under the communication mode that the mobile data network transmission link and the telephone network transmission link of the current conference are fused, the platform server continuously monitors the network transmission link condition between the platform server and the first terminal in real time, and if the mobile data network transmission link is judged to be recovered, a network recovery notification message is sent to the first terminal, and the mobile data network transmission link is directly switched back.
The following description is made with respect to steps S101 to S104:
the terminal device connects with the platform server, registers to the platform server through two links (CS domain and PS domain), the platform server returns the related information of the terminal device voice gateway,
a network transmission link condition detection module provided by the platform server sends notification information to terminal equipment application software when the network condition of the terminal equipment is degraded or recovered, and the terminal equipment determines whether to start a telephone data transmission link (CS domain);
when the terminal equipment initiates a conference, if the current network condition requires to start a telephone data transmission link, the terminal equipment initiates a conference protocol command to establish the conference and invite other terminal equipment in a short message way; after the terminal equipment initiates a consultation, the terminal equipment dials the allocated gateway telephone number to establish a telephone voice link;
by means of data conversion and distribution functions provided by the platform VOIP agent service program, voice data transmitted by the terminal through a telephone voice link is converted and uploaded to platform data distribution service for downloading by other terminals; meanwhile, the VOIP agent service program can download network voice data (PS) of other terminals in the conference from the platform data distribution server, and transmit the data to the terminal equipment after transcoding and mixing;
under the CS domain and PS domain fusion communication mode of the current consultation, if the terminal receives the notification information of the platform network detection service, the mobile data network is judged to be recovered, the terminal disconnects the telephone dialing connection with the wireless voice gateway, meanwhile, the VOIP agent service program stops the corresponding data conversion and distribution, and the terminal protocol and the data transmission are switched back to the mobile network data channel;
when the terminal receives the notification information of the platform network detection service during the consultation of the mobile network voice data transmission mode and judges that the mobile data network is terminal or can not meet the voice consultation data transmission, the terminal starts to dial the wireless voice gateway through the satellite telephone link to establish a telephone voice link and transmits a protocol instruction in a short message mode; and simultaneously, the VOIP agent service program starts data conversion, transcoding, sound mixing and distribution services, and ensures the rapid establishment of the fusion and communication of the CS domain and the PS domain.
The establishment of the rapid fusion connection method ensures that the reliable high-quality voice consultation function of the user is provided under the conditions of interruption, deterioration and recovery of the network condition.
Optionally, the method further includes monitoring a status of a network transmission link between the platform server and the first terminal, and detecting indication information of the wireless voice gateway device based on the VOIP technology in the network by using the network transmission link status detecting module.
Optionally, the method further includes that the first terminal sends an instruction for requesting to enable a transmission link (CS domain) of the telephone network in a short message manner, and the wireless voice gateway device based on the VOIP technology provides a short message service function to implement the function.
Optionally, the method further includes performing data conversion and preparing distribution service, and the data conversion and distribution service is implemented by using data conversion and distribution functions provided by the VOIP proxy service program.
Optionally, the method further includes sending data transmitted by other terminals in the business process to the first terminal, and specifically, if the other terminals transmit the data through a mobile data network transmission link (PS domain), transcoding and mixing the data, and then sending the data to the first terminal.
Optionally, the method further includes implementing satellite telephone communication and/or ordinary telephone voice communication by a telephone network transmission link (CS domain).
It should be noted that: when the link state of the mobile data network is normal, the voice consultation can be ensured:
1) The portable terminal equipment is started, dialing service is started, the establishment of dialing network connection of a mobile network (2/3/4/5G) communication module of the equipment is completed, and an operator data network is accessed;
2) The terminal equipment terminal software is automatically started, protocol command data is sent through a mobile data network, and application service communication connection is established with a platform server;
3) The terminal initiates the invitation of the conference through the established application communication link, and a plurality of terminals respond to the invitation and enter the appointed conference action;
4) The terminal uploads own voice data and downloads voice data of other terminals through a mobile network data transmission channel established with the server to realize the multi-terminal voice consultation function;
the above protocol command and voice data are transmitted through the mobile data network;
when the mobile data network is interrupted or the signal is poor enough to meet the data transmission requirement of the voice conference under certain circumstances:
1) The portable terminal firstly receives a notification event of network condition change from the platform network transmission condition detection module and knows that network data transmission needs to be switched to a satellite telephone link;
2) The terminal dials the number allocated to the wireless voice gateway through the satellite telephone module according to the processing flow of the platform application protocol, and establishes a telephone dialing voice Connection (CS);
3) The VOIP agent service program is responsible for processing protocol commands of telephone voice access and converting telephone voice data, and accessing terminal telephone voice to the platform conference;
4) The terminals in other meetings can synchronously download the new telephone voice data stream provided by the platform data server according to the protocol instruction of the platform server;
5) The CS domain voice data and the PS domain voice data are already fused in the application scene, and the voice conference process is uninterrupted from the using experience of the user.
It should be noted again that, when the convergence of the CS domain and the PS domain is implemented, the terminal device is first required to support the functional module of the two links, that is, the communication module of the two links of the satellite telephone and the IP network data (mobile data). On the basis, the application strategy realized on the terminal equipment is how to flexibly switch the data transmission of two links when the actual network environment changes extremely, so that the requirement of uninterrupted high-quality voice consultation function is met; the basic requirement is that when a mobile data network signal exists and the bandwidth condition can meet the requirement of normal voice communication, voice data is transmitted through the data channel (PS) preferentially, and if an actual emergency disaster happens, a conventional mobile data link is interrupted or under some network conditions with extreme difference, the terminal equipment can trigger an event through a network channel transmission quality detection mechanism of the system, and switch the data transmission channel to a satellite telephone link (CS) domain in time. The series of processing actions are automatically adjusted through software algorithm steps to ensure a good use experience of a user terminal.
In addition, the wireless voice gateway is a key device for fusing a CS domain and a PS domain, the method for fusing and communicating the CS domain and the PS domain is used in emergency command platform services, the wireless voice gateway device is vital, the wireless voice gateway device receives call access of a plurality of portable terminal satellite telephone links by inserting a plurality of SIM cards, in addition, an embedded software system is used for routing satellite telephone voice data of a plurality of portable terminals to a specific gateway ip and port through a VOIP protocol, and then, the system design and the realization of the invention need to finish the access of the plurality of portable terminal telephone voices to the existing platform services through the VOIP protocol. The voice gateway device is a key component for connecting the CS domain and the PS domain.
The invention also provides a platform server, which comprises a memory and a processor, wherein the memory is used for storing the method, and the processor is used for operating the method instructions to execute all or part of the steps in the method.
The embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement any one of the methods described above.
The embodiment of the present application further provides a computer program product, which includes computer executable instructions, and the computer executable instructions are executed by a processor to implement any one of the methods described above.
In conclusion, in mobile emergency command and other application fields with higher requirements on voice communication reliability, the device can be conveniently switched to a satellite data or telephone voice channel to continuously provide stable and high-quality voice communication service in places where mobile data network signals are weak or uncovered or when a mobile communication network is damaged in the case of natural disasters by adopting the method;
finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.