CN113098829B - Communication method between wide and narrow networks, terminal, server and storage medium - Google Patents

Communication method between wide and narrow networks, terminal, server and storage medium Download PDF

Info

Publication number
CN113098829B
CN113098829B CN201911342702.7A CN201911342702A CN113098829B CN 113098829 B CN113098829 B CN 113098829B CN 201911342702 A CN201911342702 A CN 201911342702A CN 113098829 B CN113098829 B CN 113098829B
Authority
CN
China
Prior art keywords
network
multimedia data
terminal
network server
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911342702.7A
Other languages
Chinese (zh)
Other versions
CN113098829A (en
Inventor
杨河山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to CN201911342702.7A priority Critical patent/CN113098829B/en
Publication of CN113098829A publication Critical patent/CN113098829A/en
Application granted granted Critical
Publication of CN113098829B publication Critical patent/CN113098829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]

Abstract

The invention discloses a communication method between wide and narrow networks, a terminal, a server and a storage medium. The communication method between the wide and narrow networks comprises the following steps: the method comprises the steps that a first network terminal sends a call message which is used for calling a second network terminal and comprises first media negotiation information to a first network server, so that the first network server and the second network server are connected, and the second network server is informed of receiving first multimedia data of a first coding mode; generating first multimedia data in a first coding mode; sending the first multimedia data to a first network server, and enabling the first multimedia data to be forwarded to a second network terminal through a second network server; the first network terminal and the first network server communicate in a first network, and the second network terminal and the second network server communicate in a second network; one of the first network and the second network is a broadband network, and the other is a narrowband network. Through the mode, the communication quality between the broadband and narrowband terminals can be improved.

Description

