CN114765602A - Method and device for processing calling information before call, server and terminal - Google Patents

Method and device for processing calling information before call, server and terminal Download PDF

Info

Publication number
CN114765602A
CN114765602A CN202110032176.5A CN202110032176A CN114765602A CN 114765602 A CN114765602 A CN 114765602A CN 202110032176 A CN202110032176 A CN 202110032176A CN 114765602 A CN114765602 A CN 114765602A
Authority
CN
China
Prior art keywords
call
calling
terminal
request message
information
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
CN202110032176.5A
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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110032176.5A priority Critical patent/CN114765602A/en
Publication of CN114765602A publication Critical patent/CN114765602A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method, a device, a server and a terminal for processing calling information before conversation, wherein the method comprises the following steps: acquiring a first call request message of a calling terminal; under the condition that the calling terminal signs a service before conversation, a first SIP message is sent to the called terminal according to the first call request message; wherein, the first SIP message comprises: calling related information needing to be displayed by a called terminal in the call and a service mark before the call; the embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the calling related information comprises the calling name, the calling theme, the calling setting picture/video, the position and other information, and realizes the synchronization of information before the call by using a mode of shorter time delay.

Description

Method and device for processing calling information before call, server and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a server, and a terminal for processing caller information before a call.
Background
The current calling name card service is generally realized based on an Application (APP) mode, the APP needs to be installed, and usually, only simple enterprise calling name display is supported for a non-local terminal storage number, part of the calling name card service can display enterprise identification, and information display such as text content and pictures is not supported, and multimedia information such as text content (such as a call theme) and pictures before call matched with the content cannot be set for each call condition.
On the other hand, the concept of enhanced call (RCS) service is proposed in the Rich Communication Services (RCS) specification. The concepts of Pre-call (Pre-call), In-call (In-call) and Post-call (Post-call) are proposed for different stages of the call. The Pre-call service defines the ability of a calling user to push text, pictures, positions and important call marks to a called user before a call. In the international standard scheme, a calling user sets information before a call is made, then synchronizes to a called terminal through a Message Session Relay Protocol (MSRP) Message tunnel, and makes a call to the called terminal after confirming that the terminal finishes information downloading.
However, the Pre-call service only supports calling to set the call theme, picture and location information, and does not support the display of the calling name for a while. And the content that the called user sees in the Pre-call business is all that is input by the caller directly, and will demonstrate directly in the ringing phase, there are several problems as follows: (1) the calling party utilizes the characteristic that the information before the call can be directly displayed on a ringing interface of the called party, and calls the called party after the harassment information is edited to form the forced harassment. (2) The caller imitates certain enterprise names and identifications and sends the enterprise names and the identifications to the called party for showing, and convenience is brought to fraud. (3) The calling party needs to be set before talking each time, so that the use is inconvenient and the user experience is not good. And the Pre-call service is based on the MSRP tunnel for message transmission, there are 2 problems as follows: (1) the use of the MSRP tunnel has a large signaling overhead and is not suitable for operators with large user or service volume. (2) And because initial negotiation of the tunnel needs to be performed, the time delay is large, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, a server and a terminal for processing calling information before call, so as to solve the problem that the processing of the calling information before call in the prior art cannot meet the requirements of users.
In order to solve the foregoing problems, an embodiment of the present invention provides a method for processing caller information before a call, which is executed by a first server, and includes:
acquiring a first call request message of a calling terminal;
under the condition that the calling terminal signs a service before conversation, a first conversation initiating protocol SIP message is sent to the called terminal according to the first calling request message; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
Wherein, the obtaining the first call request message of the calling terminal includes:
receiving the first call request message sent by a calling terminal;
or,
and receiving a first call request message of the calling terminal forwarded by the first network equipment.
After sending the first SIP message to the called terminal, the method further includes:
after the first SIP message is sent for n1 seconds, a second call request message is sent to the called terminal; n1 is greater than or equal to 0;
and/or the presence of a gas in the gas,
after receiving a delivery report of a first SIP message sent by a called terminal, sending the second call request message to the called terminal; the delivery report is used for indicating that the content synchronization before the call is successful or fails.
Or after sending the first SIP message to the called terminal, the method further includes:
and sending a first response message to the first network equipment so as to send a second call request message to the called terminal by the first network equipment.
Wherein, the second call request message includes a pre-call service tag.
Wherein, according to the first call request message, sending a first SIP message to the called terminal, comprising:
according to the first call request message, selecting calling related information needing to be displayed by a called terminal in the call from preset calling information configuration content before the call;
packaging calling related information which needs to be displayed by a called terminal in the call in a message body of a first SIP message, and carrying a pre-call service mark in a header field of the first SIP message;
and sending the first SIP message to the called terminal.
Wherein, before sending the first SIP message to the called terminal, the method further comprises:
receiving a second SIP message sent by a calling terminal, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and a service mark before the call;
the first SIP message further includes: the template information set by the calling terminal and the real-time information in the second SIP message need to be displayed by the called terminal in the call.
After receiving the second SIP message sent by the calling terminal, the method further includes:
and sending a second response message of the second SIP message to the calling terminal, wherein the second response message is used for indicating that the first server receives the second SIP message.
Wherein the method further comprises:
under the condition that a calling terminal signs a service before a call, acquiring at least one set of calling information configuration content before the call;
and performing safety audit on the calling information configuration content before the call, and storing the calling information configuration content before the call after the safety audit is passed.
The embodiment of the invention also provides a method for processing the calling information before the call, which is executed by the called terminal and comprises the following steps:
receiving a first SIP message sent by a first server, wherein the first SIP message comprises: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
receiving a second call request message sent by the first server or the first network equipment;
and finishing a call media negotiation with the calling terminal according to the second call request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
Wherein, the second call request message includes a pre-call service tag.
Wherein, according to the second call request message and the calling terminal completing the call media negotiation, sending the ringing notification and displaying the calling related information in the first SIP message on the ringing interface, including:
completing call media negotiation with the calling terminal according to the second call request message;
after the call media negotiation is completed, sending a ringing notification; and after the called terminal completes the preparation of the calling related information before the call, the calling related information in the first SIP message is displayed on a ringing interface.
After receiving the first SIP message sent by the first server, the method further includes:
sending a delivery report of the first SIP message to the first server; wherein the delivery report is used for indicating that the content synchronization before the call is successful or the content synchronization before the call is failed.
Wherein, the first SIP message further includes: real-time information set by the calling terminal and required to be displayed by the called terminal in the call;
the method further comprises the following steps:
and displaying the real-time information set by the calling terminal in the first SIP message on a ringing interface.
The embodiment of the invention also provides a method for processing the calling information before the call, which is executed by the calling terminal and comprises the following steps:
after signing a service before conversation with a first server, configuring at least one set of calling information configuration content before conversation with the first server; the first server carries out security audit on the calling information configuration content before the call;
a first call request message for calling the called terminal is transmitted.
Wherein, before the sending the first call request message for calling the called terminal, the method further comprises:
sending a second SIP message, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and the service mark before the call.
Wherein the method further comprises:
and receiving a second response message of the second SIP message, wherein the second response message is used for indicating that the first server receives the second SIP message.
Wherein, before the sending the second SIP message, the method further comprises:
determining real-time information set by a calling terminal, which needs to be displayed by a called terminal in the call, according to a first mode; wherein the first mode comprises at least one of:
inputting freely through a keyboard;
selecting preset content through a calling terminal interface;
the device obtains the information by scanning the two-dimensional code or the bar code.
An embodiment of the present invention further provides a method for processing caller information before a call, where the method is executed by a first network device, and the method is characterized by including:
receiving the first call request message sent by a calling terminal;
forwarding the first call request message to a first server;
and sending a second call request message to the called terminal.
Wherein, the sending the second call request message to the called terminal includes:
under the condition of receiving a first response message fed back by the first server, sending a second call request message to the called terminal;
and/or the presence of a gas in the atmosphere,
sending a second call request message to the called terminal after forwarding the first call request message to the first server for n2 seconds; n2 is greater than or equal to 0.
The embodiment of the invention also provides a device for processing calling information before call, which is applied to a first server and comprises:
the first obtaining module is used for obtaining a first call request message of a calling terminal;
a first sending module, configured to send a first session initiation protocol SIP message to a called terminal according to the first call request message under the condition that a calling terminal signs a pre-call service; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
An embodiment of the present invention further provides a first server, including a processor and a transceiver, where the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
acquiring a first call request message of a calling terminal;
under the condition that the calling terminal signs a service before conversation, a first conversation initiating protocol SIP message is sent to the called terminal according to the first calling request message; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
The embodiment of the invention also provides a device for processing the calling information before the call, which is applied to a called terminal and comprises the following components:
a second receiving module, configured to receive a first SIP message sent by a first server, where the first SIP message includes: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
a third receiving module, configured to receive a second call request message sent by the first server;
and the ringing display module is used for finishing a calling media negotiation with the calling terminal according to the second calling request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
The embodiment of the present invention further provides a terminal, which is a called terminal and includes a processor and a transceiver, where the transceiver receives and transmits data under the control of the processor, and the processor is configured to perform the following operations:
receiving a first SIP message sent by a first server, wherein the first SIP message comprises: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
receiving a second call request message sent by the first server or the first network equipment;
and finishing a call media negotiation with the calling terminal according to the second call request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
The embodiment of the invention also provides a device for processing calling information before conversation, which is applied to a calling terminal and comprises the following components:
the configuration module is used for configuring at least one set of calling information configuration content before conversation with the first server after signing a service before conversation with the first server; the first server carries out security audit on the calling information configuration content before the call;
and the third sending module is used for sending the first call request message for calling the called terminal.
An embodiment of the present invention further provides a terminal, where the terminal is a calling terminal, and includes a processor and a transceiver, where the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
after signing a pre-call service with a first server, configuring at least one set of pre-call calling information configuration content with the first server; the first server carries out security audit on the calling information configuration content before the call;
a first call request message for calling the called terminal is transmitted.
The embodiment of the present invention further provides a device for processing a calling party information before a call, which is executed by a first network device, and includes:
a fourth receiving module, configured to receive the first call request message sent by the calling terminal;
a forwarding module, configured to forward the first call request message to a first server;
and the fourth sending module is used for sending the second call request message to the called terminal.
The embodiment of the invention also provides communication equipment, which comprises a memory, a processor and a program which is stored on the memory and can be run on the processor, wherein the processor realizes the method for processing the calling information before the call when executing the program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the method for processing the pre-call calling information as described above.
The technical scheme of the invention at least has the following beneficial effects:
in the method, the device, the server and the terminal for processing the calling information before the call, reliable calling related information including information such as a calling name, a call theme, a calling setting picture/video, a position and the like can be displayed on a called terminal interface when the called terminal rings; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for processing caller information before a call according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second step of a method for processing caller information before a call according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third step of a method for processing caller information before call according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a fourth step of a method for processing caller information before call according to an embodiment of the present invention;
fig. 5 is an interaction diagram illustrating an example one of a method for processing pre-call calling information according to an embodiment of the present invention;
fig. 6 is an interaction diagram illustrating an example two of a method for processing caller information before a call according to an embodiment of the present invention;
fig. 7 is an interaction diagram illustrating an example three of a method for processing pre-call calling information according to an embodiment of the present invention;
fig. 8 is an interaction diagram illustrating an example four of a method for processing caller information before a call according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for processing caller information before a call according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a first server according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of a device for processing caller information before a call according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 13 is a third schematic structural diagram of a device for processing caller information before call according to an embodiment of the present invention;
fig. 14 is a second schematic structural diagram of a terminal according to an embodiment of the present invention;
FIG. 15 is a fourth schematic structural diagram of a device for processing caller information before a call according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a network device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for processing pre-call calling information, which is executed by a first server (the first server may also be referred to as a pre-call service server), and includes:
step 101, acquiring a first call request message of a calling terminal;
102, under the condition that a calling terminal signs a service before conversation, sending a first conversation initiation protocol (SIP) message to a called terminal according to the first calling request message; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
In the embodiment of the invention, the service before conversation is specifically related information of calling related information displayed on a ringing interface of a called terminal.
The embodiment of the invention uses the method of SIP Message to transmit the setting of the relevant information of the calling party, the time delay is lower, and the network overhead is smaller; the embodiment of the invention is realized based on VoLTE, and calling related information can be displayed on a ringing interface of the called terminal without installing any APP at the calling terminal and the called terminal.
Optionally, the caller related information to be displayed by the called terminal includes at least one of the following: a caller name; a call topic; call content introduction (text); a picture set by the caller; a video set by the caller; a position. Or, all display information in the calling related information is displayed on the called terminal in a webview (web view) manner, where the display information includes key information content to be displayed, page description information of the webview, and the like, and is not limited specifically herein. The embodiment of the invention supports rich information display and can comprehensively meet the requirements of users.
As an alternative embodiment, step 102 comprises:
receiving the first call request message sent by a calling terminal;
or,
and receiving a first call request message of the calling terminal forwarded by the first network equipment.
Bearing the above example, after sending the first SIP message to the called terminal if the first server directly receives the first call request message, the method further includes:
after the first SIP message is sent for n1 seconds, a second call request message is sent to the called terminal; n1 is greater than or equal to 0;
and/or the presence of a gas in the atmosphere,
after receiving a delivery report of a first SIP message sent by a called terminal, sending the second call request message to the called terminal; the delivery report is used for indicating that the content synchronization before the call is successful or fails.
Or, after the first server obtains the first call request message through forwarding of the first network device, and sends the first SIP message to the called terminal, the method further includes:
and sending a first response message to the first network equipment so as to send a second call request message to the called terminal by the first network equipment.
Optionally, in this embodiment of the present invention, the second call request message includes a service tag before call.
It should be noted that, in the embodiment of the present application, the second call request message may or may not carry the pre-call service flag. The service mark before the call is used for assisting the called terminal to judge whether the call has service setting before the call, if the called terminal analyzes the service mark before the call, the call is determined to have the service setting before the call, and if the called terminal does not analyze the service mark before the call, the call is determined to have no service setting before the call. The first SIP message carries the pre-call service identifier, but in a special scenario, for example, the called terminal does not resolve the pre-call service identifier in the first SIP message, or the called terminal receives the second call request message before receiving the first SIP message, the called terminal may determine whether the pre-call service setting exists in the call according to the pre-call service identifier in the second call request.
As an alternative embodiment, step 102 comprises:
according to the first call request message, selecting calling related information needing to be displayed by a called terminal in the call from preset calling information configuration content before the call;
packaging calling related information which needs to be displayed by a called terminal in the call in a message body of a first SIP message, and carrying a pre-call service mark in a header field of the first SIP message;
and sending the first SIP message to the called terminal.
In the embodiment of the invention, the calling information configuration content before the call is preset by the calling terminal, the calling terminal can preset a plurality of sets of calling information configuration content before the call, and the first server can selectively push the content according to the first call request message. If the calling related information required to be displayed by the called terminal in the call is selected according to the setting requirements of the called number, the sending time, the calling state, the group in the group where the calling is located and the like.
Correspondingly, the method further comprises the following steps:
under the condition that a calling terminal signs a service before a call, acquiring at least one set of calling information configuration content before the call;
and performing safety audit on the calling information configuration content before the call, and storing the calling information configuration content before the call after the safety audit is passed.
In the embodiment of the invention, the calling information configuration content is uploaded to a first server by a calling terminal in advance before communication, and the first server checks the configuration content; therefore, the calling related information pushed to the called terminal by the first SIP message by the subsequent first server is authenticated or audited, and the method is safe and reliable for the called user.
For example, regarding the calling name in the calling related information, the first server performs identity authentication according to a file containing legal effectiveness provided by the calling terminal, and the authentication can be presented to the called terminal after passing.
Regarding a calling terminal which signs (or is called as opening) a service before a call:
the terminal which opens the pre-call service can set a portal or a client manager through the pre-call service application server. Each piece of setting needs to correspond to at least one set of calling information configuration content before conversation, the content needs to be uploaded to a first server in advance, and the content and the corresponding setting take effect after the first server conducts security verification.
As an alternative embodiment, after sending the first SIP message for n1 seconds, sending a second call request message to the called terminal; n1 is greater than or equal to 0; the calling terminal opening the service before the call directly initiates the call, and the first server does not wait for the delivery report of the first SIP message; however, in order to ensure that the called terminal can display the content before the call before the called terminal rings, the first server may add a timer before sending the second call request message, configure n1 seconds after sending the first SIP message, and then send the second call request message; n1 is greater than or equal to 0;
and/or after receiving a delivery report of a first SIP message sent by a called terminal, sending the second call request message to the called terminal; the delivery report is used for indicating that the content synchronization before the call is successful or fails; the first server sends a second call request message to the called terminal after waiting for the delivery report of the first SIP message; optionally, to improve the user experience, a timeout timer may also be added here, and when the delivery report of the called terminal is not received after the set time of the timer is exceeded, the server does not wait any more, and directly executes the next step, that is, sends the second paging request message.
It should be noted that, after sending the second call request message, the first server receives a second response message of the second call request message fed back by the called terminal, and transparently transmits the subsequent session initial media negotiation flow message.
Bearing in mind the above example, the method further comprises:
forwarding the delivery report to the calling terminal. In order to improve user experience, when the delivery report indicates that the content synchronization before the call fails, the first server may forward the delivery report to the calling terminal through an SIP message, and notify the calling terminal that the content push before the called side call fails. After receiving the delivery report, the calling terminal can prompt the calling user that the content push fails before the called side calls on the interface of the calling terminal.
As another optional embodiment, the embodiment of the present invention further supports adding corresponding information to the calling information before the call according to the real-time requirement of the calling. The realization method is that before the calling party initiates the first calling request message, the calling terminal sends the real-time information before the call to the first server through the SIP message, then the first server carries out safety check aiming at the received content and the preset template definition, and after no problem exists, the first server sends the information to the called terminal according to the normal flow. Namely, before sending the first SIP message to the called terminal, the method further includes:
receiving a second SIP message sent by a calling terminal, wherein the second SIP message comprises: real-time information set by a calling terminal and required to be displayed by a called terminal in the call, and a service mark before the call;
the first SIP message further includes: the template information set by the calling terminal and the real-time information in the second SIP message need to be displayed by the called terminal in the call.
Similarly, the calling terminal that opens the pre-call service carries real-time information to initiate a call, and the server side may directly send the second call request message to the called terminal without waiting for the delivery report of the SIP message, or may send the second call request message to the called terminal after waiting for the delivery report of the SIP message, which is not described repeatedly herein.
Optionally, the pre-call real-time information is sent in a preset template mode and a mode of setting real-time information by the aid of a terminal; by adopting the scheme, on one hand, the information before the call is ensured to be subjected to safety audit, and the identity of the calling party can be verified and displayed to the called terminal, so that the potential safety hazard problem is solved; on the other hand, the method supports the setting of real-time information of the calling side while presetting the content, and is more flexible and convenient for users to use.
For example, the first server finds a prefabricated template according to the message body of the second SIP message carrying the pre-call service configuration information template number, and verifies the received real-time information according to the requirement for inserting the real-time information in the preset template. And if the verification is passed, filling the real-time information into the corresponding pre-call information template, and then putting the real-time information into the message body of the first SIP message.
As an optional embodiment, after receiving the second SIP message sent by the calling terminal, the method further includes:
and sending a second response message of the second SIP message to the calling terminal, wherein the second response message is used for indicating that the first server receives the second SIP message.
In the embodiment of the invention, the calling information display service before the call also supports the calling terminal to display the real-time information of the calling before the call to the called terminal, for example, a courier serving as a calling user pushes the calling information before the call containing the sent information to the called terminal. For the situation, the calling user needs to upload the template content of the display information to the server in advance for auditing, and meanwhile, format description is performed on data needing to be transmitted in real time in the template, so that when the real-time data is transmitted in a call, the server checks the real-time data. If in an express scene, the real-time data is the recipient pickup address and the delivery time, and the real-time data can be manually input through a calling terminal or can be obtained by scanning an express single barcode through a terminal and selecting from preset contents in the terminal. When the server verifies that the real-time content is address data and time data but not other content data, the real-time content can be merged with the server side template data through verification and then pushed to the called terminal.
It should be noted that, at the core network/server side, the pre-call service is a value-added call service implemented on the basis of VoLTE call. The triggering rules of IMS VoLTE calls are followed. After the pre-call service is opened, when the calling terminal is the terminal signing the pre-call service, the IMS core network routes the call request initiated by the terminal to the first server, and then the first server provides the corresponding service.
On the side of the terminals (calling terminal and called terminal), the pre-call service is identified by the pre-call service Tag (Feature Tag) of the header fields of the SIP message and the call request message.
The method for indicating the pre-call service mark by the SIP message and the call request message comprises the following steps: for the SIP message and the call request message of the pre-call Service, the Feature Tag ICSI Tag of the important call should be carried in the Accept-Contact or Contact header field, and the Feature Tag ICSI Tag of the pre-call Service is also carried in the P-Preferred-Service or P-Asserted-Service header field. In addition, a pre-call ID field needs to be carried to ensure that the called terminal can match the call request with the SIP message.
In summary, the embodiment of the present invention can display reliable caller related information including caller name, call subject, caller setting picture/video, location, etc. on the called terminal interface when the called terminal rings; the embodiment of the invention supports that the calling user uploads the information before the call in advance after ordering the service before the call, and pushes the relevant information of the calling before the corresponding call for the called party under different conditions according to the definition of the calling user; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
As shown in fig. 2, an embodiment of the present invention further provides a method for processing calling information before a call, which is executed by a called terminal, and includes:
step 201, receiving a first SIP message sent by a first server, where the first SIP message includes: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
step 202, receiving a second call request message sent by a first server or a first network device;
step 203, completing the call media negotiation with the calling terminal according to the second call request message, sending a ringing notification and displaying the calling related information in the first SIP message on a ringing interface.
In the embodiment of the invention, the called terminal receives the first SIP message, and the header field of the first SIP message carries the service mark before the call, so that the calling related information to be displayed before the call is acquired from the message body of the first SIP message.
For example, the called terminal determines whether the calling related information includes a content to be downloaded, such as a picture, a video, and the like, and if so, completes content downloading according to the download link and completes display presetting of the calling related information before the call. Optionally, in order to protect the performance of the terminal, after the terminal completes the pre-call information presetting, a timer is set, and after the timer expires, if the pre-call content setting requirement corresponding to the call request message has not been received, the terminal deletes the display content of the pre-call information.
The called terminal receives the second call request message, the header field of the second call request message carries the service mark before the call, and the called terminal sets the first SIP message association with the service mark before the call and the content before the call received before the call through the calling number and the called number.
And the calling party and the called party finish media negotiation, the called party confirms that the calling information is preset before the call, the called terminal sends 180 information to the calling terminal, and the called terminal indicates the preset calling related information before the call through a first SIP message before local ringing and display. Optionally, in order to improve user experience, the terminal may set a timer, and if the terminal completes media negotiation after receiving the second call request message or after completing the initial media negotiation for the call, and when the terminal completes media negotiation to prepare for ringing, if the calling information before the call is not yet preset, the terminal waits for the presetting of the calling information before the call before the timer expires, the preset completes ringing again, displays the content before the call, and sends a 180 message, and if the terminal does not complete the presetting of the calling information before the call after the timer expires, the terminal abandons the displaying of the calling information before the call, and directly performs local ringing and sends the 180 message to the calling. Further, the called party is off-hook, and the calling party and the called party are in communication.
Optionally, the second call request message includes a pre-call service flag.
As an alternative embodiment, step 203 comprises:
completing call media negotiation with the calling terminal according to the second call request message;
after the call media negotiation is completed, sending a ringing notification; and after the called terminal finishes the preparation of the calling related information before the call, the calling related information in the first SIP message is displayed on a ringing interface.
In other words, the called terminal knows that the current call contains the pre-call service from the pre-call service tag in the first SIP message header or the pre-call service tag in the second call request; after receiving the second call request message, the called terminal continues to complete call media negotiation with the calling terminal, and after completing the call media negotiation, judges whether a service mark before conversation exists, and then rings and displays calling related information on a local ring interface. Or, when the called terminal finds that the call has a pre-call service, (may know from the pre-call service tag in the received first SIP message, or may know from the pre-call service tag in the second call request message, and see that the message arrives at the called terminal first), it needs to complete the initial media negotiation, that is, when sending the ring notification, start the timer, and when the timer is over time and the called terminal has not completed the preparation of the pre-call service calling related information, the called terminal gives up displaying the pre-call calling information, directly returns the ring message, and locally rings, and does not display the calling information.
As an alternative embodiment, after step 201, the method further comprises:
sending a delivery report of the first SIP message to the first server; wherein the delivery report is used for indicating that the content synchronization before the call is successful or the content synchronization before the call is failed.
As another optional embodiment, the first SIP message further includes: real-time information set by the calling terminal and required to be displayed by the called terminal in the call;
the method further comprises the following steps:
and displaying the real-time information set by the calling terminal in the first SIP message on a ringing interface.
In summary, the embodiment of the present invention can display reliable caller related information including caller name, call subject, caller setting picture/video, location, etc. on the called terminal interface when the called terminal rings; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
As shown in fig. 3, an embodiment of the present invention further provides a method for processing calling information before a call, which is executed by a calling terminal, and includes:
step 301, after signing a pre-call service with a first server, configuring at least one set of pre-call calling information configuration content with the first server; the first server carries out security audit on the calling information configuration content before the call;
step 302, a first call request message for calling the called terminal is sent.
In the embodiment of the invention, the calling information configuration content is uploaded to a first server by a calling terminal in advance before communication, and the first server checks the configuration content; therefore, the calling related information pushed to the called terminal by the first SIP message by the subsequent first server is authenticated or audited, and the method is safe and reliable for the called user.
Regarding a calling terminal which signs (or is called as opening) a service before a call:
the terminal which opens the service before the call can set the external portal or the client manager through the service application server before the call. Each piece of setting needs to correspond to at least one set of calling information configuration content before conversation, the content needs to be uploaded to a first server in advance, and the content and the corresponding setting take effect after the first server conducts security verification.
As another optional embodiment, the embodiment of the present invention further supports adding corresponding information to the calling information before the call according to the real-time requirement of the calling. The realization method is that before the calling party initiates the first calling request message, the calling terminal sends the real-time information before the call to the first server through the SIP message, then the first server carries out safety check aiming at the received content and the preset template definition, and after no problem exists, the first server sends the information to the called terminal according to the normal flow. I.e. before step 302, the method further comprises:
sending a second SIP message, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and the service mark before the call.
Similarly, the calling terminal that opens the pre-call service carries real-time information to initiate a call, and the server side may directly send the second call request message to the called terminal without waiting for the delivery report of the SIP message, or may send the second call request message to the called terminal after waiting for the delivery report of the SIP message, which is not described repeatedly herein.
As another alternative embodiment, before transmitting the first call request message for calling the called terminal, the method further includes:
and receiving a second response message of the second SIP message, wherein the second response message is used for indicating that the first server receives the second SIP message.
Similarly, for the second SIP message, the calling terminal may send the first call request message directly without waiting for a response message (also referred to as a delivery report) of the second SIP message; for example, to ensure that the called terminal can display the content before the call before the called terminal rings, the terminal may add a timer before sending the first call request message, configure n seconds after sending the second SIP message, and then send the first call request message; or, the calling terminal may also wait for receiving the response message of the second SIP message and then send the first call request message; or, in order to improve the user experience, a timeout timer may be added, and when the delivery report of the second SIP message is not received after the set time of the timer is exceeded, the calling terminal does not wait any more, and directly executes the next step, that is, sends the first call request message.
As another optional embodiment, before sending the second SIP message, the method further comprises:
determining real-time information set by a calling terminal, which needs to be displayed by a called terminal in the call, according to a first mode; wherein the first mode comprises at least one of:
inputting freely through a keyboard;
selecting preset content through a calling terminal interface;
the device obtains the two-dimensional code or the bar code by scanning.
For example, the calling terminal sets real-time information to be displayed before a call, packages the real-time information in a message body of the second SIP message, and sends the message body to the first server. The header field of the second SIP message carries the pre-call service tag. Here, the real-time information set by the calling terminal may be freely input by the calling user through a mobile phone keyboard, may also be preset content selected through a terminal interface, may also be content obtained by the terminal device by scanning a two-dimensional code/barcode, and may also be content obtained by the terminal device by some other means. For filling in real-time information before a call, a calling terminal needs to carry at least the following key contents: (1) the real-time information corresponds to the information template before the call, and (2) the real-time information.
In summary, the embodiment of the present invention can display reliable caller related information including caller name, call subject, caller setting picture/video, location, etc. on the called terminal interface when the called terminal rings; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
The application scenarios are exemplified as follows:
and the courier sends a scene of express calling to the client. At present, express companies usually have own special terminals or apps, and the customer mobile phone numbers are obtained by scanning bar codes on express bills and then directly send short messages or make calls. For a calling scene, after a courier dials a call, a called receiver mobile phone displays an unfamiliar number when ringing, although the scene is optimized for certain brands of mobile phones or APPs, number category identification of 'express delivery' can be added below the unfamiliar number in a user marking mode, on one hand, the number identification is not authenticated and is not safe enough, and sometimes, a marking error condition occurs; on the other hand, only large classes can be marked, which express company cannot be determined, and after the express company is frequently hung up, the express company does not remember which courier to go to and take the express, and secondary call back confirmation is needed. After the service before the call provided by the embodiment of the invention is used, the called terminal can accurately identify the identity of the caller, xx express company, meanwhile, the express company can directly tell the user where the express is going to be distributed (an express receiving address, which may be a home or a company, avoids the confusion of the user) through the text content before the text call, and can display the information of company logo or recent consignment preferential activities and the like through pictures to publicize the company.
As shown in fig. 4, an embodiment of the present invention further provides a method for processing caller information before a call, which is executed by a first network device, and includes:
step 401, receiving the first call request message sent by the calling terminal;
step 402, forwarding the first call request message to a first server;
step 403, sending a second call request message to the called terminal.
As an alternative embodiment, step 403 includes:
under the condition of receiving a first response message fed back by the first server, sending a second call request message to the called terminal; the first network equipment sends a second call request message to the called terminal after receiving the first response message; optionally, in order to improve user experience, a timeout timer may also be added here, and when the first response message of the first server is not received after the set time of the timer is exceeded, the first network device does not wait any more, and directly executes the next step, that is, sends the second paging request message;
and/or the presence of a gas in the gas,
sending a second call request message to the called terminal after forwarding the first call request message to the first server for n2 seconds; n2 is greater than or equal to 0; after the first network device forwards the first call request message to the first server, the first network device does not wait for a response message of the first call request message; however, to ensure that the called terminal can display the content before the called terminal rings for the pre-call, the first network device may add a timer before sending the second call request message, and configure to send the second call request message n2 seconds after forwarding the first call request message.
Optionally, in this embodiment of the present invention, the second call request message includes a pre-call service flag.
In summary, in the embodiment of the present invention, the first network device forwards the first call request message to the first server, and the first server sends the relevant calling information to the called terminal through the SIP message, so that reliable relevant calling information, including information such as a calling name, a call topic, a calling setting picture/video, and a location, can be displayed on an interface of the called terminal when the called terminal rings.
In order to more clearly describe the method for processing the pre-call calling information provided by the embodiment of the present invention, the following description is made with reference to two examples.
Example one, as shown in fig. 5, a calling terminal that opens a pre-call service directly initiates a call
1. The terminal a (here, as the user a, is the calling party) has opened the pre-call service and completes the content setting of the pre-call service. Terminal a sends an initial call request (i.e., invite message).
2. Since the user a has opened the pre-call service, the call request sent by the terminal a will be sent to the first server (hereinafter referred to as server or platform) by the IMS core network. The server judges the service before the user A signs the contract, and the system confirms the information of the calling user before the call which needs to be synchronized to the called side at present according to the current call state, such as the information of the calling user number, the called user number, the call initiation time and the like. The platform encapsulates the pre-call content setting requirement in the message body of the SIP message, and the message head carries the pre-call service mark and sends the pre-call service mark to the called user, namely the terminal B.
3. And after receiving the SIP message, the terminal B finds that the message header carries the service mark before the call, reads the corresponding set content in the message body, and presets display information before the call. After receiving the SIP message, the terminal B replies a 200OK response message.
And 4-5, selecting a flow, and if the content setting requirement before the call comprises the contents needing to be downloaded, such as pictures, videos and the like, finishing content downloading and finishing display presetting of calling information before the call by the terminal according to the downloading link. Optionally, in order to protect the performance of the terminal, the terminal sets a timer after completing the pre-call information presetting, and if the timer is overtime and does not receive the pre-call content setting requirement corresponding call request message, the terminal deletes the display preset content of the pre-call information. If the content setting requirement before the call does not contain the content such as pictures, videos and the like which need to be downloaded, the step does not exist.
6-9, which is also an optional procedure here. And after the called terminal finishes downloading and displaying the calling information before the call and presets, sending a delivery report of the SIP message (content display receipt before the call) to the calling side. After receiving the delivery report, the server forwards the report to the calling terminal. The steps can be optionally realized here: (1) the display of the calling information before the call is a value-added function of the basic call, and whether the calling information can be successfully displayed or not cannot influence the normal call, so that the terminal does not need to report to a service platform or the calling terminal when the content is successfully downloaded or displayed. (2) In order to improve the service experience, the calling party can perceive the service state, and the service state can be informed through a receipt message. The experience is further improved, only the condition that the display of the calling information fails before the call is informed, and the calling does not receive the receipt, which indicates that the information is normally displayed on the called side.
10. If the flow containing the delivery report is adopted, the server receives the delivery report of the called terminal and then forwards the call request of the calling terminal, and the head domain can carry the service mark before the call. If the flow containing the delivery report is not adopted, the service application server before the call forwards the call request after receiving the SIP message 200OK required by the service setting before the call.
11. Following the existing VoLTE call flow, the calling party and the called party continue to complete the call initial media negotiation.
12-14, the called terminal judges that the call has the service setting before the call according to the service mark before the call carried in the call request. When sending the ringing notification, the terminal needs to first judge whether the downloading and setting of the calling information before the call is finished, if so, the terminal sends the ringing notification to the calling, and simultaneously displays the calling information content before the call on a local ringing interface. If the terminal has not received the setting information notification of the content before the call after completing the call negotiation or has not completed the downloading of the content, the terminal needs to send the ringing notification to the calling party after completing the downloading of the content before the call, and simultaneously, the calling information content before the call is displayed on the ringing interface of the terminal.
Optional optimization implementation: and the terminal judges that the call has pre-call service setting according to the pre-call service mark carried in the call request, and then the terminal needs to start a pre-call service timer. When the terminal does not receive the setting information notification of the content before the call after completing the call negotiation, or does not complete the downloading of the content, and the service timer before the call is not overtime, the terminal waits for the completion of the downloading of the content before the call, sends a ringing notification to the calling party after the downloading is successful, and simultaneously displays the information content of the calling party before the call on a ringing interface of the terminal; if the service timer is overtime before the call, the terminal does not wait for the downloading of the content before the call, and directly sends a ringing notification to the calling party, and the local ringing interface does not show the information of the calling party before the call.
And 15-16, the called terminal picks up the phone, sends a pickup 200OK message to the calling terminal, and switches the called terminal into a call interface.
Example two, as shown in fig. 6, the calling terminal that has opened the pre-call service directly initiates a call
1. The terminal a (here, as the user a, is the calling party) has opened the pre-call service and completes the content setting of the pre-call service. Terminal a sends an initial call request (i.e., invite message).
2. Because the user A opens the service before the call, the call request sent by the terminal A reaches the first network equipment; the first network device terminal a is notified of the call event to the first server (hereinafter referred to as server or platform).
3. The server sends a response message of the call event notification to the first network equipment;
4. the server judges the service before the user A has signed a contract for a call, and the system confirms the information of the calling user before the call which needs to be synchronized to the called side at present according to the current call state, such as the information of the calling user number, the called user number, the call initiation time and the like. The platform encapsulates the pre-call content setting requirement in the message body of the SIP message, and the message head carries the pre-call service mark and sends the pre-call service mark to the called user, namely the terminal B.
5. And after receiving the SIP message, the terminal B finds that the message header carries the service mark before the call, reads the corresponding set content in the message body, and presets display information before the call. After receiving the SIP message, the terminal B replies a 200OK response message.
6-7, which is an optional flow, if the content setting requirement before the call contains the contents needing to be downloaded, such as pictures, videos and the like, the terminal finishes content downloading and finishes the display presetting of calling information before the call according to the downloading link. Optionally, in order to protect the performance of the terminal, the terminal sets a timer after completing the pre-call information presetting, and if the timer is overtime and does not receive the pre-call content setting requirement corresponding call request message, the terminal deletes the display preset content of the pre-call information. If the content setting requirement before the call does not contain the content such as pictures, videos and the like which need to be downloaded, the step does not exist.
8-11, which is also an optional procedure here. And after the called terminal finishes downloading and displaying the calling information before the call and presets, sending a delivery report of the SIP message (content display receipt before the call) to the calling side. After receiving the delivery report, the server forwards the report to the calling terminal. The steps can be optionally realized here: (1) the display of the calling information before the call is a value-added function of the basic call, and whether the calling information can be successfully displayed or not cannot influence the normal call, so that the terminal does not need to report to a service platform or the calling terminal when the content is successfully downloaded or displayed. (2) In order to improve the service experience, the calling party can perceive the service state, and the service state can be informed through a receipt message. And the experience is further improved, only the condition that the display of the calling information fails before the call is informed, and the calling does not receive the receipt, which indicates that the information is normally displayed on the called side.
12. The first network device receives the response message of the server and then forwards the call request of the calling terminal, and the header field can carry the service mark before the call.
13. Following the existing VoLTE call flow, the calling party and the called party continue to complete the call initial media negotiation.
And 14-16, the called terminal judges that the call has the service setting before the call according to the service mark before the call carried in the call request. When sending the ringing notification, the terminal needs to first judge whether the downloading and setting of the calling information before the call is finished, if so, the terminal sends the ringing notification to the calling, and simultaneously displays the calling information content before the call on a local ringing interface. If the terminal has not received the setting information notification of the content before the call after completing the call negotiation or has not completed the downloading of the content, the terminal needs to send the ringing notification to the calling party after completing the downloading of the content before the call, and simultaneously, the calling information content before the call is displayed on the ringing interface of the terminal.
And 17-18, the called terminal picks up the phone, sends a pickup 200OK message to the calling terminal, and switches the called terminal into a call interface.
Example three, as shown in fig. 7, the calling terminal that opened the pre-call service carries real-time information to initiate a call request
1. The calling user sets the content before real-time conversation, packages the content in the message body of the SIP message and sends the content to the called user. The SIP message header field carries the pre-call service tag. Here, what the calling user sets is the content before the real call, which can be freely input through a mobile phone keyboard by the calling user, or preset content selected through a terminal interface, or content obtained by scanning a two-dimensional code/barcode by the terminal device, or content obtained by the terminal device through some other method. For filling in real-time information before a call, a calling terminal needs to carry at least the following key contents: (1) the real-time information corresponds to the information template before the call, and (2) the real-time information.
2. The first server identifies that the SIP message header field carries a pre-call service tag. Temporarily storing the SIP message and waiting for the arrival of the corresponding call. And simultaneously returns a SIP message 200OK response message.
3. The calling terminal sends a call request message.
4. Since the user a has opened the pre-call service, the call request sent by the terminal a will be sent to the first server (hereinafter referred to as server) by the IMS core network. The server judges that (1) the calling user signs the service before the call and (2) the configuration information of the real-time information before the call of the calling user is received. And assembling the information setting requirement before the call, and sending the information setting requirement to the called party through an SIP message. The SIP message header field carries the service mark before the call, and the message body carries the information setting requirement before the call.
5. And after receiving the SIP message, the terminal B finds that the message header carries the service mark before the call, reads the corresponding set content in the message body, and presets display information before the call. After receiving the SIP message, the terminal B replies a 200OK response message.
6-7, which is an optional process, if the content setting requirement before the call contains the content to be downloaded such as pictures, videos and the like, the terminal completes content downloading and display presetting of calling information before the call according to the downloading link. Optionally, in order to protect the performance of the terminal, the terminal sets a timer after completing the pre-call information presetting, and if the timer is overtime and does not receive the pre-call content setting requirement corresponding call request message, the terminal deletes the display preset content of the pre-call information. If the content setting requirement before the call does not contain the contents such as pictures, videos and the like which need to be downloaded, the step does not exist.
8-11, which is also an optional procedure here. And after the called terminal finishes downloading and displaying the calling information before the call and presets, sending a delivery report of the SIP message (content display receipt before the call) to the calling side. After receiving the delivery report, the server forwards the report to the calling terminal. The steps can be optionally realized here: (1) the display of the calling information before the call is a value-added function of the basic call, and whether the calling information can be successfully displayed or not cannot influence the normal call, so that the terminal does not need to report to a service platform or the calling terminal when the content is successfully downloaded or displayed. (2) In order to improve the service experience, the calling party can perceive the service state, and the service state can be informed through a receipt message. The experience is further improved, only the condition that the display of the calling information fails before the call is informed, and the calling does not receive the receipt, which indicates that the information is normally displayed on the called side.
12. If the flow containing the delivery report is adopted, the server receives the delivery report of the called terminal and then forwards the call request of the calling terminal, and the head domain carries the service mark before the call. If the flow containing the delivery report is not adopted, the service application server before the call forwards the call request after receiving the SIP message 200OK required by the service setting before the call.
13. Following the existing VoLTE call flow, the calling party and the called party continue to complete the call initial media negotiation.
And 14-16, the called terminal judges that the call has the service setting before the call according to the service mark before the call carried in the call request. When sending the ringing notification, the terminal needs to first determine whether the downloading and setting of the calling information before the call has been completed, and if so, the terminal sends the ringing notification to the calling, and simultaneously displays the content of the calling information before the call on the ringing interface of the terminal. If the terminal has not received the setting information notification of the content before the call after completing the call negotiation or has not completed the downloading of the content, the terminal needs to send the ringing notification to the calling party after completing the downloading of the content before the call, and simultaneously, the calling information content before the call is displayed on the ringing interface of the terminal.
Optional optimization implementation: and the terminal judges that the call has pre-call service setting according to the pre-call service mark carried in the call request, and then the terminal needs to start a pre-call service timer. When the terminal does not receive the setting information notification of the content before the call after completing the call negotiation, or does not complete the downloading of the content, and the service timer before the call is not overtime, the terminal waits for the completion of the downloading of the content before the call, sends a ringing notification to the calling party after the downloading is successful, and simultaneously displays the information content of the calling party before the call on a ringing interface of the terminal; if the service timer is overtime before the call, the terminal does not wait for the downloading of the content before the call, and directly sends a ringing notification to the calling party, and the local ringing interface does not show the information of the calling party before the call.
And 17-18, the called terminal picks up the phone, sends a pickup 200OK message to the calling terminal, and switches the called terminal into a call interface.
Example four, as shown in fig. 8, the calling terminal that opened the pre-call service carries real-time information to initiate a call request
1. The calling user sets the content before real-time conversation, and the content is packaged in a message body of the SIP message and sent to the called user. The SIP message header field carries the pre-call service tag. Here, what the calling user sets is the content before the actual call, the content may be freely input through a mobile phone keyboard by the calling user, the preset content may be selected through a terminal interface, the preset content may be obtained by the terminal device by scanning a two-dimensional code/barcode, or the preset content may be obtained by the terminal device by some other method. For filling in real-time information before a call, a calling terminal needs to carry at least the following key contents: (1) the real-time information corresponds to the information template before the call, and (2) the real-time information.
2. The first server identifies that the SIP message header field carries a pre-call service tag. Temporarily storing the SIP message and waiting for the arrival of the corresponding call. And simultaneously returns a SIP message 200OK response message.
3. The calling terminal sends a call request message.
4. Because the user A opens the service before the call, the call request sent by the terminal A reaches the first network equipment; the first network device terminal a is notified of the call event to the first server (hereinafter referred to as server or platform).
5. The server sends a response message of the call event notification to the first network equipment;
6. the server judges the service before the user A signs the contract, and the system confirms the information of the calling user before the call which needs to be synchronized to the called side at present according to the current call state, such as the information of the calling user number, the called user number, the call initiation time and the like. The platform encapsulates the pre-call content setting requirement in the message body of the SIP message, and the message head carries the pre-call service mark and sends the pre-call service mark to the called user, namely the terminal B.
7. And after receiving the SIP message, the terminal B finds that the message header carries the service mark before the call, reads the corresponding set content in the message body, and presets display information before the call. After receiving the SIP message, the terminal B replies a 200OK response message.
And 8-9, selecting a flow, and if the content setting requirement before the call comprises contents needing to be downloaded, such as pictures, videos and the like, finishing content downloading and finishing display presetting of calling information before the call by the terminal according to the downloading link. Optionally, in order to protect the performance of the terminal, the terminal sets a timer after completing the pre-call information presetting, and if the timer is overtime and does not receive the pre-call content setting requirement corresponding call request message, the terminal deletes the display preset content of the pre-call information. If the content setting requirement before the call does not contain the content such as pictures, videos and the like which need to be downloaded, the step does not exist.
10-13, which is also an optional procedure here. And after the called terminal finishes downloading and displaying the calling information before the call and presets, sending a delivery report of the SIP message (content display receipt before the call) to the calling side. After receiving the delivery report, the server forwards the report to the calling terminal. The steps can be optionally realized here: (1) the display of the calling information before the call is a value-added function of the basic call, and whether the calling information can be successfully displayed or not cannot influence the normal call, so that the terminal does not need to report to a service platform or the calling terminal for whether the content is successfully downloaded or displayed or not. (2) In order to improve the service experience, the calling party can perceive the service state, and the service state can be informed through a receipt message. The experience is further improved, only the condition that the display of the calling information fails before the call is informed, and the calling does not receive the receipt, which indicates that the information is normally displayed on the called side.
14. The first network device forwards the call request of the calling terminal after receiving the response message of the server, and the header field can carry the service mark before the call.
15. Following the existing VoLTE call flow, the calling party and the called party continue to complete the call initial media negotiation.
And 16-18, the called terminal judges that the call has the service setting before the call according to the service mark before the call carried in the call request. When sending the ringing notification, the terminal needs to first judge whether the downloading and setting of the calling information before the call is finished, if so, the terminal sends the ringing notification to the calling, and simultaneously displays the calling information content before the call on a local ringing interface. If the terminal has not received the setting information notification of the content before the call after completing the call negotiation or has not completed the downloading of the content, the terminal needs to send the ringing notification to the calling party after completing the downloading of the content before the call, and simultaneously, the calling information content before the call is displayed on the ringing interface of the terminal.
19-20, the called terminal picks up the phone and sends a 200OK message to the calling terminal, and the called terminal switches to a call interface.
In summary, the embodiment of the present invention can display reliable caller related information including caller name, call subject, caller setting picture/video, location, etc. on the called terminal interface when the called terminal rings; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
As shown in fig. 9, an embodiment of the present invention further provides a device for processing caller information before a call, which is applied to a first server, and includes:
a first obtaining module 601, configured to obtain a first call request message of a calling terminal;
a first sending module 602, configured to send a first session initiation protocol SIP message to a called terminal according to the first call request message when a calling terminal signs a pre-call service; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
As an alternative embodiment, the first obtaining module includes:
the first obtaining submodule is used for receiving the first call request message sent by the calling terminal; or, the first network device is configured to receive the first call request message of the calling terminal forwarded by the first network device.
As an alternative embodiment, the apparatus further comprises:
a first request sending module, configured to send a second call request message to the called terminal after n1 seconds of sending the first SIP message; n1 is greater than or equal to 0;
and/or the presence of a gas in the gas,
after receiving a delivery report of a first SIP message sent by a called terminal, sending the second call request message to the called terminal; the delivery report is used for indicating that the content synchronization before the call is successful or fails.
As an alternative embodiment, the apparatus further comprises:
and the first response sending module is used for sending a first response message to the first network equipment so as to send a second call request message to the called terminal by the first network equipment.
As an alternative embodiment, the second call request message includes a pre-call service flag.
As an alternative embodiment, the first sending module comprises:
the selection submodule is used for selecting calling related information which needs to be displayed by the called terminal in the call from preset calling information configuration content before the call according to the first call request message;
the encapsulation submodule is used for encapsulating calling related information which needs to be displayed by a called terminal in the call in a message body of a first SIP message, and carrying a pre-call service mark in a header field of the first SIP message;
and the first sending submodule is used for sending the first SIP message to the called terminal.
As an optional embodiment, the apparatus further comprises:
and the forwarding module is used for forwarding the delivery report to the calling terminal.
As an alternative embodiment, the apparatus further comprises:
a sixth receiving module, configured to receive a second SIP message sent by the calling terminal, where the second SIP message includes: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and a service mark before the call;
the first SIP message further includes: the template information set by the calling terminal and the real-time information in the second SIP message which are required to be displayed by the called terminal in the call are obtained.
As an optional embodiment, the apparatus further comprises:
a sixth sending module, configured to send a response message of the second SIP message to the calling terminal, where the response message is used to indicate that the first server receives the second SIP message.
As an alternative embodiment, the apparatus further comprises:
the content acquisition module is used for acquiring at least one set of calling information configuration content before the call under the condition that the calling terminal signs the service before the call;
and the auditing module is used for carrying out safety auditing on the calling information configuration content before the call, and storing the calling information configuration content before the call after the safety auditing is passed.
The embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the information comprises calling name, conversation theme, calling setting picture/video, position and the like; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
It should be noted that the apparatus for processing pre-call calling information provided in the embodiment of the present invention is an apparatus capable of executing the method for processing pre-call calling information, and all embodiments of the method for processing pre-call calling information are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 10, an embodiment of the present invention further provides a first server, including a processor 700 and a transceiver 710, where the transceiver 710 receives and transmits data under the control of the processor 700, and the processor 700 is configured to:
acquiring a first call request message of a calling terminal;
under the condition that the calling terminal signs a service before conversation, a first conversation initiating protocol SIP message is sent to the called terminal according to the first calling request message; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
receiving the first call request message sent by a calling terminal;
or,
and receiving a first call request message of the calling terminal forwarded by the first network equipment.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
sending a second call request message to the called terminal;
or,
and sending a first response message to the first network equipment so as to send a second call request message to the called terminal by the first network equipment.
As an alternative embodiment, the second call request message includes a pre-call service flag.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
according to the first call request message, selecting calling related information needing to be displayed by a called terminal in the call from preset calling information configuration content before the call;
packaging calling related information which needs to be displayed by a called terminal in the call in a message body of a first SIP message, and carrying a pre-call service mark in a header field of the first SIP message;
and sending the first SIP message to the called terminal.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
after n1 seconds of sending the first SIP message, sending a second call request message to the called terminal; n1 is greater than or equal to 0;
and/or the presence of a gas in the gas,
after receiving a delivery report of a first SIP message sent by a called terminal, sending a second call request message to the called terminal; the delivery report is used for indicating that the content synchronization before the call is successful or fails.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
and forwarding the delivery report to the calling terminal.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
receiving a second SIP message sent by a calling terminal, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and a service mark before the call;
the first SIP message further comprises: the template information set by the calling terminal and the real-time information in the second SIP message which are required to be displayed by the called terminal in the call are obtained.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
and sending a response message of the second SIP message to the calling terminal, wherein the response message is used for indicating that the first server receives the second SIP message.
As an alternative embodiment, the processor 700 is further configured to perform the following operations:
under the condition that a calling terminal signs a service before a call, acquiring at least one set of calling information configuration content before the call;
and performing security audit on the calling information configuration content before the call, and storing the calling information configuration content before the call after the security audit is passed.
The embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the information comprises calling name, conversation theme, calling setting picture/video, position and the like; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
It should be noted that the first server provided in the embodiment of the present invention is a server capable of executing the method for processing the pre-call calling information, and all embodiments of the method for processing the pre-call calling information are applicable to the server and can achieve the same or similar beneficial effects.
As shown in fig. 11, an embodiment of the present invention further provides a device for processing pre-call calling information, which is applied to a called terminal, and includes:
a second receiving module 801, configured to receive a first SIP message sent by a first server, where the first SIP message includes: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
a third receiving module 802, configured to receive a second call request message sent by the first server or the first network device;
a ring display module 803, configured to complete a call media negotiation with the calling terminal according to the second call request message, send a ring notification, and display the calling related information in the first SIP message on a ring interface.
As an optional embodiment, the second call request message includes a pre-call service flag.
As an alternative embodiment, the ring presentation module comprises:
the negotiation submodule is used for finishing call media negotiation with the calling terminal according to the second call request message;
the display submodule is used for sending a ringing notification after the call media negotiation is finished; and after the called terminal completes the preparation of the calling related information before the call, the calling related information in the first SIP message is displayed on a ringing interface.
As an optional embodiment, the apparatus further comprises:
a report sending module, configured to send a delivery report of the first SIP message to the first server; wherein the delivery report is used for indicating the success of content synchronization before the call or the failure of content synchronization before the call.
As an optional embodiment, the first SIP message further includes: the real-time information set by the calling terminal is required to be displayed by the called terminal in the call;
the device further comprises:
and the display module is used for displaying the real-time information set by the calling terminal in the first SIP message on a ringing interface.
The embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the calling related information comprises information such as calling name, call theme, calling setting picture/video, position and the like; the embodiment of the invention supports that the calling user uploads the information before the call in advance after ordering the service before the call, and pushes the relevant information of the calling before the corresponding call for the called party under different conditions according to the definition of the calling user; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
It should be noted that the apparatus for processing pre-call calling information provided in the embodiment of the present invention is an apparatus capable of executing the method for processing pre-call calling information, and all embodiments of the method for processing pre-call calling information are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 12, an embodiment of the present invention further provides a terminal, which is a called terminal, and includes a processor 900 and a transceiver 910, the terminal further includes a user interface 920, the transceiver 910 receives and transmits data under the control of the processor 900, and the processor 900 is configured to perform the following operations:
receiving a first SIP message sent by a first server, wherein the first SIP message comprises: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
receiving a second call request message sent by the first server or the first network equipment;
and finishing a call media negotiation with the calling terminal according to the second call request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
As an alternative embodiment, the second call request message includes a pre-call service flag.
As an alternative embodiment, the processor 900 is further configured to perform the following operations:
finishing call media negotiation with the calling terminal according to the second call request message;
after the call media negotiation is completed, sending a ringing notification; and after the called terminal finishes the preparation of the calling related information before the call, the calling related information in the first SIP message is displayed on a ringing interface.
As an alternative embodiment, the processor 900 is further configured to perform the following operations:
sending a delivery report of the first SIP message to the first server; wherein the delivery report is used for indicating that the content synchronization before the call is successful or the content synchronization before the call is failed.
As an optional embodiment, the first SIP message further includes: the real-time information set by the calling terminal is required to be displayed by the called terminal in the call;
the processor 900 is further configured to perform the following operations:
and displaying the real-time information set by the calling terminal in the first SIP message on a ringing interface.
The embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the calling related information comprises information such as calling name, call theme, calling setting picture/video, position and the like; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
It should be noted that the terminal provided in the embodiments of the present invention is a terminal capable of executing the method for processing the pre-call calling information, and all embodiments of the method for processing the pre-call calling information are applicable to the terminal, and can achieve the same or similar beneficial effects.
As shown in fig. 13, an embodiment of the present invention further provides a device for processing pre-call calling information, which is applied to a calling terminal, and includes:
a third sending module 1001, configured to configure at least one set of pre-call calling information configuration content with a first server after signing a pre-call service with the first server; the first server carries out security audit on the calling information configuration content before the call;
a fourth sending module 1002, configured to send a first call request message for calling the called terminal.
As an alternative embodiment, the apparatus further comprises:
an eighth sending module, configured to send a second SIP message, where the second SIP message includes: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and the service mark before the call.
As an alternative embodiment, the apparatus further comprises:
and a response receiving module, configured to receive a response message of the second SIP message, where the response message is used to indicate that the first server receives the second SIP message.
As an alternative embodiment, the apparatus further comprises:
the information determining module is used for determining real-time information which is required to be displayed by the called terminal and is set by the calling terminal in the call according to a first mode; wherein the first mode comprises at least one of:
inputting freely through a keyboard;
selecting preset content through a calling terminal interface;
the device obtains the two-dimensional code or the bar code by scanning.
The embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the calling related information comprises information such as calling name, call theme, calling setting picture/video, position and the like; the embodiment of the invention supports that the calling user uploads the information before the call in advance after ordering the service before the call, and pushes the relevant information of the calling before the corresponding call for the called party under different conditions according to the definition of the calling user; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
It should be noted that the apparatus for processing pre-call calling information provided in the embodiment of the present invention is an apparatus capable of executing the method for processing pre-call calling information, and all embodiments of the method for processing pre-call calling information are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 14, an embodiment of the present invention further provides a terminal, where the terminal is an originating terminal, and the terminal includes a processor 1100 and a transceiver 1110, the terminal further includes a user interface 1120, the transceiver 1110 receives and transmits data under the control of the processor 1100, and the processor 1100 is configured to perform the following operations:
after signing a service before conversation with a first server, configuring at least one set of calling information configuration content before conversation with the first server; the first server carries out security audit on the calling information configuration content before the call;
a first call request message for calling the called terminal is transmitted.
As an alternative embodiment, the processor 1100 is further configured to perform the following operations:
sending a second SIP message, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and the service mark before the call.
As an alternative embodiment, the processor 1100 is further configured to perform the following operations:
and receiving a response message of the second SIP message, wherein the response message is used for indicating that the first server receives the second SIP message.
As an alternative embodiment, the processor 1100 is further configured to perform the following operations:
determining real-time information set by a calling terminal, which needs to be displayed by a called terminal in the call, according to a first mode; wherein the first mode comprises at least one of:
inputting freely through a keyboard;
selecting preset content through a calling terminal interface;
the device obtains the information by scanning the two-dimensional code or the bar code.
The embodiment of the invention can display reliable calling related information on the interface of the called terminal when the called terminal rings, wherein the calling related information comprises information such as calling name, call theme, calling setting picture/video, position and the like; the embodiment of the invention supports that after a calling party orders a pre-call service, pre-call information is uploaded in advance, and corresponding pre-call calling related information is pushed for a called party under different conditions according to the definition of the calling party; in some scenes, the calling information before the call can carry the content edited by the calling side in real time; therefore, the synchronization of the information before the call is realized by using a mode of shorter time delay.
It should be noted that the terminal provided in the embodiments of the present invention is a terminal capable of executing the method for processing the pre-call calling information, and all embodiments of the method for processing the pre-call calling information are applicable to the terminal, and can achieve the same or similar beneficial effects.
As shown in fig. 15, an embodiment of the present invention further provides a device for processing calling information before a call, which is applied to a first network device, and includes:
a fourth receiving module 1301, configured to receive the first call request message sent by the calling terminal;
a forwarding module 1302, configured to forward the first call request message to a first server;
and a fourth sending module 1303, configured to send the second call request message to the called terminal.
As an alternative embodiment, the fourth sending module is further configured to:
under the condition of receiving a first response message fed back by the first server, sending a second call request message to the called terminal;
and/or the presence of a gas in the gas,
after forwarding the first call request message to the first server for n2 seconds, sending a second call request message to the called terminal; n2 is greater than or equal to 0.
In the embodiment of the invention, the first network equipment forwards the first call request message to the first server, and the first server sends the calling related information to the called terminal through the SIP message, so that the reliable calling related information including the calling name, the call theme, the calling setting picture/video, the position and other information can be displayed on the interface of the called terminal when the called terminal rings.
It should be noted that the apparatus for processing pre-call calling information provided in the embodiment of the present invention is an apparatus capable of executing the method for processing pre-call calling information, and all embodiments of the method for processing pre-call calling information are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 16, an embodiment of the present invention further provides a network device, where the network device is a first network device, and the network device includes a processor 1400 and a transceiver 1410, where the transceiver 1410 receives and transmits data under the control of the processor 1400, and the processor 1400 is configured to perform the following operations:
receiving the first call request message sent by a calling terminal;
forwarding the first call request message to a first server;
and sending a second call request message to the called terminal.
As an alternative embodiment, the processor 1400 is further configured to perform the following operations:
under the condition of receiving a first response message fed back by the first server, sending a second call request message to the called terminal;
and/or the presence of a gas in the atmosphere,
sending a second call request message to the called terminal after forwarding the first call request message to the first server for n2 seconds; n2 is greater than or equal to 0.
In the embodiment of the invention, the first network equipment forwards the first call request message to the first server, and the first server sends the calling related information to the called terminal through the SIP message, so that the reliable calling related information including the calling name, the call theme, the calling setting picture/video, the position and other information can be displayed on the interface of the called terminal when the called terminal rings.
It should be noted that the apparatus for processing pre-call calling information provided in the embodiment of the present invention is an apparatus capable of executing the method for processing pre-call calling information, and all embodiments of the method for processing pre-call calling information are applicable to the apparatus and can achieve the same or similar beneficial effects.
The embodiment of the present invention further provides a communication device, where the communication device is a first server or a calling terminal or a called terminal or a first network device, and the communication device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements each process in the above-described method for processing calling information before a call when executing the program, and can achieve the same technical effect, and is not described herein again to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the process in the foregoing method for processing calling information before a call is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (26)

