CN115550512A - Voice service processing method, optical network terminal equipment and communication system - Google Patents

Voice service processing method, optical network terminal equipment and communication system Download PDF

Info

Publication number
CN115550512A
CN115550512A CN202110727505.8A CN202110727505A CN115550512A CN 115550512 A CN115550512 A CN 115550512A CN 202110727505 A CN202110727505 A CN 202110727505A CN 115550512 A CN115550512 A CN 115550512A
Authority
CN
China
Prior art keywords
target
user account
application program
voice
party
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110727505.8A
Other languages
Chinese (zh)
Inventor
汪文明
方红斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110727505.8A priority Critical patent/CN115550512A/en
Publication of CN115550512A publication Critical patent/CN115550512A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of communication, and discloses a voice service processing method, optical network terminal equipment and a communication system, which are used for realizing normal conversation between a calling party and a called party under the scene that the calling party and the called party are used to adopt different conversation modes. The optical network terminal equipment receives a paging instruction sent by the voice terminal equipment, wherein the paging instruction comprises a called party identifier; determining a target application program from at least one preset application program according to the called party identification and a pre-stored corresponding relation, and searching a target user account corresponding to the called party identification in the target application program; obtaining a calling party identifier corresponding to the voice terminal equipment, and searching a calling party simulation user account corresponding to the calling party identifier in the target application program from the corresponding relation; and simulating a user account through the target application program and the calling party, and initiating a voice call request to the target user account.

Description