Communication method between wide and narrow networks, terminal, server and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a terminal, a server, and a storage medium for communication between wide and narrow networks.
Background
With the development of technologies, communication services between broadband and narrowband terminals are increasing, and broadband and narrowband networks and service fusion are a necessary trend, a voice vocoder used by a broadband system protocol is an AMR (Adaptive Multi-Rate) encoder, a voice vocoder used by a narrowband system protocol is an NVOC (vocoder digital voice compression technology)/AMBE + + (Advanced Multi-Band Excitation) vocoder/ACELP (algebraic codebook excited linear prediction) vocoder, transcoding is required during broadband and narrowband interworking, and the transcoding can cause performance degradation of broadband and narrowband interworking, and even end-to-end encryption cannot be realized.
Disclosure of Invention
The invention mainly solves the technical problem of providing a communication method between wide and narrow networks, a terminal server and a storage medium, which can improve the communication quality between wide and narrow band terminals.
In order to solve the technical problems, the invention adopts a technical scheme that: a method for communication between wide and narrow networks is provided, which comprises the following steps: a first network terminal sends a call message for calling at least one second network terminal to a first network server, wherein the call message comprises first media negotiation information, so that the first network server establishes connection with the second network server based on the call message and informs the second network server of about receiving first multimedia data of a first coding mode which can be supported by the second network terminal; after the connection is established, generating a multimedia message containing first multimedia data of a first coding mode; sending the multimedia message to the first network server, so that the first network server forwards the first multimedia data to the at least one second network terminal through the second network server; the first network terminal and the first network server carry out communication service in a first network, and the second network terminal and the second network server carry out communication service in a second network; one of the first network and the second network is a broadband network, and the other is a narrowband network.
In order to solve the technical problem, the invention adopts another technical scheme that: a method for communication between wide and narrow networks is provided, which comprises the following steps: a first network server receives a first call message which is sent by a first network terminal and used for calling at least one second network terminal, wherein the first call message comprises first media negotiation information; responding to the first call message, sending a second call message containing the first media negotiation information to a second network server so as to establish connection with the second network server and inform the second network server of about receiving first multimedia data of a first coding mode which can be supported by the second network terminal; after the connection is established, receiving a multimedia message which is sent by the first network terminal and contains first multimedia data of a first coding mode; sending the first multimedia data to the second network server, so that the second network server forwards the first multimedia data to the second network terminal; the first network terminal and the first network server perform the voice communication service in a first network, and the second network terminal and the second network server perform the voice communication service in a second network; one of the first network and the second network is a broadband network, and the other is a narrowband network.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a terminal comprising a processor, a memory and a communication circuit, wherein the processor is coupled to the memory and the communication circuit respectively, the memory is used for storing program instructions, and the processor is used for executing the program instructions in the memory to control the communication circuit to implement the steps in the communication method between wide and narrow networks as described above.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a server comprising a processor, a memory and a communication circuit, wherein the processor is coupled to the memory and the communication circuit respectively, the memory is used for storing program instructions, and the processor is used for executing the program instructions in the memory to control the communication circuit to implement the steps in the communication method between wide and narrow networks as described above.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a storage medium storing program instructions executable to implement the steps in the method of communication between wide and narrow networks as described above.
The invention has the beneficial effects that: different from the situation of the prior art, the multimedia message containing the first multimedia data of the first coding mode is generated by the first network terminal, and is sent to the second network terminal supporting the first coding mode through the first network server working in the first network and the second network server working in the second network, wherein one of the first network and the second network is a broadband network, and the other one is a narrowband network, so that the multimedia message is directly sent without transcoding, error codes and time delays caused by transcoding can be avoided, and the communication quality between the broadband and narrowband terminals can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flow chart of a first embodiment of a communication method between wide and narrow networks provided by the present invention;
fig. 2 is a relationship diagram of a first embodiment of communication connections of devices in the communication method between wide and narrow networks provided by the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for communication between wide and narrow networks according to the present invention;
fig. 4 is a relationship diagram of a second embodiment of communication connections of devices in the communication method between the wide and narrow networks provided by the present invention;
fig. 5 is a schematic flow chart of a third embodiment of a communication method between wide and narrow networks provided by the present invention;
fig. 6 is a schematic flowchart of a fourth embodiment of a method for communication between wide and narrow networks according to the present invention;
fig. 7 is a schematic flow chart of a fifth embodiment of a communication method between wide and narrow networks provided by the present invention;
fig. 8 is a schematic flowchart of a sixth embodiment of a communication method between wide and narrow networks according to the present invention;
fig. 9 is a schematic structural diagram of an embodiment of a terminal provided in the present invention;
FIG. 10 is a schematic structural diagram of an embodiment of a server provided by the present invention;
fig. 11 is a schematic structural diagram of an embodiment of a storage medium provided in the present invention.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the 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.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating a communication method between wide and narrow networks according to a first embodiment of the present invention. The communication method between the wide and narrow networks provided by the invention comprises the following steps:
s101: the first network terminal sends a call message for calling at least one second network terminal to the first network server, wherein the call message comprises first media negotiation information.
In a specific implementation scenario, please refer to fig. 2 in combination, where fig. 2 is a relationship diagram of a first embodiment of communication connections of devices in a communication method between wide and narrow networks provided in the present invention. As shown in fig. 2, a first network terminal 11 communicating in a first network needs to transmit multimedia data to a second network terminal 21 communicating in a second network, and since the first network terminal 11 and the second network terminal 21 communicate in different networks, the first network terminal 11 cannot directly transmit the multimedia data to the second network terminal 21. In this implementation scenario, the first network terminal 11 sends multimedia data to the second network terminal 21 through the first network server 12 and the second network server 22. The first network server 12 and the first network terminal 11 perform communication traffic in a first network, and the second network server 22 and the second network terminal 21 perform communication traffic in a second network. In this implementation scenario, the first network is a broadband network, the first network terminal 11 is a broadband terminal, the second network is a narrowband network, and the second network terminal 21 is a narrowband terminal. In other implementation scenarios, the first network may also be a narrowband network, the first network terminal 11 may also be a narrowband terminal, the second network may also be a broadband network, and the second network terminal 21 may also be a broadband terminal.
Specifically, the first network terminal 11 transmits a call message for calling the at least one second network terminal 21, which includes the first media negotiation information, to the first network server 12. After receiving the call message, the first network server 12 establishes a connection with the second network server 22 based on the call message, in this implementation scenario, the first network server 12 and the second gateway server 22 are directly connected, in other implementation scenarios, a gateway is provided between the first network server 12 and the second gateway server 22, and the first network server 12 and the second gateway server 22 are connected through the gateway.
In this implementation scenario, the first media negotiation information is NVOC (digital voice compression) media negotiation information, and in other implementation scenarios, the first media negotiation information may also be AMR (Adaptive Multi-Rate) media negotiation information.
After the first network server 12 establishes a connection with the second network server 22, the second network server 22 is notified that the first multimedia data of the first encoding scheme that can be supported by the second network terminal 21 is about to be received. In this implementation scenario, the first network server 12 forwards the received first media negotiation information to the second network server 22, so that the second network server 22 knows that it is about to receive the first multimedia data in the first coding mode that can be supported by the second network terminal 21. In this implementation scenario, the second network terminal 21 receiving the multimedia message is a narrowband terminal, and the first encoding mode is an NVOC encoding mode.
S102: and after the connection is established, generating a multimedia message containing first multimedia data of a first coding mode.
In a specific implementation scenario, after the first network server 12 establishes a connection with the second network server 22, the first network terminal 11 generates a multimedia message of the first multimedia data in the first encoding mode. In this implementation scenario, since the second network terminal 21 receiving the multimedia message is a narrowband terminal, the first encoding mode is an NVOC encoding mode, and the first multimedia data is an NVOC voice media. In this implementation scenario, the first multimedia data is voice data. In other implementation scenarios, the first multimedia data may also include data in other formats such as video, pictures, text, and so on.
S103: and sending the multimedia message to the first network server, so that the first network server forwards the first multimedia data to the at least one second network terminal through the second network server.
In a specific implementation scenario, the first network terminal 11 sends the multimedia message generated in step S102 to the first network server 12. After receiving the multimedia message, the first network server 12 forwards the first multimedia data to the second network server 22 through the connection established in step S101, so that the second network server 22 transmits the first multimedia data to the second network terminal 21.
Since the first multimedia data is the first encoding mode that the second network terminal 21 can support, the second network terminal 21 can directly read the content of the multimedia message, without transcoding the first network server 12 when forwarding the first multimedia data to the second network server 22, which can effectively avoid error code caused by transcoding.
It should be noted that in this implementation scenario, there is only one second network terminal 21, and in other implementation scenarios, there may be multiple second network terminals 21, and the second network server 22 forwards the multimedia message to these second network terminals 21 at the same time.
As can be seen from the above description, in this embodiment, a first network terminal generates a multimedia message including first multimedia data in a first encoding mode, and sends the multimedia message to a second network terminal supporting the first encoding mode through a first network server working in a first network together with the first network terminal and a second network server working in a second network together with a second network terminal, where one of the first network and the second network is a narrowband network and the other is a broadband network, so that the multimedia message is directly sent without transcoding, which can avoid error codes and time delays caused by transcoding, and thus can improve communication quality between the broadband and narrowband terminals.
Referring to fig. 3, fig. 3 is a flowchart illustrating a communication method between wide and narrow networks according to a second embodiment of the present invention. The communication method between the wide and narrow networks provided by the invention comprises the following steps:
s301: the first network terminal sends a call message for calling at least one second network terminal and calling at least one first network terminal to a first network server, so that the first network server establishes a connection with the second network server based on the call message.
In a specific implementation scenario, please refer to fig. 4, where fig. 4 is a relationship diagram of a second embodiment of communication connections of devices in a communication method between wide and narrow networks according to the present invention. As shown in fig. 4, the first network terminal 11 communicating in the first network needs to transmit multimedia data to the second network terminal 21 communicating in the second network and the first network terminal 13 communicating in the first network. In this implementation scenario, the method for sending multimedia data from the first network terminal 11 to the second network terminal 21 is as described in the first embodiment of the method for communication between wide and narrow networks provided in the present invention, and is not described herein again. The first network terminal 11 transmits multimedia data to the first network terminal 13 through the first network server 12.
In this implementation scenario, the first network server 12, the first network terminal 11, and the first network terminal 13 perform communication services in a first network, and the second network server 22 and the second network terminal 21 perform communication services in a second network. In this implementation scenario, the first network is a broadband network, the first network terminal 11 and the first network terminal 13 are broadband terminals, the second network is a narrowband network, and the second network terminal 21 is a narrowband terminal. In other implementation scenarios, the first network may also be a narrowband network, the first network terminal 11 and the first network terminal 13 may also be narrowband terminals, the second network may also be a broadband network, and the second network terminal 21 may also be a broadband terminal.
Specifically, the first network terminal 11 transmits a call message for calling the at least one second network terminal 21 and the at least one first network terminal 13, which includes the first media negotiation information and the second media negotiation information, to the first network server 12. After receiving the call message, the first network server 12 establishes a connection with the second network server 22 based on the call message, and obtains second multimedia data to be received in the second encoding mode supported by the first network terminal 13.
In this implementation scenario, the first media negotiation information is NVOC media negotiation information, the second media negotiation information is AMR media negotiation information, and in other implementation scenarios, the first media negotiation information may also be AMR media negotiation information, and the second media negotiation information may be NVOC media negotiation information.
After the first network server 12 establishes a connection with the second network server 22, the second network server 22 is notified that the first multimedia data of the first encoding scheme that can be supported by the second network terminal 21 is about to be received. In this implementation scenario, the first network server 12 forwards the received first media negotiation information to the second network server 22, so that the second network server 22 knows that it is about to receive the first multimedia data in the first encoding mode that can be supported by the second network terminal 21.
In this implementation scenario, since the second network terminal 21 receiving the multimedia message is a narrowband terminal, the first encoding mode is an NVOC encoding mode, and the second encoding mode is an AMR encoding mode.
S302: and after the connection is established, generating a multimedia message containing first multimedia data of a first coding mode and second multimedia data of a second coding mode.
In a specific implementation scenario, after the first network server 12 establishes a connection with the second network server 22, the first network terminal 11 generates a multimedia message including first multimedia data in a first encoding manner and second multimedia data in a second encoding manner. In this implementation scenario, since the second network terminal 21 receiving the multimedia message is a narrowband terminal, the first encoding mode is an NVOC encoding mode, the first multimedia data is an NVOC voice media, the second encoding mode is an AMR encoding mode, and the second multimedia data is an AMR voice media.
In this implementation scenario, the first multimedia data and the second multimedia data are voice data. In other implementation scenarios, the first multimedia data and the second multimedia data may also include data in other formats such as video, pictures, text, and the like.
S303: and sending the multimedia message to the first network server, so that the first network server forwards the first multimedia data to the at least one second network terminal through the second network server, and sends the second multimedia data to the at least one first network terminal.
In a specific implementation scenario, the first network terminal 11 sends the multimedia message generated in step S302 to the first network server 12. After receiving the multimedia message, the first network server 12 forwards the first multimedia data in the multimedia message to the second network server 22 through the connection established in step S301, so that the second network server 22 sends the multimedia message to the second network terminal 21. And the first network server 12 transmits the second multimedia data to the first network terminal 13.
Since the first multimedia data is the first encoding method that can be supported by the second network terminal 21, the second network terminal 21 can directly read the content of the first multimedia data without transcoding the first network server 12 when forwarding the first multimedia data to the second network server 22. The first multimedia data of the second encoding mode is generated by the first network terminal 11 and supported by both the first network terminals 11 and 13, so that the first network server 12 does not need to transcode the second multimedia data and directly sends the second multimedia data to the first network terminal 13, thereby effectively avoiding error codes and time delay caused by transcoding.
It should be noted that, in this implementation scenario, there is only one second network terminal 21 and only one first network terminal 13, in other implementation scenarios, there may be multiple second network terminals 21 and multiple first network terminals 13, and the first network server 12 forwards the multimedia message to these first network terminals 13 at the same time, and the second network server 22 forwards the multimedia message to these second network terminals 21 at the same time.
As can be seen from the above description, in this embodiment, a first terminal generates a multimedia message including first multimedia data in a first encoding mode and second multimedia data in a second encoding mode, and sends the multimedia message to a second network terminal supporting the first encoding mode and a first network terminal supporting the second encoding mode through a first network server working in a first network together with the first network terminal and a second network server working in a second network together with the second network terminal, where one of the first network and the second network is a narrowband network, so that the multimedia message is directly sent without transcoding, an error code and a time delay caused by transcoding can be avoided, and communication quality between the narrowband terminals can be improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a communication method between wide and narrow networks according to a third embodiment of the present invention. The communication method between the wide and narrow networks provided by the invention comprises the following steps:
s501: the first network terminal sends a call message for calling at least one second network terminal to the first network server, wherein the call message comprises first media negotiation information.
S502: and after the connection is established, generating a multimedia message containing first multimedia data of a first coding mode.
S503: and sending the multimedia message to the first network server, so that the first network server forwards the first multimedia data to the at least one second network terminal through the second network server.
In this implementation scenario, steps S501 to S503 are substantially the same as steps S101 to S103 in the first embodiment of the method for communication between wide and narrow networks provided by the present invention, and are not described herein again.
S504: and receiving third multimedia data of the first coding mode sent by the first network server, wherein the third multimedia data is received by the second network terminal through the second network server and forwarded to the first network server.
In a specific implementation scenario, referring to fig. 2 in combination, the second network terminal 21 sends third multimedia data to the first network terminal 11 through the second network server 22 and the first network server 12, where the third multimedia data adopts the first encoding mode. The second network terminal 21 sends the third multimedia data to the second network server 22, the second network server 22 forwards the third multimedia data to the first network server 12, and the first network server 12 forwards the third multimedia data to the first network terminal 11.
Because the first network terminal 11 supports the first encoding method, the third multimedia data can be directly forwarded to the first network terminal 11 without transcoding, so that errors and time delay caused by transcoding can be effectively avoided.
As can be seen from the above description, in this embodiment, the second network terminal operating in the second network sends the third multimedia data in the first coding mode to the first network terminal operating in the first network, and because the first network terminal supports the first coding mode, the third multimedia data may be directly forwarded without transcoding, which may avoid error codes and time delay caused by transcoding, thereby improving communication quality between the broadband and narrowband terminals.
Referring to fig. 6, fig. 6 is a flowchart illustrating a fourth embodiment of a method for communication between wide and narrow networks according to the present invention. The communication method between the wide and narrow networks provided by the invention comprises the following steps:
s601: the method comprises the steps that a first network server receives a first call message which is sent by a first network terminal and used for calling at least one second network terminal, and the first call message comprises first media negotiation information.
In a specific implementation scenario, please refer to fig. 2 in combination, and fig. 2 is a schematic device relationship diagram of a communication method between wide and narrow networks according to a first embodiment of the present invention. As shown in fig. 2, a first network terminal 11 communicating in a first network needs to transmit multimedia data to a second network terminal 21 communicating in a second network, and since the first network terminal 11 and the second network terminal 21 communicate in different networks, the first network terminal 11 cannot directly transmit the multimedia data to the second network terminal 21. In this implementation scenario, the first network server 12 and the first network terminal 11 perform communication traffic in the first network, and the second network server 22 and the second network terminal 21 perform communication traffic in the second network. In this implementation scenario, the first network is a broadband network, the first network terminal 11 is a broadband terminal, the second network is a narrowband network, and the second network terminal 21 is a narrowband terminal. In other implementation scenarios, the first network may also be a narrowband network, the first network terminal 11 may also be a narrowband terminal, the second network may also be a broadband network, and the second network terminal 21 may also be a broadband terminal.
Specifically, the first network server 12 receives a call message sent by the first network terminal 11 for calling the at least one second network terminal 21, where the call message includes the first media negotiation information. In this implementation scenario, the first media negotiation information is NVOC (digital voice compression) media negotiation information, and in other implementation scenarios, the first media negotiation information may also be AMR (Adaptive Multi-Rate) media negotiation information.
S602: and responding to the first call message, sending a second call message containing the first media negotiation information to a second network server so as to establish connection with the second network server and inform the second network server of about receiving the first multimedia data of the first encoding mode which can be supported by the second network terminal.
In a specific implementation scenario, after receiving the first call message, the first network server 12 establishes a connection with the second network server 22 based on the call message, in this implementation scenario, the first network server 12 and the second gateway server 22 are directly connected to each other, and in other implementation scenarios, a gateway is disposed between the first network server 12 and the second gateway server 22, and the first network server 12 and the second gateway server 22 are connected to each other through the gateway.
After the first network server 12 establishes a connection with the second network server 22, the second network server 22 is notified that the first multimedia data of the first encoding scheme that can be supported by the second network terminal 21 is about to be received. In this implementation scenario, the first network server 12 sends the second call message including the first media negotiation information to the second network server 22, so that the second network server 22 knows that it is about to receive the first multimedia data in the first encoding mode that can be supported by the second network terminal 21. In this implementation scenario, the second terminal 21 receiving the multimedia message is a narrowband terminal, and the first encoding mode is an NVOC encoding mode.
S603: and after the connection is established, receiving a multimedia message which is sent by the first network terminal and contains first multimedia data of a first coding mode.
In a specific implementation scenario, after establishing the connection, the first network server 12 receives a multimedia message sent by the first network terminal 11, where the multimedia message includes first multimedia data in a first encoding manner. In this implementation scenario, the first multimedia data is NVOC voice media. In this implementation scenario, the first multimedia data is voice data. In other implementation scenarios, the first multimedia data may also include data in other formats such as video, pictures, text, and so on.
S604: and sending the first multimedia data to the second network server, so that the second network server forwards the first multimedia data to the second network terminal.
In a specific implementation scenario, after receiving the multimedia message, the first network server 12 forwards the first multimedia data to the second network server 22 through the connection established in step S602, so that the second network server 22 sends the first multimedia data to the second network terminal 21.
Since the first multimedia data is the first encoding mode that can be supported by the second network terminal 21, the second network terminal 21 can directly read the content of the multimedia message, without transcoding the first multimedia data to the second network server 22 by the first network server 12, which can effectively avoid error code caused by transcoding.
It should be noted that in this implementation scenario, there is only one second network terminal 21, and in other implementation scenarios, there may be multiple second network terminals 21, and the second network server 22 forwards the multimedia message to these second network terminals 21 at the same time.
As can be seen from the above description, in this embodiment, the first network server operating in the first network sends, through the second network server, the multimedia message of the first multimedia data in the first coding mode generated by the first network terminal to the second network terminal operating in the second network, and because the second network terminal supports the first coding mode, and one of the first network and the second network is a narrowband network, the first multimedia data may be directly sent without transcoding, which may avoid error code and delay caused by transcoding, thereby improving communication quality between the narrowband and broadband terminals.
Referring to fig. 7, fig. 7 is a flowchart illustrating a fifth embodiment of a communication method between wide and narrow networks according to the present invention. The communication method between the wide and narrow networks provided by the invention comprises the following steps:
s701: the first network server receives a first call message which is sent by the first network terminal and used for calling at least one second network terminal and at least one first network terminal, wherein the first call message comprises first media negotiation information and second media negotiation information.
In a specific implementation scenario, please refer to fig. 4 in combination, where fig. 4 is a schematic device relationship diagram of a communication method between wide and narrow networks according to a first embodiment of the present invention. As shown in fig. 4, the first network terminal 11 communicating in the first network needs to transmit multimedia data to the second network terminal 21 communicating in the second network and the first network terminal 13 communicating in the first network.
The first network server 12 receives a first call message sent by the first network terminal 11, where the first call message is used to call at least one first network terminal 13 and at least one second network terminal 21, and includes first media negotiation information and second media negotiation information. In this implementation scenario, the first network is a broadband network, the first network terminal 11 and the first network terminal 13 are broadband terminals, the second network is a narrowband network, and the second network terminal 21 is a narrowband terminal. In other implementation scenarios, the first network may also be a narrowband network, the first network terminal 11 and the first network terminal 13 may also be narrowband terminals, the second network may also be a broadband network, and the second network terminal 21 may also be a broadband terminal.
S702: and responding to the first call message, sending a second call message containing the first media negotiation information to a second network server, and acquiring second multimedia data of a second coding mode supported by the first network terminal to be received according to the second media negotiation information in the first call message.
In this implementation scenario, a portion of the step S702, which sends the second call message including the first media negotiation information to the second network server in response to the first call message, is substantially the same as the step S602 in the fourth embodiment of the method for communication between wide and narrow networks provided in the present invention, and is not described here again.
In this implementation scenario, the first call message further includes second media negotiation information, and the first network server 12 learns, based on the second media negotiation information, that it is about to receive second multimedia data in a second encoding mode supported by the first network terminal 13.
In this implementation scenario, the first media negotiation information is NVOC media negotiation information, the second media negotiation information is AMR media negotiation information, and in other implementation scenarios, the first media negotiation information may also be AMR media negotiation information, and the second media negotiation information may be NVOC media negotiation information.
S703: and receiving a multimedia message which is sent by the first network terminal and contains first multimedia data of a first coding mode and second multimedia data of a second coding mode.
In a specific implementation scenario, the first network terminal 11 generates a multimedia message including first multimedia data of a first encoding scheme and second multimedia data of a second encoding scheme, and transmits the multimedia message to the first network server 12. The first network server 12 receives the multimedia message. In this implementation scenario, since the second network terminal 21 receiving the multimedia message is a narrowband terminal, the first encoding mode is an NVOC encoding mode, the first multimedia data is an NVOC voice media, the second encoding mode is an AMR encoding mode, and the second multimedia data is an AMR voice media. In this implementation scenario, the first multimedia data and the second multimedia data are voice data. In other implementation scenarios, the first multimedia data and the second multimedia data may also include data in other formats such as video, pictures, text, and the like.
S704: and sending the first multimedia data to the second network server, and sending the second multimedia data to the at least one first network terminal.
In a specific implementation scenario, the first network server 12 sends the first multimedia data to the second network server 22 and sends the second multimedia data to the first network terminal 13 according to different connected network terminals.
The part of the step of sending the first multimedia data to the second network server is substantially the same as step S704 in the fourth embodiment of the method for communication between wide and narrow networks provided by the present invention, and details are not repeated here. The first network server 12 transmits the second multimedia data to the first network terminal 13.
Since the first multimedia data is the first encoding mode that can be supported by the second network terminal 21, the second network terminal 21 can directly read the content of the first multimedia data without transcoding the first network server 12 when forwarding the first multimedia data to the second network server 22. The first multimedia data of the second coding mode is generated by the first network terminal 11 and supported by both the first network terminals 11 and 13, so that the first network server 12 does not need to transcode the second multimedia data and directly sends the second multimedia data to the first network terminal 13, thereby effectively avoiding error codes caused by transcoding.
It should be noted that, in this implementation scenario, there is only one second network terminal 21 and only one first network terminal 13, in other implementation scenarios, there may be multiple second network terminals 21 and multiple first network terminals 13, and the first network server 12 forwards the multimedia message to these first network terminals 13 at the same time, and the second network server 22 forwards the multimedia message to these second network terminals 21 at the same time.
As can be seen from the above description, in this embodiment, the first network server working in the first network sends the multimedia message to the second network terminal supporting the first encoding scheme through the second network terminal and the second network server working in the second network together with the first multimedia data in the first encoding scheme, and sends the multimedia message of the second multimedia data in the second encoding scheme to the first network terminal supporting the second encoding scheme, where one of the first network and the second network is a narrowband network, so that the multimedia message is directly sent without transcoding, which can avoid error codes and time delays caused by transcoding, and can improve communication quality between the narrowband terminals.
Referring to fig. 8, fig. 8 is a flowchart illustrating a sixth embodiment of a method for communication between wide and narrow networks according to the present invention. The communication method between the wide and narrow networks provided by the invention comprises the following steps:
s801: the first network server receives a first call message which is sent by the first network terminal and used for calling at least one second network terminal, wherein the first call message comprises first media negotiation information.
S802: and responding to the first call message, sending a second call message containing the first media negotiation information to a second network server so as to establish connection with the second network server and inform the second network server of about receiving the first multimedia data of the first encoding mode which can be supported by the second network terminal.
S803: and after the connection is established, receiving a multimedia message which is sent by the first network terminal and contains first multimedia data of a first coding mode.
S804: and sending the first multimedia data to the second network server, so that the second network server forwards the first multimedia data to the second network terminal.
In this implementation scenario, steps S801 to S804 are substantially the same as steps S601 to S604 in the fourth embodiment of the method for communication between wide and narrow networks provided by the present invention, and are not described herein again.
S805: and receiving third multimedia data of the first coding mode sent by the second network server, and sending the third multimedia data to the first network terminal.
In a specific implementation scenario, please refer to fig. 2 in combination, the first network server 12 receives third multimedia data sent by the second network server 22, where the third multimedia data is generated and sent to the second network server 22 by the second network terminal 21. The first network server 12 sends the third multimedia data to the first network terminal 11, and the third multimedia data adopts the first encoding mode. Because the first network terminal 11 supports the first encoding method, the third multimedia data can be directly forwarded to the first network terminal 11 without transcoding, so that error codes caused by transcoding can be effectively avoided.
As can be seen from the above description, in this embodiment, the second network terminal operating in the second network sends the third multimedia data in the first encoding mode to the first network terminal operating in the first network, and because the first network terminal supports the first encoding mode, the third multimedia data can be directly forwarded without transcoding, so that error codes and time delays caused by transcoding can be avoided, and thus, the communication quality between the broadband and narrowband terminals can be improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 30 includes a processor 31, a memory 32, and communication circuitry 33, with the processor 31 being coupled to the memory 32 and the communication circuitry 33. The memory 32 is used to store program instructions, and the processor 31 in combination with the communication circuitry 33 is used to execute the program instructions in the memory 32 to communicate and perform the following methods:
the communication circuit 33 of the terminal 30 operating in the first network sends a call message for calling at least one second network terminal operating in the second network to a first network server also operating in the first network, the call message including the first media negotiation information, so that the first network server establishes a connection with the second network server operating in the second network based on the call message and notifies the second network server of the imminent reception of the first multimedia data in the first coding mode that the second network terminal can support. The processor 31 generates a multimedia message comprising first multimedia data of a first encoding mode after establishing the connection. The communication circuit 33 sends the multimedia message to the first network server so that the first network server forwards the first multimedia data to the second network terminal through the second network server.
One of the first network and the second network is a broadband network, and the other one is a narrowband network.
As can be seen from the above description, the network terminal in this embodiment generates a multimedia message including first multimedia data in a first encoding mode, and sends the multimedia message to a second network terminal supporting the first encoding mode through a first network server working in a first network together with the first network terminal and a second network server working in a second network together with a second network terminal, where one of the first network and the second network is a broadband network and is a narrowband network, so that the multimedia message is directly sent without transcoding, which can avoid error codes and delay caused by transcoding, and thus can improve communication quality between the broadband and narrowband terminals.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention. Server 40 includes a processor 41, a memory 42, and communication circuitry 43, with processor 41 coupled to memory 42 and communication circuitry 43. The memory 42 is used for storing program instructions, and the processor 41 in combination with the communication circuit 43 is used for executing the program instructions in the memory 42 to communicate and execute the following methods:
the communication circuit 43 of the server 40 operating in the first network receives a first call message sent by a first network terminal also operating in the first network for calling at least one second network terminal operating in the second network, the first call message including first media negotiation information. The processor 41 generates a second call message containing the first media negotiation information in response to the first call message, and the communication circuit 43 sends the second call message to a second network server operating in a second network to establish a connection with the second network server and notify the second network server that the second network server is about to receive the first multimedia data in the first encoding mode that can be supported by the second network terminal. The communication circuit 43 receives the first multimedia data sent by the first network terminal and forwards the first multimedia message to the second network server, so that the second network server forwards the first multimedia message to the second network terminal.
One of the first network and the second network is a broadband network, and the other one is a narrowband network.
As can be seen from the above description, in this embodiment, the network server sends, through the second network server, the multimedia message of the first multimedia data in the first encoding manner generated by the first network terminal to the second network terminal operating in the second network, and because the second network terminal supports the first encoding manner, one of the first network and the second network is a broadband network and the other is a narrowband network, the first multimedia data can be directly sent without transcoding, which can avoid error codes and time delays caused by transcoding, and thus can improve communication quality between the broadband and narrowband terminals.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a storage medium according to an embodiment of the present disclosure. The storage medium 50 has stored therein at least one program instruction 51, the program instruction 51 being for performing the method as illustrated in fig. 1, 3, 5-8. In one embodiment, the storage medium may be a memory chip in the device, a hard disk, or a removable hard disk or a flash disk, an optical disk, or other readable and writable storage tool, and may also be a server or the like.
As can be seen from the above description, the program instruction stored in the storage medium provided in the present application may be used to enable the first network terminal working in the first network to generate the first multimedia data in the first encoding mode supported by the second network terminal working in the second network, and directly forward the first multimedia data to the second network terminal through the first network server working in the first network and the second network server working in the second network, without transcoding in the middle, which may avoid error code and time delay caused by transcoding, so as to improve communication quality between the broadband and narrowband terminals.
Different from the prior art, the first network terminal working in the first network generates the first multimedia data in the first coding mode supported by the second network terminal working in the second network, and the first multimedia data is directly forwarded to the second network terminal through the first network server working in the first network and the second network server working in the second network, transcoding is not needed in the middle, and error codes and time delay caused by transcoding can be avoided, so that the communication quality between the wide-band and narrow-band terminals can be improved.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (16)

1. A method for communication between wide and narrow networks, comprising:
a first network terminal sends a call message for calling at least one second network terminal to a first network server, wherein the call message comprises first media negotiation information, so that the first network server establishes connection with the second network server based on the call message and informs the second network server of about receiving first multimedia data of a first coding mode which can be supported by the second network terminal;
after the connection is established, generating a multimedia message containing first multimedia data of a first coding mode;
sending the multimedia message to the first network server, so that the first network server forwards the first multimedia data to the at least one second network terminal through the second network server;
the first network terminal and the first network server carry out communication service in a first network, and the second network terminal and the second network server carry out communication service in a second network;
one of the first network and the second network is a broadband network, and the other is a narrowband network.
2. The method of claim 1, wherein the call message is a group call message, further used to call at least one first network terminal;
the call message further comprises second media negotiation information to inform the first network server of the fact that second multimedia data in a second coding mode are about to be received;
the multimedia message further comprises second multimedia data in a second coding mode, so that the first network server sends the second multimedia data to the at least one first network terminal;
wherein the first encoding scheme and the second encoding scheme are different encoding schemes.
3. The method of claim 2, further comprising:
and receiving third multimedia data of the first coding mode sent by the first network server, wherein the third multimedia data are forwarded to the first network server after being received by the second network server by the second network terminal.
4. The method of claim 2, wherein the first multimedia data and the second multimedia data are voice data.
5. The method of claim 4, wherein one of the first media negotiation information and the second media negotiation information is digital voice compressed media negotiation information, and the other is adaptive multi-rate media negotiation information.
6. The method of claim 2, wherein one of the first coding scheme and the second coding scheme is adaptive multi-rate coding scheme and the other is digital speech compression coding scheme.
7. The method of claim 1, wherein the first coding mode is an adaptive multi-rate coding mode or a digital speech compression coding mode.
8. A method for communication between wide and narrow networks, comprising:
a first network server receives a first call message which is sent by a first network terminal and used for calling at least one second network terminal, wherein the first call message comprises first media negotiation information;
responding to the first call message, sending a second call message containing the first media negotiation information to a second network server so as to establish connection with the second network server and inform the second network server of about receiving first multimedia data of a first coding mode which can be supported by the second network terminal;
after the connection is established, receiving a multimedia message which is sent by the first network terminal and contains first multimedia data of a first coding mode;
sending the first multimedia data to the second network server, so that the second network server forwards the first multimedia data to the second network terminal;
the first network terminal and the first network server perform voice communication service in a first network, and the second network terminal and the second network server perform the voice communication service in a second network;
one of the first network and the second network is a broadband network, and the other is a narrowband network.
9. The method of claim 8, wherein the first call message is a group call message, further used to call at least one first network terminal;
the first call message also comprises second media negotiation information to inform the first network server of the fact that the first network server is about to receive first multimedia data in a second coding mode;
the multimedia message further comprises second multimedia data in a second encoding mode, and the method further comprises the following steps:
transmitting the second multimedia data to the at least one first network terminal;
wherein the first encoding scheme and the second encoding scheme are different encoding schemes.
10. The method of claim 9, further comprising:
receiving third multimedia data of a first coding mode sent by the second network server, wherein the third multimedia data is generated by the second network terminal;
and sending the third multimedia data to the first network terminal.
11. The method of claim 9, wherein the first multimedia data and the second multimedia data are voice data.
12. The method of claim 9,
one of the first media negotiation information and the second media negotiation information is digital voice compressed media negotiation information, and the other one is adaptive multi-rate media negotiation information.
13. The method of claim 11,
one of the first encoding method and the second encoding method is an adaptive multi-rate encoding method, and the other is a digital speech compression encoding method.
14. A terminal comprising a processor, a memory, and communication circuitry, the processor being coupled to the memory and the communication circuitry, respectively,
the memory is used for storing program instructions, and the processor is used for executing the program instructions in the memory to control the communication circuit to realize the steps in the communication method between the wide and narrow networks according to any one of claims 1 to 8.
15. A server comprising a processor, a memory, and a communication circuit, the processor being coupled to the memory and the communication circuit, respectively,
the memory is used for storing program instructions, and the processor is used for executing the program instructions in the memory to control the communication circuit to realize the steps in the communication method between the wide and narrow networks according to any one of claims 9-13.
16. A computer-readable storage medium having stored thereon program instructions executable to implement the steps in the method of communication between wide and narrow networks of any one of claims 1-7 or claims 8-13.
CN201911342702.7A 2019-12-23 2019-12-23 Communication method between wide and narrow networks, terminal, server and storage medium Active CN113098829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911342702.7A CN113098829B (en) 2019-12-23 2019-12-23 Communication method between wide and narrow networks, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911342702.7A CN113098829B (en) 2019-12-23 2019-12-23 Communication method between wide and narrow networks, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN113098829A CN113098829A (en) 2021-07-09
CN113098829B true CN113098829B (en) 2023-04-18

