WO2020029807A1 - Voice call control method and apparatus, mobile terminal, and storage medium - Google Patents

Voice call control method and apparatus, mobile terminal, and storage medium Download PDF

Info

Publication number
WO2020029807A1
WO2020029807A1 PCT/CN2019/097770 CN2019097770W WO2020029807A1 WO 2020029807 A1 WO2020029807 A1 WO 2020029807A1 CN 2019097770 W CN2019097770 W CN 2019097770W WO 2020029807 A1 WO2020029807 A1 WO 2020029807A1
Authority
WO
WIPO (PCT)
Prior art keywords
calling
called
network
terminal
call
Prior art date
Application number
PCT/CN2019/097770
Other languages
French (fr)
Chinese (zh)
Inventor
李春林
Original Assignee
奇酷互联网络科技(深圳)有限公司
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 奇酷互联网络科技(深圳)有限公司 filed Critical 奇酷互联网络科技(深圳)有限公司
Publication of WO2020029807A1 publication Critical patent/WO2020029807A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/0024Services and arrangements where telephone services are combined with data services
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/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

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a method, a device, a mobile terminal, and a storage medium for controlling a voice call.
  • call incoming calls include answering, SMS rejection, WeChat rejection, etc.
  • instant messaging tools such as WeChat and QQ.
  • voice calls are communication methods through voice and transmission media.
  • landline calls mobile phone calls, walkie-talkie calls, and network voice calls. They can be divided into two forms that consume traffic and call charges.
  • the use of Internet voice calls are becoming more frequent.
  • the user needs to manually select a voice service call or a network service call to control the connection of a CS (Circuit Switch) circuit or a PS (Packet Switch) link correspondingly.
  • CS Circuit Switch
  • PS Packet Switch
  • the present invention provides a method, a device, a mobile terminal, and a storage medium for automatically controlling voice call or network service selection.
  • the present invention provides a voice call control method, the method including:
  • a circuit switching domain between the calling end and the called end is established, and the circuit switching is performed according to the circuit switching A domain to realize transmission of a voice radio frequency signal between the calling end and the called end to perform a voice service between the calling end and the called end;
  • a packet switching domain between the calling end and the called end is established, and is implemented according to the packet switching domain. Transmission of a voice message signal between the calling end and the called end to perform a data service between the calling end and the called end.
  • the judgment design of whether the calling end and the called end meet the network call conditions is made to determine whether a voice call for a data service is currently performed
  • the user does not need to manually select the voice service or the network service, simplifying the operation of the user and improving the user experience.
  • step of judging whether the calling end and the called end meet the network call conditions includes:
  • the step of determining whether the local network state is in a network connection state includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the present invention provides a voice call control device, including:
  • a first determining module configured to determine whether both the calling end and the called end meet the network call conditions when receiving a call signal sent by the calling end to the called end;
  • a first calling module configured to establish the calling terminal and the called terminal when the first judging module determines that the calling terminal and / or the called terminal does not meet the network call conditions Circuit switching domain between them, and transmitting the voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, so as to perform communication between the calling terminal and the called terminal Voice services
  • a second call module configured to establish a connection between the calling terminal and the called terminal when the first judging module determines that both the calling terminal and the called terminal meet the network call conditions
  • a packet switching domain and transmitting a voice message signal between the calling end and the called end according to the packet switching domain, so as to carry out communication between the calling end and the called end Data business.
  • the first judgment module includes:
  • a first determining unit configured to obtain the local network statuses of the calling end and the called end respectively, and determine whether the local network statuses are both in a network connection state; if yes, determine the calling end and the The called end meets the network call conditions.
  • the first judgment unit includes:
  • a second judging unit configured to judge whether the calling end and the called end are both in a WIFI connection state, and if yes, determine that the local network state is in the network connection state;
  • a third judging unit configured to judge the calling end and the called end respectively when the second judging unit determines that the calling end and the called end are not in the WIFI connection state Whether the mobile network port of the calling terminal is in an open state; if so, it is determined that the local network state is in the network connection state.
  • a fourth judging unit configured to: when the second judging unit judges that the calling end and the called end are both in the WIFI connection state, query the target WIFI network according to the WIFI connection state, and obtain the The network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than the transmission threshold; if not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not meet the network call conditions .
  • a fifth judging unit configured to query, when the third judging unit determines that the mobile network port is in an open state, the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and It is determined whether the remaining traffic value is greater than a traffic threshold; if not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
  • the voice call control device further includes:
  • a second determining module configured to determine whether the same instant messaging application exists in the calling end and the called end; if not, determining that neither the calling end nor the called end satisfies the network Call conditions
  • a third judgment module configured to judge the caller in the instant messaging application when the second judgment module determines that the same instant messaging application exists in the calling end and the called end Whether the terminal and the called terminal are friends with each other; if not, it is determined that neither the calling terminal nor the called terminal satisfies the network call condition.
  • a friend adding module is configured to: when the third judging module determines that the calling terminal and the called terminal are not friends with each other in the instant messaging application, the calling terminal and the called terminal Call each other as friends.
  • the first judging module separately determines whether the calling end and the called end meet the network call conditions to determine whether the current call Make voice calls for data services so that packet-switched domains or circuit-switched domains are automatically opened to implement data service calls or voice service calls. There is no need for users to manually select voice services or network services, which simplifies user operations and improves users Experience.
  • the present invention provides a mobile terminal including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor running the computer program to cause the mobile terminal to execute The above-mentioned voice call control method.
  • the present invention provides a storage medium having stored thereon a computer program, which is executed by a processor to implement the steps of the above-mentioned voice call control method.
  • FIG. 1 is a flowchart of a voice call control method according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a voice call control method according to a second embodiment of the present invention.
  • step S21 in FIG. 2 is a flowchart of specific implementation steps of step S21 in FIG. 2;
  • FIG. 4 is a schematic structural diagram of a voice call control apparatus according to a third embodiment of the present invention.
  • Logic and / or steps represented in a flowchart or otherwise described herein, for example, a sequenced list of executable instructions that may be considered to implement a logical function, may be embodied in any computer-readable medium, For use by, or in combination with, an instruction execution system, device, or device (such as a computer-based system, a system that includes a processor, or another system that can fetch and execute instructions from an instruction execution system, device, or device) Or equipment.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • FIG. 1 is a flowchart of a voice call control method according to a first embodiment of the present invention, including steps S10 to S30.
  • Step S10 When receiving a call signal sent by the calling end to the called end, determine whether the calling end and the called end meet the network call conditions;
  • the calling end and the called end may be any terminal device capable of voice call, and the terminal device may be a mobile phone, a tablet, or a smart wearable device.
  • the calling end and the called end The called end is a mobile phone, and the call signal is sent by dialing or selecting a contact, and the call signal stores the phone numbers of the calling end and the called end;
  • the network call conditions can be set independently according to the needs of the user.
  • the network call conditions are used to judge whether the local network statuses of the calling end and the called end are effective to ensure a network voice call.
  • the network call conditions may be to determine whether the current network transmission speed of the calling and called ends is greater than a preset speed, and if so, determine that both the calling and called ends meet The network call conditions;
  • the method further includes:
  • Step S100 Determine whether the same instant messaging application exists in the calling terminal and the called terminal;
  • the instant messaging application may be any application having a network call function, such as an application such as WeChat or QQ;
  • the application list of the calling terminal and the called terminal is obtained separately and then matching judgment is performed to determine whether the same instant messaging application exists in the calling terminal and the called terminal;
  • step S101 is performed;
  • Step S101 determining that neither the calling end nor the called end satisfies the network call conditions
  • step S102 When it is determined in step S100 that the same instant messaging application exists in the calling end and the called end, step S102 is performed;
  • Step S102 determining whether the calling end and the called end are friends with each other in the instant messaging application
  • the friend list in the instant messaging application is obtained, and the obtained friend list is queried. Whether a corresponding account exists to determine whether the calling end and the called end are friends with each other;
  • the instant messaging application is WeChat
  • the account name of User A in WeChat is C
  • the account name of User B in WeChat is D
  • the name The friend list of C in WeChat is list E
  • the friend list of name D in WeChat is list F.
  • step S103 is performed;
  • Step S103 determine that neither the calling end nor the called end satisfies the network call conditions
  • step S103 may also be:
  • step S20 is performed;
  • Step S20 establishing a circuit switching domain between the calling terminal and the called terminal, and realizing transmission of a voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, To perform a voice service between the calling end and the called end;
  • the circuit-switched domain is also called the CS domain, which mainly includes voice services (AMR 12.2K) and video telephony services (CS64K).
  • AMR 12.2K voice services
  • CS64K video telephony services
  • calls are made between the calling end and the called end by means of voice radio frequency signals. , That is, the normal mobile phone dial-up call function, to achieve the call by consuming phone charges;
  • step S30 is performed;
  • Step S30 Establish a packet switching domain between the calling end and the called end, and implement transmission of a voice message signal between the calling end and the called end according to the packet switching domain. To perform a data service between the calling end and the called end;
  • the packet switching domain is called the data switching domain or the PS domain, and is responsible for data services, including PS384K services (the UE initiates 384kbps PS domain data services and downloads some data files with a mobile phone, etc.).
  • the calling terminal in the packet switching domain The voice signal is transmitted to the called terminal by using a data message to implement a network voice call function, that is, the calling terminal and the called terminal use a data consumption mode for a voice call.
  • the call signal when the call signal is received, by determining whether the calling end and the called end meet the network call conditions, respectively, to determine whether a voice call for a data service is currently performed,
  • the data service call or the voice service call is not required, and the user does not need to manually select the voice service or the network service, which simplifies the operation of the user and improves the user experience.
  • FIG. 2 is a flowchart of a voice call control method according to a second embodiment of the present invention.
  • the method includes steps S11 to S41.
  • Step S11 When receiving a call signal sent by the calling end to the called end, obtain the local network states of the calling end and the called end respectively;
  • the calling end and the called end may be any terminal device capable of voice call, and the terminal device may be a mobile phone, a tablet, or a smart wearable device.
  • the calling end and the called end The called end is a mobile phone, and the call signal is sent by dialing or selecting a contact, and the call signal stores the phone numbers of the calling end and the called end;
  • the local network status correspondingly includes a name of a current network of the calling end or the called end, a current network transmission rate, and connection status information of each network port;
  • Step S21 Determine whether the local network statuses are all in a network connection status
  • the determination of the network connection status is used to determine whether the calling end or the called end can guarantee the normal progress of the network call, that is, determining whether the calling end or the called end is currently connected to the network. Whether the transmission rate of the network is greater than a preset rate and whether the fluctuation of the network is less than a preset fluctuation value;
  • FIG. 3 is a flowchart of the specific implementation steps of step S21 in FIG. 2:
  • Step S210 Determine whether the calling end and the called end are in a WIFI connection state
  • step S211 is performed;
  • Step S211 Query the target WIFI network according to the WIFI connection status
  • the target WIFI network may be queried by querying the corresponding WIFI port information
  • Step S212 Obtain a network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than a transmission threshold;
  • the transmission threshold can be set autonomously according to user requirements, and the transmission threshold is used to determine whether the target WIFI network can meet the needs of the voice call on the calling end or the called end;
  • step S213 is performed;
  • Step S213 it is determined that the local network status is all in the network connection status
  • step S214 is performed.
  • Step S214 Determine whether the mobile network ports of the calling end and the called end are both open;
  • the mobile network port is a local network port of the calling end or the called end, that is, the user's own mobile phone network;
  • step S215 is performed;
  • Step S215 Query the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and determine whether the remaining traffic value is greater than a traffic threshold;
  • the traffic threshold is a value preset by the user on the mobile phone. This value is used to stop the network voice call function when the mobile phone has a small amount of local traffic, so as to prevent the increase of the call charge caused by the use of a large amount of traffic, which improves the user Experience
  • step S216 is performed.
  • Step S216 it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions, and it is determined that the local network state is not in the network connection state;
  • step S217 is performed.
  • step S217 it is determined that both the calling end and the called end corresponding to the mobile network port meet the network call conditions, and it is determined that the local network state is in the network connection state.
  • step S31 is performed;
  • Step S31 establishing a circuit switching domain between the calling terminal and the called terminal, and realizing transmission of a voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, To perform a voice service between the calling end and the called end;
  • the circuit-switched domain is also called the CS domain, which mainly includes voice services (AMR 12.2K) and video telephony services (CS64K).
  • AMR 12.2K voice services
  • CS64K video telephony services
  • calls are made between the calling end and the called end by means of voice radio frequency signals. , That is, the normal mobile phone dial-up call function, to achieve the call by consuming phone charges.
  • step S41 is performed;
  • Step S41 Establish a packet switching domain between the calling terminal and the called terminal, and implement transmission of a voice message signal between the calling terminal and the called terminal according to the packet switching domain. To perform a data service between the calling end and the called end;
  • the packet switching domain is called the data switching domain or the PS domain, and is responsible for data services, including PS384K services (the UE initiates 384kbps PS domain data services and downloads some data files with a mobile phone, etc.).
  • the calling terminal in the packet switching domain The voice signal is transmitted to the called terminal by using a data message to implement a network voice call function, that is, the calling terminal and the called terminal use a data consumption mode for a voice call.
  • the call signal when the call signal is received, by determining whether the calling end and the called end meet the network call conditions, respectively, to determine whether a voice call for a data service is currently performed,
  • the data service call or the voice service call is not required, and the user does not need to manually select the voice service or the network service, which simplifies the operation of the user and improves the user experience.
  • FIG. 4 is a schematic structural diagram of a voice call control apparatus 100 according to a third embodiment of the present invention, including:
  • the first determining module 10 is configured to determine whether the calling end and the called end meet the network call conditions when receiving a call signal sent by the calling end to the called end;
  • a first call module 12 configured to establish the calling terminal and the called party when the first judging module 10 determines that the calling terminal and / or the called terminal does not meet the network call conditions
  • the second call module 13 is configured to establish the calling terminal and the called terminal when the first judging module 10 determines that both the calling terminal and the called terminal meet the network call conditions. A packet switching domain between them, and transmitting a voice message signal between the calling terminal and the called terminal according to the packet switching domain, so as to perform the communication between the calling terminal and the called terminal. Data services.
  • the first judgment module 10 includes:
  • the first determining unit 11 is configured to obtain the local network statuses of the calling end and the called end, and determine whether the local network statuses are both in a network connection state; if yes, determine the calling end and all The called end meets the network call conditions.
  • the first judgment unit 11 includes:
  • the second determining unit 111 is configured to separately determine whether the calling end and the called end are both in a WIFI connection state, and if yes, determine that the local network state is in the network connection state;
  • a third judging unit 112 configured to judge the calling end and the called end respectively when the second judging unit 111 determines that the calling end and the called end are not in the WIFI connection state; Whether the mobile network ports of the called terminal are all in an open state; if so, determining that the local network state is in the network connection state.
  • a fourth determining unit 113 configured to: when the second determining unit 111 determines that the calling end and the called end are both in the WIFI connection state, query the target WIFI network according to the WIFI connection state, and obtain The network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than a transmission threshold; if not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not satisfy the network Call conditions.
  • a fifth determining unit 114 is configured to query the remaining traffic value of the calling end or the called end corresponding to the mobile network port when the third determining unit 112 determines that the mobile network port is in an open state. And determine whether the remaining traffic value is greater than a traffic threshold; if not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
  • the voice call control device 100 in this embodiment further includes:
  • a second determination module 14 is configured to determine whether the same instant messaging application exists in the calling end and the called end; if not, it is determined that neither the calling end nor the called end satisfies the Network call conditions
  • a third judgment module 15 is configured to determine that in the instant messaging application, when the second judgment module 14 determines that the same instant messaging application exists in the calling end and the called end. Whether the calling end and the called end are friends with each other; if not, it is determined that neither the calling end nor the called end satisfies the network call condition.
  • the friend adding module 16 is configured to: when the third judging module 15 determines that the calling terminal and the called terminal are not friends with each other in the instant messaging application, the calling terminal and the called terminal The called parties add each other as friends.
  • the first judging module 10 determines whether the calling end and the called end meet the network call conditions, so as to determine whether Whether to conduct a voice call for data services so that the packet-switched domain or circuit-switched domain is automatically turned on to implement data service calls or voice service calls. There is no need for users to manually select voice services or network services. User experience.
  • This embodiment also provides a storage medium on which a computer program is stored.
  • the program includes the following steps:
  • a circuit switching domain between the calling end and the called end is established, and the circuit switching is performed according to the circuit switching A domain to realize transmission of a voice radio frequency signal between the calling end and the called end to perform a voice service between the calling end and the called end;
  • a packet switching domain between the calling end and the called end is established, and is implemented according to the packet switching domain. Transmission of a voice message signal between the calling end and the called end to perform a data service between the calling end and the called end.
  • the storage medium is, for example, ROM / RAM, magnetic disk, optical disk, and the like.
  • computer-readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
  • the present application also provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor runs the computer program to enable the mobile terminal to execute the foregoing. Steps in any embodiment of a voice call control method.
  • each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application-specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a voice call control method and apparatus, a mobile terminal, and a storage medium. The method comprises: when receiving a call signal sent to a called terminal by a calling terminal, determining whether the calling terminal and the called terminal both meet a network call condition; if not, establishing a circuit switched domain between the calling terminal and the called terminal, and according to the circuit switched domain, performing transmission of a voice radio frequency signal between the calling terminal and the called terminal; and if yes, establishing a packet switched domain between the calling terminal and the called terminal, and according to the packet switched domain, performing transmission of a voice packet signal between the calling terminal and the called terminal. According to the present invention, when a call signal is received, by design of determining whether the calling terminal and the called terminal both meet the network call condition, the packet switched domain or the circuit switched domain is automatically started, so as to implement a call of a data service or a call of a voice service, and a user does not need to manually select a voice service or a network service, thereby simplifying user operation, and improving user experience.

Description

语音通话控制方法、装置、移动终端及存储介质Voice call control method, device, mobile terminal and storage medium 【技术领域】[Technical Field]
本发明涉及通信技术领域,特别涉及一种语音通话控制方法、装置、移动终端及存储介质。The present invention relates to the field of communication technologies, and in particular, to a method, a device, a mobile terminal, and a storage medium for controlling a voice call.
【背景技术】【Background technique】
在现在的移动终端中,通话来电的处理方式有接听,短信拒接,微信拒接等,随着即时通讯工具在用户日常使用过程的普及,用户对及时通讯工具比如微信、QQ等应用越来越依赖,语音通话是通过语音并借助传输媒介的沟通方式,常见的有座机通话、手机通话、对讲机通话、网络语音通话等,可分为消耗流量及消耗话费的两种形式,为了节省基本通话费用,网络语音通话的使用越来越频繁。In current mobile terminals, the processing methods of call incoming calls include answering, SMS rejection, WeChat rejection, etc. With the popularity of instant messaging tools in the daily use of users, users increasingly use instant messaging tools such as WeChat and QQ. The more dependent, voice calls are communication methods through voice and transmission media. There are common landline calls, mobile phone calls, walkie-talkie calls, and network voice calls. They can be divided into two forms that consume traffic and call charges. In order to save basic calls Costs, the use of Internet voice calls are becoming more frequent.
现有的语音通话过程中,需要用户手动的进行语音业务通话或网络业务通话的选择,以对应控制进行CS(Circuit Switch,电路交换)链路或PS(PacketSwitch,分组交换)链路的连接,以保障后续语音通话的实施,但由于需要用户主动的进行选择,进而导致用户操作繁琐,用户体验较差。In the existing voice call process, the user needs to manually select a voice service call or a network service call to control the connection of a CS (Circuit Switch) circuit or a PS (Packet Switch) link correspondingly. To ensure the implementation of subsequent voice calls, but the user needs to make an active choice, which leads to tedious user operations and poor user experience.
【发明内容】[Summary of the Invention]
基于此,本发明提供一种自动控制进行语音业务或网络业务选择的语音通话控制方法、装置、移动终端及存储介质。Based on this, the present invention provides a method, a device, a mobile terminal, and a storage medium for automatically controlling voice call or network service selection.
第一方面,本发明提供了一种语音通话控制方法,所述方法,包括:In a first aspect, the present invention provides a voice call control method, the method including:
当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;When receiving a call signal sent by the calling end to the called end, determining whether the calling end and the called end meet the network call conditions;
当判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;When it is determined that the calling end and / or the called end do not meet the network call conditions, a circuit switching domain between the calling end and the called end is established, and the circuit switching is performed according to the circuit switching A domain to realize transmission of a voice radio frequency signal between the calling end and the called end to perform a voice service between the calling end and the called end;
当判断到所述主叫端和所述被叫端均满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫 端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务。When it is determined that both the calling end and the called end meet the network call conditions, a packet switching domain between the calling end and the called end is established, and is implemented according to the packet switching domain. Transmission of a voice message signal between the calling end and the called end to perform a data service between the calling end and the called end.
上述语音通话控制方法,当接收到所述呼叫信号时,通过分别对所述主叫端和所述被叫端是否满足所述网络通话条件的判定设计,以判定当前是否进行数据业务的语音通话,以使自动开启分组交换域或电路交换域,实现数据业务的通话或语音业务的通话,无需用户手动的进行语音业务或网络业务选择,简化用户的操作,提高了用户体验。In the above voice call control method, when the call signal is received, the judgment design of whether the calling end and the called end meet the network call conditions is made to determine whether a voice call for a data service is currently performed In order to enable the packet-switched domain or circuit-switched domain to be automatically opened to realize the call of the data service or the call of the voice service, the user does not need to manually select the voice service or the network service, simplifying the operation of the user and improving the user experience.
进一步地,所述判断所述主叫端和所述被叫端是否均满足网络通话条件的步骤包括:Further, the step of judging whether the calling end and the called end meet the network call conditions includes:
分别获取所述主叫端和所述被叫端的本地网络状态,并判断所述本地网络状态是否均处于网络连接状态;Acquiring the local network statuses of the calling end and the called end respectively, and determining whether the local network statuses are both in a network connection state;
若是,则判定所述主叫端和所述被叫端均满足所述网络通话条件。If yes, it is determined that both the calling end and the called end meet the network call conditions.
进一步地,所述判断所述本地网络状态是否均处于网络连接状态的步骤包括:Further, the step of determining whether the local network state is in a network connection state includes:
分别判断所述主叫端和所述被叫端是否均处于WIFI连接状态;Separately determining whether the calling end and the called end are in a WIFI connection state;
当判断到所述主叫端和所述被叫端均处于所述WIFI连接状态时,判定所述本地网络状态均处于所述网络连接状态;When it is determined that both the calling end and the called end are in the WIFI connection state, it is determined that the local network state is both in the network connection state;
当判断到所述主叫端和所述被叫端和/或未处于所述WIFI连接状态时,分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态;When it is determined that the calling end and the called end and / or are not in the WIFI connection state, it is determined whether the mobile network ports of the calling end and the called end are in an open state, respectively;
若是,则判定所述本地网络状态均处于所述网络连接状态。If yes, it is determined that the local network states are all in the network connection state.
进一步地,所述判断到所述主叫端和所述被叫端均处于所述WIFI连接状态的步骤之后,所述方法还包括:Further, after the step of determining that both the calling end and the called end are in the WIFI connection state, the method further includes:
根据所述WIFI连接状态查询目标WIFI网络;Querying the target WIFI network according to the WIFI connection status;
获取所述目标WIFI网络的网络传输速度,并判断所述网络传输速度是否大于传输阈值;Acquiring the network transmission speed of the target WIFI network, and determining whether the network transmission speed is greater than a transmission threshold;
若否,则判定所述WIFI连接状态对应的所述主叫端或所述被叫端未满足所述网络通话条件。If not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not meet the network call conditions.
进一步地,所述分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态的步骤之后,所述方法还包括:Further, after the step of judging whether the mobile network port of the calling end and the called end are both open, the method further includes:
当判断到所述移动网络端口处于开启状态时,查询所述移动网络端口对应的所述主叫端或所述被叫端的剩余流量值,并判断所述剩余流量值是否大于流 量阈值;When it is determined that the mobile network port is in an open state, querying the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and determining whether the remaining traffic value is greater than a traffic threshold;
若否,则判定所述移动网络端口对应的所述主叫端或所述被叫端未满足所述网络通话条件。If not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
进一步地,所述判断所述主叫端和所述被叫端是否均满足网络通话条件的步骤之前,所述方法还包括:Further, before the step of judging whether the calling end and the called end meet the network call conditions, the method further includes:
判断所述主叫端与所述被叫端中是否存在相同的即时通讯应用;Determining whether the same instant messaging application exists in the calling terminal and the called terminal;
当判断到所述主叫端和所述被叫端中未存在相同的所述即时通讯应用时,判定所述主叫端和所述被叫端均未满足所述网络通话条件;When it is determined that the same instant messaging application does not exist in the calling end and the called end, it is determined that neither the calling end nor the called end satisfies the network call conditions;
当判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时,判断在所述即时通讯应用中所述主叫端和所述被叫端是否互为好友;When it is determined that the calling terminal and the called terminal have the same instant messaging application, determining whether the calling terminal and the called terminal are friends with each other in the instant messaging application;
若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件。If not, it is determined that neither the calling end nor the called end satisfies the network call conditions.
进一步地,所述当判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时的步骤之后,所述方法还包括:Further, after determining that the same instant messaging application exists in the calling end and the called end, the method further includes:
在所述即时通讯应用中将所述主叫端和所述被叫端互相加为好友。Adding the calling terminal and the called terminal to each other as friends in the instant messaging application.
第二方面,本发明提供了一种语音通话控制装置,包括:In a second aspect, the present invention provides a voice call control device, including:
第一判断模块,用于当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;A first determining module, configured to determine whether both the calling end and the called end meet the network call conditions when receiving a call signal sent by the calling end to the called end;
第一通话模块,用于当所述第一判断模块判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;A first calling module, configured to establish the calling terminal and the called terminal when the first judging module determines that the calling terminal and / or the called terminal does not meet the network call conditions Circuit switching domain between them, and transmitting the voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, so as to perform communication between the calling terminal and the called terminal Voice services
第二通话模块,用于当所述第一判断模块判断到所述主叫端和所述被叫端均满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务。A second call module configured to establish a connection between the calling terminal and the called terminal when the first judging module determines that both the calling terminal and the called terminal meet the network call conditions A packet switching domain, and transmitting a voice message signal between the calling end and the called end according to the packet switching domain, so as to carry out communication between the calling end and the called end Data business.
其中,所述第一判断模块包括:The first judgment module includes:
第一判断单元,用于分别获取所述主叫端和所述被叫端的本地网络状态,并判断所述本地网络状态是否均处于网络连接状态;若是,则判定所述主叫端和所述被叫端均满足所述网络通话条件。A first determining unit, configured to obtain the local network statuses of the calling end and the called end respectively, and determine whether the local network statuses are both in a network connection state; if yes, determine the calling end and the The called end meets the network call conditions.
其中,所述第一判断单元包括:The first judgment unit includes:
第二判断单元,用于分别判断所述主叫端和所述被叫端是否均处于WIFI连 接状态,若是,则判定所述本地网络状态均处于所述网络连接状态;A second judging unit, configured to judge whether the calling end and the called end are both in a WIFI connection state, and if yes, determine that the local network state is in the network connection state;
第三判断单元,用于当所述第二判断单元判断到所述主叫端和所述被叫端和/或未处于所述WIFI连接状态时,分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态;若是,则判定所述本地网络状态均处于所述网络连接状态。A third judging unit, configured to judge the calling end and the called end respectively when the second judging unit determines that the calling end and the called end are not in the WIFI connection state Whether the mobile network port of the calling terminal is in an open state; if so, it is determined that the local network state is in the network connection state.
第四判断单元,用于当所述第二判断单元判断到所述主叫端和所述被叫端均处于所述WIFI连接状态时,根据所述WIFI连接状态查询目标WIFI网络,获取所述目标WIFI网络的网络传输速度,并判断所述网络传输速度是否大于传输阈值;若否,则判定所述WIFI连接状态对应的所述主叫端或所述被叫端未满足所述网络通话条件。A fourth judging unit, configured to: when the second judging unit judges that the calling end and the called end are both in the WIFI connection state, query the target WIFI network according to the WIFI connection state, and obtain the The network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than the transmission threshold; if not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not meet the network call conditions .
第五判断单元,用于当所述第三判断单元判断到所述移动网络端口处于开启状态时,查询所述移动网络端口对应的所述主叫端或所述被叫端的剩余流量值,并判断所述剩余流量值是否大于流量阈值;若否,则判定所述移动网络端口对应的所述主叫端或所述被叫端未满足所述网络通话条件。A fifth judging unit, configured to query, when the third judging unit determines that the mobile network port is in an open state, the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and It is determined whether the remaining traffic value is greater than a traffic threshold; if not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
其中,所述语音通话控制装置还包括:The voice call control device further includes:
第二判断模块,用于判断所述主叫端与所述被叫端中是否存在相同的即时通讯应用;若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件;A second determining module, configured to determine whether the same instant messaging application exists in the calling end and the called end; if not, determining that neither the calling end nor the called end satisfies the network Call conditions
第三判断模块,用于当所述第二判断模块判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时,判断在所述即时通讯应用中所述主叫端和所述被叫端是否互为好友;若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件。A third judgment module, configured to judge the caller in the instant messaging application when the second judgment module determines that the same instant messaging application exists in the calling end and the called end Whether the terminal and the called terminal are friends with each other; if not, it is determined that neither the calling terminal nor the called terminal satisfies the network call condition.
好友添加模块,用于当所述第三判断模块判断到在所述即时通讯应用中所述主叫端和所述被叫端并不是互为好友时,将所述主叫端和所述被叫端互相加为好友。A friend adding module is configured to: when the third judging module determines that the calling terminal and the called terminal are not friends with each other in the instant messaging application, the calling terminal and the called terminal Call each other as friends.
上述语音通话控制装置,当接收到所述呼叫信号时,通过所述第一判断模块分别对所述主叫端和所述被叫端是否满足所述网络通话条件的判定设计,以判定当前是否进行数据业务的语音通话,以使自动开启分组交换域或电路交换域,实现数据业务的通话或语音业务的通话,无需用户手动的进行语音业务或网络业务选择,简化用户的操作,提高了用户体验。In the above voice call control device, when the call signal is received, the first judging module separately determines whether the calling end and the called end meet the network call conditions to determine whether the current call Make voice calls for data services so that packet-switched domains or circuit-switched domains are automatically opened to implement data service calls or voice service calls. There is no need for users to manually select voice services or network services, which simplifies user operations and improves users Experience.
第三方面,本发明提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器运行所述计算机程序以 使所述移动终端执行上述的语音通话控制方法。In a third aspect, the present invention provides a mobile terminal including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor running the computer program to cause the mobile terminal to execute The above-mentioned voice call control method.
第四方面,本发明提供了一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的语音通话控制方法的步骤。In a fourth aspect, the present invention provides a storage medium having stored thereon a computer program, which is executed by a processor to implement the steps of the above-mentioned voice call control method.
【附图说明】[Brief Description of the Drawings]
图1为本发明第一实施例提供的语音通话控制方法的流程图;FIG. 1 is a flowchart of a voice call control method according to a first embodiment of the present invention;
图2为本发明第二实施例提供的语音通话控制方法的流程图;2 is a flowchart of a voice call control method according to a second embodiment of the present invention;
图3为图2中步骤S21的具体实施步骤的流程图;3 is a flowchart of specific implementation steps of step S21 in FIG. 2;
图4为本发明第三实施例提供的语音通话控制装置的结构示意图。FIG. 4 is a schematic structural diagram of a voice call control apparatus according to a third embodiment of the present invention.
【具体实施方式】【detailed description】
为了便于更好地理解本发明,下面将结合相关实施例附图对本发明进行进一步地解释。附图中给出了本发明的实施例,但本发明并不仅限于上述的优选实施例。相反,提供这些实施例的目的是为了使本发明的公开面更加得充分。In order to facilitate a better understanding of the present invention, the present invention will be further explained below with reference to the accompanying drawings. The embodiments of the present invention are shown in the drawings, but the present invention is not limited to the above-mentioned preferred embodiments. Rather, these embodiments are provided to make the disclosure of the present invention more sufficient.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。Logic and / or steps represented in a flowchart or otherwise described herein, for example, a sequenced list of executable instructions that may be considered to implement a logical function, may be embodied in any computer-readable medium, For use by, or in combination with, an instruction execution system, device, or device (such as a computer-based system, a system that includes a processor, or another system that can fetch and execute instructions from an instruction execution system, device, or device) Or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, the description with reference to the terms “one embodiment”, “some embodiments”, “examples”, “specific examples”, or “some examples” and the like means specific features described in conjunction with the embodiments or examples , Structure, material, or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
请参阅图1,为本发明第一实施例提供的语音通话控制方法的流程图,包括步骤S10至S30。Please refer to FIG. 1, which is a flowchart of a voice call control method according to a first embodiment of the present invention, including steps S10 to S30.
步骤S10,当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;Step S10: When receiving a call signal sent by the calling end to the called end, determine whether the calling end and the called end meet the network call conditions;
其中,所述主叫端和所述被叫端可以为任意具有语音通话通能的终端设备,该终端设备可以为手机、平板或智能穿戴设备,本实施例中所述主叫端和所述被叫端均为手机,且该呼叫信号通过采用拨号或选中联系人的方式进行的发送,所述呼叫信号中存储有所述主叫端和所述被叫端的电话号码;The calling end and the called end may be any terminal device capable of voice call, and the terminal device may be a mobile phone, a tablet, or a smart wearable device. In this embodiment, the calling end and the called end The called end is a mobile phone, and the call signal is sent by dialing or selecting a contact, and the call signal stores the phone numbers of the calling end and the called end;
具体的,所述网络通话条件可以根据用户的需求自主进行设置,本实施例中所述网络通话条件用于分别判断所述主叫端和所述被叫端的本地网络状态是否有效保障网络语音通话的进行,所述网络通话条件可以为分别判断所述主叫端和所述被叫端的当前网络传输速度是否大于预设速度,若是,则判定所述主叫端和所述被叫端均满足所述网络通话条件;Specifically, the network call conditions can be set independently according to the needs of the user. In this embodiment, the network call conditions are used to judge whether the local network statuses of the calling end and the called end are effective to ensure a network voice call. The network call conditions may be to determine whether the current network transmission speed of the calling and called ends is greater than a preset speed, and if so, determine that both the calling and called ends meet The network call conditions;
优选的,在步骤S10之前,所述方法还包括:Preferably, before step S10, the method further includes:
步骤S100,判断所述主叫端与所述被叫端中是否存在相同的即时通讯应用;Step S100: Determine whether the same instant messaging application exists in the calling terminal and the called terminal;
其中,所述即时通讯应用可以为任意具备网络通话功能的应用,例如微信或QQ等应用;The instant messaging application may be any application having a network call function, such as an application such as WeChat or QQ;
优选的,该步骤中通过分别获取所述主叫端和所述被叫端的应用列表后进行匹配判断,以判定所述主叫端与所述被叫端中是否存在相同的即时通讯应用;Preferably, in this step, the application list of the calling terminal and the called terminal is obtained separately and then matching judgment is performed to determine whether the same instant messaging application exists in the calling terminal and the called terminal;
当步骤S100判断到所述主叫端和所述被叫端中未存在相同的所述即时通讯应用时,执行步骤S101;When it is determined in step S100 that the calling terminal and the called terminal do not have the same instant messaging application, step S101 is performed;
步骤S101,判定所述主叫端和所述被叫端均未满足所述网络通话条件;Step S101, determining that neither the calling end nor the called end satisfies the network call conditions;
当步骤S100判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时,执行步骤S102;When it is determined in step S100 that the same instant messaging application exists in the calling end and the called end, step S102 is performed;
步骤S102,判断在所述即时通讯应用中所述主叫端和所述被叫端是否互为好友;Step S102, determining whether the calling end and the called end are friends with each other in the instant messaging application;
其中,该步骤中通过分别获取所述主叫端和所述被叫端在所述即时通讯应用中的账号后,获取所述即时通讯应用中的好友列表,并在获取到的好友列表中查询对应账号是否存在,以判定所述主叫端和所述被叫端是否互为好友;Wherein, in this step, after obtaining the account of the calling terminal and the called terminal in the instant messaging application, the friend list in the instant messaging application is obtained, and the obtained friend list is queried. Whether a corresponding account exists to determine whether the calling end and the called end are friends with each other;
具体的,当用户A为主叫端,用户B为被叫端时,该即时通讯应用为微信时,用户A在微信中的账号名称为C,用户B在微信中的账号名称为D,名称C在微信中的好友列表为列表E,名称D在微信中的好友列表为列表F,通过分别判断该列表E中是否存在名称D、判断列表F中是否存在名称C,以判断所述主叫端和所述被叫端是否互为好友;Specifically, when user A is the calling terminal and user B is the called terminal, when the instant messaging application is WeChat, the account name of User A in WeChat is C, and the account name of User B in WeChat is D, and the name The friend list of C in WeChat is list E, and the friend list of name D in WeChat is list F. By judging whether the name D exists in the list E and whether the name C exists in the list F, the caller is judged. Whether the terminal and the called terminal are friends with each other;
当步骤S102判断到所述即时通讯应用中所述主叫端和所述被叫端不是互为 好友时,执行步骤S103;When it is determined in step S102 that the calling terminal and the called terminal are not friends with each other in the instant messaging application, step S103 is performed;
步骤S103,判定所述主叫端和所述被叫端均未满足所述网络通话条件;Step S103: determine that neither the calling end nor the called end satisfies the network call conditions;
优选的,步骤S103还可以为:Preferably, step S103 may also be:
在所述即时通讯应用中将所述主叫端和所述被叫端互相加为好友。Adding the calling terminal and the called terminal to each other as friends in the instant messaging application.
当步骤S10判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,执行步骤S20;When it is determined in step S10 that the calling end and / or the called end do not meet the network call conditions, step S20 is performed;
步骤S20,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;Step S20: establishing a circuit switching domain between the calling terminal and the called terminal, and realizing transmission of a voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, To perform a voice service between the calling end and the called end;
其中,电路交换域也叫CS域,主要有语音业务(AMR 12.2K),视频电话业务(CS64K),在该电路交换域中主叫端与被叫端之间采用语音射频信号的方式进行通话,即正常的手机拨号通话功能,通过消耗话费实现通话;Among them, the circuit-switched domain is also called the CS domain, which mainly includes voice services (AMR 12.2K) and video telephony services (CS64K). In this circuit-switched domain, calls are made between the calling end and the called end by means of voice radio frequency signals. , That is, the normal mobile phone dial-up call function, to achieve the call by consuming phone charges;
当步骤S10判断到所述主叫端和所述被叫端均满足所述网络通话条件时,执行步骤S30;When it is determined in step S10 that both the calling end and the called end meet the network call conditions, step S30 is performed;
其中,当判断到所述主叫端和所述被叫端均满足所述网络通话条件时,则判定所述主叫端和所述被叫端当前网络状态均良好,能进行正常的网络通话;Wherein, when it is determined that both the calling end and the called end meet the network call conditions, it is determined that the current network status of the calling end and the called end is good, and normal network calls can be made. ;
步骤S30,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务;Step S30: Establish a packet switching domain between the calling end and the called end, and implement transmission of a voice message signal between the calling end and the called end according to the packet switching domain. To perform a data service between the calling end and the called end;
其中,分组交换域叫数据交换域或PS域,负责数据业务,包括PS384K业务(UE发起384kbps PS域数据业务,是用手机下载一些数据文件等),在该分组交换域中所述主叫端与所述被叫端之间通过采用数据报文的方式进行语音信号的传输,以实现网络语音通话功能,即所述主叫端和所述被叫端上采用消耗流量的方式进行语音通话。The packet switching domain is called the data switching domain or the PS domain, and is responsible for data services, including PS384K services (the UE initiates 384kbps PS domain data services and downloads some data files with a mobile phone, etc.). The calling terminal in the packet switching domain The voice signal is transmitted to the called terminal by using a data message to implement a network voice call function, that is, the calling terminal and the called terminal use a data consumption mode for a voice call.
本实施例中,当接收到所述呼叫信号时,通过分别对所述主叫端和所述被叫端是否满足所述网络通话条件的判定设计,以判定当前是否进行数据业务的语音通话,以使自动开启分组交换域或电路交换域,实现数据业务的通话或语音业务的通话,无需用户手动的进行语音业务或网络业务选择,简化用户的操作,提高了用户体验。In this embodiment, when the call signal is received, by determining whether the calling end and the called end meet the network call conditions, respectively, to determine whether a voice call for a data service is currently performed, In order to enable the packet-switched domain or circuit-switched domain to be automatically opened, the data service call or the voice service call is not required, and the user does not need to manually select the voice service or the network service, which simplifies the operation of the user and improves the user experience.
请参阅图2,为本发明第二实施例提供的语音通话控制方法的流程图,所述方法包括步骤S11至S41。Please refer to FIG. 2, which is a flowchart of a voice call control method according to a second embodiment of the present invention. The method includes steps S11 to S41.
步骤S11,当接收到主叫端向被叫端发送的呼叫信号时,分别获取所述主叫端和所述被叫端的本地网络状态;Step S11: When receiving a call signal sent by the calling end to the called end, obtain the local network states of the calling end and the called end respectively;
其中,所述主叫端和所述被叫端可以为任意具有语音通话通能的终端设备,该终端设备可以为手机、平板或智能穿戴设备,本实施例中所述主叫端和所述被叫端均为手机,且该呼叫信号通过采用拨号或选中联系人的方式进行的发送,所述呼叫信号中存储有所述主叫端和所述被叫端的电话号码;The calling end and the called end may be any terminal device capable of voice call, and the terminal device may be a mobile phone, a tablet, or a smart wearable device. In this embodiment, the calling end and the called end The called end is a mobile phone, and the call signal is sent by dialing or selecting a contact, and the call signal stores the phone numbers of the calling end and the called end;
具体的,所述本地网络状态对应包括所述主叫端或所述被叫端的当前网络的名称、当前网络传输速率和各个网络端口连接状态信息;Specifically, the local network status correspondingly includes a name of a current network of the calling end or the called end, a current network transmission rate, and connection status information of each network port;
步骤S21,判断所述本地网络状态是否均处于网络连接状态;Step S21: Determine whether the local network statuses are all in a network connection status;
其中,所述网络连接状态的判断用于判定所述主叫端或所述被叫端是否能保障网络通话的正常进行,即判断所述主叫端或所述被叫端当前是否有连接网络、网络的传输速率是否大于预设速率、网络的波动是否小于预设波动值;The determination of the network connection status is used to determine whether the calling end or the called end can guarantee the normal progress of the network call, that is, determining whether the calling end or the called end is currently connected to the network. Whether the transmission rate of the network is greater than a preset rate and whether the fluctuation of the network is less than a preset fluctuation value;
请参阅图3,为图2中步骤S21的具体实施步骤流程图:Please refer to FIG. 3, which is a flowchart of the specific implementation steps of step S21 in FIG. 2:
步骤S210,分别判断所述主叫端和所述被叫端是否均处于WIFI连接状态;Step S210: Determine whether the calling end and the called end are in a WIFI connection state;
其中,通过获取分别获取并判断所述主叫端和所述被叫端上WIFI端口是否处于连接状态,以判断是否均处于WIFI连接状态;Wherein, obtaining and judging whether the WIFI ports on the calling end and the called end are in a connected state through acquisition to determine whether they are both in a WIFI connection state;
当步骤S210判断到所述主叫端和所述被叫端均处于所述WIFI连接状态时,执行步骤S211;When it is determined in step S210 that both the calling end and the called end are in the WIFI connection state, step S211 is performed;
步骤S211,根据所述WIFI连接状态查询目标WIFI网络;Step S211: Query the target WIFI network according to the WIFI connection status;
其中,当所述主叫端和所述被叫端均处于所述WIFI连接状态时,可以通过查询对应WIFI端口信息以查询该目标WIFI网络;Wherein, when both the calling end and the called end are in the WIFI connection state, the target WIFI network may be queried by querying the corresponding WIFI port information;
步骤S212,获取所述目标WIFI网络的网络传输速度,并判断所述网络传输速度是否大于传输阈值;Step S212: Obtain a network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than a transmission threshold;
其中,该传输阈值可以根据用于用户需求自主进行设置,该传输阈值用于判断该目标WIFI网络是否能满足所述主叫端或所述被叫端上网络语音通话的需求;The transmission threshold can be set autonomously according to user requirements, and the transmission threshold is used to determine whether the target WIFI network can meet the needs of the voice call on the calling end or the called end;
当步骤S212判断到所述网络传输速度大于所述传输阈值时,执行步骤S213;When it is determined in step S212 that the network transmission speed is greater than the transmission threshold, step S213 is performed;
步骤S213,判定所述本地网络状态均处于所述网络连接状态;Step S213, it is determined that the local network status is all in the network connection status;
当步骤S210判断到所述主叫端和所述被叫端和/或未处于所述WIFI连接状态时,执行步骤S214。When it is determined in step S210 that the calling end and the called end are not in the WIFI connection state, step S214 is performed.
步骤S214,分别判断所述主叫端和所述被叫端的移动网络端口是否均处于 开启状态;Step S214: Determine whether the mobile network ports of the calling end and the called end are both open;
其中,该移动网络端口为所述主叫端或所述被叫端的本地网络端口,即用户的自身的手机网络;The mobile network port is a local network port of the calling end or the called end, that is, the user's own mobile phone network;
当步骤S214判断到所述主叫端和所述被叫端的移动网络端口均处于开启状态时,执行步骤S215;When it is determined in step S214 that the mobile network ports of the calling end and the called end are both open, step S215 is performed;
步骤S215,查询所述移动网络端口对应的所述主叫端或所述被叫端的剩余流量值,并判断所述剩余流量值是否均大于流量阈值;Step S215: Query the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and determine whether the remaining traffic value is greater than a traffic threshold;
其中,该流量阈值为用户在手机上预设的一数值,该数值用于当手机本地流量较少时停止网络语音通话功能的开启,以防止大量流量使用导致的话费费用的增加,提高了用户体验;The traffic threshold is a value preset by the user on the mobile phone. This value is used to stop the network voice call function when the mobile phone has a small amount of local traffic, so as to prevent the increase of the call charge caused by the use of a large amount of traffic, which improves the user Experience
当步骤S215判断到所述剩余流量值未均大于所述流量阈值时,执行步骤S216。When it is determined in step S215 that the remaining flow values are not all greater than the flow threshold, step S216 is performed.
步骤S216,判定所述移动网络端口对应的所述主叫端或所述被叫端未满足所述网络通话条件,判定所述本地网络状态未均处于所述网络连接状态;Step S216, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions, and it is determined that the local network state is not in the network connection state;
当步骤S215判断到所述剩余流量值均大于所述流量阈值时,执行步骤S217。When it is determined in step S215 that the remaining flow value is greater than the flow threshold, step S217 is performed.
步骤S217,判定所述移动网络端口对应的所述主叫端和所述被叫端均满足所述网络通话条件,判定所述本地网络状态均处于所述网络连接状态。In step S217, it is determined that both the calling end and the called end corresponding to the mobile network port meet the network call conditions, and it is determined that the local network state is in the network connection state.
请继续参阅图2,当步骤S21判断到所述主叫端和/或所述被叫端对应的所述本地网络状态未处于所述网络连接状态时,执行步骤S31;Please continue to refer to FIG. 2, when it is determined in step S21 that the local network state corresponding to the calling end and / or the called end is not in the network connection state, step S31 is performed;
步骤S31,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;Step S31: establishing a circuit switching domain between the calling terminal and the called terminal, and realizing transmission of a voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, To perform a voice service between the calling end and the called end;
其中,电路交换域也叫CS域,主要有语音业务(AMR 12.2K),视频电话业务(CS64K),在该电路交换域中主叫端与被叫端之间采用语音射频信号的方式进行通话,即正常的手机拨号通话功能,通过消耗话费实现通话。Among them, the circuit-switched domain is also called the CS domain, which mainly includes voice services (AMR 12.2K) and video telephony services (CS64K). In this circuit-switched domain, calls are made between the calling end and the called end by means of voice radio frequency signals. , That is, the normal mobile phone dial-up call function, to achieve the call by consuming phone charges.
当步骤S21判断到所述主叫端和所述被叫端对应的所述本地网络状态均处于所述网络连接状态时,执行步骤S41;When it is determined in step S21 that the local network states corresponding to the calling end and the called end are both in the network connection state, step S41 is performed;
步骤S41,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务;Step S41: Establish a packet switching domain between the calling terminal and the called terminal, and implement transmission of a voice message signal between the calling terminal and the called terminal according to the packet switching domain. To perform a data service between the calling end and the called end;
其中,分组交换域叫数据交换域或PS域,负责数据业务,包括PS384K业 务(UE发起384kbps PS域数据业务,是用手机下载一些数据文件等),在该分组交换域中所述主叫端与所述被叫端之间通过采用数据报文的方式进行语音信号的传输,以实现网络语音通话功能,即所述主叫端和所述被叫端上采用消耗流量的方式进行语音通话。The packet switching domain is called the data switching domain or the PS domain, and is responsible for data services, including PS384K services (the UE initiates 384kbps PS domain data services and downloads some data files with a mobile phone, etc.). The calling terminal in the packet switching domain The voice signal is transmitted to the called terminal by using a data message to implement a network voice call function, that is, the calling terminal and the called terminal use a data consumption mode for a voice call.
本实施例中,当接收到所述呼叫信号时,通过分别对所述主叫端和所述被叫端是否满足所述网络通话条件的判定设计,以判定当前是否进行数据业务的语音通话,以使自动开启分组交换域或电路交换域,实现数据业务的通话或语音业务的通话,无需用户手动的进行语音业务或网络业务选择,简化用户的操作,提高了用户体验。In this embodiment, when the call signal is received, by determining whether the calling end and the called end meet the network call conditions, respectively, to determine whether a voice call for a data service is currently performed, In order to enable the packet-switched domain or circuit-switched domain to be automatically opened, the data service call or the voice service call is not required, and the user does not need to manually select the voice service or the network service, which simplifies the operation of the user and improves the user experience.
请参阅图4,为本发明第三实施例提供的语音通话控制装置100的结构示意图,包括:Please refer to FIG. 4, which is a schematic structural diagram of a voice call control apparatus 100 according to a third embodiment of the present invention, including:
第一判断模块10,用于当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;The first determining module 10 is configured to determine whether the calling end and the called end meet the network call conditions when receiving a call signal sent by the calling end to the called end;
第一通话模块12,用于当所述第一判断模块10判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;A first call module 12 configured to establish the calling terminal and the called party when the first judging module 10 determines that the calling terminal and / or the called terminal does not meet the network call conditions A circuit switching domain between the calling terminal and transmitting voice radio frequency signals between the calling terminal and the called terminal according to the circuit switching domain to perform the calling terminal and the called terminal Voice services between
第二通话模块13,用于当所述第一判断模块10判断到所述主叫端和所述被叫端均满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务。The second call module 13 is configured to establish the calling terminal and the called terminal when the first judging module 10 determines that both the calling terminal and the called terminal meet the network call conditions. A packet switching domain between them, and transmitting a voice message signal between the calling terminal and the called terminal according to the packet switching domain, so as to perform the communication between the calling terminal and the called terminal. Data services.
具体的,所述第一判断模块10包括:Specifically, the first judgment module 10 includes:
第一判断单元11,用于分别获取所述主叫端和所述被叫端的本地网络状态,并判断所述本地网络状态是否均处于网络连接状态;若是,则判定所述主叫端和所述被叫端均满足所述网络通话条件。The first determining unit 11 is configured to obtain the local network statuses of the calling end and the called end, and determine whether the local network statuses are both in a network connection state; if yes, determine the calling end and all The called end meets the network call conditions.
所述第一判断单元11包括:The first judgment unit 11 includes:
第二判断单元111,用于分别判断所述主叫端和所述被叫端是否均处于WIFI连接状态,若是,则判定所述本地网络状态均处于所述网络连接状态;The second determining unit 111 is configured to separately determine whether the calling end and the called end are both in a WIFI connection state, and if yes, determine that the local network state is in the network connection state;
第三判断单元112,用于当所述第二判断单元111判断到所述主叫端和所述被叫端和/或未处于所述WIFI连接状态时,分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态;若是,则判定所述本地网络状态均处于 所述网络连接状态。A third judging unit 112, configured to judge the calling end and the called end respectively when the second judging unit 111 determines that the calling end and the called end are not in the WIFI connection state; Whether the mobile network ports of the called terminal are all in an open state; if so, determining that the local network state is in the network connection state.
第四判断单元113,用于当所述第二判断单元111判断到所述主叫端和所述被叫端均处于所述WIFI连接状态时,根据所述WIFI连接状态查询目标WIFI网络,获取所述目标WIFI网络的网络传输速度,并判断所述网络传输速度是否大于传输阈值;若否,则判定所述WIFI连接状态对应的所述主叫端或所述被叫端未满足所述网络通话条件。A fourth determining unit 113, configured to: when the second determining unit 111 determines that the calling end and the called end are both in the WIFI connection state, query the target WIFI network according to the WIFI connection state, and obtain The network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than a transmission threshold; if not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not satisfy the network Call conditions.
第五判断单元114,用于当所述第三判断单元112判断到所述移动网络端口处于开启状态时,查询所述移动网络端口对应的所述主叫端或所述被叫端的剩余流量值,并判断所述剩余流量值是否大于流量阈值;若否,则判定所述移动网络端口对应的所述主叫端或所述被叫端未满足所述网络通话条件。A fifth determining unit 114 is configured to query the remaining traffic value of the calling end or the called end corresponding to the mobile network port when the third determining unit 112 determines that the mobile network port is in an open state. And determine whether the remaining traffic value is greater than a traffic threshold; if not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
此外,本实施例中所述语音通话控制装置100还包括:In addition, the voice call control device 100 in this embodiment further includes:
第二判断模块14,用于判断所述主叫端与所述被叫端中是否存在相同的即时通讯应用;若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件;A second determination module 14 is configured to determine whether the same instant messaging application exists in the calling end and the called end; if not, it is determined that neither the calling end nor the called end satisfies the Network call conditions
第三判断模块15,用于当所述第二判断模块14判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时,判断在所述即时通讯应用中所述主叫端和所述被叫端是否互为好友;若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件。A third judgment module 15 is configured to determine that in the instant messaging application, when the second judgment module 14 determines that the same instant messaging application exists in the calling end and the called end. Whether the calling end and the called end are friends with each other; if not, it is determined that neither the calling end nor the called end satisfies the network call condition.
好友添加模块16,用于当所述第三判断模块15判断到在所述即时通讯应用中所述主叫端和所述被叫端并不是互为好友时,将所述主叫端和所述被叫端互相加为好友。The friend adding module 16 is configured to: when the third judging module 15 determines that the calling terminal and the called terminal are not friends with each other in the instant messaging application, the calling terminal and the called terminal The called parties add each other as friends.
上述语音通话控制装置100,当接收到所述呼叫信号时,通过所述第一判断模块10分别对所述主叫端和所述被叫端是否满足所述网络通话条件的判定设计,以判定当前是否进行数据业务的语音通话,以使自动开启分组交换域或电路交换域,实现数据业务的通话或语音业务的通话,无需用户手动的进行语音业务或网络业务选择,简化用户的操作,提高了用户体验。When the voice call control device 100 receives the call signal, the first judging module 10 determines whether the calling end and the called end meet the network call conditions, so as to determine whether Whether to conduct a voice call for data services so that the packet-switched domain or circuit-switched domain is automatically turned on to implement data service calls or voice service calls. There is no need for users to manually select voice services or network services. User experience.
本实施例还提供了一种存储介质,其上存储有计算机程序,该程序在执行时,包括如下步骤:This embodiment also provides a storage medium on which a computer program is stored. When the program is executed, the program includes the following steps:
当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;When receiving a call signal sent by the calling end to the called end, determining whether the calling end and the called end meet the network call conditions;
当判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,建立所 述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;When it is determined that the calling end and / or the called end do not meet the network call conditions, a circuit switching domain between the calling end and the called end is established, and the circuit switching is performed according to the circuit switching A domain to realize transmission of a voice radio frequency signal between the calling end and the called end to perform a voice service between the calling end and the called end;
当判断到所述主叫端和所述被叫端均满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务。所述的存储介质,如:ROM/RAM、磁碟、光盘等。When it is determined that both the calling end and the called end meet the network call conditions, a packet switching domain between the calling end and the called end is established, and is implemented according to the packet switching domain. Transmission of a voice message signal between the calling end and the called end to perform a data service between the calling end and the called end. The storage medium is, for example, ROM / RAM, magnetic disk, optical disk, and the like.
上述实施例描述了本发明的技术原理,这些描述只是为了解释本发明的原理,而不能以任何方式解释为本发明保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明的其他具体实施方式,这些方式都将落入本发明的保护范围内。The above embodiments describe the technical principles of the present invention. These descriptions are only for explaining the principles of the present invention, and cannot be interpreted in any way as a limitation of the protection scope of the present invention. Based on the explanation here, those skilled in the art can think of other specific embodiments of the present invention without creative labor, and these modes will fall into the protection scope of the present invention.
计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
此外,本申请还提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器运行所述计算机程序以使所述移动终端执行上述任一语音通话控制方法实施例中的步骤。In addition, the present application also provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor runs the computer program to enable the mobile terminal to execute the foregoing. Steps in any embodiment of a voice call control method.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application-specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

