CN116418768A - Instant voice call method, device, electronic equipment and readable storage medium - Google Patents
Instant voice call method, device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN116418768A CN116418768A CN202310252712.1A CN202310252712A CN116418768A CN 116418768 A CN116418768 A CN 116418768A CN 202310252712 A CN202310252712 A CN 202310252712A CN 116418768 A CN116418768 A CN 116418768A
- Authority
- CN
- China
- Prior art keywords
- call
- mobile terminal
- called mobile
- invitation
- voice call
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000000875 corresponding effect Effects 0.000 claims description 40
- 230000000977 initiatory effect Effects 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 10
- 238000012546 transfer Methods 0.000 claims description 9
- 230000002596 correlated effect Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides an instant voice call method, an instant voice call device, electronic equipment and a readable storage medium, wherein the instant voice call method comprises the following steps: when a call request transferred by a voice gateway is received, determining a push identifier associated with a current number corresponding to the call request; sending a call invitation push to a called mobile terminal corresponding to the push identifier, so that the called mobile terminal responds to a trigger operation aiming at the call invitation push and re-registers to a call server through a pre-installed call application program; if the called mobile terminal is monitored to be successfully re-registered, a voice call invitation is initiated to the called mobile terminal, so that the called mobile terminal responds to a triggering operation aiming at the voice call invitation, and a voice call channel between the calling mobile terminal and the called mobile terminal is established. The invention can effectively ensure the service quality of the instant voice call, and effectively reduce the missing condition of the instant voice call, thereby obviously improving the user experience.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an instant voice call method, an instant voice call device, an electronic device, and a readable storage medium.
Background
At present, when the condition that the environment of the called party is complex or the base station signal is weak and the like exists, the service quality in the call process is poor, even the called party cannot receive the answering of the missed call in time, and the user experience is poor.
Disclosure of Invention
Accordingly, the present invention is directed to a method, an apparatus, an electronic device, and a readable storage medium for instant voice call, which can effectively guarantee the service quality of the instant voice call, and effectively reduce the missing situation of the instant voice call, thereby significantly improving the user experience.
In a first aspect, an embodiment of the present invention provides an instant voice call method, where the method is applied to a call server, and the method includes: when a call request transferred by a voice gateway is received, determining a push identifier associated with a current number corresponding to the call request; the voice network transfers the call request to the call server when receiving the call request sent by the call mobile terminal; sending a call invitation push to a called mobile terminal corresponding to the push identifier, so that the called mobile terminal responds to a triggering operation aiming at the call invitation push and re-registers to the call server through a pre-installed call application program; if the monitored called mobile terminal is successfully re-registered, determining that the connection state between the call server and the called mobile terminal is normal, and initiating voice call invitation to the called mobile terminal so that the called mobile terminal responds to triggering operation aiming at the voice call invitation, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal.
In one embodiment, before receiving the call request transferred by the voice gateway, the method further comprises: if the called mobile terminal is monitored, the called mobile terminal is registered to the call server for the first time through the call application program, a push identifier and a user identifier are generated, and the current number of the called mobile terminal, the push identifier and the user identifier are stored in a correlated mode; the call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
In one embodiment, before if the called mobile terminal is monitored to be successfully re-registered, the method further comprises: judging whether a user identifier associated with the current number sent by the called mobile terminal is received within a preset time length; if yes, determining that the called mobile terminal is successfully re-registered; if not, determining that the called mobile terminal fails to re-register.
In a second aspect, an embodiment of the present invention provides an instant voice call method, where the method is applied to a called mobile terminal, and a graphical user interface is provided by the called mobile terminal, and the method includes: when receiving the call invitation pushing sent by the call server, displaying the call invitation pushing through the graphical user interface; the call server is used for determining a push identifier associated with a current number corresponding to a call request when receiving the call request transferred by the voice gateway, and sending call invitation push to a called mobile terminal corresponding to the push identifier; responding to triggering operation aiming at the push of the call invitation, re-registering to the call server through a pre-installed call application program, so that when the call server monitors that the re-registration of the called mobile terminal is successful, determining that the connection state between the call server and the called mobile terminal is normal, and initiating voice call invitation to the called mobile terminal; displaying the voice call invitation through the graphical user interface; and responding to the triggering operation aiming at the voice call invitation, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal.
In one embodiment, re-registering with the call server through a pre-installed call application in response to a trigger operation for the call invitation push, includes: responding to the triggering operation aiming at the push of the call invitation, displaying a Web-View page of the call application program through the graphical user interface, and re-registering to the call server; if the re-registration is successful within the preset duration, the user identification associated with the current number is sent to the call server, so that the call server monitors that the re-registration of the called mobile terminal is successful; the call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
In one embodiment, in response to a triggering operation for the voice call invitation, establishing a voice call path between a calling mobile terminal and the called mobile terminal, including: responding to the triggering operation aiming at the voice call invitation, and displaying an answering interface through the graphical user interface; wherein, the content displayed by the answering interface at least comprises a receiving control; and responding to the triggering operation aiming at the receiving control, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal so as to enable the calling mobile terminal and the called mobile terminal to conduct instant voice call.
In a third aspect, an embodiment of the present invention further provides an instant voice call device, where the device is applied to a call server, and the device includes: the device comprises an identification determining module, a voice gateway and a voice gateway, wherein the identification determining module is used for determining a push identification associated with a current number corresponding to a call request when the call request transferred by the voice gateway is received; the voice network transfers the call request to the call server when receiving the call request sent by the call mobile terminal; the pushing module is used for sending a call invitation pushing to the called mobile terminal corresponding to the pushing identifier so that the called mobile terminal responds to the triggering operation aiming at the call invitation pushing and re-registers to the call server through a pre-installed call application program; and the invitation initiating module is used for determining that the connection state between the call server and the called mobile terminal is normal if the re-registration of the called mobile terminal is successful, and initiating voice call invitation to the called mobile terminal so that the called mobile terminal responds to the triggering operation aiming at the voice call invitation and establishes a voice call channel between the calling mobile terminal and the called mobile terminal.
In a fourth aspect, an embodiment of the present invention further provides an instant voice call device, where the device is applied to a called mobile terminal, and a graphical user interface is provided by the called mobile terminal, and the device includes: the pushing display module is used for displaying the conversation invitation pushing through the graphical user interface when receiving the conversation invitation pushing sent by the conversation server; the call server is used for determining a push identifier associated with a current number corresponding to a call request when receiving the call request transferred by the voice gateway, and sending call invitation push to a called mobile terminal corresponding to the push identifier; the re-registration module is used for responding to the triggering operation aiming at the push of the call invitation, re-registering to the call server through a pre-installed call application program, so that when the call server monitors that the re-registration of the called mobile terminal is successful, the connection state between the call server and the called mobile terminal is determined to be normal, and voice call invitation is initiated to the called mobile terminal; the invitation display module is used for displaying the voice call invitation through the graphical user interface; and the channel establishing module is used for responding to the triggering operation aiming at the voice call invitation and establishing a voice call channel between the calling mobile terminal and the called mobile terminal.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the method according to any one of the first aspect and the second aspect.
In a sixth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of any one of the first and second aspects.
The embodiment of the invention provides an instant voice call method, an instant voice call device, an electronic device and a readable storage medium, which are applied to a call server, when a voice gateway (used for transferring a call request to the call server when receiving the call request sent by a call mobile terminal) receives the call request transferred by the call server, a push identifier associated with the current number corresponding to the call request is determined, the call server sends a call invitation push to a called mobile terminal corresponding to the push identifier, so that the called mobile terminal responds to a triggering operation for the call invitation push, re-registers to the call server through a pre-installed call application program, if the call server monitors that the re-registration of the called mobile terminal is successful, the connection state between the call server and the called mobile terminal is normal, and voice call invitation is initiated to the called mobile terminal, so that the called mobile terminal responds to the triggering operation for the voice call invitation, and a voice call channel between the call mobile terminal and the called mobile terminal is established. The method can push the call invitation to the corresponding called mobile terminal so that the called mobile terminal can re-register to the call server by using the call application program, the voice call invitation is sent to the called mobile terminal again after the re-registration is successful, and the voice call channel can be established and the instant voice call can be realized after the called mobile terminal triggers the voice call invitation.
The embodiment of the invention provides an instant voice call method, an instant voice call device, electronic equipment and a readable storage medium, which are applied to a called mobile terminal, wherein a graphical user interface is provided through the called mobile terminal, when a call request of a voice gateway transfer is received by a call server, a push identifier associated with a current number corresponding to the call request is determined, a call invitation push is sent to the called mobile terminal corresponding to the push identifier, when the call invitation push sent by the call server is received, the call invitation push is displayed through the graphical user interface, the called mobile terminal responds to a triggering operation aiming at the call invitation push, and re-registers to the call server through a pre-installed call application program, so that when the call server monitors that the re-registration of the called mobile terminal is successful, the connection state between the call server and the called mobile terminal is determined to be normal, and voice call invitation is initiated to the called mobile terminal, the called mobile terminal displays the voice call invitation through the graphical user interface, and responds to the triggering operation aiming at the voice call invitation, and a voice call channel between the call mobile terminal and the called mobile terminal is established. The method can push the call invitation to the corresponding called mobile terminal so that the called mobile terminal can re-register to the call server by using the call application program, the voice call invitation is sent to the called mobile terminal again after the re-registration is successful, and the voice call channel can be established and the instant voice call can be realized after the called mobile terminal triggers the voice call invitation.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of an instant voice call method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a code provided in an embodiment of the present invention;
FIG. 3 is a schematic diagram of another code provided in an embodiment of the present invention;
FIG. 4 is a schematic diagram of an offline configuration according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for instant voice call according to an embodiment of the present invention;
fig. 6 is an overall flow chart of an instant voice call method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an instant voice call device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another instant voice call device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described in conjunction with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, the existing instant voice communication method cannot provide high-quality call service aiming at scenes such as complex environments or weak base station signals, so that user experience is poor.
For the convenience of understanding the present embodiment, first, a detailed description will be given of an instant voice call method disclosed in the present embodiment, and the method is applied to a call server, referring to a flow chart of an instant voice call method shown in fig. 1, and the method mainly includes the following steps S102 to S106:
step S102, when a call request transferred by the voice gateway is received, determining a push identifier associated with the current number corresponding to the call request. When receiving a call request sent by a calling mobile terminal, the voice network transfers the call request to a call server, and the call request carries the current number to be called. The calling mobile terminal is the mobile terminal for dialing out the number, and the called mobile terminal is the called mobile terminal.
In one embodiment, when receiving a call request for calling a mobile terminal, a voice gateway detects a mobile phone signal corresponding to a current number carried by the mobile phone signal, if the strength of the mobile phone signal is higher than a preset threshold, the voice gateway directly sends a voice call invitation to a called mobile terminal, and if the strength of the mobile phone signal is lower than the preset threshold, the call request is transferred to a communication server, and meanwhile, a user identifier associated with the current number to be called is sent to the communication server.
In one embodiment, the called mobile terminal is pre-installed with a call application program, and registers an account number and a password in the call application program, the call application program binds the account number and the current number used by the called mobile terminal to upload to a call server, and meanwhile generates a push identifier (CID, connection IDentifier) and a User Identifier (UID), binds the current number, the push identifier and the user identifier, and stores the same to the call server. On the basis, when the call server receives a call request, the corresponding push identifier can be found based on the received user identifier.
Step S104, sending the call invitation pushing to the called mobile terminal corresponding to the pushing identification, so that the called mobile terminal responds to the triggering operation aiming at the call invitation pushing and re-registers to the call server through the pre-installed call application program. In one embodiment, the communication server searches a corresponding push identifier according to a user identifier associated with a current number to be called, and after the push identifier is found, sends a call invitation push to a called mobile terminal corresponding to the push identifier to inform a user of the called mobile terminal that a call to be answered exists.
Step S106, if the re-registration of the called mobile terminal is monitored to be successful, the connection state between the call server and the called mobile terminal is determined to be normal, and voice call invitation is initiated to the called mobile terminal, so that the called mobile terminal responds to the triggering operation aiming at the voice call invitation, and a voice call channel between the calling mobile terminal and the called mobile terminal is established. In one embodiment, when the re-registration of the called mobile terminal is successful, it can be determined that the call application program is normally connected to the call server, at this time, the called mobile terminal in the voice call invitation transmission can be determined, if the user of the called mobile terminal clicks the voice call invitation, the user is considered to agree to answer, so that a voice call channel between the calling mobile terminal and the called mobile terminal is established, and the respective users of the calling mobile terminal and the called mobile terminal can perform instant voice call conveniently.
The instant voice call method provided by the embodiment of the invention can push and send the call invitation to the corresponding called mobile terminal so that the called mobile terminal can re-register to the call server by using the call application program, and after the re-register is successful, the voice call invitation is sent to the called mobile terminal again, and after the called mobile terminal triggers the voice call invitation, a voice call channel can be established and the instant voice call is realized.
In one embodiment, the user of the called mobile terminal needs to configure and register the called mobile terminal in advance before receiving the call request transferred by the voice gateway. Specific: if the called mobile terminal is monitored, the called mobile terminal is registered to the call server for the first time through the call application program, a push identifier and a user identifier are generated, and the current number, the push identifier and the user identifier of the called mobile terminal are stored in a correlated mode. The call server may be a FreeSwitch server, the call application is abbreviated as communication APP (Application), the call APP is embedded with a Web-View page of the Uni-APP, and the Web-View page uses sipml5 to implement an instant voice call with the calling mobile terminal, such as a code schematic shown in fig. 2. In practical application, the called mobile terminal needs to install the communication APP in advance, set the microphone authority of the communication APP and the authority of receiving the push of the call invitation, when the called mobile terminal opens the communication APP, the communication APP will automatically register the SIP (Session initialization Protocol, session initiation protocol) account bound with the current number to the FreeSwitch server, acquire the push identifier CID and the user identifier UID of the called mobile terminal at the same time, such as another code schematic diagram shown in fig. 3, and send the push identifier CIU and the user identifier UID to the back end for storage.
It can be understood that if the communication APP is installed by the called mobile terminal, the communication APP is not opened all the time, that is, the push identifier CIU and the user identifier UID of the called mobile terminal have never been sent to the FreeSwitch server, so even if there is an incoming call, the communication APP cannot receive a call invitation, because the FreeSwitch server cannot find the CIU of the called mobile terminal according to the user identifier UID, and cannot enter the voice call invitation. If the called mobile terminal installs the communication APP, and exits the communication APP after opening, and if the called mobile terminal wants to receive offline push of the call invitation, the configuration of offline notifications of different brands of mobile phone manufacturers of the communication APP application is required to be configured in the background of a development center of the Uni-App, such as an offline configuration schematic diagram shown in FIG. 4, so that the called mobile terminal can receive offline push of the call invitation sent by the Freeswitch server.
On the basis that the called mobile terminal completes the configuration, the FreeSwitch server can execute the steps S102 to S106.
In one embodiment, before executing step S106, it may be determined whether the re-registration of the called mobile terminal is successful according to the following steps: judging whether a user identifier associated with the current number sent by the called mobile terminal is received within a preset time length; if yes, determining that the called mobile terminal is successfully re-registered; if not, determining that the re-registration of the called mobile terminal fails. Assuming that the preset duration is 1 minute, if the user identification UID sent by the called mobile terminal is not received within 1 minute, the terminal is called, and if the user identification UID sent by the called mobile terminal is received within 1 minute, step S106 is continuously performed.
In order to facilitate understanding of the foregoing embodiments, the embodiment of the present invention provides another instant voice call method, which is applied to a called mobile terminal, and provides a graphical user interface through the called mobile terminal, referring to a flowchart of another instant voice call method shown in fig. 5, the method mainly includes the following steps S502 to S508:
step S502, when receiving the call invitation pushing sent by the call server, displaying the call invitation pushing through a graphical user interface; the call server is used for determining a push identifier associated with the current number corresponding to the call request when receiving the call request transferred by the voice gateway, and sending call invitation push to a called mobile terminal corresponding to the push identifier;
in step S504, in response to the triggering operation for pushing the call invitation, the call server is re-registered through the pre-installed call application program, so that when the call server monitors that the re-registration of the called mobile terminal is successful, it is determined that the connection state between the call server and the called mobile terminal is normal, and a voice call invitation is initiated to the called mobile terminal.
In one embodiment, a Web-View page of a call application may be displayed through a graphical user interface in response to a triggering operation for a call invitation push, and re-registered with a call server; if the re-registration is successful within the preset time length, the user identification associated with the current number is sent to the call server, so that the call server monitors that the re-registration of the called mobile terminal is successful. The call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
Step S506, the voice call invitation is displayed through the graphical user interface.
Step S508, responding to the triggering operation aiming at the voice call invitation, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal. In one embodiment, an answer interface may be displayed through a graphical user interface in response to a triggering operation for a voice call invitation; wherein, the content displayed by the answering interface at least comprises a receiving control; and responding to the triggering operation aiming at the receiving control, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal so as to enable the calling mobile terminal and the called mobile terminal to conduct instant voice call.
The instant voice call method provided by the embodiment of the invention can push and send the call invitation to the corresponding called mobile terminal so that the called mobile terminal can re-register to the call server by using the call application program, and after the re-register is successful, the voice call invitation is sent to the called mobile terminal again, and after the called mobile terminal triggers the voice call invitation, a voice call channel can be established and the instant voice call is realized.
For the understanding of the foregoing embodiments, the embodiment of the present invention provides an overall flow of an instant voice call method, and refer to an overall flow schematic diagram of an instant voice call method shown in fig. 6, specifically:
(1) If the user A calls the user B, detecting a mobile phone signal of the user B through a voice gateway, wherein the user A is the calling mobile terminal, and the user B is the called mobile terminal; in practical application, when user A dials a call to user B, the voice gateway detects that the mobile phone signal of user B is poor or no signal, the call is transferred to a Freeswitch server which is arranged independently, and a user identification UID corresponding to user B is sent to the Freeswitch server;
(2) If the mobile phone signal of the user B is good, directly calling the user B;
(3) If the mobile phone signal of the user B is poor or no mobile phone signal is generated, the user B is transferred to a Freeswitch server which is independently deployed;
(4) Searching a pushing identifier CID and a user identifier UID associated with a communication APP of the user B;
(5) If the push identification CID and the user identification UID are not found, calling the terminal;
(6) Searching a pushing identification CID and a user identification UID, and pushing the conversation invitation pushing of the user A to the communication APP of the user B by the Freeswitch server;
(7) The mobile phone of the user B receives the call invitation push;
(8) If the user B does not click the call invitation push, after 1 minute is overtime, the call is interrupted;
(9) If the user B clicks the push of the call invitation, the communication APP of the user B is automatically opened and immediately re-registered once, and after the registration is successful, a user identification UID bound with the current number is sent to the Freeswitch server; in practical application, after receiving the voice invitation push, the mobile phone of the user B automatically opens and immediately re-registers on the FreeSwitch server after clicking consent, and actively sends the user identifier UID bound by the current mobile phone number to the back end after registering, informing that the back end is ready to receive the session, wherein the re-registration is rather re-connected to the FreeSwitch server, because the push message which is possibly received is offline push, the APP of the user B is not normally connected to the FreeSwitch server at the moment, and in order to ensure that the APP is in a connection state, the APP is re-registered on the FreeSwitch server every time the push message is received;
(10) The Freeswitch server discovers that the notified communication APP of the user B is successfully re-registered;
(11) The Freeswitch server initiates voice call invitation to the communication APP of the user B; in practical application, the Freeswitch server starts to initiate voice call invitation to the B client after receiving the notified reply that the B client is ready to receive;
(12) After receiving the voice call invitation, the call APP of the user B starts ringing and pops up an answering interface;
(13) If the user B answers, the communication APP of the user A and the user B are connected, real-time voice call is carried out, and the original call of the mobile phone A and the mobile phone B is converted into the APP of the mobile phone A and the mobile phone B for call;
(14) If user B refuses to answer or does not operate, the calling terminal or waiting for a timeout calling terminal.
In summary, the instant voice call method provided by the embodiment of the invention uses the Uni-App front end development framework, sipml5 and personal push to solve the access guarantee under the VoIP network, and transfers the phone to the embedded web page of the App to perform the real-time voice call, so that when the user a dials the phone for the user B, the user B normally answers the voice call invitation of the user a through the communication App under the condition that the signal of the user B is poor or no, thereby remarkably improving the quality of call service, effectively reducing the condition that the instant voice call is missed, and remarkably improving the user experience.
For the instant voice call method provided in the foregoing embodiment, the embodiment of the present invention provides an instant voice call device, which is applied to a call server, and referring to a schematic structural diagram of the instant voice call device shown in fig. 7, the device mainly includes the following parts:
The identification determining module 702 is configured to determine, when a call request transferred by the voice gateway is received, a push identification associated with a current number corresponding to the call request; the voice network transfers the call request to a call server when receiving the call request sent by the call mobile terminal;
a pushing module 704, configured to send a call invitation push to a called mobile terminal corresponding to the push identifier, so that the called mobile terminal re-registers to the call server through a pre-installed call application program in response to a triggering operation for the call invitation push;
and the invitation initiating module 706 is configured to determine that the connection state between the call server and the called mobile terminal is normal if the re-registration of the called mobile terminal is successful, and initiate a voice call invitation to the called mobile terminal, so that the called mobile terminal responds to a triggering operation for the voice call invitation, and establish a voice call channel between the calling mobile terminal and the called mobile terminal.
The instant voice call device provided by the embodiment of the invention can push and send the call invitation to the corresponding called mobile terminal so that the called mobile terminal can re-register to the call server by using the call application program, and after the re-register is successful, the voice call invitation is sent to the called mobile terminal again, and after the called mobile terminal triggers the voice call invitation, a voice call channel can be established and the instant voice call is realized.
In one embodiment, the apparatus further includes a storage module configured to: if the called mobile terminal is monitored, the called mobile terminal is registered to a call server for the first time through a call application program, a push identifier and a user identifier are generated, and the current number, the push identifier and the user identifier of the called mobile terminal are stored in a correlated mode; the call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
In one embodiment, the apparatus further includes a monitor module configured to: judging whether a user identifier associated with the current number sent by the called mobile terminal is received within a preset time length; if yes, determining that the called mobile terminal is successfully re-registered; if not, determining that the re-registration of the called mobile terminal fails.
For the instant voice call method provided in the foregoing embodiment, the embodiment of the present invention further provides an instant voice call device, which is applied to a called mobile terminal, and provides a graphical user interface through the called mobile terminal, referring to a schematic structural diagram of the instant voice call device shown in fig. 8, where the device mainly includes the following parts:
The push display module 802 is configured to display a call invitation push through a graphical user interface when receiving the call invitation push sent by the call server; the call server is used for determining a push identifier associated with the current number corresponding to the call request when receiving the call request transferred by the voice gateway, and sending call invitation push to a called mobile terminal corresponding to the push identifier;
a re-registration module 804, configured to re-register to the call server through a pre-installed call application program in response to a triggering operation for pushing the call invitation, so that when the call server monitors that the re-registration of the called mobile terminal is successful, determine that a connection state between the call server and the called mobile terminal is normal, and initiate a voice call invitation to the called mobile terminal;
an invitation display module 806 for displaying a voice call invitation through a graphical user interface;
a channel establishment module 808, configured to establish a voice call channel between the calling mobile terminal and the called mobile terminal in response to a triggering operation for the voice call invitation.
The instant voice call device provided by the embodiment of the invention can push and send the call invitation to the corresponding called mobile terminal so that the called mobile terminal can re-register to the call server by using the call application program, and after the re-register is successful, the voice call invitation is sent to the called mobile terminal again, and after the called mobile terminal triggers the voice call invitation, a voice call channel can be established and the instant voice call is realized.
In one embodiment, re-registration module 804 is further to: responding to the triggering operation aiming at the push of the call invitation, displaying a Web-View page of a call application program through a graphical user interface, and re-registering to a call server; if the re-registration is successful within the preset duration, the user identification associated with the current number is sent to the call server, so that the call server monitors that the re-registration of the called mobile terminal is successful; the call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
In one embodiment, the channel setup module 808 is further configured to: responding to the triggering operation aiming at the voice call invitation, and displaying an answering interface through a graphical user interface; wherein, the content displayed by the answering interface at least comprises a receiving control; and responding to the triggering operation aiming at the receiving control, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal so as to enable the calling mobile terminal and the called mobile terminal to conduct instant voice call.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
The embodiment of the invention provides electronic equipment, which comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the embodiments described above.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 100 includes: a processor 90, a memory 91, a bus 92 and a communication interface 93, said processor 90, communication interface 93 and memory 91 being connected by bus 92; the processor 90 is arranged to execute executable modules, such as computer programs, stored in the memory 91.
The memory 91 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and the at least one other network element is implemented via at least one communication interface 93 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Bus 92 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in fig. 9, but not only one bus or one type of bus.
The memory 91 is configured to store a program, and the processor 90 executes the program after receiving an execution instruction, and the method executed by the apparatus for flow defining disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 90 or implemented by the processor 90.
The processor 90 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in processor 90. The processor 90 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 91 and the processor 90 reads the information in the memory 91 and in combination with its hardware performs the steps of the method described above.
The computer program product of the readable storage medium provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where the program code includes instructions for executing the method described in the foregoing method embodiment, and the specific implementation may refer to the foregoing method embodiment and will not be described herein.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. An instant voice call method, wherein the method is applied to a call server, and the method comprises:
when a call request transferred by a voice gateway is received, determining a push identifier associated with a current number corresponding to the call request; the voice network transfers the call request to the call server when receiving the call request sent by the call mobile terminal;
Sending a call invitation push to a called mobile terminal corresponding to the push identifier, so that the called mobile terminal responds to a triggering operation aiming at the call invitation push and re-registers to the call server through a pre-installed call application program;
if the monitored called mobile terminal is successfully re-registered, determining that the connection state between the call server and the called mobile terminal is normal, and initiating voice call invitation to the called mobile terminal so that the called mobile terminal responds to triggering operation aiming at the voice call invitation, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal.
2. The instant voice call method according to claim 1, further comprising, before receiving a call request for voice gateway transfer:
if the called mobile terminal is monitored, the called mobile terminal is registered to the call server for the first time through the call application program, a push identifier and a user identifier are generated, and the current number of the called mobile terminal, the push identifier and the user identifier are stored in a correlated mode;
the call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
3. The instant voice call method according to claim 1, further comprising, before if the called mobile terminal is monitored to be successfully re-registered:
judging whether a user identifier associated with the current number sent by the called mobile terminal is received within a preset time length;
if yes, determining that the called mobile terminal is successfully re-registered;
if not, determining that the called mobile terminal fails to re-register.
4. An instant voice call method, which is applied to a called mobile terminal, and provides a graphical user interface through the called mobile terminal, the method comprising:
when receiving the call invitation pushing sent by the call server, displaying the call invitation pushing through the graphical user interface; the call server is used for determining a push identifier associated with a current number corresponding to a call request when receiving the call request transferred by the voice gateway, and sending call invitation push to a called mobile terminal corresponding to the push identifier;
responding to triggering operation aiming at the push of the call invitation, re-registering to the call server through a pre-installed call application program, so that when the call server monitors that the re-registration of the called mobile terminal is successful, determining that the connection state between the call server and the called mobile terminal is normal, and initiating voice call invitation to the called mobile terminal;
Displaying the voice call invitation through the graphical user interface;
and responding to the triggering operation aiming at the voice call invitation, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal.
5. The instant voice call method according to claim 4, wherein re-registering with the call server through a pre-installed call application in response to a trigger operation for the call invitation push, comprises:
responding to the triggering operation aiming at the push of the call invitation, displaying a Web-View page of the call application program through the graphical user interface, and re-registering to the call server;
if the re-registration is successful within the preset duration, the user identification associated with the current number is sent to the call server, so that the call server monitors that the re-registration of the called mobile terminal is successful;
the call application program is embedded with a Web-View page of the Uni-App, and the Web-View page uses sipml5 to realize instant voice call with the calling mobile terminal.
6. The method of instant voice call according to claim 4, wherein establishing a voice call path between a calling mobile terminal and the called mobile terminal in response to a trigger operation for the voice call invitation, comprises:
Responding to the triggering operation aiming at the voice call invitation, and displaying an answering interface through the graphical user interface; wherein, the content displayed by the answering interface at least comprises a receiving control;
and responding to the triggering operation aiming at the receiving control, and establishing a voice call channel between the calling mobile terminal and the called mobile terminal so as to enable the calling mobile terminal and the called mobile terminal to conduct instant voice call.
7. An instant voice telephony device, for application to a telephony server, the device comprising:
the device comprises an identification determining module, a voice gateway and a voice gateway, wherein the identification determining module is used for determining a push identification associated with a current number corresponding to a call request when the call request transferred by the voice gateway is received; the voice network transfers the call request to the call server when receiving the call request sent by the call mobile terminal;
the pushing module is used for sending a call invitation pushing to the called mobile terminal corresponding to the pushing identifier so that the called mobile terminal responds to the triggering operation aiming at the call invitation pushing and re-registers to the call server through a pre-installed call application program;
And the invitation initiating module is used for determining that the connection state between the call server and the called mobile terminal is normal if the re-registration of the called mobile terminal is successful, and initiating voice call invitation to the called mobile terminal so that the called mobile terminal responds to the triggering operation aiming at the voice call invitation and establishes a voice call channel between the calling mobile terminal and the called mobile terminal.
8. An instant voice call apparatus, applied to a called mobile terminal, through which a graphic user interface is provided, comprising:
the pushing display module is used for displaying the conversation invitation pushing through the graphical user interface when receiving the conversation invitation pushing sent by the conversation server; the call server is used for determining a push identifier associated with a current number corresponding to a call request when receiving the call request transferred by the voice gateway, and sending call invitation push to a called mobile terminal corresponding to the push identifier;
the re-registration module is used for responding to the triggering operation aiming at the push of the call invitation, re-registering to the call server through a pre-installed call application program, so that when the call server monitors that the re-registration of the called mobile terminal is successful, the connection state between the call server and the called mobile terminal is determined to be normal, and voice call invitation is initiated to the called mobile terminal;
The invitation display module is used for displaying the voice call invitation through the graphical user interface;
and the channel establishing module is used for responding to the triggering operation aiming at the voice call invitation and establishing a voice call channel between the calling mobile terminal and the called mobile terminal.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 3, 4 to 6.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 3, 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310252712.1A CN116418768A (en) | 2023-03-16 | 2023-03-16 | Instant voice call method, device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310252712.1A CN116418768A (en) | 2023-03-16 | 2023-03-16 | Instant voice call method, device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116418768A true CN116418768A (en) | 2023-07-11 |
Family
ID=87055740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310252712.1A Pending CN116418768A (en) | 2023-03-16 | 2023-03-16 | Instant voice call method, device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116418768A (en) |
-
2023
- 2023-03-16 CN CN202310252712.1A patent/CN116418768A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10244007B2 (en) | Method and apparatus for VOIP communication completion to a mobile device | |
US7139553B2 (en) | Providing real time call log data to a remote call log for calls to and from a mobile communications apparatus | |
CN105657138B (en) | Call processing method and communication terminal | |
US8320349B1 (en) | Combined user agent for packet-based communication clients | |
CN110650254B (en) | Information transmission method, information reception method, terminal, and storage medium | |
CN102685120B (en) | VoIP client and calling implementation method, user terminal | |
US20170111513A1 (en) | Communication service processing method and device in circuit switch domain and storage medium | |
CA2918161C (en) | Method and apparatus for voip communication completion to a mobile device | |
CN107534660B (en) | Managing communication events | |
US20150031341A1 (en) | Method for responding to push notification based communication request | |
CN108449517B (en) | Call method and device based on one-number multi-card service | |
JP2010057113A (en) | Communication processing system, server, and communication terminal device | |
CN116418768A (en) | Instant voice call method, device, electronic equipment and readable storage medium | |
CN113489712B (en) | Call control method and device and computer readable storage medium | |
CN107786953B (en) | VoLTE encryption call processing method, application server and terminal | |
US20150016336A1 (en) | Method and apparatus for voip communication completion to a mobile device | |
US20130212481A1 (en) | Method and apparatus for controlling interface display, and communication terminal | |
US10142466B1 (en) | Systems and methods for special called number call handling | |
KR101936596B1 (en) | Method and system for providing ARS service using data network | |
KR100705581B1 (en) | Apparatus and method for MCID Registrating of terminal in VoIP system for using SIP | |
KR20090008529A (en) | Apparatus and method for selecting of qos in portable communication system | |
KR100595682B1 (en) | Method for representing call status in mobile communication device | |
CN112187615B (en) | Message response method, device, terminal and storage medium | |
WO2017017578A1 (en) | Method and devices for providing missed call alerts | |
CN116016783A (en) | Communication connection method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |