CN113099055A - Communication method, system, device, electronic equipment and storage medium - Google Patents

Communication method, system, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113099055A
CN113099055A CN202110361794.4A CN202110361794A CN113099055A CN 113099055 A CN113099055 A CN 113099055A CN 202110361794 A CN202110361794 A CN 202110361794A CN 113099055 A CN113099055 A CN 113099055A
Authority
CN
China
Prior art keywords
terminal
communication
called
public switched
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110361794.4A
Other languages
Chinese (zh)
Inventor
秦志雷
杨晶生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110361794.4A priority Critical patent/CN113099055A/en
Publication of CN113099055A publication Critical patent/CN113099055A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/56Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities
    • H04M3/567Multimedia conference systems
    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

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

Abstract

The embodiment of the disclosure discloses a communication method, a system, a device, an electronic device and a storage medium, wherein the method is applied to a background server of communication application, and comprises the following steps: receiving a first call request, wherein the first call request comprises a called identification; and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through the public switched telephone network server. According to the communication method, the communication system, the communication device, the electronic equipment and the storage medium, when the called terminal is in the preset state, the background server of the communication application can automatically convert the call inside the communication application software into the telephone call of the public switched telephone network server to the telephone terminal corresponding to the called terminal, so that the call reaching rate and the call completing rate can be improved, and the user experience is improved.

Description