Claims (16)

  1. 一种语音通话控制方法,其中,所述方法包括:A voice call control method, wherein the method includes:
    当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;When receiving a call signal sent by the calling end to the called end, determining whether the calling end and the called end meet the network call conditions;
    当判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;When it is determined that the calling end and / or the called end do not meet the network call conditions, a circuit switching domain between the calling end and the called end is established, and the circuit switching is performed according to the circuit switching A domain to realize transmission of a voice radio frequency signal between the calling end and the called end to perform a voice service between the calling end and the called end;
    当判断到所述主叫端和所述被叫端均满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的分组交换域,并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务。When it is determined that both the calling end and the called end meet the network call conditions, a packet switching domain between the calling end and the called end is established, and is implemented according to the packet switching domain. Transmission of a voice message signal between the calling end and the called end to perform a data service between the calling end and the called end.
  2. 根据权利要求1所述的语音通话控制方法,其中,所述判断所述主叫端和所述被叫端是否均满足网络通话条件的步骤包括:The method for controlling a voice call according to claim 1, wherein the step of judging whether the calling end and the called end satisfy a network call condition comprises:
    分别获取所述主叫端和所述被叫端的本地网络状态,并判断所述本地网络状态是否均处于网络连接状态;Acquiring the local network statuses of the calling end and the called end respectively, and determining whether the local network statuses are both in a network connection state;
    若是,则判定所述主叫端和所述被叫端均满足所述网络通话条件。If yes, it is determined that both the calling end and the called end meet the network call conditions.
  3. 根据权利要求2所述的语音通话控制方法,其中,所述判断所述本地网络状态是否均处于网络连接状态的步骤包括:The voice call control method according to claim 2, wherein the step of determining whether the local network state is in a network connection state comprises:
    分别判断所述主叫端和所述被叫端是否均处于WIFI连接状态;Separately determining whether the calling end and the called end are in a WIFI connection state;
    当判断到所述主叫端和所述被叫端均处于所述WIFI连接状态时,判定所述本地网络状态均处于所述网络连接状态;When it is determined that both the calling end and the called end are in the WIFI connection state, it is determined that the local network state is both in the network connection state;
    当判断到所述主叫端和所述被叫端和/或未处于所述WIFI连接状态时,分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态;When it is determined that the calling end and the called end and / or are not in the WIFI connection state, it is determined whether the mobile network ports of the calling end and the called end are in an open state, respectively;
    若是,则判定所述本地网络状态均处于所述网络连接状态。If yes, it is determined that the local network states are all in the network connection state.
  4. 根据权利要求3所述的语音通话控制方法,其中,所述判断到所述主叫端和所述被叫端均处于所述WIFI连接状态的步骤之后,所述方法还包括:The method for controlling a voice call according to claim 3, wherein after the step of determining that both the calling end and the called end are in the WIFI connection state, the method further comprises:
    根据所述WIFI连接状态查询目标WIFI网络;Querying the target WIFI network according to the WIFI connection status;
    获取所述目标WIFI网络的网络传输速度,并判断所述网络传输速度是否大于传输阈值;Acquiring the network transmission speed of the target WIFI network, and determining whether the network transmission speed is greater than a transmission threshold;
    若否,则判定所述WIFI连接状态对应的所述主叫端或所述被叫端未满足所述网络通话条件。If not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not meet the network call conditions.
  5. 根据权利要求3所述的语音通话控制方法,其中,所述分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态的步骤之后,所述方法还包括:The method for controlling a voice call according to claim 3, wherein after the step of separately determining whether the mobile network ports of the calling end and the called end are both open, the method further comprises:
    当判断到所述移动网络端口处于开启状态时,查询所述移动网络端口对应的所述主叫端或所述被叫端的剩余流量值,并判断所述剩余流量值是否大于流量阈值;When it is determined that the mobile network port is in an open state, querying the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and determining whether the remaining traffic value is greater than a traffic threshold;
    若否,则判定所述移动网络端口对应的所述主叫端或所述被叫端未满足所述网络通话条件。If not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
  6. 根据权利要求1所述的语音通话控制方法,其中,所述判断所述主叫端和所述被叫端是否均满足网络通话条件的步骤之前,所述方法还包括:The method for controlling a voice call according to claim 1, wherein before the step of judging whether both the calling end and the called end satisfy network call conditions, the method further comprises:
    判断所述主叫端与所述被叫端中是否存在相同的即时通讯应用;Determining whether the same instant messaging application exists in the calling terminal and the called terminal;
    当判断到所述主叫端和所述被叫端中未存在相同的所述即时通讯应用时,判定所述主叫端和所述被叫端均未满足所述网络通话条件;When it is determined that the same instant messaging application does not exist in the calling end and the called end, it is determined that neither the calling end nor the called end satisfies the network call conditions;
    当判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时,判断在所述即时通讯应用中所述主叫端和所述被叫端是否互为好友;When it is determined that the calling terminal and the called terminal have the same instant messaging application, determining whether the calling terminal and the called terminal are friends with each other in the instant messaging application;
    若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件。If not, it is determined that neither the calling end nor the called end satisfies the network call conditions.
  7. 根据权利要求6所述的语音通话控制方法,其中,所述当判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时的步骤之后,所述方法还包括:The method for controlling a voice call according to claim 6, wherein after determining that the same instant messaging application exists in the calling end and the called end, the method further comprises:
    在所述即时通讯应用中将所述主叫端和所述被叫端互相加为好友。Adding the calling terminal and the called terminal to each other as friends in the instant messaging application.
  8. 一种语音通话控制装置,其中,包括:A voice call control device, including:
    第一判断模块,用于当接收到主叫端向被叫端发送的呼叫信号时,判断所述主叫端和所述被叫端是否均满足网络通话条件;A first determining module, configured to determine whether both the calling end and the called end meet the network call conditions when receiving a call signal sent by the calling end to the called end;
    第一通话模块,用于当所述第一判断模块判断到所述主叫端和/或所述被叫端未满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的电路交换域,并根据所述电路交换域实现所述主叫端与所述被叫端之间的语音射频信号的传输,以进行所述主叫端与所述被叫端之间的语音业务;A first calling module, configured to establish the calling terminal and the called terminal when the first judging module determines that the calling terminal and / or the called terminal does not meet the network call conditions Circuit switching domain between them, and transmitting the voice radio frequency signal between the calling terminal and the called terminal according to the circuit switching domain, so as to perform communication between the calling terminal and the called terminal Voice services
    第二通话模块,用于当所述第一判断模块判断到所述主叫端和所述被叫端均满足所述网络通话条件时,建立所述主叫端与所述被叫端之间的分组交换域, 并根据所述分组交换域实现所述主叫端与所述被叫端之间的语音报文信号的传输,以进行所述主叫端与所述被叫端之间的数据业务。A second call module configured to establish a connection between the calling terminal and the called terminal when the first judging module determines that both the calling terminal and the called terminal meet the network call conditions A packet switching domain, and according to the packet switching domain, transmitting a voice message signal between the calling end and the called end, so as to perform communication between the calling end and the called end. Data business.
  9. 根据权利要求8所述的装置,其中,所述第一判断模块包括:The apparatus according to claim 8, wherein the first judgment module comprises:
    第一判断单元,用于分别获取所述主叫端和所述被叫端的本地网络状态,并判断所述本地网络状态是否均处于网络连接状态;若是,则判定所述主叫端和所述被叫端均满足所述网络通话条件。A first determining unit, configured to obtain the local network statuses of the calling end and the called end respectively, and determine whether the local network statuses are both in a network connection state; if yes, determine the calling end and the The called end meets the network call conditions.
  10. 根据权利要求9所述的装置,其中,所述第一判断单元包括:The apparatus according to claim 9, wherein the first determining unit comprises:
    第二判断单元,用于分别判断所述主叫端和所述被叫端是否均处于WIFI连接状态,若是,则判定所述本地网络状态均处于所述网络连接状态;A second judging unit, configured to judge whether the calling end and the called end are both in a WIFI connection state, and if yes, determine that the local network state is in the network connection state;
    第三判断单元,用于当所述第二判断单元判断到所述主叫端和所述被叫端和/或未处于所述WIFI连接状态时,分别判断所述主叫端和所述被叫端的移动网络端口是否均处于开启状态;若是,则判定所述本地网络状态均处于所述网络连接状态。A third judging unit, configured to judge the calling end and the called end respectively when the second judging unit determines that the calling end and the called end are not in the WIFI connection state Whether the mobile network port of the calling terminal is in an open state; if so, it is determined that the local network state is in the network connection state.
  11. 根据权利要求10所述的装置,其中,所述第一判断单元还包括:The apparatus according to claim 10, wherein the first determining unit further comprises:
    第四判断单元,用于当所述第二判断单元判断到所述主叫端和所述被叫端均处于所述WIFI连接状态时,根据所述WIFI连接状态查询目标WIFI网络,获取所述目标WIFI网络的网络传输速度,并判断所述网络传输速度是否大于传输阈值;若否,则判定所述WIFI连接状态对应的所述主叫端或所述被叫端未满足所述网络通话条件。A fourth judging unit, configured to: when the second judging unit judges that the calling end and the called end are both in the WIFI connection state, query the target WIFI network according to the WIFI connection state, and obtain the The network transmission speed of the target WIFI network, and determine whether the network transmission speed is greater than the transmission threshold; if not, it is determined that the calling end or the called end corresponding to the WIFI connection status does not meet the network call conditions .
  12. 根据权利要求10所述的装置,其中,所述第一判断单元还包括:The apparatus according to claim 10, wherein the first determining unit further comprises:
    第五判断单元,用于当所述第三判断单元判断到所述移动网络端口处于开启状态时,查询所述移动网络端口对应的所述主叫端或所述被叫端的剩余流量值,并判断所述剩余流量值是否大于流量阈值;若否,则判定所述移动网络端口对应的所述主叫端或所述被叫端未满足所述网络通话条件。A fifth judging unit, configured to query, when the third judging unit determines that the mobile network port is in an open state, the remaining traffic value of the calling end or the called end corresponding to the mobile network port, and It is determined whether the remaining traffic value is greater than a traffic threshold; if not, it is determined that the calling end or the called end corresponding to the mobile network port does not meet the network call conditions.
  13. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus according to claim 8, wherein the apparatus further comprises:
    第二判断模块,用于判断所述主叫端与所述被叫端中是否存在相同的即时通讯应用;若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件;A second determining module, configured to determine whether the same instant messaging application exists in the calling end and the called end; if not, determining that neither the calling end nor the called end satisfies the network Call conditions
    第三判断模块,用于当所述第二判断模块判断到所述主叫端和所述被叫端中存在相同的所述即时通讯应用时,判断在所述即时通讯应用中所述主叫端和所述被叫端是否互为好友;若否,则判定所述主叫端和所述被叫端均未满足所述网络通话条件。A third judgment module, configured to judge the caller in the instant messaging application when the second judgment module determines that the same instant messaging application exists in the calling end and the called end Whether the terminal and the called terminal are friends with each other; if not, it is determined that neither the calling terminal nor the called terminal satisfies the network call condition.
  14. 根据权利要求13所述的装置,其中,所述装置还包括:The apparatus according to claim 13, wherein the apparatus further comprises:
    好友添加模块,用于当所述第三判断模块判断到在所述即时通讯应用中所述主叫端和所述被叫端并不是互为好友时,将所述主叫端和所述被叫端互相加为好友。A friend adding module is configured to: when the third judging module determines that the calling terminal and the called terminal are not friends with each other in the instant messaging application, the calling terminal and the called terminal Call each other as friends.
  15. 一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器运行所述计算机程序以使所述移动终端执行根据权利要求1至7任一项所述的语音通话控制方法。A mobile terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor runs the computer program to cause the mobile terminal to execute the mobile terminal according to claims 1 to 7 The voice call control method according to any one.
  16. 一种存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现权利要求1至7任一项所述的语音通话控制方法的步骤。A storage medium having stored thereon a computer program, wherein when the program is executed by a processor, the steps of the voice call control method according to any one of claims 1 to 7 are implemented.