1. A method for processing calling information before a call is executed by a first server, the method comprising:
acquiring a first call request message of a calling terminal;
under the condition that the calling terminal signs a service before conversation, a first conversation initiation protocol (SIP) message is sent to the called terminal according to the first calling request message; wherein, the first SIP message comprises: calling related information which needs to be displayed by a called terminal in the call and a service mark before the call.
2. The method of claim 1, wherein the obtaining the first call request message of the calling terminal comprises:
receiving the first call request message sent by a calling terminal;
or,
and receiving a first call request message of the calling terminal forwarded by the first network equipment.
3. The method of claim 2, wherein after sending the first SIP message to the called terminal, the method further comprises:
after the first SIP message is sent for n1 seconds, a second call request message is sent to the called terminal; n1 is greater than or equal to 0;
and/or the presence of a gas in the gas,
after receiving a delivery report of a first SIP message sent by a called terminal, sending a second call request message to the called terminal; the delivery report is used for indicating that the content synchronization before the call is successful or fails.
4. The method of claim 2, wherein after sending the first SIP message to the called terminal, the method further comprises:
and sending a first response message to the first network equipment so as to send a second call request message to the called terminal by the first network equipment.
5. The method of claim 3 or 4, wherein the second call request message includes a pre-call traffic flag.
6. The method of claim 1, wherein sending a first SIP message to a called terminal according to the first call request message comprises:
according to the first call request message, selecting calling related information needing to be displayed by a called terminal in the call from preset calling information configuration content before the call;
packaging calling related information which needs to be displayed by a called terminal in the call in a message body of a first SIP message, and carrying a pre-call service mark in a header field of the first SIP message;
and sending the first SIP message to the called terminal.
7. The method of claim 1, wherein prior to sending the first SIP message to the called terminal, the method further comprises:
receiving a second SIP message sent by a calling terminal, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and a service mark before the call;
the first SIP message further includes: the template information set by the calling terminal and the real-time information in the second SIP message which are required to be displayed by the called terminal in the call are obtained.
8. The method of claim 6, further comprising:
under the condition that a calling terminal signs a service before a call, acquiring at least one set of calling information configuration content before the call;
and performing safety audit on the calling information configuration content before the call, and storing the calling information configuration content before the call after the safety audit is passed.
9. A method for processing calling information before conversation, which is executed by a called terminal, is characterized by comprising the following steps:
receiving a first SIP message sent by a first server, wherein the first SIP message comprises: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
receiving a second call request message sent by the first server or the first network equipment;
and finishing call media negotiation with the calling terminal according to the second call request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
10. The method of claim 9, wherein the second call request message includes a pre-call traffic flag.
11. The method of claim 9 or 10, wherein the performing a call media negotiation with the calling terminal according to the second call request message, sending a ring notification, and presenting the caller-related information in the first SIP message on a ring interface comprises:
completing call media negotiation with the calling terminal according to the second call request message;
after the call media negotiation is completed, sending a ringing notification; and after the called terminal finishes the preparation of the calling related information before the call, the calling related information in the first SIP message is displayed on a ringing interface.
12. The method of claim 9, wherein the first SIP message further comprises: real-time information set by the calling terminal and required to be displayed by the called terminal in the call;
the method further comprises the following steps:
and displaying the real-time information set by the calling terminal in the first SIP message on a ringing interface.
13. A processing method of calling information before a call is executed by a calling terminal, which is characterized by comprising the following steps:
after signing a pre-call service with a first server, configuring at least one set of pre-call calling information configuration content with the first server; the first server carries out security audit on the calling information configuration content before the call;
a first call request message for calling the called terminal is transmitted.
14. The method of claim 13, wherein before the sending the first call request message for calling the called terminal, the method further comprises:
sending a second SIP message, wherein the second SIP message comprises: the real-time information set by the calling terminal and required to be displayed by the called terminal in the call, and the service mark before the call.
15. A method for processing calling information before call, which is executed by a first network device, is characterized by comprising the following steps:
receiving a first call request message sent by a calling terminal;
forwarding the first call request message to a first server;
and sending a second call request message to the called terminal.
16. The method of claim 15, wherein sending the second call request message to the called terminal comprises:
under the condition of receiving a first response message fed back by the first server, sending a second call request message to the called terminal;
and/or the presence of a gas in the gas,
after forwarding the first call request message to the first server for n2 seconds, sending a second call request message to the called terminal; n2 is greater than or equal to 0.
17. A processing device of calling information before call is applied to a first server, and is characterized by comprising:
the first obtaining module is used for obtaining a first call request message of a calling terminal;
a first sending module, configured to send a first session initiation protocol SIP message to a called terminal according to the first call request message under the condition that a calling terminal signs a pre-call service; wherein, the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
18. A server, the server being a first server comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, wherein the processor is configured to:
acquiring a first call request message of a calling terminal;
under the condition that the calling terminal signs a service before conversation, a first conversation initiating protocol SIP message is sent to the called terminal according to the first calling request message; wherein, the first SIP message includes: calling related information which needs to be displayed by the called terminal in the call and a service mark before the call.
19. A processing device of calling information before conversation is applied to a called terminal, and is characterized by comprising:
a second receiving module, configured to receive a first SIP message sent by a first server, where the first SIP message includes: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
a third receiving module, configured to receive a second call request message sent by the first server;
and the ringing display module is used for finishing a calling media negotiation with the calling terminal according to the second calling request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
20. A terminal, called a called terminal, comprising a processor and a transceiver, said transceiver receiving and transmitting data under the control of the processor, characterized in that said processor is adapted to perform the following operations:
receiving a first SIP message sent by a first server, wherein the first SIP message comprises: calling related information needing to be displayed by a called terminal in the call and a service mark before the call;
receiving a second call request message sent by the first server or the first network equipment;
and finishing call media negotiation with the calling terminal according to the second call request message, sending a ringing notification and displaying calling related information in the first SIP message on a ringing interface.
21. A processing device of calling information before conversation is applied to a calling terminal, and is characterized by comprising:
the configuration module is used for configuring at least one set of pre-call calling information configuration content with the first server after signing a pre-call service with the first server; the first server carries out security audit on the calling information configuration content before the call;
and the third sending module is used for sending the first call request message for calling the called terminal.
22. A terminal, the terminal being a calling terminal and comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, wherein the processor is configured to:
after signing a pre-call service with a first server, configuring at least one set of pre-call calling information configuration content with the first server; the first server carries out security audit on the calling information configuration content before the call;
a first call request message for calling the called terminal is transmitted.
23. An apparatus for processing caller information before a call, executed by a first network device, comprising:
the fourth receiving module is used for receiving the first call request message sent by the calling terminal;
a forwarding module, configured to forward the first call request message to a first server;
and the fourth sending module is used for sending the second call request message to the called terminal.
24. A network device, the network device being a first network device and comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, wherein the processor is configured to:
receiving a first call request message sent by a calling terminal;
forwarding the first call request message to a first server;
and sending a second call request message to the called terminal.
25. A communication device comprising a memory, a processor, and a program stored on the memory and executable on the processor; characterized in that the processor implements the method for processing the caller information before the call according to any one of claims 1-8 when executing the program; or, the processor executes the program to implement the method for processing the pre-call calling information according to any one of claims 9-12; or, the processor, when executing the program, implements the method for processing the pre-call calling information according to claim 13 or 14; alternatively, the processor, when executing the program, implements the method for processing the pre-call calling information according to claim 15 or 16.
26. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for processing pre-call caller information according to any one of claims 1 to 8; or, the program is executed by a processor to implement the steps in the method for processing the pre-call caller information according to any one of claims 9 to 12; or, the program is executed by a processor to implement the steps in the method for processing the pre-call caller information according to claim 13 or 14; alternatively, the program realizes the steps in the method for processing the pre-call caller information according to claim 15 or 16 when being executed by the processor.
CN202110032176.5A 2021-01-11 2021-01-11 Method and device for processing calling information before call, server and terminal Pending CN114765602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110032176.5A CN114765602A (en) 2021-01-11 2021-01-11 Method and device for processing calling information before call, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110032176.5A CN114765602A (en) 2021-01-11 2021-01-11 Method and device for processing calling information before call, server and terminal

