Communication method, communication device, first network element and communication system

文档序号:1025453 发布日期:2020-10-27 浏览:10次 中文

阅读说明:本技术 通信方法、装置、第一网元及通信系统 (Communication method, communication device, first network element and communication system ) 是由 王震宇 于 2019-03-29 设计创作,主要内容包括:本申请实施例提供一种通信方法、装置、第一网元及通信系统,在该方法中,第一网元接收第二网元发送的翻译指示信息,该翻译指示信息用于指示第一网元为接收的语音数据分配翻译资源,以及用于指示所述语音数据的翻译类型和翻译语种,所述翻译语种包括源语种和目标语种。第一网元在接收到该翻译指示信息后,根据该翻译指示信息,使用所述翻译资源对所述语音数据进行翻译,得到翻译数据,并且发送该翻译数据。通过上述方法,避免因持有主叫终端的用户与持有被叫终端的用户所使用的语言不同,导致用户之间无法顺畅交流的问题,可以保障用户之间的通话效果,提高了用户的通话体验。(In the method, the first network element receives translation indication information sent by the second network element, wherein the translation indication information is used for indicating the first network element to allocate translation resources for received voice data and indicating a translation type and a translation language of the voice data, and the translation language comprises a source language and a target language. And after receiving the translation indication information, the first network element translates the voice data by using the translation resource according to the translation indication information to obtain translation data, and sends the translation data. By the method, the problem that the users cannot communicate smoothly due to the fact that the languages used by the user with the calling terminal and the user with the called terminal are different is solved, the communication effect among the users can be guaranteed, and the communication experience of the users is improved.)

1. A method of communication, comprising:

a first network element receives translation indication information sent by a second network element, wherein the translation indication information is used for indicating the first network element to allocate translation resources for received voice data and indicating a translation type and a translation language of the voice data, and the translation language comprises a source language and a target language;

the first network element translates the voice data by using the translation resource according to the translation indication information to obtain translation data;

and the first network element sends the translation data.

2. The method according to claim 1, wherein the translation type and the translation language of the voice data comprise a translation type and a translation language in a first direction, and the first direction is a direction from a source terminal to a target terminal;

the first network element, according to the translation instruction information, using the translation resource to translate the voice data to obtain translation data, including:

the first network element translates the voice data received from the source terminal from the source language in the first direction to the target language in the first direction by using the translation resource according to the translation type in the first direction to obtain the translation data;

the sending, by the first network element, the translation data includes:

and the first network element sends the translation data to the target terminal.

3. The method according to claim 1 or 2, wherein the translation type and the translation language of the voice data comprise a translation type and a translation language in a second direction, and the second direction is a direction from a target terminal to a source terminal;

the first network element, according to the translation instruction information, using the translation resource to translate the voice data to obtain translation data, including:

the first network element translates the voice data received from the target terminal from the source language in the second direction to the target language in the second direction by using the translation resource according to the translation type in the second direction to obtain the translation data;

the sending, by the first network element, the translation data includes:

and the first network element sends the translation data to the source terminal.

4. The method of claim 3, wherein the translation data comprises: voice translation data, the translation indication information being further used for indicating allocation of transmission resources for transmitting the voice translation data to a target terminal;

the sending, by the first network element, the translation data to the target terminal includes:

and the first network element sends the voice translation data to the target terminal through a media channel between the first network element and the target terminal, wherein the media channel is established by the first network element according to the transmission resource.

5. The method of claim 3 or 4, wherein the translation data comprises: text translation data;

the sending, by the first network element, the translation data to the target terminal includes:

and the first network element sends the text translation data to the target terminal through a second network element.

6. The method according to any one of claims 1-5, further comprising:

the first network element receives modification indication information sent by the second network element, wherein the modification indication information is used for changing at least one of the translation type, the translation language and the translation state;

and the first network element changes at least one of the translation type, the translation language and the translation state according to the modification indication information.

7. The method according to any of claims 1-6, wherein the receiving, by the first network element, the translation indication information sent by the second network element comprises:

and the first network element receives the translation indication information sent by the second network element when a target terminal and a source terminal carry out conversation.

8. The method according to any of claims 1-6, wherein the receiving, by the first network element, the translation indication information sent by the second network element comprises:

and the first network element receives the translation indication information sent by the second network element when a session is established between a source terminal and a target terminal.

9. The method according to any of claims 1-8, wherein the source terminal is a calling terminal and the target terminal is a called terminal; alternatively, the first and second electrodes may be,

the source terminal is a called terminal, and the target terminal is a calling terminal.

10. The method according to any of claims 1 to 9, wherein the second network element is configured to receive translation indication information sent by a third network element, and send the translation indication information to the first network element, and the third network element is configured to receive translation indication information sent by a source terminal.

11. A communications apparatus, comprising:

a receiving module, configured to receive translation indication information sent by a second network element, where the translation indication information is used to indicate that translation resources are allocated for received voice data, and is used to indicate a translation type and a translation language of the voice data, and the translation language includes a source language and a target language;

the processing module is used for translating the voice data by using the translation resources according to the translation indication information to obtain translation data;

and the sending module is used for sending the translation data.

12. The apparatus according to claim 11, wherein the translation type and the translation language of the voice data include a translation type and a translation language in a first direction, and the first direction is a source terminal to target terminal direction;

the processing module is specifically configured to:

according to the translation type in the first direction, using the translation resource to translate the voice data received from the source terminal from the source language in the first direction into the target language in the first direction, so as to obtain the translation data;

the sending module is specifically configured to:

and sending the translation data to the target terminal.

13. The apparatus according to claim 11 or 12, wherein the translation type and the translation language of the voice data include a translation type and a translation language in a second direction, and the second direction is a direction from a target terminal to a source terminal;

the processing module is specifically configured to:

according to the translation type in the second direction, using the translation resource to translate the voice data received from the target terminal from the source language in the second direction into the target language in the second direction, so as to obtain the translation data;

the sending module is specifically configured to:

and sending the translation data to the source terminal.

14. The apparatus of claim 13, wherein the translation data comprises: voice translation data, the translation indication information being further used for indicating allocation of transmission resources for transmitting the voice translation data to a target terminal;

the sending module is specifically configured to:

and sending the voice translation data to the target terminal through a media channel between a first network element and the target terminal, wherein the media channel is established by the first network element according to the transmission resource.

15. The apparatus of claim 13 or 14, wherein the translation data comprises: text translation data;

the sending module is specifically configured to:

and sending the text translation data to the target terminal through a second network element.

16. The apparatus of any one of claims 11-15, wherein the receiving module is further configured to:

receiving modification indication information sent by the second network element, wherein the modification indication information is used for changing at least one of the translation type, the translation language and the translation state;

the processing module is further configured to:

and changing at least one of the translation type, the translation language and the translation state according to the modification indication information.

17. The apparatus according to any one of claims 11-16, wherein the receiving module is specifically configured to:

and receiving the translation indication information sent by the second network element when the target terminal and the source terminal carry out conversation.

18. The apparatus according to any one of claims 11-17, wherein the receiving module is specifically configured to:

and receiving the translation indication information sent by the second network element when a session is established between the source terminal and the target terminal.

19. The apparatus according to any of claims 11-18, wherein the source terminal is a calling terminal and the target terminal is a called terminal; alternatively, the first and second electrodes may be,

the source terminal is a called terminal, and the target terminal is a calling terminal.

20. The apparatus of any one of claims 11 to 19, wherein the second network element is configured to receive translation indication information sent by a third network element, and send the translation indication information to the first network element, and the third network element is configured to receive translation indication information sent by the source terminal.

21. A first network element, comprising: a memory, a processor, and a transceiver;

the memory for storing computer-executable program code, the program code comprising instructions that, when executed by the processor, cause the first network element to perform the method of any of claims 1-10;

the transceiver is coupled to the processor, and the processor controls the transceiver to transmit and receive messages.

22. A communication system, characterized in that it comprises the first, second and third network elements of claim 21;

the second network element is in communication connection with the first network element, and the second network element is in communication connection with the third network element;

the third network element is used for accessing the first network element into a session flow of a calling terminal and a called terminal;

and the second network element is used for indicating the first network element to perform translation processing according to the translation instruction of the third network element.

23. A computer program product, characterized in that the computer program product comprises computer program code which, when executed by a computer, causes the computer to perform the method of any of claims 1-10.

24. A computer-readable storage medium having stored thereon computer instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-10.

Technical Field

The present disclosure relates to communications technologies, and in particular, to a communication method, an apparatus, a first network element, and a communication system.

Background

An IP Multimedia Subsystem (IMS) is a core network subsystem supporting IP multimedia services proposed by the third generation partnership project (3 GPP) and is used to provide end-to-end multimedia communication services. Such as voice, video, messaging, data, and Web technology based services, among others. The voice service may be, for example, an end-to-end voice service (for example, the terminal 1 calls the terminal 2), a voice conference service, and the like. The voice service provided by the IMS facilitates the communication between people and accelerates the development of the society.

Currently, in a scenario in which the IMS provides a voice service, there may be a case where languages used by users are different. Taking IMS as an example for providing voice services for the terminal 1 and the terminal 2, if the language used by the user 1 holding the terminal 1 is chinese and the language used by the user 2 holding the terminal 2 is english, when the user 1 holding the terminal 1 makes a call with the user 2 holding the terminal 2, the user 1 and the user 2 cannot communicate smoothly because the languages used by the user 1 and the user 2 are different, and the call effect is poor.

Therefore, in a scenario where the IMS provides a voice service, how to ensure smooth communication between users using different languages is a problem to be solved.

Disclosure of Invention

The embodiment of the application provides a communication method, a communication device, a first network element and a communication system, which can enable users using different languages to communicate smoothly.

In a first aspect, an embodiment of the present application provides a communication method, in which a first network element receives translation indication information sent by a second network element, where the translation indication information is used to indicate that the first network element allocates a translation resource for received voice data, and is used to indicate a translation type and a translation language of the voice data, and the translation language includes a source language and a target language. And after receiving the translation indication information, the first network element translates the voice data by using the translation resource according to the translation indication information to obtain translation data, and sends the translation data.

By the method, the problem that the users cannot communicate smoothly due to the fact that the languages used by the user with the calling terminal and the user with the called terminal are different is solved, the communication effect among the users can be guaranteed, and the communication experience of the users is improved.

In a possible implementation manner, the translation type and the translation language of the voice data include a translation type and a translation language in a first direction, where the first direction is a direction from a source terminal to a target terminal.

When the translation type and the translation language of the voice data include a translation type and a translation language in a first direction, the first network element translates the voice data by using the translation resource according to the translation indication information to obtain translation data, and may translate the voice data received from the source terminal from a source language in the first direction to a target language in the first direction by using the translation resource according to the translation type in the first direction to obtain the translation data. And, after obtaining the translation data, the first network element may send the translation data to the target terminal.

In the method, the first direction represents the direction from the source terminal to the target terminal, and the first network element translates the language spoken by the user with the source terminal into the language used by the user with the target terminal according to the translation type and the translation language in the first direction, so that the user with the target terminal can communicate with the user with the source terminal smoothly, and the communication effect between the user with the target terminal and the user with the source terminal is ensured.

In a possible implementation manner, the translation type and the translation language of the voice data include a translation type and a translation language in a second direction, where the second direction is a direction from a target terminal to a source terminal.

When the translation type and the translation language of the voice data include a translation type and a translation language in a second direction, the first network element may translate the voice data using the translation resource according to the translation instruction information to obtain translation data, may translate the voice data received from the target terminal from the source language in the second direction to the target language in the second direction using the translation resource according to the translation type in the second direction to obtain the translation data, and after obtaining the translation data, the first network element may send the translation data to the source terminal.

In the method, the second direction represents the direction from the target terminal to the source terminal, and the first network element translates the language spoken by the user holding the target terminal into the language used by the user holding the source terminal according to the translation type and the translation language in the second direction, so that the user holding the source terminal can communicate with the user holding the target terminal smoothly, and the communication effect between the user holding the source terminal and the user holding the target terminal is ensured.

In one possible implementation, the translation data includes: and the translation indication information is also used for indicating the allocation of transmission resources for transmitting the voice translation data to the target terminal.

When the translation data includes the voice translation data, the first network element may send the voice translation data to the target terminal through a media channel between the first network element and the target terminal when sending the translation data to the target terminal. Wherein the media channel is established by the first network element according to the transmission resource.

In the method, the first network element allocates transmission resources for the voice translation data according to the translation indication information, so that a media channel between the first network element and the target terminal is established according to the transmission resources, and normal transmission of the voice translation data is ensured.

In one possible implementation, the translation data includes: text translation data.

When the translation data includes text translation data, the first network element may send the text translation data to the target terminal through the second network element when the translation data is sent to the target terminal by the first network element.

In a possible implementation manner, the first network element may further receive modification indication information sent by the second network element, where the modification indication information is used to change at least one of the translation type, the translation language, and the translation state. After receiving the modification indication information, the first network element may change at least one of the translation type, the translation language, and the translation state according to the modification indication information.

In the session process of the calling terminal and the called terminal, the source terminal can modify at least one of the translation type, the translation language and the translation state in the above manner, so that the first network element translates the voice data to be sent according to the modified information. Therefore, by the method, the translation indication information can be flexibly modified in the process of translating the voice data to be sent in real time, so that the translation mode of the voice data to be sent can be adjusted in real time, the application scene of real-time translation is expanded, and the user experience is improved.

In a possible implementation manner, the first network element may receive the translation indication information sent by the second network element when the target terminal and the source terminal perform a session.

In a possible implementation manner, the first network element may further receive the translation indication information sent by the second network element when the source terminal and the target terminal establish a session.

In each possible implementation manner, the source terminal is a calling terminal, and the target terminal is a called terminal; alternatively, the first and second electrodes may be,

the source terminal is a called terminal, and the target terminal is a calling terminal.

In a second aspect, an embodiment of the present application provides a communication apparatus, including:

a receiving module, configured to receive translation indication information sent by a second network element, where the translation indication information is used to indicate that translation resources are allocated for received voice data, and is used to indicate a translation type and a translation language of the voice data, and the translation language includes a source language and a target language.

And the processing module is used for translating the voice data by using the translation resources according to the translation indication information to obtain translation data.

And the sending module is used for sending the translation data.

In a possible implementation manner, the translation type and the translation language of the voice data include a translation type and a translation language in a first direction, where the first direction is a direction from a source terminal to a target terminal.

When the translation type and the translation language of the speech data include a translation type and a translation language in a first direction, the processing module is specifically configured to:

and according to the translation type in the first direction, using the translation resource to translate the voice data received from the source terminal from the source language in the first direction into the target language in the first direction, so as to obtain the translation data.

The sending module is specifically configured to:

and sending the translation data to the target terminal.

In a possible implementation manner, the translation type and the translation language of the voice data include a translation type and a translation language in a second direction, where the second direction is a direction from a target terminal to a source terminal.

When the translation type and the translation language of the voice data include a translation type and a translation language in a second direction, the processing module is specifically configured to:

and according to the translation type in the second direction, using the translation resource to translate the voice data received from the target terminal from the source language in the second direction into the target language in the second direction, so as to obtain the translation data.

The sending module is specifically configured to:

and sending the translation data to the source terminal.

In one possible implementation, the translation data includes: and the translation indication information is also used for indicating the allocation of transmission resources for transmitting the voice translation data to the target terminal.

When the translation data includes speech translation data, the sending module is specifically configured to:

and sending the voice translation data to the target terminal through a media channel between a first network element and the target terminal, wherein the media channel is established by the first network element according to the transmission resource.

In one possible implementation, the translation data includes: text translation data.

When the translation data includes text translation data, the sending module is specifically configured to:

and sending the text translation data to the target terminal through a second network element.

In one possible implementation manner, the receiving module is further configured to:

and receiving modification indication information sent by the second network element, wherein the modification indication information is used for changing at least one of the translation type, the translation language and the translation state.

The processing module is further configured to:

and changing at least one of the translation type, the translation language and the translation state according to the modification indication information.

In a possible implementation manner, the receiving module is specifically configured to:

and receiving the translation indication information sent by the second network element when the target terminal and the source terminal carry out conversation.

In a possible implementation manner, the receiving module is specifically configured to:

and receiving the translation indication information sent by the second network element when the source terminal and the target terminal establish a session.

In each possible implementation manner, the source terminal is a calling terminal, and the target terminal is a called terminal; or, the source terminal is a called terminal, and the target terminal is a calling terminal.

In the foregoing aspects, the second network element may be configured to receive translation indication information sent by a third network element, and send the translation indication information to the first network element, where the third network element is configured to receive translation indication information sent by a source terminal.

The beneficial effects of the communication device provided by the second aspect and each possible implementation manner of the second aspect may refer to the beneficial effects brought by each possible implementation manner of the first aspect and the first aspect, which are not described herein again.

In a third aspect, an embodiment of the present application provides a first network element, which includes a memory, a processor, and a transceiver.

The memory is adapted to store computer executable program code comprising instructions which, when executed by the processor, cause the first network element to perform the method of the first aspect.

The transceiver is coupled to the processor, and the processor controls the transceiver to transmit and receive messages.

In a fourth aspect, an embodiment of the present application provides a communication system, where the communication system includes the first network element, the second network element, and the third network element described in the third aspect.

The second network element is communicatively connected to the first network element, and the second network element is communicatively connected to the third network element.

The third network element is used for accessing the first network element into a session flow of a calling terminal and a called terminal;

and the second network element is used for indicating the first network element to perform translation processing according to the translation instruction of the third network element.

In a fifth aspect, embodiments of the present application are directed to a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the methods provided by the first aspect and the possible embodiments of the first aspect.

In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to perform the method provided by the foregoing first aspect and each possible implementation manner of the first aspect.

In a seventh aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, so as to implement the methods provided in the foregoing first aspect and various possible implementation manners of the first aspect.

In an eighth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a memory, and the processor is configured to read a software program stored in the memory, so as to implement the method provided by the first aspect and each possible implementation manner of the first aspect.

Drawings

Fig. 1 is a schematic diagram of an IMS architecture in the prior art;

fig. 2 is a flowchart illustrating a conventional method for establishing a multimedia session by a terminal;

fig. 3 is a schematic architecture diagram of an IMS according to an embodiment of the present application;

fig. 4 is a flowchart illustrating a communication method according to an embodiment of the present application;

fig. 5 is a flowchart illustrating another communication method according to an embodiment of the present application;

FIG. 6 is a user interface diagram provided in an embodiment of the present application;

FIG. 7 is a diagram of another user interface provided by an embodiment of the present application;

fig. 8 is a flowchart illustrating another communication method according to an embodiment of the present application;

fig. 9 is a flowchart illustrating another communication method according to an embodiment of the present application;

fig. 10A is a schematic view of a translation scenario provided in an embodiment of the present application;

fig. 10B is a schematic view of another translation scenario provided in the embodiment of the present application;

fig. 10C is a schematic diagram of another translation scenario provided in the embodiment of the present application;

fig. 10D is a schematic diagram of another translation scenario provided in this embodiment of the present application;

fig. 11 is a flowchart illustrating another communication method according to an embodiment of the present application;

fig. 12 is a schematic diagram in which S617 and S618 are performed simultaneously;

fig. 13 is an application scenario diagram of a communication method according to an embodiment of the present application;

fig. 14 is a block diagram of a communication device according to an embodiment of the present disclosure;

fig. 15 is a schematic structural diagram of a first network element according to an embodiment of the present application.

Detailed Description

An IP Multimedia Subsystem (IMS) is a core network subsystem supporting IP multimedia services proposed by the third generation partnership project (3 GPP) and is used to provide end-to-end multimedia communication services. Such as voice, video, messaging, data, and Web technology based services, among others. The voice service may be, for example, an end-to-end voice service (for example, the terminal 1 calls the terminal 2), a voice conference service, and the like. The voice service provided by the IMS facilitates the communication between people and accelerates the development of the society.

Fig. 1 is a schematic diagram of an IMS architecture in the prior art. As shown in fig. 1, the IMS in the prior art involves the following main functional entities: a Call Session Control Function (CSCF) network element, a Multimedia Resource Function (MRF) network element, a Telecommunications Application Server (TAS), a charging gateway (BGW), and so on. Wherein the content of the first and second substances,

CSCF network element: is the core part of IMS and is mainly used for controlling and managing multimedia sessions. Since the IMS uses a Session Initiation Protocol (SIP) protocol to control and manage a multimedia session. Thus, in some embodiments, it may also be said that the CSCF network element is used for controlling and managing SIP sessions. The CSCF network element includes three functions: a proxy call session control function (proxy CSCF, PCSCF), an Interrogating Call Session Control Function (ICSCF), and a Serving Call Session Control Function (SCSCF). It should be understood that the three functions listed above may be implemented by the same CSCF network element, or by at least two CSCF network elements. Fig. 1 shows a schematic diagram implemented by different CSCF network elements. In this scenario, the CSCF network element for performing PCSCF may also be referred to as a PCSCF network element, the CSCF network element for performing ICSCF may also be referred to as an ICSCF network element, and the CSCF network element for performing scfcf may also be referred to as an scfcf network element. The following applications all include in IMS: PCSCF network elements, ICSCF network elements, and SCSCF network elements are illustrated as examples.

MRF network element: mainly completes the functions of multi-party calling and multimedia conference. As a possible implementation manner, the MRF network element may include a Multimedia Resource Function Controller (MRFC) and a Multimedia Resource Function Processor (MRFP). The MRFC is configured to complete a control function of the media stream, and the MRFP is configured to complete a bearer function of the media stream.

TAS: the method is mainly used for providing voice basic service and voice supplementary service for the terminal.

BGW: for providing billing functions, etc.

The following describes an example of a conventional procedure for providing a voice service by an IMS. Fig. 2 is a flowchart illustrating a conventional method for establishing a multimedia session by a terminal. As shown in fig. 2, the method comprises the steps of:

s101, the calling terminal sends a request message to the SCSCF network element.

Wherein the request (INVITE) message is used to instruct the calling terminal to request establishment of a multimedia session between the calling terminal and the called terminal.

In specific implementation, the calling terminal may send the INVITE message to the SCSCF network element through the PCSCF network element and the BGW, which is not described again.

S102, the SCSCF network element sends the request message to the called terminal.

S103, the called terminal sends a response message to the SCSCF network element.

Wherein the response (e.g., 200OK) message is used to indicate that the called terminal agrees to establish the multimedia session between the calling terminal and the called terminal.

And S104, the SCSCF network element sends the response message to the calling terminal.

And S105, the calling terminal sends a confirmation message to the SCSCF network element.

Wherein the Acknowledgement (ACK) message is used to indicate that the calling terminal has received the 200OK message.

S106, the SCSCF network element sends the confirmation message to the called terminal.

Thus, the multimedia session establishment between the calling terminal and the called terminal is completed. Then, the calling terminal and the called terminal can transmit voice data through the established multimedia session, so as to realize voice communication.

At present, in a scenario that an IMS provides a voice service, there may be situations where the languages used by users are different, which may cause that users cannot communicate smoothly, and a communication effect is poor. Taking IMS as an example for providing voice services for the terminal 1 and the terminal 2, if the language used by the user 1 holding the terminal 1 is chinese and the language used by the user 2 holding the terminal 2 is english, when the user 1 holding the terminal 1 makes a call with the user 2 holding the terminal 2, the user 1 and the user 2 cannot communicate smoothly because the languages used by the user 1 and the user 2 are different, and the call effect is poor.

It should be understood that the language differences referred to herein may be understood as different languages, or dialects of the same language but belonging to different regions. Still take IMS as an example to provide voice services for the terminal 1 and the terminal 2, that is, take the terminal 1 and the terminal 2 as an example to communicate, and consider that the languages used by the user 1 holding the terminal 1 are chinese and the language used by the user 2 holding the terminal 2 is english, that the languages used by the user 1 and the user 2 are different; alternatively, when the language used by the user 1 having the terminal 1 is the chinese sikawa language and the language used by the user 2 having the terminal 2 is the chinese shanxi language, the language used by the user 1 and the user 2 is considered to be different.

In view of the above-mentioned problem of different languages used by users, the embodiments of the present application provide a new IMS architecture. Fig. 3 is a schematic diagram of an IMS architecture provided in an embodiment of the present application, and as shown in fig. 3, compared with the IMS architecture in the prior art shown in fig. 1, the new IMS architecture introduces a real-time translation function to the IMS by adding the first network element and the second network element without affecting the existing voice service processing flow. Wherein the content of the first and second substances,

the first network element is used for translating the voice data in real time and outputting the translation data of the voice data.

And the second network element is used for processing the real-time translation related signaling and indicating the first network element to carry out translation processing on the voice data.

It should be understood that the first network element and the second network element may be logical entities, and the first network element and the second network element may be physically deployed in a unified manner, that is, one network element is used to implement the functions of the first network element and the second network element; or may be co-deployed with an existing logical network element (e.g., TAS, MRPF, etc.), which is not limited in this embodiment of the present application. The first network element and the second network element may interact with each other through a message specified by a protocol, or may interact with each other through a message agreed between the first network element and the second network element, for example, taking an example that IMS uses an SIP protocol to control and manage a multimedia session, the first network element and the second network element may interact with each other through an SIP message, or may interact with each other through a real-time communication (RTC) message.

Therefore, the IMS can translate the voice data in real time based on the requirements of the call users, and the call effect among the users is guaranteed. It should be noted that the method provided in the embodiment of the present application includes, but is not limited to, the following application scenarios: end-to-end voice services, voice conference services, etc.

The technical solutions of the embodiments of the present application will be described in detail with reference to specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.

Fig. 4 is a flowchart illustrating a communication method according to an embodiment of the present application. The present embodiment relates to a process in which a first network element provides translation data to a source terminal or target. In this embodiment, the source terminal refers to a terminal that initiates a translation instruction, and the target terminal refers to a terminal that establishes a multimedia session with the source terminal. It should be understood that the source terminal may be a calling terminal and the target terminal may be a called terminal, or the source terminal may be a called terminal and the target terminal may be a calling terminal. As shown in fig. 4, the method includes:

s201, the first network element receives the translation indication information sent by the second network element.

Optionally, referring to the architecture shown in fig. 3, the source terminal may send the translation instruction information to the third network element (SCSCF), the third network element sends the translation instruction information to the second network element, and then the second network element sends the translation instruction information to the first network element. The specific interaction process will be described in detail in the flow shown in fig. 5 below.

The translation indication is used for indicating the first network element to allocate translation resources for the received voice data, and is used for indicating the translation type and the translation language of the voice data, wherein the translation language comprises a source language and a target language.

It should be noted that the voice data received by the first network element may refer to the voice data to be sent to the target terminal, which is received by the first network element from the source terminal, or may refer to the voice data to be sent to the source terminal, which is received by the first network element from the target terminal. For convenience of description, in the following embodiments, the voice data received by the first network element is also referred to as voice data to be transmitted.

Alternatively, the translation types described above may be as shown in table 1 below:

TABLE 1

Serial number Translation types
1 Text translation
2 Speech translation
3 Speech translation and text translation

Optionally, the translated languages include a source language and a target language, and the translated languages are from the source language to the languages. The translated languages may be as shown in table 2 below:

TABLE 2

Serial number Source language species Target language
1 Language 1 Language 2
2 Language 2 Language 3
3 Language 3 Language 1
…… ……
N Language x, dialect y Language m