PCT/CN2019/097770 2018-08-07 2019-07-25 Voice call control method and apparatus, mobile terminal, and storage medium WO2020029807A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810888679.0A CN109040495B (en) 2018-08-07 2018-08-07 Voice call control method and device, mobile terminal and storage medium
CN201810888679.0 2018-08-07

Publications (1)

Publication Number Publication Date
WO2020029807A1 true WO2020029807A1 (en) 2020-02-13

Family

ID=64648762

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097770 WO2020029807A1 (en) 2018-08-07 2019-07-25 Voice call control method and apparatus, mobile terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN109040495B (en)
WO (1) WO2020029807A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040495B (en) * 2018-08-07 2021-08-10 奇酷互联网络科技(深圳)有限公司 Voice call control method and device, mobile terminal and storage medium
CN110300211B (en) * 2019-05-17 2021-10-12 合肥移瑞通信技术有限公司 Test method and system for automatically detecting uplink and downlink voice
CN112040060A (en) * 2020-08-28 2020-12-04 北京纽曼凤凰科技有限公司 Design method of interface with multiple communication modes
CN112188006B (en) * 2020-09-11 2021-06-04 广州宸祺出行科技有限公司 Driver and passenger communication method and system based on personal privacy confidentiality
CN116935870A (en) * 2022-04-08 2023-10-24 中兴通讯股份有限公司 Voice transmission method, terminal and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881958A (en) * 2005-08-08 2006-12-20 华为技术有限公司 Method and apparatus for user device switching from packet domain to circuit domain
EP1962540A1 (en) * 2007-02-26 2008-08-27 Research In Motion Limited Apparatuses, method and computer readable medium for User-Directed Dynamic Domain Selection
WO2011163181A2 (en) * 2010-06-25 2011-12-29 Alcatel-Lucent Usa Inc. Universal mobile manager interworking to support global roaming
CN103716849A (en) * 2012-10-09 2014-04-09 中兴通讯股份有限公司 Method, device and system for automatically switching voice telephone business
CN104968024A (en) * 2015-04-29 2015-10-07 小米科技有限责任公司 Conversation method and conversation device
CN105119937A (en) * 2015-09-14 2015-12-02 深圳市优友互联有限公司 Communication method and device of user terminal
CN105847505A (en) * 2016-04-15 2016-08-10 乐视控股(北京)有限公司 Method and device for switching telephone calling method
CN109040495A (en) * 2018-08-07 2018-12-18 奇酷互联网络科技(深圳)有限公司 Voice communication control method, device, mobile terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2232797B1 (en) * 2007-12-21 2017-12-06 Telecom Italia S.p.A. Method and system for managing communication sessions set-up between users
CN102546998A (en) * 2012-01-13 2012-07-04 西南交通大学 Communication method fusing voice over Internet phone (VoIP) technology with telecommunication network voice call technology
CN105516084B (en) * 2015-11-25 2019-05-03 广州市百果园网络科技有限公司 A kind of method of calling, call server
CN107182113B (en) * 2017-06-08 2021-03-30 奇酷互联网络科技(深圳)有限公司 Networking control method and device of multi-mode mobile terminal and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881958A (en) * 2005-08-08 2006-12-20 华为技术有限公司 Method and apparatus for user device switching from packet domain to circuit domain
EP1962540A1 (en) * 2007-02-26 2008-08-27 Research In Motion Limited Apparatuses, method and computer readable medium for User-Directed Dynamic Domain Selection
WO2011163181A2 (en) * 2010-06-25 2011-12-29 Alcatel-Lucent Usa Inc. Universal mobile manager interworking to support global roaming
CN103716849A (en) * 2012-10-09 2014-04-09 中兴通讯股份有限公司 Method, device and system for automatically switching voice telephone business
CN104968024A (en) * 2015-04-29 2015-10-07 小米科技有限责任公司 Conversation method and conversation device
CN105119937A (en) * 2015-09-14 2015-12-02 深圳市优友互联有限公司 Communication method and device of user terminal
CN105847505A (en) * 2016-04-15 2016-08-10 乐视控股(北京)有限公司 Method and device for switching telephone calling method
CN109040495A (en) * 2018-08-07 2018-12-18 奇酷互联网络科技(深圳)有限公司 Voice communication control method, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN109040495B (en) 2021-08-10
CN109040495A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
WO2020029807A1 (en) Voice call control method and apparatus, mobile terminal, and storage medium
US8416767B2 (en) Communication mode swapping for telecommunications devices
WO2021238845A1 (en) Call control method and apparatus, and electronic device
US20070285503A1 (en) Versatile conference adapter and method employing same
US8391456B2 (en) Dynamic configuration of call controls for communication peripherals
US20070268842A1 (en) Method for switching communication networks
US9258672B2 (en) Short-range wireless communication device
CN106470194A (en) Networking telephone connection processing method and device
EP4027670A1 (en) Bluetooth data transmission method and apparatus, terminal and storage medium
US20170111513A1 (en) Communication service processing method and device in circuit switch domain and storage medium
CN103024687A (en) Method and equipment for establishing instant messaging
US20180213027A1 (en) Receiving a communication event
CN102014335A (en) Method, system and mobile terminal for sharing resources in communication process
CN104410648A (en) LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal
WO2017215100A1 (en) Method and device for video call data processing
US9716796B2 (en) Managing communication events
WO2022100523A1 (en) Communication configuration method and apparatus
CN102984158B (en) VOIP method for switching network, system and device
JP2024527153A (en) COMMUNICATIONS, METHOD FOR ESTABLISHING A DATA CHANNEL, DEVICE AND STORAGE MEDIUM
EP1855419A1 (en) Method for switching communication network
CN112136340B (en) Method for determining network switching resources and method for configuring network switching resources
WO2015123927A1 (en) Communication transfer method, communication method, communication terminal and communication system
CN106341425A (en) Network call put-through method and network telephone system
CN105682160A (en) Method and device for selecting communication network
CN106332186B (en) Call method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19848568

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19848568

Country of ref document: EP

Kind code of ref document: A1