Communication method, system, device, electronic equipment and storage medium
Technical Field
The disclosed embodiments relate to the field of communications technologies, and in particular, to a communication method, system, apparatus, electronic device, and storage medium.
Background
Currently, a calling terminal may call a called terminal by using a communication Application (APP) to perform communication between the calling terminal and the called terminal.
In the communication process, the calling action may be considered as an action that the calling terminal initiates a request to the server in order to get in contact with the called terminal; the call touch action can be considered as an action that the server informs the called terminal of the called based on the call request; the call connection action can be considered as an action which is executed by the server to support the communication between the calling terminal and the called terminal based on the message which is fed back by the called terminal and agrees to answer.
In the existing communication method, if a called terminal in communication application software is in an offline state, the called terminal usually does not receive a notification. The existing communication mode has low call touch rate and call completing rate and poor user experience.
Disclosure of Invention
The embodiment of the disclosure provides a communication method, a communication system, a communication device, an electronic device and a storage medium, which can improve call touch rate and call completing rate and improve user experience.
In a first aspect, an embodiment of the present disclosure provides a communication method, which is applied to a background server of a communication application, and includes:
receiving a first call request, wherein the first call request comprises a called identification;
and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through a public switched telephone network server.
In a second aspect, an embodiment of the present disclosure further provides a communication system, including: a calling terminal and a background server of communication application;
the calling terminal is used for sending a first call request to a background server of the communication application, wherein the first call request comprises a called identifier;
and the background server of the communication application is used for calling the telephone terminal corresponding to the called terminal through the public switched telephone network server when the called terminal corresponding to the called identifier is in a preset state.
In a third aspect, an embodiment of the present disclosure further provides a communication apparatus, integrated in a background server of a communication application, including:
a first receiving module, configured to receive a first call request, where the first call request includes a called identifier;
and the first calling module is used for calling the telephone terminal corresponding to the called terminal through the public switched telephone network server when the called terminal corresponding to the called identifier is in a preset state.
In a fourth aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a communication method as in any of the embodiments of the present disclosure.
In a fifth aspect, the embodiments of the present disclosure further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used for executing the communication method according to any one of the embodiments of the present disclosure.
The technical scheme of the embodiment of the disclosure, wherein the communication method is applied to a background server of communication application, and comprises the following steps: receiving a first call request, wherein the first call request comprises a called identification; and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through the public switched telephone network server. When the called terminal is in a preset state, the background server of the communication application can automatically convert the call inside the communication application software into a telephone call from the public switched telephone network server to the telephone terminal corresponding to the called terminal, so that the call reaching rate and the call completing rate can be improved, and the user experience is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart illustrating a communication method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a communication method according to a second embodiment of the disclosure;
fig. 3 is a schematic structural diagram of a communication system according to a third embodiment of the present disclosure;
fig. 4 is a schematic signaling diagram of each device in a communication process according to a third embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a communication device according to a fourth embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
Example one
Fig. 1 is a flowchart illustrating a communication method according to a first embodiment of the disclosure. The communication method provided by the embodiment of the disclosure is suitable for a background server of a communication application to respond to a call request of a calling terminal and notify a called terminal of a called situation, and is particularly suitable for the server to notify the called terminal of the called situation when the called terminal is in a preset state such as an offline state. The method may be performed by a communication apparatus, which may be implemented in software and/or hardware, and which may be configured in an electronic device, for example in a background server of a communication-like application.
As shown in fig. 1, the communication method provided in this embodiment is applied to a background server of a communication application, and includes:
s110, receiving a first call request, wherein the first call request comprises a called identification.
In the embodiment of the present disclosure, the first call request may be considered as a request initiated by a client of the communication class APP to call other clients. For convenience of description, the present embodiment may refer to the client initiating the first call request as a calling end, and refer to the other called clients as called ends.
Wherein the first call requests of different APPs may be different. For example, when the APP is an instant messaging APP, the first call request may be a call request of video or audio; when the APP is a multimedia conference APP, the first call request may be a request to invite to join a conference; when the APP is a live video APP, the first call request may be a live broadcast room microphone connection request; when the APP is a group chat interactive APP, the first call request may be a request for initiating a group call, and the like, which is not exhaustive.
The called identifier may be composed of at least one element of numbers, letters, special symbols, and the like, and may correspond to a unique called end, for example, an account name, an account number, and the like of the called end.
After receiving the first call request sent by the calling terminal, the background server of the communication application can analyze the called identifier carried by the calling terminal, and can search the corresponding called terminal according to the maintained corresponding relation between the called identifier and the called terminal, thereby laying a foundation for executing subsequent call touch on the called terminal.
And S120, when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through the public switched telephone network server.
In the embodiment of the present disclosure, the preset state may be considered as a state in which push information such as a software internal call is not received. The preset states of different APPs may be different, and may be, for example, offline, away, and the like.
The Public Switched Telephone Network (PSTN) server can connect a remote endpoint based on a circuit Switched service of a standard Telephone line.
The background server of the communication application can be connected with the public switched telephone network server through a telephone line. Therefore, when the called terminal is in a preset state, the background server of the communication application can call the telephone terminal corresponding to the called terminal based on the connection.
Compared with the traditional communication mode, the calling telephone terminal can usually trigger the prompting functions of incoming call ringtone, vibration and the like of the telephone terminal, so that the user can reach the calling telephone terminal, and the calling reaching rate is improved. In addition, calling the telephone terminal is a strong touch mode, which is very favorable for reminding the user of being called so as to enable the user to respond in time, thus greatly improving the call completing rate and improving the user experience.
In addition, when the call of the telephone terminal is not connected, the background server of the communication application can also carry out short message prompt to the telephone terminal corresponding to the called terminal through the public switched telephone network server so as to further improve the call reaching rate. In addition, when the called terminal is in a non-preset state such as online, the background server of the communication application can also directly notify the called terminal, so that the called terminal triggers operations such as a ringing page and the like, and call connection in the communication application is realized.
In some optional implementations, making a call to a telephone terminal corresponding to a called end through a public switched telephone network server includes: acquiring a telephone number corresponding to a called terminal; and sending a second call request containing the telephone number to the public switched telephone network server so that the public switched telephone network server calls the telephone terminal to which the telephone number belongs according to the second call request.
The telephone number may be a mobile phone number or a landline number. When the client registers the user, the client can fill in personal information containing telephone numbers; accordingly, the background server of the communication application may store the phone numbers corresponding to the clients in a local or remote storage space, for example, in an account server that maintains client information.
In these optional implementations, when the background server of the communication application determines that the called end is in the preset state, the telephone number of the called end may be acquired from the corresponding storage space, and a second call request including the telephone number may be generated. When receiving the second call request, the public switched telephone network server can analyze the telephone number in the second call request and call the telephone terminal to which the telephone number belongs so as to realize conversion from the internal call of the software to the telephone call of the telephone terminal.
In some optional implementations, after receiving the first call request, the method further includes: and acquiring the state information of the called terminal corresponding to the called identifier.
In these optional implementation manners, the backend server of the communication application detects the state of each client, and changes and maintains the state information according to the detection result. When the background server of the communication application analyzes the called identifier in the first call request and finds the corresponding called terminal, the latest changed state information of the called terminal can be obtained for judging whether the called terminal is in a preset state.
In some further implementations, the called end status indicated by the status information is obtained by: responding to a login event of a called terminal, and registering the state of the called terminal as an online state; judging whether the called terminal keeps an online state or not based on a heartbeat mechanism; if not, the online state is changed.
In these further implementations, the step of obtaining the called end state may be considered equivalent to the step of obtaining any other client state. The background server of the communication application can detect and change the state of the client according to the user operation condition of the client. For example, when a client logs in, a backend server of the communication class application may register the client state as an online state in response to the login event. And then, the background server of the communication application can communicate with the client in the online state through the heartbeat packet with the preset frequency. When the heartbeat packet communication is not interrupted, a background server of the communication application can keep the online state of the client; when the heartbeat packet communication is interrupted, the online state of the client can be changed.
Moreover, the online state of the client is changed, for example, if the client executes a logout event, the online state of the client can be changed into an offline state; for another example, if the client does not execute a logout event, its online status may be changed to a away status, and so on.
In addition, the background server of the communication application may detect whether the client maintains the online state based on the heartbeat mechanism, and may also perform state detection by using other algorithms, for example, perform state detection of the client by monitoring destruction and creation of a session, which is not exhaustive herein.
In some alternative implementations, the communication-class application may include, for example, but is not limited to, at least one of an instant messaging application, a multimedia conferencing application, and a video live application.
In these optional implementations, the background servers of the communication applications, such as the instant messaging application, the multimedia conference application, the live video application, and the like, can be called at the called end and call the telephone terminal corresponding to the called end through the pstn server when the called end is in a preset state. Therefore, the call touch rate and the call completing rate can be improved in each application scene, and the user experience is improved. In addition, besides the communication applications, other communication applications may also be applied in the embodiments of the present disclosure, for example, the communication applications may also include a group chat interactive application, and the like, which is not exhaustive herein.
For example, taking a background server of the communication-class application as a Video Conference (VC) server, the communication method may include:
when a user A client calls a user B client in a video conference scene, a VC server receives a first call request sent by the user A client; and when the client of the user B is in an off-line state, the VC server calls the telephone terminal corresponding to the client of the user B through the PSTN server so that the telephone terminal can quickly reach the called party in the modes of ringing, vibrating and the like.
By means of the mode that the software internal call is automatically converted into the PSTN call when the called terminal is in an off-line state in a conference scene, the call touch rate and the call completing rate can be improved, and the conference participating experience of a user can be improved.
According to the technical scheme of the embodiment of the disclosure, a background server of a communication application receives a first call request, wherein the first call request comprises a called identifier; and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through the public switched telephone network server. When the called terminal is in a preset state, the background server of the communication application can automatically convert the call inside the communication application software into a telephone call from the public switched telephone network server to the telephone terminal corresponding to the called terminal, so that the call reaching rate and the call completing rate can be improved, and the user experience is improved.
Example two
The embodiments of the present disclosure and various alternatives in the communication method provided in the above embodiments may be combined. The communication method provided by the embodiment optimizes the call connection step in the communication process, and can perform voice communication between the telephone terminal corresponding to the called terminal and software through the public switched telephone network server when the called terminal is in a preset state such as offline.
Fig. 2 is a flowchart illustrating a communication method according to a second embodiment of the disclosure. As shown in fig. 2, the communication method provided in this embodiment is applied to a background server of a communication application, and includes:
s210, receiving a first call request, wherein the first call request comprises a called identifier;
s220, when the called end corresponding to the called identification is in a preset state, calling to a telephone terminal corresponding to the called end through a telephone network public switched telephone network server;
and S230, when the answering agreeing message is fed back by the telephone terminal, the communication between the telephone terminal and the calling terminal initiating the first call request is carried out through the public switched telephone network server.
In this embodiment, after the telephone terminal prompts the user to be called, the telephone terminal can also receive an operation of accepting or rejecting answering input by the user, and further can correspondingly generate an accepting message or rejecting answering message, and feed the accepting message back to the pstn server, so that the pstn server further notifies the background server of the communication application.
Correspondingly, when the background server of the communication application receives the answer approval message fed back by the telephone terminal, the communication between the telephone terminal and the calling terminal can be carried out through the public switched telephone network server; when receiving the message of refusing to answer, the phone terminal can send prompt information containing the contents of 'failure of phone call' to the calling terminal.
The background server of the communication application carries out communication between the telephone terminal and the calling terminal through the public switched telephone network server when the telephone terminal answers, and the calling terminal and the telephone terminal can be enabled to enter a conversation mode quickly. Compared with the traditional method that the called terminal communicates with the calling terminal after entering the software, the communication method provided by the embodiment can quickly and conveniently answer the call and establish the communication between the two terminals, so that the user experience can be greatly improved.
In some optional implementations, the communication between the telephone terminal and the calling terminal initiating the first call request is performed through a public switched telephone network server, including: the first audio data of the calling terminal is sent to a public switched telephone network server, so that the public switched telephone network server sends the first audio data to the telephone terminal; and receiving second audio data of the telephone terminal through the public switched telephone network server, and sending the second audio data to the calling terminal.
In these optional implementation manners, the background server of the communication application can implement voice communication between the calling terminal and the telephone terminal through the public switched telephone network server, thereby implementing that the calling terminal and the telephone terminal enter a call mode.
The public switched telephone network server can receive first audio data issued by a background server of the communication application, wherein the first audio data is uploaded to the background server of the communication application by a calling terminal. Meanwhile, the PSTN server can also receive the second audio data of the telephone terminal and send the second audio data to the background server of the communication application, so that the background server can send the second audio data to the calling terminal.
The public switched telephone network server receives the first audio data and the second audio data without strict time sequence relation; there is no strict timing relationship between the transmission of the first audio data and the transmission of the second audio data. Generally, when a calling terminal uploads first audio data to a background server of a communication application, a public switched telephone network server can receive the first audio data and send the first audio data to a telephone terminal; when receiving the second audio data sent by the telephone terminal, the second audio data can be uploaded to a background server of the communication application, so that real-time communication between the two ends is completed.
Taking the background server of the communication application as the VC server as an example, the background server of the communication application can quickly access the called terminal to the conference in a voice communication manner through the public switched telephone network server. The conference method is particularly suitable for scenes that conference contents are concise and clear, and a conference is carried out in an auxiliary video mode, the called terminal is added into the conference in a voice communication mode, conference participation experience is not influenced, and users and experience can be improved by rapidly accessing the conference.
In some optional implementations, if the calling end is a client within a range created by a background server of the communication application, the method further includes: when the phone terminal feeds back the information of agreeing to answer, the phone terminal communicates with other clients in the communication range of the calling terminal through the public switched telephone network server.
A communication range is understood to be a range formed by a plurality of communication clients, for example, a virtual room in which the plurality of communication clients are located, and the communication range can be created by a background server of the communication-class application. When the calling terminal belongs to a certain communication range and the calling terminal initiates a call to the called terminal, if the called terminal is in a preset state, the background server of the communication application can call the telephone terminal corresponding to the called terminal through the public switched telephone network server.
And when the background server of the communication application receives the answer approval message fed back by the telephone terminal, the communication between the telephone terminal and the calling terminal and the communication between the telephone terminal and other clients in the communication range of the calling terminal can be carried out through the public switched telephone network server.
The communication between the telephone terminal and other clients in the communication range of the calling terminal may include, for example: the background server of the communication application sends first audio data of other clients in the communication range of the calling terminal to the public switched telephone network server so that the public switched telephone network server sends the first audio data to the telephone terminal; and receiving second audio data of the telephone terminal through the public switched telephone network server, and sending the second audio data to each client in the communication range.
According to the technical scheme of the embodiment of the disclosure, when the called terminal is in the preset state such as offline, voice communication between the telephone terminal corresponding to the called terminal and the software can be carried out through the public switched telephone network server, so that the communication can be established quickly, and the user experience can be improved. In addition, the communication method provided by the embodiment of the present disclosure and the communication method provided by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the same technical features have the same beneficial effects in the embodiment and the above embodiment.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a communication system according to a third embodiment of the present disclosure. The communication system provided by the embodiment of the disclosure is suitable for the situation that the calling terminal communicates with the called terminal, and is particularly suitable for the situation that the calling terminal communicates with the called terminal when the called terminal is in preset states such as offline.
As shown in fig. 3, the communication system provided in this embodiment includes: a calling terminal 310 and a background server 320 of a communication application;
the calling terminal 310 is configured to send a first call request to a background server 320 of the communication application, where the first call request includes a called identifier;
and the background server 320 of the communication application is configured to call the telephone terminal corresponding to the called party through the pstn server when the called party corresponding to the called party identifier is in a preset state.
Exemplarily, fig. 4 is a schematic signaling diagram of each device in a communication process provided by a third embodiment of the present disclosure, where the signaling interaction step of each device may include:
and S1, the calling terminal sends a first call request to a background server of the communication application, wherein the first call request contains a called identification.
In some optional implementations, the communication-class application is at least one of an instant messaging application, a multimedia conference application, and a live video application.
In some optional implementations, after receiving the first call request, the method further includes: and acquiring the state information of the called terminal corresponding to the called identifier.
In some further implementations, the called end status indicated by the status information is obtained by: responding to a login event of a called terminal, and registering the state of the called terminal as an online state; judging whether the called terminal keeps an online state or not based on a heartbeat mechanism; if not, the online state is changed.
And S2, the background server of the communication application sends a second call request to the public switched telephone network server when the called end corresponding to the called identification is in a preset state.
Referring to fig. 3, in some alternative implementations, S2 may include: s2.1, when a called terminal corresponding to the called identifier is in a preset state, acquiring a telephone number corresponding to the called terminal, for example, acquiring the telephone number corresponding to the called terminal from an account server; and S2.2, sending a second call request containing the telephone number to the public switched telephone network server.
And S3, the public switched telephone network server calls the telephone terminal corresponding to the called terminal according to the second call request.
And S4, the telephone terminal feeds back the message of agreeing to answer to the public switched telephone network server.
S5, the background server of the communication application performs communication between the telephone terminal and the calling terminal through the pstn 430 when receiving the answer approval message forwarded by the pstn 430.
In some optional implementations, the performing, by the pstn server, communication between the telephone terminal and the calling terminal may include: the background server of the communication application sends the first audio data of the calling terminal to the public switched telephone network server so that the public switched telephone network server sends the first audio data to the telephone terminal; and receiving second audio data of the telephone terminal through the public switched telephone network server, and sending the second audio data to the calling terminal.
In some optional implementations, if the calling end is a client end within a communication range created by a background server of the communication application, the method further includes: when the phone terminal feeds back the information of agreeing to answer, the phone terminal communicates with other clients in the communication range of the calling terminal through the public switched telephone network server.
According to the technical scheme of the embodiment of the disclosure, when the called terminal is in the preset state, the background server of the communication application can call the telephone terminal of the called terminal in the preset state through the public switched telephone network server, so that the call in the communication application software is automatically converted into the telephone call from the public switched telephone network server to the telephone terminal corresponding to the called terminal, and the communication rate and the call completing rate can be improved. The background server of the communication application can perform communication between the telephone terminal and the calling terminal through the public switched telephone network server when the telephone terminal feeds back the answer agreeing message to the telephone terminal, which is beneficial to quickly establishing communication and improving user experience.
In addition, the communication system provided by the embodiment of the present disclosure belongs to the same inventive concept as the communication method provided by the above embodiment, and the technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the same technical features have the same beneficial effects in the embodiment and the above embodiment.
Example four
Fig. 5 is a schematic structural diagram of a communication device according to a fourth embodiment of the disclosure. The communication device provided by the embodiment is suitable for a background server of a communication application to respond to a call request of a calling terminal and inform a called terminal of a called situation, and is particularly suitable for the background server to inform the called terminal of the called situation when the called terminal is in a preset state such as offline state.
As shown in fig. 5, the communication apparatus, integrated in a background server of a communication application, includes:
a first receiving module 510, configured to receive a first call request, where the first call request includes a called identifier;
the first calling module 520 is configured to call a telephone terminal corresponding to a called party through a public switched telephone network server when the called party corresponding to the called party identifier is in a preset state.
In some optional implementations, the first call module includes:
a number obtaining unit for obtaining a telephone number corresponding to a called terminal;
and the first calling unit is used for sending a second calling request containing the telephone number to the public switched telephone network server so as to call the telephone terminal to which the telephone number belongs through the public switched telephone network server according to the second calling request.
In some optional implementations, the communication apparatus further includes:
and the state acquisition module is used for acquiring the state information of the called terminal corresponding to the called identifier after receiving the first call request.
In some optional implementations, the communication apparatus further includes:
the state change module is used for responding to the login event of the called terminal and registering the state of the called terminal as an online state; judging whether the called terminal keeps an online state or not based on a heartbeat mechanism; if not, the online state is changed.
In some optional implementations, the communication apparatus further includes:
and the call connection module is used for carrying out communication between the telephone terminal and the calling terminal initiating the first call request through the public switched telephone network server when the telephone terminal feeds back an answer agreeing message after calling the telephone terminal corresponding to the called terminal through the public switched telephone network server.
In some optional implementations, the call completing module includes:
the voice frequency sending unit is used for sending the first voice frequency data of the calling end to the public switched telephone network server so that the public switched telephone network server sends the first voice frequency data to the telephone terminal;
and the audio receiving unit is used for receiving the second audio data of the telephone terminal through the public switched telephone network server and sending the second audio data to the calling terminal.
In some optional implementations, if the calling end is a client end within a communication range created by a background server of the communication application, the call completing module is further configured to: when the phone terminal feeds back the information of agreeing to answer, the phone terminal communicates with other clients in the communication range of the calling terminal through the public switched telephone network server.
In some optional implementations, the communication-class application is at least one of an instant messaging application, a multimedia conference application, and a live video application.
The communication device provided by the embodiment of the disclosure can execute the communication method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the embodiments of the present disclosure.
EXAMPLE five
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., the terminal device or the server in fig. 6) 600 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., central processor, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read-Only Memory (ROM) 602 or a program loaded from a storage means 606 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 606, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the communication method of the embodiment of the present disclosure.
The electronic device provided by the embodiment of the present disclosure and the communication method provided by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as the above embodiment.
EXAMPLE six
The disclosed embodiments provide a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the communication method provided by the above-described embodiments.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM) or FLASH Memory (FLASH), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
receiving a first call request, wherein the first call request comprises a called identification; and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through the public switched telephone network server.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The names of the units and modules do not form a limitation to the units and modules in some cases, and for example, the first receiving module may also be described as a "request receiving module".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Part (ASSP), a System On Chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, [ example one ] there is provided a communication method applied to a background server of a communication-class application, including:
receiving a first call request, wherein the first call request comprises a called identification;
and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through a public switched telephone network server.
According to one or more embodiments of the present disclosure, [ example two ] there is provided a communication method further comprising:
in some optional implementations, the making a call to a telephone terminal corresponding to the called end through a public switched telephone network server includes:
acquiring a telephone number corresponding to the called terminal;
and sending a second call request containing the telephone number to a public switched telephone network server so as to call the telephone terminal to which the telephone number belongs through the public switched telephone network server according to the second call request.
According to one or more embodiments of the present disclosure, [ example three ] there is provided a communication method further comprising:
in some optional implementations, after the receiving the first call request, the method further includes:
and acquiring the state information of the called terminal corresponding to the called identifier.
According to one or more embodiments of the present disclosure, [ example four ] there is provided a communication method further comprising:
in some optional implementations, the called end state indicated by the state information is obtained by:
responding to the login event of the called terminal, and registering the state of the called terminal as an online state;
judging whether the called terminal keeps an online state or not based on a heartbeat mechanism;
if not, the online state is changed.
According to one or more embodiments of the present disclosure, [ example five ] there is provided a communication method further comprising:
in some optional implementations, after the making a call to the telephone terminal corresponding to the called end through the public switched telephone network server, the method further includes:
and when the telephone terminal feeds back an answer agreement message, the communication between the telephone terminal and a calling terminal initiating the first call request is carried out through the public switched telephone network server.
According to one or more embodiments of the present disclosure, [ example six ] there is provided a communication method further comprising:
in some optional implementations, the performing, by the pstn server, communication between the telephone terminal and a calling party initiating the first call request includes:
sending the first audio data of the calling terminal to the public switched telephone network server so that the public switched telephone network server sends the first audio data to the telephone terminal;
and receiving second audio data of the telephone terminal through the public switched telephone network server, and sending the second audio data to the calling terminal.
According to one or more embodiments of the present disclosure, [ example seven ] there is provided a communication method further comprising:
in some optional implementation manners, if the calling end is a client end within a communication range created by a background server of the communication application, the method further includes:
and when the telephone terminal feeds back an answer agreement message, the communication between the telephone terminal and other clients in the communication range of the calling terminal is carried out through the public switched telephone network server.
According to one or more embodiments of the present disclosure, [ example eight ] there is provided a communication method further comprising:
in some optional implementations, the communication-class application is at least one of an instant messaging application, a multimedia conference application, and a live video application.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A communication method is characterized in that a background server applied to communication applications comprises the following steps:
receiving a first call request, wherein the first call request comprises a called identification;
and when the called terminal corresponding to the called identifier is in a preset state, calling the telephone terminal corresponding to the called terminal through a public switched telephone network server.
2. The method of claim 1, wherein the making a call to a telephone terminal corresponding to the called terminal through a public switched telephone network server comprises:
acquiring a telephone number corresponding to the called terminal;
and sending a second call request containing the telephone number to a public switched telephone network server so that the public switched telephone network server calls the telephone terminal to which the telephone number belongs according to the second call request.
3. The method of claim 1, further comprising, after said receiving the first call request:
and acquiring the state information of the called terminal corresponding to the called identifier.
4. The method according to claim 3, wherein the called end status indicated by the status information is obtained by:
responding to the login event of the called terminal, and registering the state of the called terminal as an online state;
judging whether the called terminal keeps an online state or not based on a heartbeat mechanism;
if not, the online state is changed.
5. The method of claim 1, further comprising, after the making the call to the telephone terminal corresponding to the called terminal through the pstn server:
and when the telephone terminal feeds back an answer agreement message, the communication between the telephone terminal and a calling terminal initiating the first call request is carried out through the public switched telephone network server.
6. The method of claim 5, wherein said communicating between said telephony terminal and a calling party initiating said first call request via said PSTN server comprises:
sending the first audio data of a calling end to the public switched telephone network server so that the public switched telephone network server sends the first audio data to the telephone terminal;
and receiving second audio data of the telephone terminal through the public switched telephone network server, and sending the second audio data to the calling terminal.
7. The method according to claim 5, wherein if the calling end is a client end within a communication range created by a background server of the communication application, further comprising:
and when the telephone terminal feeds back an answer agreement message, the communication between the telephone terminal and other clients in the communication range of the calling terminal is carried out through the public switched telephone network server.
8. The method of any of claims 1-7, wherein the communication-like application is at least one of an instant messaging application, a multimedia conferencing application, and a live video application.
9. A communication system, comprising: a calling terminal and a background server of communication application;
the calling terminal is used for sending a first call request to a background server of the communication application, wherein the first call request comprises a called identifier;
and the background server of the communication application is used for calling the telephone terminal corresponding to the called terminal through the public switched telephone network server when the called terminal corresponding to the called identifier is in a preset state.
10. A communication device integrated with a background server of a communication-class application, comprising:
a first receiving module, configured to receive a first call request, where the first call request includes a called identifier;
and the first calling module is used for calling the telephone terminal corresponding to the called terminal through the public switched telephone network server when the called terminal corresponding to the called identifier is in a preset state.
11. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the communication method of any one of claims 1-8.
12. A storage medium containing computer-executable instructions for performing the communication method of any one of claims 1-8 when executed by a computer processor.
CN202110361794.4A 2021-04-02 2021-04-02 Communication method, system, device, electronic equipment and storage medium Pending CN113099055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110361794.4A CN113099055A (en) 2021-04-02 2021-04-02 Communication method, system, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110361794.4A CN113099055A (en) 2021-04-02 2021-04-02 Communication method, system, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113099055A true CN113099055A (en) 2021-07-09