Family

ID=76663112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911342702.7A Active CN113098829B (en) 2019-12-23 2019-12-23 Communication method between wide and narrow networks, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN113098829B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107689945A (en) * 2016-08-04 2018-02-13 中兴通讯股份有限公司 Media changer devices control method, device and WMG
CN110089092A (en) * 2016-12-21 2019-08-02 T移动美国公司 Assist the network core of terminal interoperability

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PT2005693E (en) * 2006-03-02 2015-11-25 Ericsson Telefon Ab L M Wideband codec negotiation
US9113030B2 (en) * 2013-07-25 2015-08-18 Verizon Patent And Licensing Inc. Multimedia-enhanced emergency call systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107689945A (en) * 2016-08-04 2018-02-13 中兴通讯股份有限公司 Media changer devices control method, device and WMG
CN110089092A (en) * 2016-12-21 2019-08-02 T移动美国公司 Assist the network core of terminal interoperability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
C1-153763 "Template for the procedures for the MCPTT Server performing the participating role using On-Demand pre-arranged group call as an example";Samsung / Ricky;《3GPP tsg_ct\WG1_mm-cc-sm_ex-CN1》;20151016;全文 *
宽带网络与服务质量(QOS);原玲;《数字通信》;19990924(第03期);全文 *

Also Published As