Optionally, the translation instruction information sent by the source terminal to the first network element may indicate a translation type and a translation language in a direction from the source terminal to the target terminal (referred to as a first direction in this embodiment), or may indicate a translation type and a translation language in a direction from the target terminal to the source terminal (referred to as a second direction in this embodiment), or may indicate a translation type and a translation language in the first direction and the second direction at the same time.

For example, assuming that the source terminal communicates based on the SIP protocol of the IMS, an exemplary translation indication information of the source terminal may be an INVITE message, which is as follows:

INVITE # INDICATION

"snd: < cn, en Chinese speech to English speech >", "rcv: < en, cn English speech to Chinese speech >; < en, t _ cn english speech to chinese text >; < en, t _ en english speech to english text > ".

RESP # response

NLP:“snd:<cn,en>”,“rcv:<en,cn>;<en,t_cn>”;enabled

The INVITE message is used to indicate: in the first direction, the translation type is speech translation, the source language is Chinese, and the target language is English. In the second direction, the translation types are speech translation and text translation, the source language of the speech translation is English, the target language is Chinese, and the text translation includes two types, the first type is translated from English speech to Chinese text (the source language is English and the target language is English), and the second type is translated from English speech to English text (both the source language and the target language are English).

In the examples shown in table 1 and table 2, when the translation type is text translation, the source language is language 1, and the target language is language 2, the translation data obtained by translating the voice data by the first network element may be text translation data, and the voice data is translated from language 1 to language 2 by the first network element.

S202, the first network element translates the voice data by using the translation resources according to the translation indication information to obtain translation data.

S203, the first network element sends the translation data.

It should be understood that, if the source terminal is a called terminal, the voice data to be sent may be voice data that is sent to the calling terminal by the called terminal and has not been received by the calling terminal, or may also be voice data that is sent to the called terminal by the calling terminal and has not been received by the called terminal. If the source terminal is the calling terminal, the voice data to be sent may be the voice data that is sent to the called terminal by the calling terminal and has not been received by the called terminal, or the voice data that is sent to the calling terminal by the called terminal and has not been received by the calling terminal.

Optionally, if the translation indication information indicates the translation type and the translation language in the first direction, after obtaining the voice data to be sent to the target terminal by the source terminal, the first network element may use the translation resource to translate the voice data to be sent to the target terminal from the source language in the first direction to the target language in the first direction according to the translation type in the first direction, so as to obtain the translation data. Correspondingly, when the first network element sends the translation data, the translation data is sent to the target terminal.

If the translation indication information indicates the translation type and the translation language in the second direction, the first network element may translate the voice data to be sent to the source terminal from the source language in the second direction to the target language in the second direction by using the translation resource according to the translation type in the second direction after acquiring the voice data to be sent to the source terminal by the target terminal, so as to obtain the translation data. Correspondingly, when sending the translation data, the first network element sends the translation data to the source terminal.

If the translation indication information indicates the translation types and the translation languages in the first direction and the second direction at the same time, the first network element performs translation and sends translation data according to the two modes after acquiring the voice data to be sent to the target terminal by the source terminal and the voice data to be sent to the source terminal by the target terminal, which is not described herein again.

In this embodiment, after acquiring the voice data to be sent to the called terminal by the calling terminal, the first network element may translate the voice data to be sent to the called terminal by the calling terminal according to the translation type and the translation language indicated by the translation indication information, so that the language to which the translated data obtained by translation belongs is the same as the language used by the user having the called terminal. Therefore, after the first network element sends the translation data to the called terminal, the called terminal can acquire the translation data which is the same as the language used by the called terminal.

In this embodiment, after acquiring the voice data to be sent to the calling terminal by the called terminal, the first network element may translate the voice data to be sent to the calling terminal by the called terminal according to the translation type and the translation language indicated by the translation indication information, so that a language to which the translated data obtained by translation belongs is the same as a language used by a user having the calling terminal. Therefore, after the first network element sends the translation data to the calling terminal, the calling terminal can acquire the translation data which is the same as the language used by the calling terminal.

By the method, the problem that the users cannot communicate smoothly due to the fact that the languages used by the user with the calling terminal and the user with the called terminal are different can be solved, the communication effect among the users can be guaranteed, and the communication experience of the users is improved.

The embodiment does not limit the manner in which the first network element acquires the voice data to be sent. For example, the first network element may be connected in series to a media stream for transmitting voice data between the calling terminal and the called terminal, and obtain the voice data to be sent to the target terminal. Or, the first network element may obtain the voice data to be sent to the target terminal through other network elements serially connected to the media stream for transmitting the voice data between the calling terminal and the called terminal. The other network elements referred to herein may be, for example, pcsc f network elements or BGW network elements, etc.

As a possible implementation, with continued reference to the architecture shown in fig. 3, a third network element is also involved in the architecture of the IMS. The third network element is used for accessing the first network element into a session flow of the calling terminal and the called terminal, so that the first network element can provide a real-time translation service. The third network element referred to herein may be any network element in the IMS that has a serving call session control function, such as an SCSCF network element.

In this implementation, before translating the voice data to be transmitted, the first network element may receive translation indication information sent by the source terminal in the following manner, specifically:

fig. 5 is a flowchart illustrating another communication method according to an embodiment of the present application. As shown in fig. 5, the method includes:

s301, the source terminal sends a translation starting message to the third network element.

In this embodiment, when the calling terminal and the called terminal perform a voice call, if the language used by the user having the calling terminal is different from the language used by the user having the called terminal, the source terminal may send the translation start message to the third network element. The translation starting message comprises translation indicating information and is used for requesting to start translation of voice data to be sent and sending the translation indicating information. Accordingly, the third network element receives the translation initiation message. It should be understood that the source terminal referred to herein may be a calling terminal or a called terminal. It should be understood that the voice data to be sent here may refer to the voice data to be sent by the source terminal to the target terminal, and may also refer to the voice data to be sent by the target terminal to the source terminal, and after the voice data is transmitted to the first network element, the voice data is all the voice data received by the first network element.

The source terminal may send a translation initiation message to the third network element when a session is established between the calling terminal and the called terminal. That is, the source terminal may send a translation initiation message to the third network element when the calling terminal calls the called terminal. Alternatively, the source terminal may send the translation start message to the third network element when the calling terminal and the called terminal are in a session. That is, the source terminal may send the translation start message to the third network element when the calling terminal and the called terminal are in a call.

As a possible implementation manner, the source terminal may send the translation starting message to the third network element when the user clicks a preset key on the source terminal.

Taking the source terminal as the calling terminal as an example, the preset key may be set on the call interface of the calling terminal, and when the user holding the calling terminal uses the calling terminal to call the called terminal, the user may trigger the third network element to send the translation start message by clicking the preset key set on the call interface of the calling terminal.

Fig. 6 is a user interface diagram provided in an embodiment of the present application, and as shown in fig. 6, the preset key may be a key added to the call interface. Therefore, when a user with the calling terminal uses the calling terminal to call the called terminal, the user can trigger the third network element to send the translation starting message by clicking the preset key arranged on the calling interface of the calling terminal. The preset key may be at least one key, and each key corresponds to one preset translation indication information, or each key is used for representing one item in the translation indication information. Fig. 6 is a schematic diagram illustrating a preset key as an example, and the composition of the preset key is not limited in the embodiment of the present application. It should be understood that fig. 6 is only an illustration, and the embodiment of the present application does not limit the position of the preset key on the call interface and the icon display manner of the preset key.

Fig. 7 is another user interface diagram provided in the embodiment of the present application, and as shown in fig. 7, the preset key may also be a number key on a call interface. Therefore, when a user holding the calling terminal calls the called terminal by using the calling terminal, the user can add the preset number before the number of the called terminal by clicking the preset number key, so that when the user calls the called terminal, the translation starting message is triggered to be sent to the third network element by the preset number. The preset number key can be one number key or a combination of a plurality of number keys. Taking the preset numeric key as one numeric key as an example, the numeric key may be a fixed numeric key (e.g., the numeric key 9) corresponding to one preset translation indication information, or the number of preset numeric keys is multiple, and each numeric key corresponds to one translation indication information. Taking the preset number key as the combination of a plurality of number keys as an example, the number key combination may correspond to a translation instruction information. Fig. 7 is a schematic diagram illustrating an example of a preset number as a plurality of number key combinations, and the preset number may be, for example, "× 80 × 12 #". It should be understood that fig. 7 is only an illustration, and the composition of the preset key is not limited in the embodiment of the present application. In this way, the action of sending the translation initiation message to the third network element by the source terminal can be realized without changing the structure of the existing terminal.

As another possible implementation manner, the calling terminal may also send the translation starting message to the third network element by triggering a preset key in a process of communicating with the called terminal. At this time, the preset key may be a newly added key on the call interface, or may be a preset number key on a numeric keypad on the call interface. The specific implementation manner is similar to the implementation manner of the preset keys on the call interface, and is not listed one by one.

Taking the source terminal as the called terminal as an example, the preset key may be set on an interface of the called terminal for answering the incoming call, and the user holding the called terminal may trigger sending the translation starting message to the third network element by clicking the preset key set on the interface of the called terminal for answering the incoming call when the calling terminal calls the called terminal. At this time, the preset key may be a newly added key on the interface for receiving incoming calls, and the specific implementation manner is similar to that of the preset key on the aforementioned calling interface and is not listed one by one.