Family

ID=76673593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110361794.4A Pending CN113099055A (en) 2021-04-02 2021-04-02 Communication method, system, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113099055A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006878A (en) * 2021-10-11 2022-02-01 广州迷听科技有限公司 Instant group call system, method and device for converged communication
CN114143875A (en) * 2021-11-26 2022-03-04 杨扬 Call forwarding method and device based on instant messaging social application program
CN114157767A (en) * 2021-11-26 2022-03-08 杨扬 Network communication method and device, storage medium and electronic device
WO2023036001A1 (en) * 2021-09-13 2023-03-16 华为技术有限公司 Call method and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577954A (en) * 2015-12-25 2016-05-11 小米科技有限责任公司 Phone calling method and device
WO2017028567A1 (en) * 2015-08-20 2017-02-23 中兴通讯股份有限公司 Internet telephone connection processing method and device
CN106921627A (en) * 2015-12-25 2017-07-04 阿尔格布鲁控股有限公司 The VoIP of the calling forwarding of external telephone network is provided

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028567A1 (en) * 2015-08-20 2017-02-23 中兴通讯股份有限公司 Internet telephone connection processing method and device
CN105577954A (en) * 2015-12-25 2016-05-11 小米科技有限责任公司 Phone calling method and device
CN106921627A (en) * 2015-12-25 2017-07-04 阿尔格布鲁控股有限公司 The VoIP of the calling forwarding of external telephone network is provided

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023036001A1 (en) * 2021-09-13 2023-03-16 华为技术有限公司 Call method and electronic device
CN114006878A (en) * 2021-10-11 2022-02-01 广州迷听科技有限公司 Instant group call system, method and device for converged communication
CN114143875A (en) * 2021-11-26 2022-03-04 杨扬 Call forwarding method and device based on instant messaging social application program
CN114157767A (en) * 2021-11-26 2022-03-08 杨扬 Network communication method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
AU2018208684B2 (en) User controlled call management
CN113099055A (en) Communication method, system, device, electronic equipment and storage medium
EP2947825A1 (en) Video communication method, home terminal and home server
EP2847979B1 (en) Multiple versions of call invites
US20200045182A1 (en) Method and system for automating conferencing in a communication session
US20110196969A1 (en) In-vehicle communication device with social networking
GB2504461A (en) Initiating voice or video sessions via push notifications
CN113765932B (en) Control method for multiparty call and electronic equipment
CN111818291B (en) Method and device for establishing multimedia call and electronic equipment
EP2974159B1 (en) Method, device and system for voice communication
EP2862343A1 (en) Notification of communication events
WO2021254326A1 (en) Communication method and apparatus, and electronic device
CN113993092A (en) Emergency call method, device, mobile terminal and network side equipment
US8804936B2 (en) Shared media access for real time first and third party media control
CN105120524A (en) Method for establishing communication connection and electronic device
CN112543298A (en) Video conference establishing method and system based on vehicle-mounted terminal, storage medium and vehicle-mounted terminal
CN112291216B (en) Communication method and device and electronic equipment
CN111818293B (en) Communication method and device and electronic equipment
US20140295806A1 (en) Encoded identifier based network
CN110505070B (en) Method and device for establishing three-party session
CN115696309A (en) Communication method and device
CN113014544A (en) Method and device for establishing centerless media link based on webRtc
US20140364090A1 (en) Gateway for voice communication
US11470200B2 (en) Key system module for softphone or embedded voice applications
CN103139407B (en) Internet telephone system and device thereof

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