Publications (1)

Publication Number Publication Date
CN114765602A true CN114765602A (en) 2022-07-19

Family

ID=82364496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110032176.5A Pending CN114765602A (en) 2021-01-11 2021-01-11 Method and device for processing calling information before call, server and terminal

Country Status (1)

Country Link
CN (1) CN114765602A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106594A (en) * 2007-07-19 2008-01-16 华为技术有限公司 System, method and terminal for identifying caller
KR20090050146A (en) * 2007-11-15 2009-05-20 에스케이마케팅앤컴퍼니 주식회사 Method for providing position of caller to receiver before communication between the caller and the receiver
JP2016134819A (en) * 2015-01-21 2016-07-25 日本電信電話株式会社 Telephone system capable of caller information notification through guidance and operation method therefor
JP2016163303A (en) * 2015-03-05 2016-09-05 日本電信電話株式会社 System, control system and method for speech communication
CN110650251A (en) * 2018-06-27 2020-01-03 中国移动通信有限公司研究院 Caller identification method, caller identification terminal and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106594A (en) * 2007-07-19 2008-01-16 华为技术有限公司 System, method and terminal for identifying caller
KR20090050146A (en) * 2007-11-15 2009-05-20 에스케이마케팅앤컴퍼니 주식회사 Method for providing position of caller to receiver before communication between the caller and the receiver
JP2016134819A (en) * 2015-01-21 2016-07-25 日本電信電話株式会社 Telephone system capable of caller information notification through guidance and operation method therefor
JP2016163303A (en) * 2015-03-05 2016-09-05 日本電信電話株式会社 System, control system and method for speech communication
CN110650251A (en) * 2018-06-27 2020-01-03 中国移动通信有限公司研究院 Caller identification method, caller identification terminal and computer storage medium