Or, the called terminal may send the translation starting message to the third network element by triggering a preset key in the process of communicating with the calling terminal. At this time, the preset key may be a newly added key on the call interface, or may be a preset number key on a numeric keypad on the call interface. The specific implementation manner is similar to the implementation manner of the preset keys on the call interface, and is not listed one by one.

In the above example, the preset key is taken as an example of a virtual key (also referred to as a touch key) on the calling terminal or the called terminal, and how the source terminal sends the translation starting message to the third network element when the user clicks the preset key on the source terminal. It should be understood that the preset keys may also be physical keys (also referred to as physical keys) on the source terminal, and the specific implementation manner is similar to that of the preset keys on the aforementioned call interface, and is not listed again.

S302, the third network element sends an initial request message to the second network element.

The initial request message includes translation indication information for requesting translation of voice data to be transmitted.

Accordingly, the second network element receives the initial request message.

The third network element may send the received translation starting message as the initial request message to the second network element, or the third network element may generate the initial request message according to the translation starting message.

S303, the second network element sends the translation indication information to the first network element.

The translation indication information is used for requesting the first network element to allocate a translation resource for translating the voice data to be sent, and is used for indicating the translation type and the translation language of the voice data.

Accordingly, the first network element receives the translation indication information and allocates a translation resource for translating the voice data to be transmitted. The translation resource referred to herein may be understood as a memory, a CPU, a network resource, and the like, which are required for the first network element to translate the voice data.

As a possible implementation manner, after the translation resources are allocated, the first network element may send a response message to the second network element, where the response message may be used to notify that the first network element has completed allocating the translation resources.

If the translation indication information indicates that the first network element is required to translate the voice data to be transmitted into the voice translation data, the translation indication information sent by the second network element to the first network element may also be used to indicate allocation of transmission resources for transmitting the voice translation data to the target terminal and/or the source terminal. The transmission resource herein includes an access IP and/or a port resource, etc. Accordingly, after the transmission resource is allocated, the response message sent by the first network element to the second network element may carry the transmission resource. Or, the first network element notifies the transmission resource to the second network element through other messages.

In this implementation, the second network element may concatenate the first network element to a media stream for transmitting voice data between the calling terminal and the called terminal based on the transmission resource fed back by the first network element. That is, the second network element may establish a media channel between the first network element and the target terminal and/or the source terminal according to the transmission resource. In this way, the first network element may subsequently send the speech translation data to the target terminal and/or the source terminal via the media channel.

If the translation indication information indicates that the first network element needs to translate the voice data to be transmitted into text translation data, the subsequent first network element can transmit the obtained text translation data to the target terminal and/or the source terminal through the second network element after translating the voice data to be transmitted. For example, the first network element sends the text translation data to the second network element, and the second network element transfers the text translation data to the target terminal and/or the source terminal through, for example, a signaling transmission path.

If the translation indication information indicates that the first network element needs to translate the voice data to be transmitted into the voice translation data and the text translation data, the translation indication information sent by the second network element to the first network element may also be used to indicate allocation of transmission resources for transmitting the voice translation data to the target terminal. The transmission resource herein includes an access IP and/or a port resource, etc. Accordingly, after the transmission resource is allocated, the response message sent by the first network element to the second network element may carry the transmission resource. Or, the first network element notifies the transmission resource to the second network element through other messages.

In this implementation, the second network element may concatenate the first network element to a media stream for transmitting voice data between the calling terminal and the called terminal based on the transmission resource fed back by the first network element. That is, the second network element may establish a media channel between the first network element and the target terminal and/or the source terminal according to the transmission resource. In this way, the first network element may subsequently send the voice translation data to the target terminal through the media channel, and send the text translation data to the target terminal and/or the source terminal through the second network element.

By the above mode, the first network element can acquire the translation type, the translation language, the translation resources and the like, so that the first network element can realize the function of translating the voice data to be sent in real time, the problem that the users cannot communicate smoothly due to different languages used by the user with the calling terminal and the user with the called terminal is avoided, the communication effect among the users can be guaranteed, and the communication experience of the users is improved.

As a possible implementation manner, in the process of translating the voice data to be sent in real time by the first network element, the translation type, the translation language, and the like may also be modified in the following manner, specifically:

fig. 8 is a flowchart illustrating another communication method according to an embodiment of the present application. As shown in fig. 8, the method includes:

s401, the source terminal sends modification indication information to a third network element.

Wherein, the modification indication information is used for changing at least one of the translation type, the translation language and the translation state.

The translation state may be real-time translation or translation stopping.

S402, the third network element sends modification indication information to the second network element.

S403, the second network element sends modification indication information to the first network element.

S404, the first network element changes at least one of the translation type, the translation language and the translation state according to the modification indication information.

In an optional manner, after the first network element receives the translation indication information sent by the source terminal, the translation state of the source terminal is real-time translation. And when the translation state of the source terminal is real-time translation, the first network element translates the acquired voice data according to the method. And when the first network element receives modification indication information for changing the translation state into the translation stopping state, the first network element stops translating the acquired voice data.

In an optional manner, when the translation state of the source terminal is translation stopping, the source terminal may send modification indication information for changing the translation state into real-time translation to the first network element, and the first network element continues to translate the acquired voice data according to the modification indication information.

In an alternative, the first network element may also change the translation type, for example, from speech translation to speech translation and text translation.

In an alternative, the first network element may further change the translation language, for example, change the target language from english to german.

It should be understood that the above alternatives can be implemented individually or in combination, and the embodiments of the present application are not limited thereto.

In this embodiment, in the session process between the calling terminal and the called terminal, the source terminal may modify at least one of the translation type, the translation language, and the translation state in the manner described above, so that the first network element translates the voice data to be sent according to the changed information. Therefore, by the method, the translation indication information can be flexibly modified in the process of translating the voice data to be sent in real time, so that the translation mode of the voice data to be sent can be adjusted in real time, the application scene of real-time translation is expanded, and the user experience is improved.

For example, taking the translation type as an example, assuming that the current first network element translates the voice data to be sent to the target terminal by using text translation, if the source terminal needs to translate the voice data to be sent to the target terminal by using voice translation, the source terminal may request the first network element to modify the translation type through the flow shown in fig. 8, so as to modify the translation type from text translation to voice translation.

For another example, taking the translated language as an example, assuming that the current first network element translates the voice data to be sent to the target terminal into chinese, if the source terminal needs to translate the voice data to be sent to the target terminal into english, the source terminal may request the first network element to modify the target language in the translated language through the flow shown in fig. 8, so as to modify the target language in the translated language from chinese to english.

For another example, taking the translation state as an example, assuming that the current first network element is translating the voice data to be sent to the target terminal, that is, the translation state is real-time translation, if the source terminal needs to stop the translation operation of the voice data to be sent to the target terminal, the source terminal may request the first network element to modify the translation state through the flow shown in fig. 8, so as to modify the translation state from real-time translation to stop translation.

It should be understood that, although the above examples all describe and exemplify how to change the translation indication information by taking one of the translation type, the translation language, and the translation state as an example, those skilled in the art may understand that the source terminal may also change multiple items in the translation indication information through the above processes, and details of which are not described again.

The embodiment of the present application does not limit how the source terminal triggers the modification indication information. As a possible implementation manner, the source terminal may send the modification instruction information to the third network element when the user clicks a preset key on the source terminal.

Taking the source terminal as the calling terminal as an example, the preset key may be set on the call interface of the calling terminal, and the user holding the calling terminal may trigger to send the modification indication message to the third network element through the preset key in the process of using the calling terminal to make a call with the called terminal. At this time, the preset key may be a newly added key on the call interface, or may be a preset number key on a numeric keypad on the call interface. The specific implementation manner is similar to the implementation manner of sending the translation start message described above, and details are not described here again. The preset key can be the same as the changed translation type, the translation language or the translation state.

Taking the source terminal as the called terminal as an example, the preset key may be set on the call interface of the called terminal, and the called terminal may trigger to send the modification indication information to the third network element through the preset key in the process of making a call with the calling terminal. At this time, the preset key may be a newly added key on the call interface, or may be a preset number key on a numeric keypad on the call interface. The specific implementation manner is similar to the implementation manner of sending the translation start message described above, and details are not described here again.

In the above example, the preset key is taken as an example of a virtual key (also referred to as a touch key) on the calling terminal or the called terminal, and how the source terminal sends the modification instruction message to the third network element when the user clicks the preset key on the source terminal is performed. It should be understood that the preset keys may also be physical keys (also referred to as physical keys) on the source terminal, and the specific implementation manner is similar to that of the preset keys on the aforementioned call interface, and is not listed again.

The following takes IMS using SIP protocol to control and manage multimedia sessions as an example, and illustrates a communication method provided in the embodiment of the present application by using a specific example. In this example, the third network element is an SCSCF network element.

Example one, this embodiment relates to a process of how to request the first network element to perform real-time translation on voice data to be sent when a multimedia session is established between a calling terminal and a called terminal. Fig. 9 is a flowchart illustrating another communication method according to an embodiment of the present application. In this example, a preset key is set on a call interface of a source terminal, the source terminal is a calling terminal, and a target terminal is a called terminal, that is, the calling terminal activates real-time translation. As shown in fig. 9, the method includes:

s501, the calling terminal sends an INVITE message to the SCSCF network element.

In this embodiment, when the calling terminal calls the called terminal, the calling terminal may be triggered to send an INVITE message to the SCSCF network element through a preset key.

The INVITE message is used for indicating the calling terminal to request to establish the multimedia session between the calling terminal and the called terminal. In this embodiment, the INVITE message may be the aforementioned translation initiation message, that is, the INVITE message is also used to request initiation of translation of voice data to be transmitted, and indicate a translation type and a translation language of the voice data.

As a possible implementation manner, the INVITE message carries a new SIP header field, where the SIP header field is used to request to start translation of the voice data to be sent, and to indicate a translation type and a translation language of the voice data. As an example, the SIP header field may be as follows:

INVITE # first network element service request

The first network element is ' snd: < cn, en Chinese speech to English speech > ', ' rcv: < en, cn English speech to Chinese speech >; < en, t _ cn english speech to chinese text >; < en, t _ en english speech to english text > ".

RESP # response

NLP:“snd:<cn,en>”,“rcv:<en,cn>;<en,t_cn>”;enabled

Wherein, the INVITE message is used to indicate: in the first direction, the translation type is speech translation, the source language is Chinese, and the target language is English. In the second direction, the translation types are speech translation and text translation, the source language of the speech translation is English, the target language is Chinese, and the text translation includes two types, the first type is translated from English speech to Chinese text (the source language is English and the target language is English), and the second type is translated from English speech to English text (both the source language and the target language are English).

S502, the SCSCF network element sends an INVITE message to the second network element.

After receiving the INVITE message sent by the calling terminal, the SCSCF network element identifies, according to a new SIP header field carried in the INVITE message, that the INVITE message is used to request to start translation of voice data to be sent, and indicates a translation type and a translation language of the voice data. And then, triggering the SCSCF network element to send an INVITE message to the second network element. It should be understood that the INVITE message sent by the SCSCF network element to the second network element may be the same as the INVITE message sent by the calling terminal to the SCSCF network element, or may be an INVITE message including a different header field.

In this embodiment, the INVITE message sent by the SCSCF network element to the second network element may be the aforementioned initial request message, which is used to request to translate the voice data to be sent. It should be understood that, in the INVITE message sent by the SCSCF network element to the second network element, the translation type and the translation language of the voice data are carried.

S503, the second network element sends the translation indication information to the first network element.

The translation indication information is used for indicating the first network element to allocate translation resources for translating the voice data to be sent and indicating allocation of transmission resources for transmitting the voice translation data.

It should be understood that the translation indication information may carry a translation type and a translation language of the voice data.

S504, the first network element sends a response message to the second network element.

Wherein the response message may be used to inform the first network element that the allocation of translation resources has been completed. The response message may carry the transmission resource, for example, the address port allocated by the first network element.

And S505, the second network element sends an INVITE message to the SCSCF network element.

The second network element can modify the SDP in the INVITE message sent by the SCSCF network element to the second network element, according to the transmission resource fed back by the first network element, so as to serially connect the first network element to the media stream for transmitting the voice data between the calling terminal and the called terminal. That is, the second network element may establish a media channel between the first network element and the called terminal according to the transmission resource. The modified INVITE message may carry the address port allocated by the first network element.

S506, the SCSCF network element sends an INVITE message to the called terminal.

In this embodiment, the SCSCF network element sends the received INVITE message sent by the second network element to the called terminal. That is, the INVITE message is an INVITE message in which the SDP is modified.

And after the called terminal receives the INVITE message, according to the address port distributed by the first network element carried in the INVITE message, the address port is used as a far-end address port, so that the first network element is connected to a media stream for transmitting voice data between the calling terminal and the called terminal in series.

And S507, the called terminal sends a 200OK message to the SCSCF network element.

Wherein the 200OK message is used to indicate that the called terminal agrees to establish the multimedia session between the calling terminal and the called terminal.

The called terminal carries the address port of the called terminal side media in the 200OK message.

S508, the SCSCF network element sends a 200OK message to the second network element.

Wherein the 200OK message is used to indicate that the called terminal agrees to establish the multimedia session between the calling terminal and the called terminal.

Optionally, the SCSCF sends the 200OK message sent by the called terminal to the second network element, the second network element sends the terminal information carried in the 200OK message to the first network element, and the first network element establishes a media channel with the called terminal according to a message terminal instruction sent by the second network element.

S509, the second network element sends a 200OK message to the SCSCF network element.

Wherein the 200OK message is used to indicate that the called terminal agrees to establish the multimedia session between the calling terminal and the called terminal.

The 200OK message carries the address port of the calling side of the first network element.

S510, the SCSCF network element forwards the 200OK message to the calling terminal.

Wherein the 200OK message is used to indicate that the called terminal agrees to establish the multimedia session between the calling terminal and the called terminal.

The SCSCF carries the address port allocated by the first network element in the 200OK message, and the calling terminal can use the address port as a far-end address port, so that the first network element is connected in series to a media stream for transmitting voice data between the calling terminal and the called terminal.

S511, the calling terminal sends an ACK message to the SCSCF network element.

Wherein, the ACK message is used to indicate that the calling terminal has received the 200OK message.

S512, the SCSCF network element sends an ACK message to the second network element.

Wherein, the ACK message is used to indicate that the calling terminal has received the 200OK message.

And S513, the second network element sends an ACK message to the SCSCF network element.

Wherein, the ACK message is used to indicate that the calling terminal has received the 200OK message.

And S514, the SCSCF network element sends an ACK message to the called terminal.

Wherein, the ACK message is used to indicate that the calling terminal has received the 200OK message.

It should be noted that, in the above steps S501 to S514, taking INVITE/200OK negotiation as an example, to describe how to request the first network element to perform real-time translation on the voice data to be sent when a multimedia session is established between the calling terminal and the called terminal. However, the implementation of the present application is not limited thereto, and in the specific implementation process, a real-time translation process during the multimedia session establishment may also be implemented through other SDP negotiation flows. For example, a real-time translation process at the multimedia session setup may also be implemented through 183/PRACK negotiation process, 200OK/ACK negotiation process, and the like.

And then, the establishment of the multimedia session between the calling terminal and the called terminal is completed, and the first network element is connected to the media stream for transmitting the voice data between the calling terminal and the called terminal in series.

It should be understood that, in the above process of establishing a multimedia session, the SCSCF network element and the called terminal may interact with each other through the PCSCF network element to which the called terminal belongs and the BGW network element, and the SCSCF network element and the calling terminal may interact with each other through the PCSCF network element to which the calling terminal belongs and the BGW network element.

After the multimedia session between the calling terminal and the called terminal is successfully established, the first network element can be connected in series to a media stream for transmitting voice data between the calling terminal and the called terminal, so as to obtain the voice data to be transmitted by the calling terminal and the voice data to be transmitted by the called terminal to the calling terminal. Therefore, the first network element can translate the voice data to be sent in real time according to the translation type and the translation language of the voice data indicated by the translation indication information. If the translated data obtained by translation comprises voice translated data, the first network element can send the voice translated data to the called terminal through a media channel between the first network element and the called terminal, which is established by the second network element. If the translated data obtained by translation includes text translation data, the first network element may send the text translation data to the second network element, and the second network element transmits the text translation data to the called terminal through, for example, a signaling transmission path. For example, the second network element may send the text translation data to the called terminal via an INFO message. Illustratively, the INFO message may carry a new SIP packet for conveying the text translation data. Taking the example of translating from english to chinese, the format of the SIP packet can be as follows:

INFO # NLP text translation message body

Info-Package:nlp

Content-type:application/nlp

Content-Disposition:Info-Package

Content-length:25

en:<How are you.>

cn: < hello. < CHEM > A

Through the above manner, the calling terminal may request the first network element to translate the voice data to be sent when calling the called terminal, that is, when the calling terminal establishes a session with the called terminal. Therefore, the first network element can provide real-time translation service for the called terminal in the process of the conversation between the calling terminal and the called terminal.

It should be understood that the above example shown in fig. 9 may also be applied to a scenario where the source terminal is a called terminal and the target terminal is a calling terminal. In this scenario, the first network element may provide a real-time translation service for the calling terminal and the called terminal in a process of a call between the calling terminal and the called terminal.

Fig. 10A is a schematic view of a translation scenario provided in the embodiment of the present application. Fig. 10B is a schematic view of another translation scenario provided in the embodiment of the present application. Fig. 10C is a schematic diagram of another translation scenario provided in the embodiment of the present application. Fig. 10D is a schematic view of another translation scenario provided in the embodiment of the present application. As shown in fig. 10A, taking the language used by the user having the calling terminal as chinese and the language used by the user having the called terminal as german as an example, in the manner shown in fig. 9, the first network element can convert the chinese voice data sent by the calling terminal into german voice data and send the german voice data to the called terminal, and convert the german voice data sent by the called terminal into chinese voice data and send the chinese voice data to the calling terminal. Alternatively, as shown in fig. 10B, the first network element may convert the chinese voice data sent by the calling terminal into german text data and send the german text data to the called terminal, but does not perform translation processing on the german voice data sent by the called terminal. Alternatively, as shown in fig. 10C, the first network element may convert german voice data sent by the called terminal into chinese voice data and send the chinese voice data to the calling terminal, but does not perform translation processing on the chinese voice data sent by the calling terminal. As shown in fig. 10D, the first network element may convert the chinese voice data sent by the calling terminal into text data in german and send the text data to the called terminal through the second network element, and convert the german voice data sent by the called terminal into text data in chinese and send the text data to the calling terminal through the second network element.

Due to the limited space, fig. 10A to 10D only list a part of the translation scenarios applicable to the first network element. It should be understood that the methods provided by the embodiments of the present application include, but are not limited to, these scenarios, and translation scenarios that can be combined by any translation type and language to which translation data belongs are all applicable to the methods provided by the embodiments of the present application, and are not listed here.

Example two, this embodiment relates to a process how to request the first network element to perform real-time translation on voice data to be sent after the multimedia session establishment between the calling terminal and the called terminal is completed. Namely, how to request the first network element to perform real-time translation on the voice data to be treated during the conversation between the calling terminal and the called terminal. Fig. 11 is a flowchart illustrating another communication method according to an embodiment of the present application. In the example, a source terminal sends a translation starting message to an SCSCF network element through a preset digital key trigger, where the source terminal is a calling terminal and a target terminal is a called terminal, that is, a voice call is normally established between the calling terminal and the called terminal, and the calling terminal starts real-time translation. As shown in fig. 11, the method includes:

s601, the calling terminal sends an INFO message to the SCSCF network element.

In this embodiment, in the process of a call between a calling terminal and a called terminal, the calling terminal may be triggered to send an INFO message to an SCSCF network element through a preset key. The preset keys may be, for example: a preset combination of numeric keys (e.g.. 80.. 12 #). The INFO message may be said to initiate translation message, i.e. the INFO message is used to request initiation of translation of the voice data to be transmitted, and to indicate the type of translation and the language of translation of the voice data.

As a possible implementation manner, the INFO message carries a new SIP header field, where the SIP header field is used to request to start translation of the voice data to be sent, and to indicate the translation type and the translation language of the voice data. As an example, the SIP header field may be as follows:

INFO # first network element service request

A first network element "snd: < cn, en >", "rcv: < en, cn >; < en, t _ cn english speech to chinese text >; < en, t _ en english speech to english text > ".

RESP # response

Optionally, in another implementation manner, the step S601 may be further replaced by the following steps:

s601a, the calling terminal sends 2833 message to the fourth network element.

S601b, the fourth network element sends an INFO message to the SCSCF network element.

In this example, during the process of the call between the calling terminal and the called terminal, the calling terminal may be triggered to send 2833 a message to the fourth network element through a preset key. When the 2833 message is sent to the scfcf network element via the fourth network element, the 2833 message may be converted into an INFO message as described above. The fourth network element may be, for example, a pcsc f network element or a BGW network element to which the calling terminal belongs.

And S602, the SCSCF network element sends an INVITE message to the second network element.

In this embodiment, the SCSCF network element identifies, through the key information carried in the INFO message sent by the calling terminal, that the INFO message is used to request to start translation of the voice data to be sent, and indicates the translation type and the translation language of the voice data. And then, triggering the SCSCF network element to send an INVITE message to the second network element.

The INVITE message sent by the SCSCF network element to the second network element may be the aforementioned initial request message, which is used to request to translate the voice data to be sent. It should be understood that, in the INVITE message sent by the SCSCF network element to the second network element, the translation type and the translation language of the voice data are carried.

S603, the SCSCF network element sends an INFO OK message to the calling terminal.

Wherein the INFO OK message is used to indicate that the INFO request has been processed.

The present embodiment does not limit the execution sequence of S602 and S603, for example, S602 and S603 may be executed first, S602 may be executed second, or S602 and S603 may be executed simultaneously. Fig. 11 is a schematic diagram in which S602 and S603 are performed simultaneously.

And S604, the second network element sends an INVITE message to the SCSCF network element.

And S605, the SCSCF network element sends an INVITE message to the called terminal.

S606, the called terminal sends 200OK message to SCSCF network element.

Before this example, the session establishment between the calling terminal and the called terminal has been completed, in this example, after the SCSCF network element sends the INVITE message to the called terminal, the called terminal responds 200OK to the SCSCF, and carries its own address port information in the 200OK message.

S607, the SCSCF sends the 200OK message of the called terminal to the second network element.

S608, the second network element sends the address port information of the called terminal in 200OK to the first network element through the translation indication information, and applies for translation resources from the first network element.

And S609, the first network element records the address port information of the called terminal and sends a response message to the second network element after the translation resource application is successful.

S610, after receiving the first network element response message, the second network element sends a 200OK message to the SCSCF.

The 200OK message carries address port information of the calling side of the first network element.

S611, the SCSCF network element sends an INVITE message to the calling terminal, and the INVITE message carries the address port allocated by the first network element.

And S612, the calling terminal sends a 200OK message to the SCSCF network element.

After receiving the INVITE message sent by the SCSCF, the calling terminal modifies the session accordingly, and modifies the remote address port to the address port allocated by the first network element, thereby connecting the first network element in series to the media stream for transmitting voice data between the calling terminal and the called terminal. And after the modification is successful, the calling terminal sends a 200OK message to the SCSF network element for indicating that the session modification is successful, wherein the 200OK message carries the address port of the media at the calling terminal side.

S613, the SCSCF network element sends an ACK message to the second network element.

After receiving the 200OK message of the calling terminal, the SCSCF extracts the address port information of the calling terminal in the 200OK message and then sends the information to the second network element through the ACK message.

And S614, the second network element receives the ACK message, the address port information of the calling terminal is sent to the first network element through the request message, and the first network element establishes a media channel with the calling terminal.

S615, the first network element sends a response message to the second network element, and the response message carries the address port information of the called side of the first network element.

And S616, the second network element sends the ACK message to the SCSCF network element.

Wherein, the ACK message is used to indicate that the second network element has received the 200OK message and carries the called side address port information of the second network element

S617, the SCSCF network element sends an ACK message to the called terminal, which carries the address port information of the called side of the first network element.

After receiving the ACK message of SCSCF, the called terminal modifies the address port of the far end of the media into ACK carrying address port information and establishes media connection with the first network element.

And S618, the SCSCF network element sends an ACK message to the calling terminal.

Wherein the ACK message is used to indicate that the second network element has received the 200OK message.

The present embodiment does not limit the execution order of S617 and S618, and for example, S617 may be executed first and S618 may be executed later, S618 may be executed first and S617 may be executed later, or S617 and S618 may be executed simultaneously. Fig. 12 is a schematic diagram in which S617 and S618 are performed simultaneously.

And at this point, the first network element is connected in series to a media stream for transmitting voice data between the calling terminal and the called terminal. It should be understood that, in the above-mentioned flow, the SCSCF network element and the called terminal may interact with each other through the PCSCF network element to which the called terminal belongs and the BGW network element, and the SCSCF network element and the calling terminal may interact with each other through the PCSCF network element to which the calling terminal belongs and the BGW network element.

After the multimedia session between the calling terminal and the called terminal is successfully established, the first network element may be serially connected to a media stream for transmitting voice data between the calling terminal and the called terminal, so as to obtain the voice data to be sent to the called terminal by the calling terminal and the voice data to be sent to the calling terminal by the called terminal. Therefore, the first network element can translate the voice data to be sent to the called terminal by the calling terminal and the voice data to be sent to the calling terminal by the called terminal in real time according to the translation type and the translation language of the voice data. If the translated data obtained by translation comprises voice translated data, the first network element can send the voice translated data to the called terminal through a media channel between the first network element and the called terminal, which is established by the second network element. If the translated data obtained by translation includes text translation data, the first network element may send the text translation data to the second network element, and the second network element transmits the text translation data to the called terminal through, for example, a signaling transmission path.

By the above manner, the calling terminal can request the first network element to translate the voice data to be sent to the called terminal in the process of communicating with the called terminal, that is, after the calling terminal establishes a session with the called terminal. Therefore, the first network element can provide real-time translation service for the called terminal in the process of the conversation between the calling terminal and the called terminal.

It should be understood that the example shown in fig. 11 may also be applied to a scenario in which the source terminal is a called terminal and the target terminal is a calling terminal. In this scenario, the first network element may provide a real-time translation service for the calling terminal and the called terminal in a process of a call between the calling terminal and the called terminal.

For the translation scenario applicable to fig. 11, reference may be made to the translation scenario described in example one, and details thereof are not repeated.

Example three, the present embodiment relates to how to change the translation type, the translation language, and the translation state in the process of translating the voice data to be transmitted in real time by the first network element after the above example one or example two. Fig. 12 is a flowchart illustrating another communication method according to an embodiment of the present application. The example takes a source terminal as a calling terminal and a target terminal as a called terminal as an example. As shown in fig. 12, the method includes:

s701, the calling terminal sends an INFO message to the SCSCF network element.

In this embodiment, in the process of a call between a calling terminal and a called terminal, the calling terminal may be triggered to send an INFO message to an SCSCF network element through a preset key. The INFO message is used to modify at least one of a translation type, a translation language, and a translation state.

As a possible implementation manner, the INFO message carries a new SIP header field, and the SIP header field is used to change at least one of the translation type, the translation language, and the translation state.

Optionally, if the preset key is, for example: a preset combination of numeric keys (e.g.. 80.. 12 #). In another implementation, the step S701 may be further replaced by the following steps:

s701a, the calling terminal sends 2833 a message to the fourth network element.

S701b, the fourth network element sends an INFO message to the SCSCF network element.

In this example, during the process of the call between the calling terminal and the called terminal, the calling terminal may be triggered to send 2833 a message to the fourth network element through a preset key. When the 2833 message is sent to the scfcf network element via the fourth network element, the 2833 message may be converted into an INFO message as described above. The fourth network element may be, for example, a pcsc f network element or a BGW network element to which the calling terminal belongs.

S702, the SCSCF network element sends an INFO message to the second network element.

Wherein, the INFO message may be the same as the INFO message received by the SCSCF network element from the calling terminal, or different from the header field of the INFO message received by the SCSCF network element from the calling terminal. The INFO message may be used to alter at least one of a translation type, a language of the translation, and a translation status.

S703, the second network element sends modification indication information to the first network element.

S704, the first network element sends the modification response information to the second network element.

In this embodiment, after changing at least one of the translation type, the translation language, and the translation state according to the modification indication information, the first network element may send a modification response message to the second network element to notify that the first network element has completed modifying at least one of the translation type, the translation language, and the translation state.

S705, the second network element sends a 200OK message to the SCSCF network element.

Wherein the 200OK message is used to notify the first network element that the change of at least one of the translation type, the translation language, and the translation status has been completed.

S706, the SCSCF network element sends 200OK information to the calling terminal.

Wherein the 200OK message is used to notify the first network element that the change of at least one of the translation type, the translation language, and the translation status has been completed.

At this point, the modification of at least one of the translation type, the translation language, and the translation state is completed. After at least one of the translation type, the translation language, and the translation state is changed, the first network element may process the voice data to be sent to the called terminal according to the changed information. In this way, the modification of the translation indication information can be made more flexible and convenient.

It should be understood that, in the above flow, the SCSCF network element and the calling terminal may interact with each other through the PCSCF network element and the BGW network element to which the calling terminal belongs.

It should be understood that the example shown in fig. 12 may also be applied to a scenario in which the source terminal is a called terminal and the target terminal is a calling terminal, and details thereof are not repeated.

Fig. 13 is an application scenario diagram of a communication method according to an embodiment of the present application. As shown in fig. 13, although the first to third examples described above all take the calling terminal and the called terminal as an example to perform a call, the communication method provided in the embodiment of the present application is described and introduced. However, it will be appreciated by those skilled in the art that the above communication method may also be applied to other call service scenarios, such as the SIP based conferencing system shown in fig. 13.

In this scenario, each meeting place that needs real-time translation may instruct, for example, the conference system to access the first network element and the second network element through a conference terminal function menu (for example, the manner shown in the first example) or through a key (for example, the manner shown in the second example) to provide real-time translation service, which is not described in detail again. It should be understood that the first network element and the second network element may be logical entities, i.e. each meeting place may be translated by the first network element and the second network element corresponding to each meeting place. However, the first network element and the second network element corresponding to each meeting place may be physically different devices or may be the same device.

Taking the conference places a and D shown in fig. 13 as examples, in this example, when the conference places a and D are in a voice conference, a real-time translation service can be provided for the voice conference through the first network element and the second network element corresponding to the conference place D, so as to ensure the conversation effect between users.

Fig. 14 is a block diagram of a communication apparatus according to an embodiment of the present application, where the apparatus may be the first network element described in the foregoing embodiment, or may be an apparatus capable of supporting the first network element to implement the function of the first network element in the method according to the embodiment of the present application, for example, the apparatus may be an apparatus in the first network element or a chip system. As shown in fig. 14, the apparatus includes:

a receiving module 1401, configured to receive translation instruction information sent by a source terminal, where the translation instruction information is used to instruct to allocate translation resources for voice data to be sent, and is used to instruct a translation type and a translation language of the voice data, and the translation language includes a source language and a target language.

And the processing module 1402 is configured to translate the voice data by using the translation resource according to the translation indication information to obtain translation data.

A sending module 1403, configured to send the translation data.

In a possible implementation manner, the translation type and the translation language of the voice data include a translation type and a translation language in a first direction, and the first direction is a direction from the source terminal to the target terminal.

When the translation type and the translation language of the voice data include a translation type and a translation language in a first direction, the processing module 1402 is specifically configured to:

and according to the translation type in the first direction, using the translation resource to translate the voice data to be sent to the target terminal from the source language in the first direction to the target language in the first direction, so as to obtain the translation data.

The sending module 1403 is specifically configured to:

and sending the translation data to the target terminal.

In a possible implementation manner, the translation type and the translation language of the voice data include a translation type and a translation language in a second direction, and the second direction is a direction from the target terminal to the source terminal.

When the translation type and the translation language of the voice data include a translation type and a translation language in the second direction, the processing module 1402 is specifically configured to:

and according to the translation type in the second direction, using the translation resource to translate the voice data to be sent to the source terminal from the source language in the second direction to the target language in the second direction, so as to obtain the translation data.

The sending module 1403 is specifically configured to:

and sending the translation data to the source terminal.

In one possible embodiment, the translation data includes: voice translation data, the indication information being further used for indicating allocation of transmission resources for transmitting the voice translation data to a target terminal;

when the translation data includes speech translation data, the sending module 1403 is specifically configured to:

and sending the voice translation data to the target terminal through a media channel between a first network element and the target terminal, wherein the media channel is established by the first network element according to the transmission resource.

In one possible embodiment, the translation data includes: text translation data;

the sending module 1403 is specifically configured to:

and sending the text translation data to the target terminal through a second network element.

In one possible implementation, the receiving module 1401 is further configured to:

and receiving modification indication information sent by the source terminal, wherein the modification indication information is used for changing at least one of the translation type, the translation language and the translation state.

The processing module 1402 is further configured to:

and changing at least one of the translation type, the translation language and the translation state according to the modification indication information.

In one possible implementation, the receiving module 1401 is specifically configured to:

and receiving the translation indication information sent by the source terminal when the target terminal and the source terminal carry out conversation.

In one possible implementation, the receiving module 1401 is specifically configured to:

and receiving the translation indication information sent by the source terminal when the session is established between the source terminal and the target terminal.

In a possible implementation manner, the source terminal is a calling terminal, and the target terminal is a called terminal; alternatively, the first and second electrodes may be,

the source terminal is a called terminal, and the target terminal is a calling terminal.

The communication device provided in the embodiment of the present application may perform the method steps in the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.

It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the determining module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the determining module is called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.

For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

Fig. 15 is a schematic structural diagram of a first network element according to an embodiment of the present application. As shown in fig. 15, the first network element 1500 may include: a processor 151 (e.g., CPU), a memory 152, a transceiver 153; the transceiver 153 is coupled to the processor 151, and the processor 151 controls transceiving operation of the transceiver 153. Various instructions may be stored in the memory 152 for performing various processing functions and implementing method steps in embodiments of the present application. Optionally, the first network element related to this embodiment may further include: a power supply 154, a system bus 155, and a communication port 156. The transceiver 153 may be integrated in the transceiver of the first network element or may be a separate transceiving antenna on the first network element. The system bus 155 is used to implement communication connections between the elements. The communication port 156 is used for implementing connection communication between the first network element and other peripherals.

In the embodiment of the present application, the memory 152 is used for storing computer executable program codes, and the program codes comprise instructions; when the processor first network element 1 executes the instruction, the instruction causes the processor 151 of the first network element to execute the processing action of the first network element in the foregoing embodiment of the method, and causes the transceiver 153 to execute the transceiving action of the first network element in the foregoing embodiment, which has similar implementation principles and technical effects, and is not described herein again.

The system bus mentioned in fig. 15 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

The processor may be a general-purpose processor, including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.

An embodiment of the present application further provides a communication system, where the communication system may include a first network element, a second network element, and a third network element, a system architecture diagram of the system may refer to fig. 3, and in fig. 3, the third network element may be an SCSCF. In the communication system, the second network element is communicatively coupled to the first network element, and the second network element is communicatively coupled to the third network element. The third network element is used for accessing the first network element into a session flow of the calling terminal and the called terminal, and the second network element is used for indicating the first network element to perform translation processing according to the translation indication of the third network element.

Optionally, an embodiment of the present application further provides a storage medium, where instructions are stored in the storage medium, and when the storage medium is run on a computer, the storage medium causes the computer to execute the method according to the embodiment shown in fig. 1 to 13.

Optionally, an embodiment of the present application further provides a chip for executing the instruction, where the chip is used to execute the method in the embodiment shown in fig. 1 to 13.

The embodiment of the present application further provides a program product, where the program product includes a computer program, where the computer program is stored in a storage medium, and the computer program can be read from the storage medium by at least one processor, and when the computer program is executed by the at least one processor, the method of the embodiment shown in fig. 1 to 13 may be implemented.

In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.

It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present application.

It should be understood that, in the embodiment of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.

38页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:验证网络通话身份的方法及相关装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类