Voice service processing method, optical network terminal equipment and communication system
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a voice service processing method, optical network terminal equipment and a communication system.
Background
Currently, a commonly used processing method of a voice service mainly includes a traditional communication mode (for example, a fixed terminal device communication, a mobile terminal device communication, and the like) and a mode of implementing a voice communication through instant messaging software.
However, there may be a scenario in which the calling party and the called party are used to adopt different communication modes, which results in inconvenient communication. For example, the old people are not used to the way of implementing voice call through instant messaging software, and tend to adopt the fixed terminal equipment call way, while the young people are more used to adopt the call way of implementing voice call through instant messaging software.
Therefore, under the scene that the calling party and the called party are used to adopt different communication modes, how to realize normal communication between the two parties is worth researching.
Disclosure of Invention
The embodiment of the application provides a processing method of voice service, optical network terminal equipment and a communication system, which are used for providing a technical scheme for realizing normal conversation between a calling party and a called party under the scene that the calling party and the called party are used to adopt different conversation modes.
In a first aspect, an embodiment of the present application provides a method for processing a voice service, where the method is applied to an optical network terminal device, and the method includes: receiving a paging instruction sent by voice terminal equipment, wherein the paging instruction is used for calling a target party in a circuit domain mode and comprises a called party identifier; determining a target application program from at least one preset application program according to the corresponding relation between the called party identification and the prestored corresponding relation, and searching a target user account corresponding to the called party identification in the target application program; the corresponding relation is used for indicating the corresponding relation between each user account and the identification in the target program application program; acquiring a calling party identifier corresponding to the voice terminal equipment, and searching a calling party simulation user account corresponding to the calling party identifier in the target application program from the corresponding relation; and simulating a user account through the target application program and the calling party, and initiating a voice call request to the target user account.
In the method provided by the application, the communication between the voice terminal equipment and the target party in different communication modes can be realized through the optical network terminal equipment. Supposing that the voice terminal device is used for calling in a circuit domain mode, such as through a telephone call, and a target party of the voice terminal device is used for calling in a packet domain mode, such as through applications such as WeChat, and the like, the optical network terminal device can convert a paging command initiated by the voice terminal device, which is used as a paging initiated by a calling party, of the voice terminal device in the circuit domain mode into a paging initiated in the packet domain mode, so that normal calling of two terminal devices adopting different calling modes can be realized, the realization mode is simple and convenient, and the user experience is improved.
In a possible design, the paging command further includes multiple kinds of signaling information, and the multiple kinds of signaling information are determined according to multiple first user operations, respectively; the first user operation is the user operation of the calling party on the voice terminal equipment. The voice call request is initiated to the target user account by simulating the user account through the target application program and the calling party, and can be implemented to generate a first simulated user operation according to first signaling information and a first conversion relation stored in advance; the first signaling information is determined according to the dialing operation of the calling party on the voice terminal equipment; the first conversion relation is used for indicating the conversion relation between each piece of signaling information and the simulated user operation in the target application program; and responding to the first simulated user operation, and initiating a voice call of the calling simulated user account requesting the target user account in the target application program.
In the design, an implementation manner how the optical network terminal device converts the paging initiated by the voice terminal device in the circuit domain mode into the packet domain mode adopted by the target party for communication is provided. Therefore, by using the optical network terminal equipment as the intermediate processing equipment, the purpose of smooth conversation can be achieved under the condition that the calling and called party terminal equipment adopts two different conversation modes, and the optical network terminal equipment can also be understood as the optical network terminal equipment which converts signaling information adopted in a circuit domain conversation mode into simulated user operation adopted in a packet domain conversation mode. For example, an off-hook user operation performed by a user on a voice terminal device in a circuit domain manner may be converted into a simulated user call operation initiated on a destination terminal device in a packet domain manner, so as to implement a call to a destination in the packet domain manner.
In one possible design, the method further includes: generating a second simulated user operation according to second signaling information and the first conversion relation; the second signaling information is determined according to the on-hook operation of the calling party on the voice terminal equipment; and responding to the second simulated user operation, and ending the voice call of which the calling party simulated user account requests the target user account in the target application program.
In the design, based on the fact that the voice terminal device can initiate the call with the target party, the voice terminal device can actively end the call. At this time, the optical network terminal device is used as an intermediate processing device, and it can also be realized that the signaling information adopted in the circuit domain communication mode is converted into the simulated user operation adopted in the packet domain communication mode in the same scene that the voice terminal device finishes the communication with the target party, so that the normal realization of the communication can be ensured.
In one possible design, the method further includes: if the calling party simulation user account receives a busy instruction sent by the target user account through the target application program, generating a first control instruction for indicating that the target party is busy according to the busy instruction of the target user account and a pre-stored second conversion relation; the second conversion relation is used for indicating the conversion relation between each indication information and the control instruction of the voice terminal equipment in the target application program; and responding to the first control instruction, and triggering to play a prompt tone for prompting that the target party is busy for the voice terminal equipment.
In the design, based on the voice terminal device, the communication with the target party can be initiated, and when the target party is busy, the optical network terminal device can also convert the target party busy indication received by adopting the packet domain mode into a control instruction which can be received by the voice terminal device adopting the circuit domain mode. Therefore, the conversation under the busy scene between the voice terminal equipment adopting two different conversation modes and the target party can be realized, and the normal conversation between the voice terminal equipment and the target party can be realized.
In one possible design, the method further includes: if the calling party simulation user account receives a hang-up instruction sent by the target user account through the target application program, generating a second control instruction for indicating the hang-up of the target party according to the hang-up instruction of the target user account and a second conversion relation stored in advance; the second conversion relation is used for indicating the conversion relation between each indication information and the control instruction of the voice terminal equipment in the target application program; and responding to the second control instruction, and triggering the voice terminal equipment to play a prompt tone for prompting the target party to hang up.
In the design, based on the voice terminal device, the call with the target party can be initiated, and the call can be actively ended for the target party in another scene. At this time, the optical network terminal device, as an intermediate processing device, can also implement conversion from a target party hangup instruction received in a packet domain manner to another control-to-instruction that can be received by the voice terminal device in a circuit domain manner, thereby ensuring normal implementation of a call.
In a second aspect, an embodiment of the present application further provides an optical network terminal device, including: the communication unit is used for receiving a paging instruction sent by voice terminal equipment, wherein the paging instruction is used for calling a target party in a circuit domain mode, and the paging instruction comprises a called party identifier; the processing unit is used for determining a target application program from at least one preset application program according to the called party identification and a pre-stored corresponding relation, and searching a target user account corresponding to the called party identification in the target application program; the corresponding relation is used for indicating the corresponding relation between each user account and the identification in the target program application program; the processing unit is further configured to obtain a calling party identifier corresponding to the voice terminal device, and search for a calling party simulation user account corresponding to the calling party identifier in the target application program from the correspondence; the processing unit is further configured to simulate a user account through the target application program and the calling party, and initiate a voice call request to the target user account.
In a possible design, the paging command further includes multiple kinds of signaling information, and the multiple kinds of signaling information are determined according to multiple first user operations, respectively; the first user operation is the user operation of the calling party to the voice terminal equipment. The processing unit is configured to simulate a user account by using the target application program and the calling party, and when a voice call request is initiated to the target user account, specifically configured to: generating a first simulated user operation according to the first signaling information and a first conversion relation stored in advance; the first signaling information is determined according to the dialing operation of the calling party on the voice terminal equipment; the first conversion relation is used for indicating the conversion relation between each piece of signaling information and the simulated user operation in the target application program; and responding to the first simulated user operation, and initiating a voice call of the calling simulated user account requesting the target user account in the target application program.
In one possible design, the processing unit is further configured to generate a second simulated user operation according to second signaling information and the first conversion relation; the second signaling information is determined according to the on-hook operation of the calling party on the voice terminal equipment; and responding to the second simulated user operation, and ending the voice call of the calling party simulated user account requesting the target user account in the target application program.
In one possible design, further comprising: the communication unit is used for the calling party simulation user account to receive a busy instruction sent by the target user account if the calling party simulation user account passes through the target application program; the processing unit is used for generating a first control instruction for indicating that the target party is busy according to the busy indication of the target user account and a pre-stored second conversion relation; the second conversion relation is used for indicating the conversion relation between each piece of indication information and the control instruction of the voice terminal equipment in the target application program; the processing unit is further used for responding to the first control instruction and triggering the voice terminal device to play a prompt tone for prompting the target party to be busy.
In one possible design, further comprising: the communication unit is used for enabling the calling party simulation user account to receive a hang-up instruction sent by the target user account if the calling party simulation user account passes through the target application program; the processing unit is used for generating a second control instruction for indicating the hanging-up of the target party according to the hanging-up indication of the target user account and a second conversion relation stored in advance; the second conversion relation is used for indicating the conversion relation between each piece of indication information and the control instruction of the voice terminal equipment in the target application program; and the processing unit is further used for responding to the second control instruction and triggering the voice terminal equipment to play a prompt tone for prompting the target party to hang up.
In a third aspect, an embodiment of the present application further provides an optical network terminal device, including: a processor and a memory; the memory stores a computer program; the processor is configured to execute the computer program stored in the memory, so that the optical network terminal device executes the method in any one of the possible designs of the first aspect.
In a fourth aspect, an embodiment of the present application further provides an optical network termination device, including: a processor and an interface circuit; the interface circuit is used for receiving code instructions and transmitting the code instructions to the processor; the processor is configured to execute the code instructions to perform the method of any of the possible designs of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer program instructions, which when executed, cause a method in any one of the possible designs of the first aspect to be implemented.
In a sixth aspect, an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code is executed by an optical network termination device, the optical network termination device may execute the method in any one of the possible designs in the first aspect.
In a seventh aspect, an embodiment of the present application provides a communication system, which includes the optical network terminal device in the second aspect, or includes the optical network terminal device in the third aspect, or includes the optical network terminal device in the fourth aspect.
For the beneficial effects of the second aspect to the seventh aspect, specific reference is made to the beneficial effects of the possible designs in the first aspect, which are not described herein again.
Drawings
FIG. 1a is a schematic diagram of a PSTN call system;
FIG. 1b is a schematic flow chart illustrating a call via a PSTN call system;
fig. 1c is a diagram of an application scenario based on the PSTN call system;
fig. 2 is an application scenario diagram of a VOIP call system;
fig. 3 is a schematic diagram illustrating a comparison of calls implemented based on different call modes according to an embodiment of the present application;
fig. 4a is a schematic flowchart of a method for processing a voice service according to an embodiment of the present application;
fig. 4b is a second schematic flowchart of a processing method of a voice service according to an embodiment of the present application;
fig. 4c is one of the scene diagrams of a method for processing a voice service according to the embodiment of the present application;
fig. 5a is a third schematic flowchart of a method for processing a voice service according to an embodiment of the present application;
fig. 5b is a second schematic view of a scenario of a method for processing a voice service according to an embodiment of the present application;
fig. 6a is a fourth schematic flowchart of a method for processing a voice service according to an embodiment of the present application;
fig. 6b is a third schematic view of a scenario of a method for processing a voice service according to an embodiment of the present application;
fig. 6c is a fifth flowchart illustrating a processing method of a voice service according to an embodiment of the present application;
fig. 7 is a sixth schematic flowchart of a method for processing a voice service according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an optical network termination device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an optical network termination device further provided in this embodiment;
fig. 10 is a schematic structural diagram of a chip provided in an embodiment of the present application.
Detailed Description
There are two main types of communication, as follows:
(1) The working principle of the Public Switched Telephone Network (PSTN) is a circuit-switched network based on analog technology. Fig. 1a is a schematic structural diagram of a PSTN call system. In the PSTN call system, voice data transmission is mainly performed between a calling party and a called party through the PSTN call system. Wherein PSTN conversation system includes: the system comprises a transmitting end office, a calling party side toll office, a central switching office, a called party side toll office and a terminal office. Analog signaling is used for analog transmission between the calling party and the originating office, analog signaling is also used for analog transmission between the called party and the terminal office, and digital signaling is used for digital transmission between the originating office and the terminal office.
During the process of the calling party talking with the called party, the transmitted information may include: signaling information, and media information. Fig. 1b is a schematic diagram illustrating a process of making a call through the PSTN call system. The signaling information may mainly include off-hook signaling, dial tone, ringing signaling, answer signaling, ring back tone, on-hook signaling, and hold signaling during the call. The media information mainly comprises voice information when two parties are in a call in the call process.
Based on the foregoing description of the PSTN telephony system, the PSTN telephony system can be divided into an access network portion and a user side portion. Currently, an Optical Network Terminal (ONT) device may be generally used as a user side device connected to a user. The ONT, commonly called as optical modem, can provide service interface for users, has the functions of electro-optical conversion and processing, and can realize signal conversion, data transmission and the like between users and access networks. Referring to fig. 1c, an application scenario diagram of the PSTN based call system is shown. In fig. 1c, the access network may be connected to a plurality of ONTs, such as ONT 1, ONT 2, \8230;, ONT n, respectively. Each ONT may be connected to one or more subscribers, e.g., the ONT may be connected to a fixed terminal device, may be connected to a plurality of mobile terminal devices, etc. It should be noted that "user", "terminal" and "terminal device" included in the present application may be used interchangeably.
Illustratively, the ONT may be connected to the fixed terminal equipment via a Plain Old Telephone Service (POTS) port. Or the ONT may further include a Wi-Fi module, for example, implemented by a Wi-Fi chip, so that the ONT can serve as a Wi-Fi Access Point (AP) for one or more mobile terminal devices, such as a mobile phone, to access the Wi-Fi network.
(2) The Voice Over Internet Protocol (VOIP) based voice over IP may be applied to a plurality of internet access devices such as VOIP phones, smart phones, and personal computers.
Fig. 2 is a diagram of an application scenario of the VOIP call system. The working principle of the VOIP is that voice data codes are compressed through a voice compression algorithm. Then, the voice data is packed according to a transmission control protocol/internet protocol (TCP/IP) standard, and then the voice data packet is transmitted to the receiving party through the IP network. The receiver decompresses the voice data packet and restores the decompressed voice data packet into original voice data, thereby achieving the purpose of transmitting voice through the Internet. Moreover, the mode of transmitting voice data by adopting the internet based on the VOIP call system has the advantages of convenience, low cost and quickness, so that the VOIP call system is applied more and more. For example, some domestic instant messaging software can make a call based on a VOIP call system.
However, due to the two mainstream communication modes currently existing, in a scenario where a calling party and a called party are used to adopt different communication modes, a scenario where communication inconvenience may exist may be caused. For example, the old people are not used to realize voice call by instant messaging software, and tend to make a call by using a common dialing mode, and the mode of making a call by using a common dialing mode can be expressed by that a call is realized by using a circuit domain mode; while young people are more and more inclined to adopt a communication mode of implementing voice communication through instant messaging software, such as voice communication through WeChat, etc., the communication mode of implementing voice communication through instant messaging software may be referred to as implementing communication through a packet domain mode as described below.
In view of this, the present application provides a method for processing a voice service, so as to solve the problem that a normal call may not be realized in a scenario where a calling party and a called party use different call modes in the prior art. Illustratively, the method provided by the application can realize the call between the voice terminal equipment adopting the circuit domain mode call and the target party adopting the packet domain mode call. For example, based on the method provided by the application, the user can dial the instant messaging software in a normal dialing mode through the fixed terminal equipment, or the user can dial the fixed terminal equipment through the application of the instant messaging software, or the user can dial the instant messaging software in a normal dialing mode through the mobile terminal equipment.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings. In order to more clearly understand the method provided by the present application, the present application is described below by means of several different scenario embodiments.
When the method and the system are implemented, the call between the voice terminal equipment and the target party can be realized through the ONT. In an exemplary embodiment, the cs mode and the ps mode belong to different modes, so that different signaling, indication, or user operation is used during the call. Fig. 3 is a schematic diagram illustrating a comparison of implementing a call based on different call modes according to an embodiment of the present application. It is assumed that the voice terminal device is a fixed terminal device shown in (a) in fig. 3, and taking the voice terminal device as a calling party as an example, the user can perform a normal dialing operation after performing an off-hook operation on the voice terminal device. Such as dialing "10000001" to effect a call to the destination party. And assuming that the target party of the voice terminal device is the mobile terminal device shown in (b) in fig. 3 and a voice call mode of the instant messaging software is adopted, for convenience of comparison, also taking the mobile terminal device as a calling party as an example, from a user account list (which may also be understood as a buddy list of a user using a second terminal device, or an address list) included in the instant messaging software, the user may perform an invitation to one user account of a plurality of user accounts included in the user account list to perform a voice call operation. If the user clicks the control of the voice call contained in the instant messaging software, the voice call invitation is sent to the friend 'xiao ming'.
It can be understood that, when the application is implemented, the ONT may be used as an intermediate processing device between the voice terminal device and the target party, so as to implement the docking conversion processing between the dial-up call mode of the voice terminal device and the instant communication call mode of the target party. For example, the processing on the ONT may be largely divided into two phases, the first phase being a pre-processing phase and the second phase being a talk phase.
First stage, pretreatment stage
In order to implement the intercommunication between the voice terminal device and the target party, the ONT may perform the following processes in advance, including:
and 1, processing 1, presetting various application programs.
An optional implementation manner is that, because the target party of the voice terminal device uses a packet domain mode for communication, and the voice terminal device uses a circuit domain mode for communication, an application program of the same instant messaging software as the target party of the voice terminal device may be built in the ONT when the application is implemented. Therefore, the ONT can realize normal conversation between the voice terminal equipment and the target party according to the preset instant messaging software application program. On one hand, the ONT converts the user operation for realizing the call through the instant messaging software and the signaling information adopted by the circuit domain mode so as to establish the call between the ONT and the voice terminal equipment. On the other hand, the ONT can convert the voice data information form of the voice terminal equipment and the voice data information form adopted by the target party, so that the voice terminal equipment and the target party can mutually analyze the voice data transmitted by the other party, and normal conversation between the voice terminal equipment and the target party is achieved.
The application is implemented by selectively installing one or more applications of the instant messaging software on the ONT according to the actual needs of the user. For example, instant messaging software, such as WeChat, QQ, etc., that users are accustomed to using, may be installed in advance at the ONT. Assuming that the user selects instant messaging software a, instant messaging software B, and instant messaging software C, the ONT may obtain the application installation package of the selected instant messaging software from the network or local installation package and install it. Wherein "application" and "software" may be used interchangeably.
And 2, registering voice terminal equipment identifications corresponding to user accounts contained in the application programs in advance in each application program.
On the basis of presetting various application programs on the ONT, the conversation between the target party of the voice terminal equipment and the ONT can be realized, but the ONT does not usually have the conversation function, so the conversation between the ONT and the voice terminal equipment can be further realized, and the conversation between the voice terminal equipment and the target party can be realized. It can also be understood that the ONT may be used as an intermediate processing device for performing conversion processing on a call between the voice terminal device and the target party.
Generally, when the voice terminal device performs a call, the user identifier may be used, for example, the identifier may be an identifier used for indicating an identity of a user, such as a Mobile Directory Number (MDN) or a fixed telephone number, or may also be a string of numbers that are registered by the user in advance and may represent an identity of the user, which is not limited in this application. In the instant communication software, each user can register a corresponding user account in advance. Therefore, the voice terminal equipment identification is in one-to-one correspondence with the user account registered for the voice terminal equipment in the instant messaging software.
Referring to table 1 below, an example of a correspondence between various applications and the voice terminal apparatus identification is shown.
TABLE 1
Voice terminal equipment identification 123456789
Instant messaging software A Xiaoming liquor
Instant messaging software B Xiaoming
Instant messaging software C Xiaoming liquor
As can be seen from table 1, assuming that the applications of the instant messaging software a, the instant messaging software B, and the instant messaging software C are pre-installed on the ONT and the voice terminal device identifier is 123456789, the user accounts corresponding to the voice terminal device identifiers one to one are registered in the instant messaging software a, the instant messaging software B, and the instant messaging software C, respectively. It should be noted that, in different instant messaging software, the same user account name may be registered, such as instant messaging software a, instant messaging software B, and instant messaging software C in table 1, and the user account corresponding to the voice terminal device identifier "123456789" may be "xiaoming". Or, different or partially different user account names may be registered in different instant messaging software, for example, a user account corresponding to the voice terminal device identifier "123456789" in the instant messaging software a may be "xiaoming 1", a user account corresponding to the voice terminal device identifier "123456789" in the instant messaging software B may be "xiaoming 2", and a user account corresponding to the voice terminal device identifier "xiaoming 3" in the instant messaging software C may be "xiaoming 3".
And 3, storing the first conversion relation in advance. The first conversion relation is used for indicating the conversion relation between the signaling information of each voice terminal device and the simulated user operation of the target application program in the target application program. Referring to table 2 below, an example of a first conversion relationship is shown.
TABLE 2
Signalling information for voice terminal equipment Simulating user operation of a target application
Dial-up signaling (first signaling information) Initiating a voice call (first simulation user operation)
On-hook signaling (second signaling information) Ending voice call (second simulation user operation)
Occupancy signaling Hang-up voice call
Off-hook signalling Connecting voice call
…… ……
As can be obtained from table 2 above, when the ONT receives the dialing signaling of the voice terminal device, it can be determined that the voice terminal device is used as the calling party to initiate a call. For example, if the ONT receives a ringing stream sent by the fixed terminal equipment, it may be determined that the ONT receives the dialing signaling of the voice terminal equipment. From the dialing signaling of the voice terminal equipment, the ONT can acquire the called party identification, and further can determine the target application program. At this time, the ONT may correspondingly convert the dial signaling of the voice terminal device into a corresponding simulated user operation for initiating the voice call through a target application preset on the ONT.
In another example, when the ONT receives an on-hook signaling of the voice terminal device, the corresponding conversion is performed to execute a corresponding simulated user operation of ending the voice call through a target application preset on the ONT.
In another example, when the ONT receives an occupation signaling of the voice terminal device, the ONT correspondingly switches to execute a corresponding simulated user operation of hanging up the voice call through a target application preset on the ONT.
Or, besides the signaling shown in table 1, other signaling may be included, which is not shown one by one in the present application, and may be set according to actual needs when implemented. If the voice terminal device is a fixed terminal device, the signaling information of the voice terminal device may be indicated by ac signals with different frequencies and may be sent continuously or intermittently, for example, the dialing signaling may be implemented by an ac signal with a frequency of 450 ± 25 HZ.
It should be noted that the target application shown in table 2 may be any one of a plurality of applications preset on the ONT, and the ONT may further include a first conversion relationship between the signaling information of the voice terminal device and the simulated user operation of each of the other applications. Alternatively, the user operation of the call in different applications is the same, and the target application in table 2 may be a generic term of the applications installed on the ONT, not referring to a specific application.
And 4, pre-storing the second conversion relation. The second conversion relation is used for indicating the conversion relation between each indication information of the first application program and the control instruction of the voice terminal equipment. The first application is one of a plurality of applications preset on the ONT. Referring to table 3 below, an example of a second conversion relationship is shown.
TABLE 3
Indication information of a first application Control instruction of voice terminal equipment
Receiving voice call invitation " Control ring instruction
Receiving a "busy indication" A first control instruction
Receiving a hang-up indication " A second control instruction
…… ……
As can be seen from table 3 above, when the ONT receives a "voice call invitation" of a target party of the voice terminal apparatus through the first application installed and running in advance, it may be determined that the voice terminal apparatus is called as a called party. At this time, the ONT may correspondingly convert the "voice call invitation" received through the first application program into a control ringing instruction of the voice terminal device. Similarly, when the ONT receives the "busy indication" of the target party of the voice terminal device through the first application program installed and running in advance, it may be determined that the target party of the voice terminal device is in a busy state in a scenario where the voice terminal device calls the target party of the voice terminal device. At this time, the ONT may correspondingly convert the "busy indication" received through the first application program into the first control instruction of the voice terminal apparatus. And the ONT can be correspondingly converted into a second control instruction of the voice terminal equipment through the hang-up indication received by the first application program.
It should be noted that, similarly to table 2, the first application shown in table 3 may be any one of a plurality of applications installed in advance on the ONT, or may be a general term of a plurality of applications installed on the ONT, and is not limited to a specific application.
Second stage, conversation stage
Based on the content introduced in the preprocessing stage, the normal call between the voice terminal device and the target party of the voice terminal device can be realized through the ONT. The method provided by the present application is described below with several possible call scenarios.
Conversation scenario 1: the voice terminal equipment is used as a calling party, and a target party of the voice terminal equipment is used as a called party.
Fig. 4a is a schematic flow chart of a processing method of a voice service according to an embodiment of the present application. The method comprises the following steps:
step 401, the ONT receives a paging command sent by the voice terminal device, where the paging command is used to call a target party in a circuit domain manner, and the paging command includes a called party identifier.
Illustratively, in a scenario of initiating a call request to other users, a user using a voice terminal device may initiate paging through the voice terminal device based on determining an identification of a called party (which may be generally represented in a form of a number). In order to more clearly understand the implementation process of step 401, as an example, refer to fig. 4b, which is a second flowchart of a processing method of a voice service provided in the embodiment of the present application. The method comprises the following specific steps:
step 401a, the user performs off-hook user operation on the voice terminal device. Here, assuming that the voice terminal device is a fixed terminal device, the off-hook user operation may be represented as a user operation of picking up a microphone of the fixed terminal device by a user. Alternatively, assuming that the voice terminal device is a mobile terminal device, the off-hook user operation may be represented as the user entering a dialing interface included in the mobile terminal device.
Step 401b, the voice terminal equipment sends off-hook signaling to the ONT.
Step 401c, the ONT plays dial tone for the voice terminal equipment. For example, a dial tone may indicate a continuous long tone that the voice terminal can hear from the receiver after off-hook to indicate that the ONT is ready for connection.
Step 401d, the user executes the dialing user operation to the voice terminal device.
Capture 401e, voice terminal device sends dial signaling. For example, after the user keys in the called party identifier through the voice terminal device, the called party identifier may be carried in a dialing signaling and sent to the ONT, so that the ONT determines the called party identifier of the paging instruction.
It should be noted that the paging instruction may indicate various signaling information sent by the voice terminal device to implement a call with a destination party when the voice terminal device is used as a calling party, and may include the aforementioned off-hook signaling and dial signaling, and may also include an on-hook signaling and the like that may be involved in the subsequent embodiments.
Step 402, the ONT determines a target application program from at least one preset application program according to the corresponding relation between the called party identification and the pre-stored corresponding relation, and searches a target user account corresponding to the called party identification in the target application program. The corresponding relation is used for indicating the corresponding relation between each user account and the identification in the target program application program.
For example, based on the content introduced in the preprocessing stage, a plurality of applications of instant messaging software may be installed in advance on the ONT, and in each application, the voice terminal device identifiers corresponding to each user account included in each application one to one are registered in advance. Assuming that the called party identifier is 1002345, for example, the target application corresponding to the called party identifier may be determined to be instant messaging software a according to the first three digits in the called party identifier, and then it is assumed that the target user account corresponding to the called party identifier is found to be reddish.
It should be noted that, the method provided by the present application is implemented without affecting the original communication mode between the voice terminal device and the target party. For example, if the called party identifier dialed by the user through the voice terminal device is an identifier stored in the circuit domain, the ONT may send the paging instruction of the voice terminal device to the corresponding originating office, and perform a call through the call system shown in fig. 1 a.
Step 403, the ONT obtains the calling party identifier corresponding to the voice terminal device, and searches the calling party identifier corresponding to the calling party identifier in the target application program from the corresponding relationship to simulate the user account.
An optional implementation manner is that, if the paging instruction includes a calling party identifier, the calling party identifier corresponding to the voice terminal device may be obtained from the paging instruction. For example, in a scenario where the ONT is connected to multiple terminal devices, when each terminal device initiates a paging instruction, the terminal device may carry its own calling party identifier to inform which terminal device the ONT initiates paging. Or, in another optional implementation, if at least one voice terminal device identifier respectively corresponding to at least one voice terminal device connected to the ONT is pre-stored in the ONT, the calling party identifier corresponding to the voice terminal device may be acquired from the at least one voice terminal device identifier. For example, in a scenario where the ONT is connected to a terminal device, when the ONT receives a paging instruction of the voice terminal device, the ONT may obtain a calling party identifier of the voice terminal device from locally stored information; or, for another example, in a scenario where the ONT is connected to multiple terminal devices, the ONT may also determine, through the port that receives the paging instruction, the voice terminal device connected to the port, so that the caller id of the voice terminal device connected to the port may be obtained from the locally stored information.
Assuming that the caller id corresponding to the voice terminal device is "123456789", and the target application is determined to be the instant messaging software a through step 402, according to the correspondence described in table 1 in the foregoing content, the caller simulated user account corresponding to "123456789" in the instant messaging software a can be found to be "xiaoming".
It should be noted that the simulation in the caller simulation user account may be used to embody that the caller id may be imperceptible to the user in the caller user account corresponding to the target application. It can also be considered that the calling party can determine that it is identified as "123456789" and that "Xiaoming" is the ONT that is switched for the purpose of enabling a call to the target party of the voice terminal equipment, is made aware of the ONT.
It can be understood that the path of the target party of the voice terminal device calling the voice terminal device is as follows: "123456789" (corresponding to xiao ming in instant messaging software a) → call → ("1002345") xiao hong in instant messaging software. Therefore, the method provided by the application can realize the calling of the voice terminal equipment adopting the circuit domain mode to the target party of the voice terminal equipment adopting the packet domain mode, namely realize the calling of the voice terminal equipment '123456789' to the small red in the instant messaging software A on the target party of the voice terminal equipment.
It should be noted that, in the implementation of the present application, the execution order between step 402 and step 403 is not limited, and step 403 may be executed first and then step 402 may be executed, or two different threads may be executed simultaneously.
Step 404, the ONT simulates a user account through the target application program and the calling party, and initiates a voice call request to the target user account.
Illustratively, the ONT may receive various signaling information transmitted from the voice terminal apparatus based on the ONT, and the ONT stores a first conversion relationship as shown in table 2 in a preprocessing stage. In this way, the ONT may generate the first simulated user operation according to the first signaling information and the first conversion relationship stored in advance. And the first signaling information is determined according to the dialing operation of the calling party to the voice terminal equipment. The ONT may then initiate a voice call in the target application for the caller simulated user account requesting the target user account in response to the first simulated user action.
With continued reference to fig. 4b, the specific steps of an example of a call between a voice terminal device and a target party of the voice terminal device may include:
and step 404a, the ONT executes the simulated user operation of 'initiating voice call' to the target user account of the target application program according to the dialing signaling.
And step 404b, the ONT plays the ring back tone for the voice terminal equipment. The calling party may be alerted by the ringback tone that the page is in progress.
Step 404c, the ONT makes a call within the target application.
Fig. 4c is a schematic view of a scene of a method for processing a voice service according to an embodiment of the present application. The user initiates a call through the voice terminal equipment, and after receiving a paging instruction of the voice terminal equipment, the ONT determines that the called party is a target user account in the target application program according to the called party identification, and determines a calling party simulation user account corresponding to the calling party identification. Then, the ONT can convert the calling party identification to the called party identification, and the calling party identification is converted into the calling party simulation user account to call the target user account. For example, the ONT calling the target party of the voice terminal device may be understood as simulating the operation of the terminal device to make a call inside the ONT, for example, in the ONT shown in fig. 4c, initiating a voice call invitation to the target user account in a small red by the calling party simulating the user account call. And the target party of the voice terminal equipment can be displayed as a voice call invitation from the instant messaging software A with the simulation user account of the calling party.
After the ONT simulates a user account through the target application program and the calling party and initiates a voice call request to the target user account, the target party may have two processing modes, one processing mode is to connect the voice call request, and the other processing mode is to reject the voice call request, for example, when the target party is busy, the voice call request is rejected.
And a call scene 1-1, wherein the target party connects the voice call request.
And step 404d, the target party of the voice terminal equipment is connected.
And step 404e, the target party of the voice terminal equipment replies to confirm connection.
In step 404f, the ONT receives a "connect indication" of the target party of the voice terminal equipment.
And step 404g, the ONT stops sending the ring back tone for the voice terminal equipment. The calling party can be prompted by stopping sending the ring back tone, the paging is connected, and normal conversation can be carried out.
It should be noted that the processing in the following steps 401h to 404k is performed in real time according to the call states of the calling party and the called party, the processing sequence in the following steps 401h to 404k is not limited in the present application, and the actual processing sequence may be confirmed in real time according to an actual scene.
Step 401h, the ONT receives the phone call content information sent by the voice terminal device, and sends the phone notification content information to the voice terminal device. Wherein the telephone notification content information sent by the ONT to the voice terminal equipment is obtained by the ONT through the following encoding of step 404 k.
And step 404i, the ONT encodes the telephone call content information to generate a data stream input by the target application program.
And step 404j, the ONT receives the voice call content information of the instant messaging software sent by the target party of the voice terminal equipment and sends the voice call content information of the instant messaging software to the target party of the voice terminal equipment. Wherein, the instant messaging software voice call content information sent by the ONT to the target party of the voice terminal equipment is obtained by the ONT through the encoding of step 404 i.
And step 404k, the ONT encodes the voice call content information of the instant messaging software to generate the telephone notification content information.
The following is an application scenario of the target party of the voice terminal device hanging up.
In implementation, if the ONT passes through the target application program, the calling party simulated user account receives a hang-up instruction sent by the target user account, and generates a second control instruction for indicating the hang-up of the target party according to the hang-up instruction of the target user account and a second conversion relation stored in advance. And then, the ONT responds to the second control instruction and triggers the voice terminal equipment to play a prompt tone for prompting the hanging-up of the target party.
Continuing with the content shown in fig. 4b, in an alternative embodiment, the voice terminal device and the target may include the following steps in an application scenario where the target hangs up:
and step 404l, hanging up the target party of the voice terminal equipment.
And step 404m, the target party of the voice terminal equipment sends a hangup instruction to the ONT.
In step 404n, the ONT receives a "hang up indication".
And step 404o, the ONT plays the on-hook tone for the voice terminal equipment.
It should be noted that an application scenario in which the voice terminal device is actively on-hook may exist in the call scenario 1, and the implementation manner may refer to the content introduced in the call scenario 2 below, which is not described in detail herein.
Conversation scene 1-2: the target party rejects the voice call request.
When the voice terminal device calls the target party of the voice terminal device, in addition to the processing mode introduced in the communication scene 1-1, there may be a processing mode of refusing the voice communication request when the target party of the voice terminal device is busy. At this time, the ONT may receive, through the target application program, a busy indication sent by the target user account through the caller emulated user account. And then the ONT generates a first control instruction for indicating that the target party is busy according to the busy indication of the target user account and a second conversion relation stored in advance. And then the ONT responds to the first control instruction and triggers the voice terminal equipment to play a prompt tone for prompting that the target party is busy. Fig. 5a is a third schematic flow chart of a processing method of a voice service according to an embodiment of the present application. The other steps of the voice terminal device and the target party of the voice terminal device for communication are the same as those in fig. 4b, and steps 4041 to 4044 are used to replace steps 404d to 404o in fig. 4b, so as to represent a target party busy scenario in which the target party of the voice terminal device in communication scenario 1 connects to a different voice terminal device. The method comprises the following specific steps:
step 4041, the destination party of the voice terminal device is busy.
Step 4042, the target of the voice terminal device replies with a busy indication.
Step 4043, the ONT receives a "busy indication" of the destination of the voice terminal device.
Step 4044, the ONT plays a busy tone for the voice terminal device according to the first control instruction. By playing the busy tone, the calling party may be prompted that the called party is currently engaged in a call with another user.
For easy understanding, refer to fig. 5b, which is a second schematic view of a scenario of a method for processing a voice service according to an embodiment of the present application. For example, a busy indication of the target of the voice terminal device may be indicated by a pop-up instruction. Specifically, the ONT may receive a pop-up instruction through the target application prompting that the target user account is "little red" busy. The ONT may determine that the target user account "Small Red" may be in conversation with another person by recognizing a prompt from the pop-up command that includes "busy the other person". Then, the ONT may convert the busy indication into the first control instruction recognizable by the voice terminal apparatus based on the second conversion relationship previously stored in the preprocessing stage described above. Then, the ONT can control to play a prompt such as "you dial user busy" for the voice terminal device according to the first control instruction.
Conversation scene 2: the target party of the voice terminal equipment is used as a calling party, and the voice terminal equipment is used as a called party.
Referring to fig. 6a, a fourth flowchart of a processing method of a voice service according to the embodiment of the present application is shown. The method comprises the following steps:
step 601, the ONT receives a paging event from a target party of the voice terminal device through a first application program of at least one preset application program. And the paging event is used for indicating a target party of the voice terminal equipment to call the voice terminal equipment through the first application program in a packet domain mode.
As an example, assume that a user initiates a voice call invitation through instant messaging software a on a target party of a voice terminal device. The ONT may receive a paging event of a target party of the voice terminal apparatus through instant messaging software a among the pre-installed instant messaging software a, instant messaging software B and instant messaging software C.
Step 602, the ONT obtains a calling party account corresponding to the target party of the voice terminal device in the first application program, and determines a calling party analog identifier corresponding to the calling party account in the circuit domain.
And the ONT acquires a calling party user account corresponding to the paging event from the paging event. For example, for convenience of understanding, refer to fig. 6b, which is a third application scenario diagram of a processing method of a voice service according to an embodiment of the present application. The interface in the ONT in fig. 6b is a simulation interface obtained according to the paging event, and the ONT may not generate the simulation interface during processing, and may directly perform processing according to the program instruction corresponding to the simulation interface. According to the simulation interface, the ONT may obtain the account of the calling party from the paging event of the target party of the voice terminal device, as shown in fig. 6 b.
Further, the ONT determines the calling party simulation identifier corresponding to the calling party user account in the circuit domain, which may be determined based on the correspondence shown in table 1 of the preprocessing stage. For example, the caller simulation identification that determines the caller user account "pinkish" is "1002345".
Step 603, the ONT determines the called party identifier corresponding to the voice terminal device in the circuit domain according to the called party simulated user account in the paging event and the corresponding relationship in table 1.
For example, the applications preset on the ONT each include a corresponding logged user account, and when the logged user account is called as a called party, the ONT may receive a paging event from a destination of the voice terminal device. Thus, from the user account of the first application logged on the ONT, it may be determined that the called party simulates the user account, e.g. as illustrated in FIG. 6 b. And, the ONT registers in advance the voice terminal device identifications corresponding to each user account included in each of the applications according to the preprocessing stage, it can determine that the voice terminal device identification corresponding to the xiaoming shown in fig. 6b is 123456789.
It can be understood that the path for the target party of the voice terminal device to call the voice terminal device is as follows: a small red ("1002345") → call → (corresponding to the small brightness in the instant messenger a) "123456789" in the instant messenger a. Therefore, the method provided by the application can realize the calling of the target party of the voice terminal equipment adopting the packet domain mode to the voice terminal equipment adopting the circuit domain mode, namely, the calling of the minired voice in the instant messaging software A on the target party of the voice terminal equipment to the voice terminal equipment '123456789' can be realized.
Step 604, the ONT initiates a voice call request to the voice terminal device through the calling party simulation identifier and the called party identifier.
For example, if the called party simulated user account is displayed as a display interface as shown in fig. 6b according to the received paging event, the ONT may obtain the indication information of the "voice call invitation" of the target party of the voice terminal device from the display interface. And then, the ONT generates a control ringing instruction for controlling the ringing of the voice terminal equipment according to the indication information of the voice call invitation. It may be implemented that the ONT controls the voice terminal device to play a ringing tone for indicating that the voice terminal device is called according to the control ringing instruction, so as to prompt that the voice terminal device is being called.
In an example, referring to fig. 6c, a fifth flowchart of a processing method of a voice service provided in the embodiment of the present application is shown. The method specifically comprises the following steps:
step 604a, the ONT controls the ringing generation for the voice terminal equipment. The voice terminal equipment plays the ringing tone according to the received ringing bell stream to prompt the user to answer the call.
After the ONT initiates a voice call request to the voice terminal device through the calling party simulation identifier and the called party identifier, the voice terminal device may also have two processing modes, one processing mode is to connect the voice call request, and the other processing mode is to reject the voice call request, for example, when the voice terminal device is busy, the voice call request is rejected.
And a call scene 2-1, the voice terminal equipment connects the voice call request.
And step 604b, the voice terminal equipment is off-hook.
Step 604c, the voice terminal equipment sends an off-hook signaling.
In step 604d, the ONT performs a simulated user operation of completing the voice call for the paging event of the first application according to the off-hook signaling. For example, the ONT may simulate clicking an "answer" button. It should be noted that the simulated clicking of the "answer" button may be realized by a call operation implemented by a processor, and the present application is not limited to a specific implementation.
It should be noted that the processing in the following steps 604eh to 604h is performed in real time according to the call states of the calling party and the called party, the processing sequence in the following steps 604eh to 604h is not limited in the present application, and the actual processing sequence may be confirmed in real time according to an actual scene.
And step 604e, the ONT receives the voice call content information of the instant messaging software sent by the target party of the voice terminal equipment and sends the voice call content information of the instant messaging software to the target party of the voice terminal equipment. Wherein, the instant messaging software voice call content information sent by the ONT to the destination of the voice terminal device is obtained by the ONT through the encoding in step 404 i.
And step 604f, the ONT encodes the voice call content information of the instant messaging software to generate the telephone notification content information.
And step 604g, the ONT receives the telephone call content information sent by the voice terminal equipment and sends the telephone notification content information to the voice terminal equipment. Wherein the telephone notification content information sent by the ONT to the voice terminal equipment is obtained by the ONT through the following encoding of step 404 k.
And step 604h, the ONT encodes the telephone call content information to generate a data stream input by the target application program.
The following is an application scenario of the voice terminal device on-hook.
The ONT generates a second simulation user operation according to the second signaling information and the first conversion relation; and the second signaling information is determined according to the on-hook operation of the voice terminal equipment by the user. Then, the ONT responds to the second simulation user operation, and the calling simulation user account requests the voice call of the target user account in the target application program.
With continuing reference to fig. 6c, in an alternative implementation, in an application scenario where the voice terminal device is on-hook, the following steps may be included:
and step 604i, hanging up the voice terminal equipment.
Step 604j, the voice terminal equipment sends the hang-up signaling to the ONT.
And step 604k, the ONT executes the simulated user operation of ending the voice call for the paging event of the first application program according to the hang-up signaling.
And step 604l, hanging up the voice call by adopting a packet domain mode.
It should be noted that an application scenario in which the target party of the voice terminal device is actively hung up may also exist in the call scenario 2, and a specific implementation manner may refer to the content introduced in the call scenario 1, which is not described herein again.
Conversation scene 2-2: the voice terminal device rejects the voice call request.
Based on the call scenario 2, when the target party of the voice terminal device calls the voice terminal device, there may be a scenario that the voice terminal device is busy. For example, before receiving the paging event of the destination of the voice terminal device, the ONT receives an off-hook signaling of the voice terminal device, and the called party is a terminal device different from the destination of the voice terminal device, and may also mark the voice terminal device as a busy state at the same time, or indicate it by using the busy signaling. Therefore, when the voice terminal equipment simultaneously receives the paging of the target party of the voice terminal equipment, the simulated user operation of hanging up the voice call for rejecting the paging event of the target party of the voice terminal equipment can be generated according to the busy state.
Fig. 7 is a fourth schematic flowchart of a processing method of a voice service according to an embodiment of the present application. Compared to the flow diagram shown in fig. 6c, the different steps involved in fig. 7 are as follows:
before step 601, performing:
step 600a, the voice terminal equipment executes off-hook user operation.
And step 600b, the voice terminal equipment sends off-hook signaling.
It is assumed that off-hook signaling of the voice terminal device is used to establish a call with the third terminal device, and at this time, the target party of the voice terminal device simultaneously sends a paging request to the voice terminal device, as in the processing procedure shown in steps 601 to 603 in fig. 7.
And step 6041, the ONT detects that the voice terminal equipment is in a busy state, and generates a simulated user operation of hanging up the voice call according to the busy state.
Step 6042, the ONT performs a simulated user operation of hanging up the voice call.
Step 6043, the ONT hangs up the paging event of the target party of the voice terminal equipment in a packet domain mode.
Through the introduction of the voice service processing methods provided by the embodiments, it can be obtained that the present application can implement a call between two terminal devices that generally adopt different call modes. The intermediate processing equipment based on the optical network terminal equipment can realize that the paging event from the packet domain mode is converted into answering through the circuit domain mode; and the paging command initiated by the circuit domain mode can be converted into the paging command initiated by the circuit domain mode to be communicated by the packet domain mode. It can be understood that the processing method of the voice service provided by the application does not need to pass through a circuit domain, and therefore, the communication cost of an operator does not need to be generated; moreover, different communication mode habits can be adapted to different users, so that the user experience can be improved.
The method for processing a voice service according to the embodiment of the present application is described in detail with reference to fig. 4a to fig. 7, and based on the same technical concept as the method for processing a voice service, an optical network terminal device 800 is further provided in the embodiment of the present application, as shown in fig. 8, the optical network terminal device 800 includes: the communication unit 801 and the processing unit 802, the optical network terminal apparatus 800 may be configured to implement the method described in the foregoing method embodiment when the voice terminal apparatus is used as a calling party. Wherein the optional communication unit 801 and the processing unit 802 may be connected to each other by a communication line 803; the communication line 803 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication line 803 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 in FIG. 8, but this is not intended to represent only one bus or type of bus.
A communication unit 801, configured to receive a paging instruction sent by a voice terminal device, where the paging instruction is used to call a target party in a circuit domain manner, and the paging instruction includes a called party identifier; a processing unit 802, configured to determine a target application program from at least one preset application program according to the called party identifier and a pre-stored correspondence, and search for a target user account corresponding to the called party identifier in the target application program; the corresponding relation is used for indicating the corresponding relation between each user account and the identification in the target program application program; the processing unit 802 is further configured to obtain a calling party identifier corresponding to the voice terminal device, and search, from the corresponding relationship, a calling party simulation user account corresponding to the calling party identifier in the target application program; the processing unit 802 is further configured to initiate a voice call request to the target user account by simulating the user account through the target application program and the calling party.
In one possible design, the paging command further includes multiple types of signaling information, and the multiple types of signaling information are determined according to multiple first user operations respectively; the first user operation is the user operation of a calling party on the voice terminal equipment; the processing unit 802 is configured to, when initiating a voice call request to the target user account by using the target application program and the calling party simulated user account, specifically: generating a first simulated user operation according to the first signaling information and a first conversion relation stored in advance; the first signaling information is determined according to the dialing operation of the calling party on the voice terminal equipment; the first conversion relation is used for indicating the conversion relation between each piece of signaling information and the simulated user operation in the target application program; and responding to the first simulated user operation, and initiating a voice call of the calling simulated user account requesting the target user account in the target application program.
In one possible design, the processing unit 802 is further configured to: generating a second simulated user operation according to second signaling information and the first conversion relation; the second signaling information is determined according to the on-hook operation of the calling party on the voice terminal equipment; and responding to the second simulated user operation, and ending the voice call of the calling party simulated user account requesting the target user account in the target application program.
In one possible design, further comprising: the communication unit 801 is configured to, if the calling party simulates that a user account receives a busy instruction sent by the target user account through the target application program; the processing unit 802 is configured to generate a first control instruction for indicating that the target party is busy according to a busy indication of the target user account and a pre-stored second conversion relationship; the second conversion relation is used for indicating the conversion relation between each piece of indication information and the control instruction of the voice terminal equipment in the target application program; the processing unit 802 is further configured to trigger to play a prompt tone for prompting that the target party is busy for the voice terminal device in response to the first control instruction.
In one possible design, further comprising: the communication unit 801 is configured to, if the calling party passes through the target application program, enable the calling party simulated user account to receive a hangup instruction sent by the target user account; the processing unit 802 is configured to generate a second control instruction for indicating the target party to hang up according to a hang-up indication of the target user account and a second conversion relationship stored in advance; the second conversion relation is used for indicating the conversion relation between each piece of indication information and the control instruction of the voice terminal equipment in the target application program; the processing unit 802 is further configured to trigger to play, in response to the second control instruction, a prompt tone for prompting the target party to hang up for the voice terminal device.
It should be noted that, the division of the modules in the embodiments of the present application is schematic, and is only a logical function division, and in actual implementation, there may be another division manner, and in addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or may exist alone physically, or two or more units are integrated in one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Based on the same concept as the processing method of the voice service, as shown in fig. 9, the embodiment of the present application further provides a schematic structural diagram of an optical network termination device 900. The optical network terminal device 900 may be configured to implement the method described in the method embodiment introduced when the voice terminal device is used as a calling party, and may also be configured to implement the method described in the method embodiment introduced when the voice terminal device is used as a called party, which may refer to the description in the method embodiment.
The optical network termination device 900 includes one or more processors 901. The processor 901 may be a general purpose processor or a special purpose processor, etc. For example, a baseband processor, or a central processor. The baseband processor may be configured to process communication protocols and communication data, and the central processor may be configured to control an optical network terminal device (e.g., a base station, a terminal, or a chip), execute a software program, and process data of the software program. The optical network termination equipment may comprise a transceiver unit to enable input (reception) and output (transmission) of signals. For example, the transceiver unit may be a transceiver, a radio frequency chip, or the like.
The optical network termination device 900 includes one or more processors 901, and the one or more processors 901 may implement the methods described in the above illustrated method embodiments.
Alternatively, the processor 901 may also implement other functions besides the methods of the above-described illustrated embodiments.
Alternatively, in one design, the processor 901 may execute the instructions to enable the optical network termination device 900 to perform the method described in the above method embodiment. The instructions may be stored in whole or in part in the processor, such as the instructions 903, or may be stored in whole or in part in the memory 902 coupled to the processor, such as the instructions 904, or may cause the optical network terminal apparatus 900 to perform the method described in the foregoing method embodiment through the instructions 903 and 904.
In yet another possible design, the optical network terminal device 900 may also include a circuit, and the circuit may implement the functions described in the foregoing method embodiments.
In yet another possible design, the optical network termination device 900 may include one or more memories 902 having instructions 904 stored thereon, which may be executed on a processor to cause the optical network termination device 900 to perform the methods described in the above method embodiments. Optionally, the memory may also store data. Instructions and/or data may also be stored in the optional processor. For example, the one or more memories 902 may store the corresponding relations described in the above embodiments, or the related parameters or tables referred to in the above embodiments, and the like. The processor and the memory may be provided separately or may be integrated together.
In yet another possible design, the optical network termination device 900 may also include a transceiver 905 and an antenna 906. The processor 901 may be referred to as a processing unit and controls an optical network terminal device (terminal or base station). The transceiver 905 may be referred to as a transceiver, a transceiver circuit, or a transceiver unit, etc. and is used for implementing the transceiving function of the optical network terminal device through the antenna 906.
It should be noted that the processor in the embodiments of the present application may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off the shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and combines hardware thereof to complete the steps of the method.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a computer, implements the processing method of the voice service applied to any method embodiment of the optical network terminal device.
The embodiments of the present application further provide a computer program product, where when executed by a computer, the computer program product implements the method for processing a voice service in any method embodiment applied to an optical network terminal device.
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. The processes or functions according to the embodiments of the present application are generated in whole or in part when the computer instructions are loaded and executed on a computer. 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 on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, 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.) means. 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., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a Digital Video Disk (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
The embodiment of the application also provides an optical network terminal device, which comprises a processor and an interface; and the processor is used for executing the voice service processing method applied to any method embodiment of the optical network terminal equipment.
It should be understood that the above-mentioned processing optical network terminal device may be a chip, and the processor may be implemented by hardware or by software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated with the processor, located external to the processor, or stand-alone.
As shown in fig. 10, an embodiment of the present application further provides a chip 1000, which includes an input/output interface 1001 and a logic circuit 1002, where the input/output interface 1001 is configured to receive/output a code instruction or information, and the logic circuit 1002 is configured to execute the code instruction or execute the code instruction according to the information to execute the voice service processing method applied to any method embodiment of the optical network terminal device.
The chip 1000 may implement the functions shown in the processing unit and/or the transceiving unit in the above embodiments.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the optical network terminal device and the unit described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, optical network terminal device and method may be implemented in other ways. For example, the above-described embodiments of the optical network termination device are merely illustrative, and for example, the division of the unit is only one logical functional division, and there may be other divisions when the actual implementation is performed, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not executed. Further, the shown or discussed couplings or direct couplings or communication connections between each other may be indirect couplings or communication connections through some interfaces, optical network terminal equipment or units, and may also be electrical, mechanical or other forms of connections.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented in hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: computer-readable storage media can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore. Any connection is properly termed a computer-readable storage medium. For example, if software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or a wireless technology such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technology such as infrared, radio, and microwave are included in the fixation of the medium. Disk (Disk) and disc (disc), as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy Disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable storage media.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A processing method of voice service is applied to optical network terminal equipment, and comprises the following steps:
receiving a paging instruction sent by voice terminal equipment, wherein the paging instruction is used for calling a target party in a circuit domain mode and comprises a called party identifier;
determining a target application program from at least one preset application program according to the corresponding relation between the called party identification and the prestored corresponding relation, and searching a target user account corresponding to the called party identification in the target application program; the corresponding relation is used for indicating the corresponding relation between each user account and the identification in the target program application program; and
acquiring a calling party identifier corresponding to the voice terminal equipment, and searching a calling party simulation user account corresponding to the calling party identifier in the target application program from the corresponding relation;
and simulating a user account through the target application program and the calling party, and initiating a voice call request to the target user account.
2. The method of claim 1, wherein the paging command further comprises a plurality of signaling information, and the plurality of signaling information are determined according to a plurality of first user operations, respectively; the first user operation is the user operation of a calling party on the voice terminal equipment;
the simulating a user account through the target application program and the calling party and initiating a voice call request to the target user account includes:
generating a first simulated user operation according to the first signaling information and a first conversion relation stored in advance; the first signaling information is determined according to the dialing operation of the calling party to the voice terminal equipment; the first conversion relation is used for indicating the conversion relation between each piece of signaling information and the simulated user operation in the target application program;
and responding to the first simulated user operation, and initiating a voice call of the calling simulated user account requesting the target user account in the target application program.
3. The method of claim 2, further comprising:
generating a second simulated user operation according to second signaling information and the first conversion relation; the second signaling information is determined according to the on-hook operation of the calling party on the voice terminal equipment;
and responding to the second simulated user operation, and ending the voice call of which the calling party simulated user account requests the target user account in the target application program.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
if the calling party simulation user account receives a busy instruction sent by the target user account through the target application program, generating a first control instruction for indicating that the target party is busy according to the busy instruction of the target user account and a pre-stored second conversion relation; the second conversion relation is used for indicating the conversion relation between each piece of indication information and the control instruction of the voice terminal equipment in the target application program;
and responding to the first control instruction, and triggering to play a prompt tone for prompting the busy target party for the voice terminal equipment.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
if the calling party simulation user account receives a hang-up instruction sent by the target user account through the target application program, a second control instruction for indicating the hang-up of the target party is generated according to the hang-up instruction of the target user account and a pre-stored second conversion relation; the second conversion relation is used for indicating the conversion relation between each indication information and the control instruction of the voice terminal equipment in the target application program;
and responding to the second control instruction, and triggering the voice terminal equipment to play a prompt tone for prompting the target party to hang up.
6. An optical network termination device, comprising:
the communication unit is used for receiving a paging instruction sent by voice terminal equipment, wherein the paging instruction is used for calling a target party in a circuit domain mode, and the paging instruction comprises a called party identifier;
the processing unit is used for determining a target application program from at least one preset application program according to the called party identification and a pre-stored corresponding relation, and searching a target user account corresponding to the called party identification in the target application program; the corresponding relation is used for indicating the corresponding relation between each user account in the target program application program and the identification; and
the processing unit is further configured to obtain a calling party identifier corresponding to the voice terminal device, and search a calling party simulated user account corresponding to the calling party identifier in the target application program from the correspondence;
the processing unit is further configured to simulate a user account through the target application program and the calling party, and initiate a voice call request to the target user account.
7. The ONT device of claim 6, wherein the paging command further includes a plurality of signaling information, and the plurality of signaling information are determined according to a plurality of first user operations, respectively; the first user operation is the user operation of a calling party on the voice terminal equipment;
the processing unit is configured to simulate a user account by using the target application program and the calling party, and when a voice call request is initiated to the target user account, specifically configured to:
generating a first simulated user operation according to the first signaling information and a first conversion relation stored in advance; the first signaling information is determined according to the dialing operation of the calling party to the voice terminal equipment; the first conversion relation is used for indicating the conversion relation between each piece of signaling information and the simulated user operation in the target application program;
and responding to the first simulated user operation, and initiating a voice call of the calling simulated user account requesting the target user account in the target application program.
8. The onu of claim 7, wherein the processing unit is further configured to:
generating a second simulated user operation according to second signaling information and the first conversion relation; the second signaling information is determined according to the on-hook operation of the calling party on the voice terminal equipment;
and responding to the second simulated user operation, and ending the voice call of which the calling party simulated user account requests the target user account in the target application program.
9. The optical network terminal device according to claim 6 or 7, further comprising:
the communication unit is used for the calling party simulation user account to receive a busy instruction sent by the target user account if the calling party simulation user account passes through the target application program;
the processing unit is used for generating a first control instruction for indicating that the target party is busy according to the busy indication of the target user account and a second conversion relation stored in advance; the second conversion relation is used for indicating the conversion relation between each indication information and the control instruction of the voice terminal equipment in the target application program;
the processing unit is further used for responding to the first control instruction and triggering the voice terminal equipment to play a prompt tone for prompting that the target party is busy.
10. The optical network terminal device according to claim 6 or 7, further comprising:
the communication unit is used for enabling the calling party simulation user account to receive a hang-up instruction sent by the target user account if the calling party simulation user account passes through the target application program;
the processing unit is used for generating a second control instruction for indicating the hanging-up of the target party according to the hanging-up indication of the target user account and a second conversion relation stored in advance; the second conversion relation is used for indicating the conversion relation between each piece of indication information and the control instruction of the voice terminal equipment in the target application program;
and the processing unit is further used for responding to the second control instruction and triggering the voice terminal equipment to play a prompt tone for prompting the target party to hang up.
11. An optical network termination device, comprising: a processor and a memory; the memory stores a computer program; the processor, configured to execute the computer program stored in the memory, to cause the method of any of claims 1 to 5 to be performed.
12. A computer-readable storage medium having stored thereon instructions that, when executed, cause the method of any of claims 1-5 to be performed.
CN202110727505.8A 2021-06-29 2021-06-29 Voice service processing method, optical network terminal equipment and communication system Pending CN115550512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110727505.8A CN115550512A (en) 2021-06-29 2021-06-29 Voice service processing method, optical network terminal equipment and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110727505.8A CN115550512A (en) 2021-06-29 2021-06-29 Voice service processing method, optical network terminal equipment and communication system

Publications (1)

Publication Number Publication Date
CN115550512A true CN115550512A (en) 2022-12-30

Family

ID=84716902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110727505.8A Pending CN115550512A (en) 2021-06-29 2021-06-29 Voice service processing method, optical network terminal equipment and communication system

Country Status (1)

Country Link
CN (1) CN115550512A (en)

Similar Documents

Publication Publication Date Title
US8149785B2 (en) Methods, systems, and computer program products for jumping calls between different modes of the same device
CN101375584B (en) Call screening for VoIP calls at gateway
US8265247B2 (en) Method of providing message information, including call subject information, to a recipient of a telephone call
CN101242663B (en) Switching method, system and device for call between mobile terminal and soft terminal with same number
KR101419560B1 (en) Voiding calls to signal supplementary services
CN101164329B (en) Method for establishing a session between a caller and a callee
KR100884868B1 (en) Complementary ???? service
KR20000048634A (en) Process and system for interactive communication between two telephone apparatuses via the internet network
JP2005124183A (en) Device and method for sending identification information of a plurality of communication devices active on communication session to information receiving component
CN101626557A (en) Method and system for outputting calling number
CN110971768A (en) SIP call processing method and system, computer equipment and medium
KR100407348B1 (en) Voice over internet protocol call service method
CN103428375A (en) Ring-back playing method and device and ring-back service system
JP2009518941A (en) Method and network device for setting up a connection in a second network
JP6317281B2 (en) Call system, call control system, and call method
CN104518950A (en) Method and system for realizing voice intercom and voice intercom server
CN115550512A (en) Voice service processing method, optical network terminal equipment and communication system
CN112259073B (en) Voice and text direct communication method, device, electronic equipment and storage medium
CN1893485B (en) Multi-media falling-back method in communication network
KR20020080956A (en) Phone-call system and the method with various service
EP1398943A1 (en) Telecommunication system
US10609220B2 (en) Method and system for accessing an IPA agent from a phone
CN101106733B (en) A forward processing method for one-in-two SIM card service in next-generation of network
KR102393653B1 (en) Apparatus and method for call processing
CN106161817B (en) Communication method and communication system based on VOIP platform

Legal Events

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