Publication number Publication date
CN113098829A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
EP1446908B1 (en) Method and apparatus for packet-based media communication
US10448455B2 (en) Radio communications gateway and radio communications terminal
KR100723822B1 (en) Optimization of transmission parameters of a wireless interface based on communication type
WO1999056456A2 (en) Alternating speech and data transmission in digital communications systems
JP2006295931A (en) Apparatus and method for switching voice codec of mobile terminal
EP3573366A1 (en) Data transmission method and related device
JP2001331199A (en) Method and device for voice processing
US9106725B2 (en) Buffer controller correcting packet order for codec conversion
JP2003521132A (en) Method and apparatus for voice packet communication
CN113098829B (en) Communication method between wide and narrow networks, terminal, server and storage medium
US9667756B2 (en) Apparatus and method for transmitting/receiving data in communication system
CN110753021A (en) Data transmission method, device and storage medium
CN101743724B (en) Method and node for the control of a connection in a communication network
JP4361046B2 (en) Video call data encoding method for mobile terminal
CN101296205B (en) Method, equipment and system for implementing transparent transmission in IP network or hybrid network
US9036658B2 (en) Apparatus and method for transmitting/receiving data in communication system
CN113453081A (en) Video transmission method, system, related equipment and storage medium
EP1328122A1 (en) Method and modules for transmitting and receiving compressed data
JP6565319B2 (en) Transfer processing device, transfer processing method, and transfer processing program
CN114448588B (en) Audio transmission method, device, electronic equipment and computer readable storage medium
CN102726096B (en) Coding/decoding negotiation method and equipment
JP2011101246A (en) Communication system, communication equipment, communication method and program
JP2006279949A (en) Network communication device and network communication system employing the same
JP2005072973A (en) Multimedia information relay system
US9065889B2 (en) Telephone relay apparatus, telephone relay method, and program

Legal Events

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