Similar Documents

Publication Publication Date Title
US9807070B2 (en) Method, device, client and server for interaction
EP3162104B1 (en) A method to authenticate calls in a telecommunication system
CN105119877A (en) Voice verification method, device and system
WO2015158114A1 (en) Intelligent communication method, terminal and system
CN101742001B (en) Method, system and device for interaction of data information between IP (internet protocol) telephone and IVR (interactive voice response)
US10462290B2 (en) Adding call context to a missed call notification
MX2011001919A (en) Method and system for scheduling phone call using sms.
CN102685120B (en) VoIP client and calling implementation method, user terminal
EP3100446B1 (en) Communications techniques
KR101346394B1 (en) Multimedia ring tone display method and system for instant messaging
CN106231538B (en) Method and device for binding OneM2M architecture equipment
CN114765602A (en) Method and device for processing calling information before call, server and terminal
KR101977670B1 (en) Composite ars service providing method and apparatus
US9973623B2 (en) Methods, devices and system for logging calls for terminals
EP1519510B1 (en) Multicast system and corresponding communication terminal
KR100920634B1 (en) System and Method for Service Caller Information Presentation
CN116132577A (en) Method and device for enhancing user information display in call process
CN111327579B (en) Method and equipment for judging user call state
CN115696639A (en) Order payment method, device, storage medium, equipment and system
US10063596B2 (en) Devices for managing data associated with an audio communication
CN111083291A (en) Method, device, storage medium and processor for acquiring owner information
CN107852577A (en) A kind of supplementary service implementation method, terminal device and IMS service device
CN104917910A (en) VoIP (Voice over Internet Protocol) call making, certifying and processing method, equipment and system
CN105812227B (en) A kind of providing method of activating business, equipment and system based on instant message
WO2022257988A1 (en) Call establishment method, application server system, terminal, communication network device, and system

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