Method, device and server for processing calling line identification information, and terminal

By displaying caller information when the called terminal rings, the problem of high signaling overhead and high latency in existing technologies is solved, enabling richer information display and shorter information synchronization latency, thus improving the user experience.

CN114765602BActive Publication Date: 2025-12-09CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110032176.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-11
Publication Date
2025-12-09
Estimated Expiration
2041-01-11

AI Technical Summary

Technical Problem

In existing technologies, the pre-caller information processing cannot meet user needs, cannot display rich caller-related information, and suffers from high signaling overhead, large latency, and poor user experience.

Method used

The system obtains the call request message from the calling terminal through the first server, sends a SIP message to the called terminal, which includes caller-related information and pre-call service flags, and displays the caller's name, call topic, pictures/videos, and other information when the called terminal rings. It supports the calling user to upload and edit content in advance and uses SIP message transmission to reduce latency and network overhead.

Benefits of technology

It enables the display of reliable caller information when the called terminal rings, supports rich information display, reduces signaling overhead and latency, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114765602B_ABST
    Figure CN114765602B_ABST
Patent Text Reader

Abstract

The application provides a method and device for processing calling information before conversation, a server and a terminal, the method comprising: obtaining a first call request message of a calling terminal; in the case that the calling terminal subscribes to a service before conversation, sending a first SIP message to a called terminal according to the first call request message; wherein the first SIP message comprises: calling related information which needs to be displayed by the called terminal in this conversation, and a mark of the service before conversation; the embodiment of the application can display reliable calling related information on the interface of the called terminal when the called terminal rings, including calling name, conversation theme, calling set picture / video, location and other information, and realizes synchronization of the information before conversation in a shorter time delay mode.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, in particular to a method and device for processing calling information before a call, a server and a terminal. BACKGROUND

[0002] Current calling card type services are generally implemented based on an application (APP) mode, which requires installation of an APP, and usually only supports simple enterprise calling name display for non-local storage numbers of a terminal, and some can display enterprise identifiers, but do not support text content, picture and other information display, and are unable to set content matching pre-call text content (such as call topics), pictures and other multimedia information for each call.

[0003] On the other hand, the concept of an enhanced call (Enriched Calling) service is proposed in the Rich Communication Suites (RCS) specification. The concepts of pre-call (Pre-call), in-call (In-call) and post-call (Post-call) are proposed for different stages of a call. Among them, the Pre-call service defines the ability of a calling user to push text, pictures, locations and important call markers to a called user. In the international standard scheme, the calling user sets the pre-call information before making a call, and then synchronously tunnels the information to the called terminal through a Message Session Relay Protocol (MSRP) message, confirms that the terminal completes the information download, and then dials the called terminal.

[0004] However, the above-mentioned Pre-call service can only support the calling to set call topics, pictures and location information, and does not support the display of calling names. Moreover, the content seen by the called user in the Pre-call service is directly input by the calling user, and is directly displayed in the ringing stage, which has the following problems: (1) the calling uses the pre-call information to directly display the characteristics of the called ringing interface, edits harassment information and calls the called, forming forced harassment. (2) the calling simulates some enterprise names and identifiers to send to the called for display, providing convenience for fraud. (3) the calling needs to be set before each call, which is inconvenient to use and has poor user experience. Moreover, the Pre-call service is based on MSRP tunnel for message transmission, which has the following two problems: (1) using the MSRP tunnel has a large signaling overhead, which is not suitable for operators with large user volume or service volume. (2) and because of the initial negotiation of the tunnel, the delay is large, and the user experience is poor. SUMMARY

[0005] The embodiment of the present application aims to provide a method and device for processing the calling line identification, a server and a terminal, so as to solve the problem that the processing of the calling line identification in the prior art cannot meet the user's demand.

[0006] To solve the above problem, the embodiment of the present application provides a method for processing the calling line identification, which is executed by a first server and includes the following steps.

[0007] Obtaining a first call request message of a calling terminal;

[0008] In the case that the calling terminal subscribes to the calling line identification service, a first session initiation protocol (SIP) message is sent to a called terminal according to the first call request message, wherein the first SIP message includes the calling related information which needs to be displayed by the called terminal in the current call and a calling line identification service mark.

[0009] The step of obtaining the first call request message of the calling terminal includes the following steps.

[0010] Receiving the first call request message sent by the calling terminal;

[0011] Alternatively,

[0012] Receiving the first call request message of the calling terminal forwarded by a first network device.

[0013] After the first SIP message is sent to the called terminal, the method further includes the following steps.

[0014] After the first SIP message is sent, a second call request message is sent to the called terminal after n1 seconds; n1 is greater than or equal to 0.

[0015] And / or,

[0016] After the delivery report of the first SIP message sent by the called terminal is received, the second call request message is sent to the called terminal; the delivery report is used to indicate the success or failure of the pre-call content synchronization.

[0017] Alternatively, after the first SIP message is sent to the called terminal, the method further includes the following steps.

[0018] A first response message is sent to the first network device, so that the first network device sends the second call request message to the called terminal.

[0019] The second call request message includes the calling line identification service mark.

[0020] The step of sending the first SIP message to the called terminal according to the first call request message includes the following steps.

[0021] According to the first call request message, calling related information required to be displayed by the called terminal in the current call is selected from pre-set calling information configuration content;

[0022] The calling related information required to be displayed by the called terminal in the current call is encapsulated in a message body of the first SIP message, and a pre-call service mark is carried in a header field of the first SIP message.

[0023] The first SIP message is sent to the called terminal.

[0024] Before the first SIP message is sent to the called terminal, the method further comprises:

[0025] A second SIP message sent by the calling terminal is received, and the second SIP message comprises real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service mark.

[0026] The first SIP message further comprises template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

[0027] After the second SIP message sent by the calling terminal is received, the method further comprises:

[0028] A second response message of the second SIP message is sent to the calling terminal, and the second response message is used to indicate that the first server receives the second SIP message.

[0029] The method further comprises:

[0030] In the case that the calling terminal subscribes to the pre-call service, at least one set of pre-call calling information configuration content is acquired.

[0031] The pre-call calling information configuration content is subjected to security auditing, and after the security auditing is passed, the pre-call calling information configuration content is stored.

[0032] The embodiment of the application further provides a pre-call calling information processing method, which is executed by a called terminal and comprises:

[0033] A first SIP message sent by a first server is received, and the first SIP message comprises calling related information required to be displayed by the called terminal in the current call and a pre-call service mark.

[0034] A second call request message sent by the first server or a first network device is received.

[0035] According to the second call request message and the calling terminal, call media negotiation is completed, a ring notification is sent, and calling related information in the first SIP message is displayed on a ring interface.

[0036] The second call request message includes a pre-call service mark.

[0037] According to the second call request message and the calling terminal, call media negotiation is completed, a ring notification is sent, and calling related information in the first SIP message is displayed on a ring interface.

[0038] According to the second call request message and the calling terminal, call media negotiation is completed.

[0039] After the call media negotiation is completed, a ring notification is sent, and after the calling related information in the first SIP message is prepared, the calling related information is displayed on a ring interface.

[0040] After the first server sends the first SIP message, the method further includes:

[0041] A delivery report of the first SIP message is sent to the first server, and the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure.

[0042] The first SIP message further includes real-time information of the calling terminal which needs to be displayed by the called terminal in the current call.

[0043] The method further includes:

[0044] The real-time information of the calling terminal set in the first SIP message is displayed on a ring interface.

[0045] The application embodiment further provides a pre-call calling information processing method, which is executed by a calling terminal and includes:

[0046] After a pre-call service is signed with a first server, at least one set of pre-call calling information configuration content is configured with the first server, and the pre-call calling information configuration content is audited by the first server.

[0047] A first call request message for calling a called terminal is sent.

[0048] Before the first call request message for calling the called terminal is sent, the method further includes:

[0049] A second SIP message is sent, and the second SIP message includes real-time information of the calling terminal which needs to be displayed by the called terminal in the current call and a pre-call service mark.

[0050] The method further comprises:

[0051] receiving a second response message of the second SIP message, the second response message being used to indicate that the first server receives the second SIP message.

[0052] Before the second SIP message is sent, the method further comprises:

[0053] According to the first mode, real-time information set by the calling terminal and required to be displayed by the called terminal in the current call is determined, and the first mode comprises at least one of the following:

[0054] free input through a keyboard;

[0055] preset content selected through an interface of the calling terminal;

[0056] acquiring the information through scanning a two-dimensional code or a bar code.

[0057] The embodiment of the application further provides a processing method of calling information before a call, which is executed by a first network device and comprises the following steps:

[0058] receiving the first call request message sent by the calling terminal;

[0059] forwarding the first call request message to a first server;

[0060] sending a second call request message to the called terminal.

[0061] The sending of the second call request message to the called terminal comprises:

[0062] sending the second call request message to the called terminal in the case that a first response message fed back by the first server is received;

[0063] and / or,

[0064] sending the second call request message to the called terminal after forwarding the first call request message to the first server for n2 seconds, wherein n2 is greater than or equal to 0.

[0065] The embodiment of the application further provides a processing device of calling information before a call, which is applied to a first server and comprises the following steps:

[0066] a first acquisition module, configured to acquire a first call request message of a calling terminal;

[0067] The first sending module is configured to send a first Session Initiation Protocol (SIP) message to the called terminal according to the first call request message in the case that the calling terminal subscribes to the pre-call service, wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service mark.

[0068] The embodiment of the application further provides a first server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0069] obtain a first call request message of a calling terminal;

[0070] send a first Session Initiation Protocol (SIP) message to the called terminal according to the first call request message in the case that the calling terminal subscribes to the pre-call service, wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service mark.

[0071] The embodiment of the application further provides a pre-call calling information processing device, which is applied to a called terminal and comprises:

[0072] a second receiving module configured to receive the first SIP message sent by the first server, wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service mark;

[0073] a third receiving module configured to receive a second call request message sent by the first server;

[0074] a ringing display module configured to send a ringing notification and display the calling related information in the first SIP message on a ringing interface according to the second call request message and the call media negotiation with the calling terminal.

[0075] The embodiment of the application further provides a terminal, which is a called terminal and comprises a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0076] receive a first Session Initiation Protocol (SIP) message sent by the first server, wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service mark;

[0077] receive a second call request message sent by the first server or a first network device;

[0078] send a ringing notification and display the calling related information in the first SIP message on a ringing interface according to the second call request message and the call media negotiation with the calling terminal.

[0079] The embodiment of the present application further provides a processing device of calling party information before call, which is applied to a calling terminal and comprises:

[0080] The configuration module is configured to, after signing a calling party service with a first server, configure at least one set of calling party information configuration content with the first server, and perform security auditing on the calling party information configuration content by the first server.

[0081] The third sending module is configured to send a first call request message for calling a called terminal.

[0082] The embodiment of the present application further provides a terminal, which is a calling terminal and comprises a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0083] After signing a calling party service with a first server, at least one set of calling party information configuration content is configured with the first server, and security auditing on the calling party information configuration content is performed by the first server.

[0084] A first call request message for calling a called terminal is sent.

[0085] The embodiment of the present application further provides a processing device of calling party information before call, which is executed by a first network device and comprises:

[0086] The fourth receiving module is configured to receive the first call request message sent by the calling terminal.

[0087] The forwarding module is configured to forward the first call request message to a first server.

[0088] The fourth sending module is configured to send a second call request message to a called terminal.

[0089] The embodiment of the present application further provides a communication device, which comprises a memory, a processor and a program stored in the memory and executable on the processor, and the processor implements the processing method of calling party information before call when executing the program.

[0090] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the program implements the steps in the processing method of calling party information before call when executed by a processor.

[0091] The above technical solution of the present application has at least the following beneficial effects:

[0092] In the call-before caller information processing method, device, server and terminal of the embodiment of the present application, reliable caller-related information, including caller name, call topic, caller-set picture / video, location and other information, can be displayed on the interface of the called terminal when the called terminal rings; the embodiment of the present application supports the caller user to upload call-before information in advance after subscribing to the call-before service, and pushes corresponding call-before caller-related information to the called terminal according to the definition of the caller user in different situations; and in some scenarios, the call-before caller information can carry real-time edited content on the caller side; thereby realizing synchronization of the call-before information in a shorter time delay manner. BRIEF DESCRIPTION OF DRAWINGS

[0093] Figure 1 One of the step flowcharts of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0094] Figure 2 The second step flowchart of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0095] Figure 3 The third step flowchart of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0096] Figure 4 The fourth step flowchart of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0097] Figure 5 The interaction schematic diagram of example one of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0098] Figure 6 The interaction schematic diagram of example two of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0099] Figure 7 The interaction schematic diagram of example three of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0100] Figure 8 The interaction schematic diagram of example four of the call-before caller information processing method provided by the embodiment of the present application is shown;

[0101] Figure 9 One of the structural schematic diagrams of the call-before caller information processing device provided by the embodiment of the present application is shown;

[0102] Figure 10 The structural schematic diagram of the first server provided by the embodiment of the present application is shown;

[0103] Figure 11Figure 2 shows a schematic diagram of a structure of a processing device for call-before information according to an embodiment of the present application;

[0104] Figure 12 Figure 3 shows a schematic diagram of a structure of a terminal according to an embodiment of the present application;

[0105] Figure 13 Figure 4 shows a schematic diagram of a structure of a processing device for call-before information according to an embodiment of the present application;

[0106] Figure 14 Figure 5 shows a schematic diagram of a structure of a terminal according to an embodiment of the present application;

[0107] Figure 15 Figure 6 shows a schematic diagram of a structure of a processing device for call-before information according to an embodiment of the present application;

[0108] Figure 16 Figure 7 shows a schematic diagram of a structure of a network device according to an embodiment of the present application. DETAILED DESCRIPTION

[0109] In order to make the technical problems, technical solutions and advantages of the present application clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments.

[0110] As shown in Figure 1 Figure 1, an embodiment of the present application provides a processing method for call-before information, which is executed by a first server (the first server can also be referred to as a call-before service server) and includes the following steps:

[0111] Step 101: obtaining a first call request message of a calling terminal;

[0112] Step 102: in the case that the calling terminal subscribes to a call-before service, sending a first Session Initiation Protocol (SIP) message to a called terminal according to the first call request message; wherein the first SIP message includes: calling related information which needs to be displayed by the called terminal in this call, and a call-before service mark.

[0113] In the embodiment of the present application, the call-before service is specifically related information which is displayed on a ringing interface of the called terminal.

[0114] The method of the embodiment of the present application uses a SIP message to transmit the setting of the calling related information, and has lower time delay and smaller network overhead; and the embodiment of the present application is implemented based on VoLTE, and neither the calling terminal nor the called terminal needs to install any APP, so that the calling related information can be displayed on the ringing interface of the called terminal.

[0115] Optionally, the calling-related information required to be displayed by the called terminal includes at least one of the following: a calling user name; a call subject; a call content introduction (text); a picture set by the calling party; a video set by the calling party; and a location. Alternatively, all the display information in the calling-related information is presented on the called terminal in the form of a web view, and the display information includes key information content required to be displayed and page description information of the web view, etc., which are not limited herein. That is, the embodiment of the present application supports rich information display and can fully meet the requirements of users.

[0116] As an optional embodiment, step 102 includes:

[0117] receiving the first call request message sent by the calling terminal;

[0118] Alternatively,

[0119] receiving the first call request message of the calling terminal forwarded by the first network device.

[0120] In the above example, if the first server directly receives the first call request message, after sending the first SIP message to the called terminal, the method further includes:

[0121] sending a second call request message to the called terminal n1 seconds after sending the first SIP message, where n1 is greater than or equal to 0;

[0122] and / or,

[0123] sending the second call request message to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal, where the delivery report is used to indicate a success or failure of the pre-call content synchronization.

[0124] Alternatively, if the first server obtains the first call request message through the forwarding of the first network device, after sending the first SIP message to the called terminal, the method further includes:

[0125] sending a first response message to the first network device, so that the first network device sends a second call request message to the called terminal.

[0126] Optionally, in the embodiment of the present application, the second call request message includes a pre-call service mark.

[0127] It should be noted that in the embodiments of the present application, the second call request message can carry the pre-call service mark or can not carry the pre-call service mark. The pre-call service mark is used to assist the called terminal in judging whether the current call has a pre-call service setting. If the called terminal parses the pre-call service mark, it is determined that the current call has a pre-call service setting. If the called terminal does not parse the pre-call service mark, it is determined that the current call does not have a pre-call service setting. The first SIP message carries the pre-call service mark, but in special scenarios, for example, the called terminal does not parse the pre-call service mark in the first SIP message, or the called terminal receives the second call request message before receiving the first SIP message, the called terminal can determine whether the current call has a pre-call service setting according to the pre-call service mark in the second call request.

[0128] As an optional embodiment, step 102 comprises:

[0129] According to the first call request message, selecting the caller-related information required to be displayed by the called terminal in the current call from the pre-set pre-call caller information configuration content;

[0130] Encapsulating the caller-related information required to be displayed by the called terminal in the current call in the message body of the first SIP message, and carrying the pre-call service mark in the header field of the first SIP message;

[0131] Sending the first SIP message to the called terminal.

[0132] In the embodiments of the present application, the pre-call caller information configuration content is pre-set by the caller terminal. The caller terminal can pre-set multiple sets of pre-call caller information configuration content, and the first server can selectively push the content according to the first call request message. For example, according to the setting requirements of the called number, the sending time, the caller state, the group in the caller group, and the like, the caller-related information required to be displayed by the called terminal in the current call is selected.

[0133] Correspondingly, the method further comprises:

[0134] In the case where the caller terminal subscribes to the pre-call service, obtaining at least one set of pre-call caller information configuration content;

[0135] Performing security audit on the pre-call caller information configuration content, and storing the pre-call caller information configuration content after the security audit is passed.

[0136] In the embodiment of the application, the calling party information configuration content is uploaded in advance by the calling terminal to the first server, and is audited by the first server; therefore, the calling party related information pushed by the first server to the called terminal through the first SIP message is authenticated or audited, and is safe and reliable for the called user.

[0137] For example, regarding the calling name in the calling party related information, the first server performs identity authentication according to the document containing legal effect provided by the calling terminal, and only after the authentication is passed, the calling terminal can be displayed to the called terminal.

[0138] Regarding the calling terminal that subscribes (or is enabled) to the calling service:

[0139] The terminal enabled for the calling service can be set by the calling service application server to the external portal or the customer manager. Each setting needs to correspond to at least one set of calling party information configuration content, and the content needs to be uploaded in advance to the first server. After the first server performs security audit, the content and the corresponding setting take effect.

[0140] As an optional embodiment, a second call request message is sent to the called terminal after the first SIP message is sent for n1 seconds; n1 is greater than or equal to 0; that is, the calling terminal enabled for the calling service directly initiates a call, and the first server does not wait for the delivery report of the first SIP message; but in order to ensure that the calling party information can be displayed on the called terminal before the called terminal rings, the first server can add a timer before sending the second call request message, and the timer is configured to be n1 seconds after the first SIP message is sent, and then the second call request message is sent; n1 is greater than or equal to 0.

[0141] And / or, after receiving the delivery report of the first SIP message sent by the called terminal, the second call request message is sent to the called terminal; the delivery report is used to indicate that the calling party information is synchronized successfully or the calling party information is synchronized unsuccessfully; that is, the calling terminal enabled for the calling service directly initiates a call, and the first server sends the second call request message to the called terminal after waiting for the delivery report of the first SIP message; optionally, in order to improve user experience, a timeout timer can also be added here, and when the delivery report of the called terminal is not received after the timer setting time is exceeded, the server no longer waits and directly executes the next step, that is, the second paging request message is sent.

[0142] It should be noted that the first server receives the second response message of the second call request message fed back by the called terminal after sending the second call request message, and transmits the subsequent call initial media negotiation process message.

[0143] In the above example, the method further includes:

[0144] forwarding the delivery report to the calling terminal. In order to improve user experience, when the delivery report indicates that the pre-call content synchronization fails, the first server can forward the delivery report to the calling terminal through a SIP message to inform the calling terminal that the pre-call content push on the called side fails. After receiving the delivery report, the calling terminal can prompt the calling user on the calling terminal interface that the pre-call content push on the called side fails.

[0145] As another optional embodiment, the embodiment of the application also supports adding corresponding information in the pre-call calling information according to the real-time needs of the calling party. The implementation method is that the calling party sends the pre-call real-time information to the first server through a SIP message by the calling terminal before initiating the first call request message, and then the first server performs security verification on the received content and the preset template definition. After no problem is found, the first server sends the first SIP message to the called terminal according to the foregoing normal process. That is, before sending the first SIP message to the called terminal, the method further includes:

[0146] receiving a second SIP message sent by the calling terminal, wherein the second SIP message includes real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service mark;

[0147] The first SIP message further includes template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

[0148] Similarly, the calling terminal that opens the pre-call service carries the real-time information to initiate a call, and the server side can directly send a second call request message to the called terminal without waiting for the delivery report of the SIP message, or can send a second call request message to the called terminal after waiting for the delivery report of the SIP message, which is not repeated here.

[0149] Optionally, the pre-set template mode and the terminal-assisted setting of real-time information are used to send the pre-call real-time information. By using this scheme, on the one hand, it is ensured that the pre-call information is subjected to security audit, and the calling party can be authenticated and displayed to the called terminal, thereby solving the security problem. On the other hand, the pre-set content also supports the setting of real-time information on the calling side, and the user can use it more flexibly and conveniently.

[0150] For example, the first server finds the pre-set template according to the template number of the pre-call service configuration information carried in the message body of the second SIP message, and audits the received real-time information according to the requirements for inserting real-time information in the pre-set template. If the audit is passed, the real-time information is filled into the corresponding pre-call information template and then put into the message body of the first SIP message.

[0151] As an optional embodiment, after receiving the second SIP message sent by the calling terminal, the method further comprises:

[0152] sending a second response message of the second SIP message to the calling terminal, the second response message being used to indicate that the first server receives the second SIP message.

[0153] In the embodiment of the application, the pre-call information display service also supports the calling terminal to display real-time information of the pre-call caller to the called terminal, such as a deliveryman as a calling user pushing pre-call information containing delivery information to the called terminal. For this case, the calling user needs to upload the template content of the display information to the server in advance for auditing, and meanwhile, the data needing real-time transmission in the template is described in a format, so that when the real-time data is transmitted in the call, the server checks the real-time data. For example, in the express delivery scenario, the real-time data is the pickup address of the recipient and the delivery time, which can be input manually by the calling terminal, or acquired by scanning the express single barcode by the terminal or selecting in the preset content in the terminal. When the server checks that the real-time content is address data and time data but not other content data, the real-time data is merged with the template data on the server side and then pushed to the called terminal.

[0154] It should be noted that, on the core network / server side, the pre-call service is a value-added service based on the VoLTE call. The pre-call service follows the triggering rules of the IMS VoLTE call. That is, after the pre-call service is opened, when the calling terminal is a terminal subscribed to 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.

[0155] On the terminal (calling terminal and called terminal) side, the pre-call service is identified through the pre-call service marker (Feature Tag) in the SIP message and the call request message header field.

[0156] The method for indicating the pre-call service marker in the SIP message and the call request message includes that, for the SIP message and the call request message of the pre-call service, the Feature Tag ICSI label of the important call should be carried in the Accept-Contact or Contact header field, and the Feature Tag ICSI label of the pre-call service should also be carried in the P-Preferred-Service or P-Asserted-Service header field. In addition, the pre-call ID field needs to be carried to ensure that the called terminal can match the call request and the SIP message.

[0157] In summary, the embodiment of the present application can display reliable calling related information on the interface of the called terminal when the called terminal rings, including calling name, call topic, calling set picture / video, location and other information; the embodiment of the present application supports the calling user to subscribe to the pre-call service, upload the pre-call information in advance, and push the corresponding pre-call calling related information to the called terminal according to the definition of the calling user in different situations; and in some scenarios, the pre-call calling information can carry the content edited in real time on the calling side; thereby realizing the synchronization of the pre-call information in a shorter time delay manner.

[0158] As shown in Figure 2 the embodiment of the present application also provides a pre-call calling information processing method, which is executed by a called terminal and includes the following steps:

[0159] Step 201: receiving a first SIP message sent by a first server, wherein the first SIP message includes calling related information to be displayed by the called terminal in this call and a pre-call service mark;

[0160] Step 202: receiving a second call request message sent by the first server or a first network device;

[0161] Step 203: completing call media negotiation with the calling terminal according to the second call request message, sending a ring notification and displaying the calling related information in the first SIP message on a ring interface.

[0162] In the embodiment of the present application, the called terminal receives the first SIP message, the header field of the first SIP message carries the pre-call service mark, and then the calling related information to be displayed in the pre-call is obtained from the message body of the first SIP message.

[0163] For example, the called terminal judges whether the calling related information contains pictures, videos and other contents to be downloaded, if yes, the content is downloaded according to the download link, and the display preset of the pre-call calling related information is completed. Optionally, in order to protect the terminal performance, after the terminal completes the preset of the pre-call information, a timer is set, and if the calling request message corresponding to the pre-call content setting requirement is not received after the timer expires, the terminal deletes the display content of the pre-call information.

[0164] The called terminal receives the second call request message, and the header field of the second call request message carries the pre-call service mark; the called terminal associates the pre-call service mark and the calling related information to be displayed in the pre-call with the first SIP message received before.

[0165] After the media negotiation is completed, the called terminal sends a 180 message to the calling terminal, and the called terminal rings locally and displays the pre-set calling information before the ring and display. Optionally, in order to improve the user experience, the terminal can be provided with a timer. When the terminal is ready to ring after the media negotiation is completed, if the calling information has not been pre-set, the terminal waits for the pre-set of the calling information before the timer expires, and then rings, displays the calling information, and sends the 180 message. If the terminal has not completed the pre-set of the calling information after the timer expires, the terminal gives up the display of the calling information, and directly rings locally and sends the 180 message to the calling terminal. Further, the called terminal is picked up, and the calling and called terminals communicate.

[0166] Optionally, the second call request message includes a pre-call service mark.

[0167] As an optional embodiment, step 203 includes:

[0168] According to the second call request message, the calling terminal completes the call media negotiation;

[0169] After the call media negotiation is completed, a ring notification is sent, and the calling information in the first SIP message is displayed on the ring interface after the called terminal completes the preparation of the calling information.

[0170] In other words, the called terminal learns from the pre-call service mark in the first SIP message or the pre-call service mark in the second call request that the current call includes a pre-call service. After the second call request message is received, the called terminal continues to complete the call media negotiation with the calling terminal. After the call media negotiation is completed, if the pre-call service mark exists, the called terminal can ring and display the calling information on the local ring interface. Alternatively, when the called terminal finds that the current call includes a pre-call service (which can be learned from the pre-call service mark in the first SIP message or the pre-call service mark in the second call request, and the message that arrives at the called terminal first is determined), the called terminal needs to start a timer when the ring notification is sent after the initial media negotiation is completed. When the timer expires, if the called terminal has not completed the preparation of the calling information of the pre-call service, the called terminal gives up the display of the calling information of the pre-call service, and directly returns a ring message, rings locally, and no longer displays the calling information.

[0171] As an optional embodiment, after step 201, the method further includes:

[0172] sending a delivery report of the first SIP message to the first server; wherein the delivery report is used to indicate the pre-call content synchronization success or pre-call content synchronization failure.

[0173] As another optional embodiment, the first SIP message further comprises real-time information of the calling terminal setting which needs to be displayed by the called terminal in the current call;

[0174] The method further comprises:

[0175] displaying the real-time information of the calling terminal setting in the first SIP message at the ringing interface.

[0176] In summary, the embodiment of the application can display reliable calling-related information, including calling name, call topic, calling setting picture / video, location and other information, at the interface of the called terminal when the called terminal rings. The embodiment of the application supports the calling user to upload pre-call information in advance after subscribing to the pre-call service, and pushes corresponding pre-call calling-related information to the called terminal according to the definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry real-time edited content on the calling side, so as to realize the synchronization of pre-call information in a shorter time delay.

[0177] As shown in Figure 3 The embodiment of the application further provides a pre-call calling information processing method, which is executed by a calling terminal and comprises:

[0178] Step 301: after subscribing to the pre-call service with a first server, configuring at least one set of pre-call calling information configuration content with the first server; and performing security audit on the pre-call calling information configuration content by the first server.

[0179] Step 302: sending a first call request message for calling a called terminal.

[0180] In the embodiment of the application, the pre-call calling information configuration content is uploaded to the first server in advance by the calling terminal, and is audited by the first server. Therefore, the calling-related information pushed to the called terminal by the first server through the first SIP message is authenticated or audited, and is safe and reliable for the called user.

[0181] Regarding the calling terminal which subscribes (or is enabled) to the pre-call service:

[0182] The terminal enabled with the pre-call service can be set by a pre-call service application server portal or a customer manager. Each setting needs to correspond to at least one set of pre-call calling information configuration content, and the content needs to be uploaded to the first server in advance. After the security audit of the first server, the content and the corresponding setting take effect.

[0183] As another optional embodiment, as another optional embodiment, the embodiment of the present application also supports adding corresponding information in the pre-call information according to the real-time needs of the caller. The implementation method is that the caller sends the pre-call real-time information to the first server through the SIP message by the caller terminal before initiating the first call request message, and then the first server performs security check on the received content and the preset template definition. If there is no problem, the first server sends the pre-call real-time information to the called terminal according to the normal flow described above. That is, before step 302, the method further comprises:

[0184] sending a second SIP message, wherein the second SIP message comprises: real-time information set by the caller terminal and required to be displayed by the called terminal in the current call, and a pre-call service mark.

[0185] Similarly, the caller terminal that has opened the pre-call service carries the real-time information to initiate the call. The server side can directly send a second call request message to the called terminal without waiting for the delivery report of the SIP message, or can send the second call request message to the called terminal after waiting for the delivery report of the SIP message, which is not repeated here.

[0186] As another optional embodiment, before sending the first call request message for calling the called terminal, the method further comprises:

[0187] receiving a second response message of the second SIP message, wherein the second response message is used to indicate that the first server has received the second SIP message.

[0188] Similarly, for the second SIP message, the caller terminal can directly send the first call request message without waiting for the response message (also called delivery report) of the second SIP message. For example, in order to ensure that the called terminal can display the pre-call content before the called terminal rings, the terminal can add a timer before sending the first call request message, and configure n seconds after sending the second SIP message, and then send the first call request message. Alternatively, the caller terminal can also send the first call request message after receiving the response message of the second SIP message. Alternatively, in order to improve user experience, a timeout timer can be added here. When the delivery report of the second SIP message is not received after the timer is set, the caller terminal no longer waits and directly executes the next step, that is, sends the first call request message.

[0189] As another optional embodiment, before sending the second SIP message, the method further comprises:

[0190] According to the first mode, the real-time information set by the caller terminal and required to be displayed by the called terminal in the current call is determined; wherein the first mode comprises at least one of the following:

[0191] free input through a keyboard;

[0192] The preset content selected through the interface of the calling terminal;

[0193] The device obtains the content by scanning a two-dimensional code or a bar code.

[0194] For example, the calling terminal sets real-time information to be displayed before a call, and encapsulates the real-time information in a message body of a second SIP message to send to the first server. A header field of the second SIP message carries a pre-call service mark. Here, the real-time information set by the calling terminal can be freely input by a calling user through a mobile phone keyboard, can be preset content selected through a terminal interface, can be content obtained by scanning a two-dimensional code / bar code by the terminal device, or can be content obtained by the terminal device through some other way. For filling of the real-time information before a call, the calling terminal needs to carry at least the following key content: (1) a real-time information corresponding pre-call information template, and (2) real-time information.

[0195] In summary, the embodiment of the application can display reliable calling related information on a called terminal interface when the called terminal rings, and the calling related information includes calling name, call topic, calling set picture / video, location, and the like. The embodiment of the application supports a calling user to subscribe to a pre-call service, to upload pre-call information in advance, and to push corresponding pre-call calling related information to a called user according to a definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry real-time edited content on the calling side. Thus, synchronization of pre-call information is realized in a shorter time delay.

[0196] Application scenarios are as follows:

[0197] A scenario in which a courier calls a customer to deliver express mail. Currently, express companies usually have their own special terminals or apps, and obtain a customer's mobile phone number by scanning a bar code on an express delivery sheet, and then send a short message or make a call directly. For the scenario of making a call, when a called delivery recipient's mobile phone rings, a number of an unknown caller is displayed. Although for some brand mobile phones or apps, the scenario is optimized, and a number category mark of "express delivery" can be added below the number of the unknown caller through a user mark, on the one hand, the number mark is not authenticated and is not safe enough, and sometimes, a mark error occurs. On the other hand, only a large category can be marked, and it is impossible to specify which express company it is, and after hanging up the phone, the user often forgets to go to which express employee at the company downstairs to pick up the express, and needs to confirm by calling back. After using the pre-call service provided by the embodiment of the application, the called terminal can accurately identify the identity of the incoming call party, an xx express company, and at the same time, the express company can directly tell the user where the express is about to be delivered (an express delivery address, which can be a home or a company, to avoid confusion of the user) through a text pre-call text content, and can display a company logo or a recent express sending discount activity, and the like, to make publicity for the company.

[0198] As shown in Figure 4 The embodiment of the present application also provides a method for processing pre-call caller information, which is executed by a first network device and comprises the following steps:

[0199] Step 401: receiving a first call request message sent by a calling terminal;

[0200] Step 402: forwarding the first call request message to a first server;

[0201] Step 403: sending a second call request message to a called terminal.

[0202] As an optional embodiment, step 403 comprises the following steps:

[0203] In the case that a first response message fed back by the first server is received, the second call request message is sent to the called terminal; that is, the first network device sends the second call request message to the called terminal after receiving the first response message; optionally, in order to improve user experience, a timeout timer can be added here, and when the first response message of the first server is not received after the set time of the timer, the first network device no longer waits and directly executes the next step, that is, the second paging request message is sent.

[0204] And / or,

[0205] In the case that the first call request message is forwarded to the first server for n2 seconds, the second call request message is sent to the called terminal; n2 is greater than or equal to 0; that is, after the first network device forwards the first call request message to the first server, the first network device does not wait for the response message of the first call request message; but in order to ensure that the pre-call content can be displayed on the called terminal before the called terminal rings, the first network device can add a timer before sending the second call request message, and the second call request message is sent after n2 seconds after forwarding the first call request message.

[0206] Optionally, in the embodiment of the present application, the second call request message comprises a pre-call service mark.

[0207] In summary, in the embodiment of the present application, the first network device 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 reliable calling related information, including the calling name, the call topic, the calling setting picture / video, the location and other information, can be displayed on the interface of the called terminal when the called terminal rings.

[0208] In order to more clearly describe the method for processing pre-call caller information provided by the embodiment of the present application, two examples are described below.

[0209] Example one, as shown, the calling terminal with pre-call service initiates call directly Figure 5

[0210] 1. Terminal A (here as user A, as the caller) has subscribed to pre-call service and completed the content settings of pre-call service. Terminal A sends initial call request (i.e. invite message).

[0211] 2. Since user A has subscribed to pre-call service, the call request sent by terminal A will be sent to the first server (hereinafter referred to as server or platform) by IMS core network. The server judges that user A has subscribed to pre-call service, and the system confirms the pre-call caller information that needs to be synchronized to the called side according to the current call state, such as the caller number, the called number, the call initiation time and other information. The platform encapsulates the pre-call content setting requirements in the message body of the SIP message, and sends the SIP message to the called user, i.e. terminal B, with the pre-call service mark in the message header.

[0212] 3. After receiving the SIP message, terminal B finds that the message header carries the pre-call service mark, and then reads the corresponding setting content in the message body to preset the pre-call display information. Terminal B replies with a 200 OK response message after receiving the SIP message.

[0213] 4-5, optional process, if the pre-call content setting requirements include pictures, videos and other contents that need to be downloaded, the terminal completes the content download and the preset of the pre-call caller information display according to the download link. Optionally, in order to protect the terminal performance, after the terminal completes the preset of the pre-call information, a timer is set, and if the timer expires and the call request message corresponding to the pre-call content setting requirements has not been received, the terminal deletes the preset content of the pre-call information display. If the pre-call content setting requirements do not include pictures, videos and other contents that need to be downloaded, this step does not exist.

[0214] 6-9, also optional process. After the called terminal completes the download and preset of the pre-call caller information display, it sends a delivery report (same as pre-call content display receipt) of the SIP message to the caller side. The server forwards the delivery report to the caller terminal after receiving it. This step can be optionally implemented: (1) the display of the pre-call caller information is a value-added function of basic call, and whether it can be successfully displayed cannot affect the normal call, so the terminal does not need to report to the business platform or the caller terminal whether the content is downloaded successfully and whether it is displayed successfully. (2) In order to improve the business experience and enable the caller to perceive the business state, a receipt message can be used for business state notification. Further improvement of experience can be achieved by only notifying the caller in case of failure of the pre-call caller information display, and the caller does not receive the receipt, indicating that the information is displayed normally at the called side.

[0215] ​10. If the procedure with delivery report is adopted, the server forwards the call request of the calling terminal after receiving the delivery report of the called terminal, and the header field can carry the pre-call service mark. If the procedure with delivery report is not adopted, the pre-call service application server forwards the call request after receiving the 200 OK of the pre-call service setting request SIP message.

[0216] 11. The calling and called terminals continue to complete the initial media negotiation of the call following the existing VoLTE call procedure.

[0217] 12-14. The called terminal determines whether the pre-call service setting exists for the call according to the pre-call service mark carried in the call request. When sending the ring notification, the terminal needs to first determine whether the pre-call caller information has been downloaded and set. If the pre-call caller information has been downloaded and set, the terminal sends the ring notification to the caller and displays the pre-call caller information content on the local ring interface. If the terminal has not received the pre-call content setting information notification or has not completed the content download after completing the call negotiation, the terminal needs to send the ring notification to the caller and display the pre-call caller information content on the local ring interface after completing the pre-call content download.

[0218] Optional optimization implementation: The terminal needs to start the pre-call service timer according to the pre-call service mark carried in the call request. If the terminal has not received the pre-call content setting information notification or has not completed the content download after completing the call negotiation, and the pre-call service timer has not expired, the terminal waits for the pre-call content download to be completed, sends the ring notification to the caller and displays the pre-call caller information content on the local ring interface after the download is successful. If the pre-call service timer expires, the terminal does not wait for the pre-call content download, directly sends the ring notification to the caller, and the local ring interface no longer displays the pre-call caller information.

[0219] 15-16. The called terminal sends the off-hook 200 OK message to the caller when the called terminal is off-hook, and the called terminal switches to the call interface.

[0220] Example two, as shown in FIG. 2, the calling terminal with pre-call service initiates a call directly Figure 6

[0221] 1. Terminal A (herein as user A, as the caller) has opened the pre-call service and completed the content setting of the pre-call service. Terminal A sends the initial call request (i.e., the invite message).

[0222] 2. Since user A has opened the pre-call service, the call request sent by terminal A reaches the first network device; the first network device notifies the first server (hereinafter referred to as the server or platform) of the call event of terminal A. ​

[0223] 3. The server sends a response message of the call event notification to the first network device;

[0224] 4. The server judges that the user A has subscribed to the pre-call service, and the system confirms the pre-call caller information that needs to be synchronized to the called side according to the current call state, such as the caller number, the called 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, carries the pre-call service mark in the message header, and sends it to the called user, that is, the terminal B here.

[0225] 5. After the terminal B receives the SIP message, it finds that the message header carries the pre-call service mark, and then reads the corresponding setting content in the message body to preset the pre-call display information. The terminal B replies with a 200 OK response message after receiving the SIP message.

[0226] 6-7, This is an optional process. If the pre-call content setting requirement contains pictures, videos and the like that need to be downloaded, the terminal completes the content download and the presetting of the pre-call caller information display according to the download link. Optionally, in order to protect the terminal performance, after the terminal completes the presetting of the pre-call information, a timer is set, and if the timer expires and the call request message corresponding to the pre-call content setting requirement has not been received, the terminal deletes the presetting content of the pre-call information display. If the pre-call content setting requirement does not contain pictures, videos and the like that need to be downloaded, this step does not exist.

[0227] 8-11, This is also an optional process. After the called terminal completes the downloading and presetting of the pre-call caller information, it sends a delivery report (the same as the pre-call content display receipt) of the SIP message to the calling side. The server forwards the delivery report to the calling terminal after receiving it. This step can be optionally implemented: (1) The display of the pre-call caller information is a value-added function of the basic call, and whether it can be successfully displayed cannot affect the normal call, so the terminal does not need to report to the business platform or the calling terminal whether the content has been successfully downloaded and displayed. (2) In order to improve the business experience and enable the caller to perceive the business state, a receipt message can be used to notify the business state. Further, the experience can be improved by notifying only the caller when the display of the pre-call caller information fails, and the caller does not receive the receipt, indicating that the information is normally displayed on the called side.

[0228] 12. 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 pre-call service mark.

[0229] 13. The calling and called parties continue to complete the initial media negotiation of the call according to the existing VoLTE call process.

[0230] 14-16. The called terminal determines the existence of pre-call service settings for the current call according to the pre-call service mark carried in the call request. When sending the ring notification, the terminal needs to first determine whether the download and setting of the pre-call caller information have been completed. If so, the terminal sends the ring notification to the caller and displays the pre-call caller information content on the local ring interface. If the terminal has not received the pre-call content setting information notification or has not completed the content download after completing the call negotiation, the terminal needs to send the ring notification to the caller and display the pre-call caller information content on the local ring interface after completing the pre-call content download.

[0231] 17-18. The called terminal sends the off-hook 200 OK message to the caller, and the called terminal switches to the call interface.

[0232] Example Three, as shown in Figure 7 the caller terminal carrying real-time information initiates a call request

[0233] 1. The caller sets real-time pre-call content and sends it to the called user in the message body of the SIP message. The SIP message header field carries the pre-call service mark. Here, the caller sets real-time pre-call content, which can be freely input by the caller through the mobile phone keyboard, selected from preset content through the terminal interface, obtained by scanning a two-dimensional code / barcode through the terminal device, or obtained by some other means through the terminal device. For filling in the real-time information, the caller terminal needs to carry at least the following key content: (1) real-time information corresponding to the pre-call information template, and (2) real-time information.

[0234] 2. The first server identifies the pre-call service mark carried in the SIP message header field. The SIP message is temporarily stored, and the corresponding call is waited for. At the same time, a SIP message 200 OK response message is returned.

[0235] 3. The caller terminal sends a call request message.

[0236] 4. Since user A has opened the pre-call service, the call request sent by terminal A will be sent to the first server (hereinafter referred to as the server) by the IMS core network. The server determines that (1) the caller user subscribes to the pre-call service, and (2) the configuration information of the pre-call real-time information of the caller has been received before. Assemble the pre-call information setting requirements and send them to the called user through the SIP message. The SIP message header field carries the pre-call service mark, and the message body carries the pre-call information setting requirements.

[0237] 5. After terminal B receives the SIP message, it finds that the message header carries the pre-call service mark, reads the corresponding setting content in the message body, and presets the pre-call display information. Terminal B replies with a 200 OK response message after receiving the SIP message.

[0238] 6-7, Optional flow. If the pre-call content setting requirement contains pictures, videos and other contents that need to be downloaded, the terminal completes the content download according to the download link, and completes the display preset of the pre-call calling information. Optionally, to protect the terminal performance, after the terminal completes the preset of the pre-call information, a timer is set. If the pre-call content setting requirement corresponding call request message is not received after the timer expires, the terminal deletes the display preset content of the pre-call information. If the pre-call content setting requirement does not contain pictures, videos and other contents that need to be downloaded, this step does not exist.

[0239] 8-11, This is also an optional flow. After the called terminal completes the download and display preset of the pre-call calling information, a delivery report (the same as the pre-call content display receipt) of the SIP message sent to the calling side. The server forwards the delivery report to the calling terminal after receiving the delivery report. This step can be optionally implemented: (1) The display of the pre-call calling information is a value-added function of the basic call, and whether the display is successful cannot affect the normal call, so the terminal does not need to report to the service platform or the calling terminal whether the content is successfully downloaded and displayed. (2) To improve the business experience, the calling party can be notified of the business status through a receipt message. To further improve the experience, only the case where the pre-call calling information display fails can be notified, and the calling party does not receive the receipt, indicating that the information is displayed normally at the called side.

[0240] 12. If the flow containing the delivery report is adopted, the server forwards the call request of the calling terminal after receiving the delivery report of the called terminal, and the header field carries the pre-call service mark. If the flow containing the delivery report is not adopted, the pre-call service application server forwards the call request after receiving the SIP message 200OK of the pre-call service setting requirement.

[0241] 13. The calling and called parties continue to complete the initial media negotiation of the call according to the existing VoLTE call flow.

[0242] 14-16. The called terminal judges whether the pre-call service setting exists in this call according to the pre-call service mark carried in the call request. When sending the ring notification, the terminal needs to first judge whether the download and setting of the pre-call calling information have been completed. If the download and setting have been completed, the terminal sends the ring notification to the calling party, and displays the pre-call calling information content on the ring interface of the terminal. If the terminal has not received the pre-call content setting information notification or has not completed the download of the content after completing the call negotiation, the terminal needs to send the ring notification to the calling party after completing the download of the pre-call content, and displays the pre-call calling information content on the ring interface of the terminal.

[0243] Optional optimization implementation: the terminal judges whether the current call exists pre-call service setting according to the pre-call service mark carried in the call request, and the terminal needs to start the pre-call service timer. When the terminal has not received the pre-call content setting information notification after completing the call negotiation, or has not completed the content download, and the pre-call service timer has not expired, the terminal waits for the completion of the pre-call content download first, and then sends the ringing notification to the caller after the download is successful, and displays the pre-call caller information content on the local ringing interface; but if the pre-call service timer expires, the terminal no longer waits for the pre-call content download, and directly sends the ringing notification to the caller, and the local ringing interface no longer displays the pre-call caller information.

[0244] 17-18. The called party answers the call, and the called terminal sends the off-hook 200 OK message to the caller, and the called terminal switches to the call interface.

[0245] Example four, as shown in Figure 8 the caller terminal carrying real-time information initiates a call request

[0246] 1. The caller sets real-time pre-call content, which is encapsulated in the message body of the SIP message and sent to the called user. The SIP message header field carries the pre-call service mark. Here, the caller sets the real-time pre-call content, which can be freely input by the caller through the mobile phone keyboard, can be pre-set content selected through the terminal interface, can be content obtained by scanning a two-dimensional code / bar code through the terminal device, or can be content obtained through some other way by the terminal device. For filling in the real-time information, the caller terminal needs to carry at least the following key contents: (1) real-time information corresponding to the pre-call information template, and (2) real-time information.

[0247] 2. The first server identifies the pre-call service mark carried in the SIP message header field. The SIP message is temporarily stored, and the arrival of the corresponding call is waited. At the same time, the SIP message 200 OK response message is returned.

[0248] 3. The caller terminal sends a call request message.

[0249] 4. Since user A has opened the pre-call service, the call request sent by terminal A arrives at the first network device; the first network device notifies the first server (hereinafter referred to as server or platform) of the call event of terminal A.

[0250] 5. The server sends a response message of the call event notification to the first network device;

[0251] 6. The server determines that user A has subscribed to the pre-call service, and the system confirms the pre-call caller information that needs to be synchronized to the called side according to the current call state, such as the caller number, called number, call initiation time, and other information. The platform encapsulates the pre-call content setting requirements in the message body of the SIP message, the message header carries the pre-call service mark, and sends it to the called user, i.e., terminal B here.

[0252] 7. After terminal B receives the SIP message, it finds that the message header carries the pre-call service mark, and then reads the corresponding setting content in the message body to preset the pre-call display information. Terminal B replies with a 200 OK response message after receiving the SIP message.

[0253] 8-9, optional process. If the pre-call content setting requirements include pictures, videos, and other content that needs to be downloaded, the terminal completes the content download and the presetting of the pre-call caller information display according to the download link. Optionally, to protect the terminal performance, after the terminal completes the presetting of the pre-call information, a timer is set. If the timer expires and the terminal has not received the call request message corresponding to the pre-call content setting requirements, the terminal deletes the presetting content of the pre-call information display. If the pre-call content setting requirements do not include pictures, videos, and other content that needs to be downloaded, this step does not exist.

[0254] 10-13, also optional process. After the called terminal completes the download and display presetting of the pre-call caller information, it sends a delivery report (same as the pre-call content display receipt) of the SIP message to the calling side. The server forwards the delivery report to the calling terminal after receiving it. This step can be optionally implemented: (1) The display of the pre-call caller information is a value-added function of the basic call, and whether it can be successfully displayed cannot affect the normal call, so the terminal does not need to report to the business platform or the calling terminal whether the content has been successfully downloaded and displayed. (2) To improve the business experience and enable the caller to perceive the business status, a receipt message can be used to notify the business status. To further improve the experience, only the case where the display of the pre-call caller information fails can be notified, and the caller does not receive the receipt, indicating that the information is displayed normally on the called side.

[0255] 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 pre-call service mark.

[0256] 15. The calling and called parties continue to complete the initial media negotiation of the call according to the existing VoLTE call process.

[0257] 16-18. The called terminal judges that the current call has the pre-call service setting according to the pre-call service mark carried in the call request. When sending the ring notification, the terminal needs to first judge whether the pre-call caller information download and setting have been completed. If the pre-call caller information download and setting have been completed, the terminal sends the ring notification to the caller and displays the pre-call caller information content on the terminal ring interface. If the terminal has not received the pre-call content setting information notification or has not completed the content download after completing the call negotiation, the terminal needs to send the ring notification to the caller and display the pre-call caller information content on the terminal ring interface after completing the pre-call content download.

[0258] 19-20. The called terminal sends the off-hook 200 OK message to the caller, and the called terminal switches to the call interface.

[0259] In summary, the embodiment of the application can display reliable caller-related information on the called terminal interface when the called terminal rings, including the caller name, call theme, caller-set picture / video, location and other information. The embodiment of the application supports the caller user to subscribe to the pre-call service, upload the pre-call information in advance, and push the corresponding pre-call caller-related information to the called terminal according to the caller user definition in different situations. In some scenarios, the pre-call caller information can carry the real-time edited content on the caller side. Thus, the pre-call information synchronization is realized in a shorter time delay.

[0260] As shown in Figure 9 The embodiment of the application also provides a pre-call caller information processing device applied to a first server and comprising:

[0261] A first acquisition module 601 is configured to acquire a first call request message of a caller terminal.

[0262] A first sending module 602 is configured to send a first Session Initiation Protocol (SIP) message to a called terminal according to the first call request message in the case that the caller terminal subscribes to a pre-call service. The first SIP message comprises the caller-related information to be displayed by the called terminal in the current call and a pre-call service mark.

[0263] As an optional embodiment, the first acquisition module comprises:

[0264] A first acquisition sub-module is configured to receive the first call request message sent by the caller terminal or receive the first call request message of the caller terminal forwarded by a first network device.

[0265] As an optional embodiment, the device further comprises:

[0266] The first request sending module is configured to send a second call request message to the called terminal after sending the first SIP message for n1 seconds, where n1 is greater than or equal to 0.

[0267] And / or,

[0268] The second call request message is sent to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal, where the delivery report is used to indicate success or failure of the pre-call content synchronization.

[0269] As an optional embodiment, the apparatus further comprises:

[0270] The first response sending module is configured to send a first response message to the first network device, so that the first network device sends a second call request message to the called terminal.

[0271] As an optional embodiment, the second call request message comprises a pre-call service marker.

[0272] As an optional embodiment, the first sending module comprises:

[0273] The selection sub-module is configured to select, according to the first call request message, calling-related information that needs to be displayed by the called terminal in the current call from pre-set pre-call caller information configuration content.

[0274] The packaging sub-module is configured to package the calling-related information that needs to be displayed by the called terminal in the current call in a message body of the first SIP message, and carry a pre-call service marker in a header field of the first SIP message.

[0275] The first sending sub-module is configured to send the first SIP message to the called terminal.

[0276] As an optional embodiment, the apparatus further comprises:

[0277] The forwarding module is configured to forward the delivery report to the called terminal.

[0278] As an optional embodiment, the apparatus further comprises:

[0279] The sixth receiving module is configured to receive a second SIP message sent by the called terminal, where the second SIP message comprises real-time information set by the called terminal and required to be displayed by the called terminal in the current call, and a pre-call service marker.

[0280] The first SIP message further comprises template information set by the called terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

[0281] As an optional embodiment, the apparatus further comprises:

[0282] a sixth sending module, configured to send a response message of the second SIP message to the calling terminal, the response message being used to indicate that the first server receives the second SIP message.

[0283] As an optional embodiment, the apparatus further comprises:

[0284] a content obtaining module, configured to obtain at least one set of pre-call calling information configuration content in a case where the calling terminal subscribes to the pre-call service.

[0285] an auditing module, configured to perform security auditing on the pre-call calling information configuration content, and store the pre-call calling information configuration content after the security auditing is passed.

[0286] The embodiment of the application can display reliable calling-related information on the interface of the called terminal when the called terminal rings, and the calling-related information includes calling name, calling theme, calling setting picture / video, location and other information. The embodiment of the application supports the calling user to upload pre-call information in advance after subscribing to the pre-call service, and pushes corresponding pre-call calling-related information to the called terminal according to the definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry real-time edited content on the calling side, so that the synchronization of the pre-call information is realized in a shorter time delay.

[0287] It should be noted that the processing apparatus of the pre-call calling information provided by the embodiment of the application is an apparatus capable of executing the processing method of the pre-call calling information, and all the embodiments of the processing method of the pre-call calling information are applicable to the apparatus, and can achieve the same or similar beneficial effects.

[0288] As shown in Figure 10 The embodiment of the application further provides a first server, comprising a processor 700 and a transceiver 710, the transceiver 710 receives and sends data under the control of the processor 700, and the processor 700 is configured to perform the following operations:

[0289] obtain a first call request message of a calling terminal;

[0290] in a case where the calling terminal subscribes to the pre-call service, send a first session initiation protocol (SIP) message to a called terminal according to the first call request message, wherein the first SIP message comprises calling-related information required to be displayed by the called terminal in this call and a pre-call service mark.

[0291] As an optional embodiment, the processor 700 is further configured to perform the following operations:

[0292] receiving the first call request message sent by the calling terminal;

[0293] or,

[0294] receiving the first call request message of the calling terminal forwarded by the first network device.

[0295] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0296] sending a second call request message to the called terminal;

[0297] or,

[0298] sending a first response message to the first network device, so that the first network device sends a second call request message to the called terminal.

[0299] As an optional embodiment, the second call request message comprises a pre-call service flag.

[0300] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0301] selecting, according to the first call request message, calling related information required to be displayed by the called terminal in the current call from pre-set pre-call calling information configuration content;

[0302] encapsulating the calling related information required to be displayed by the called terminal in the current call in a message body of a first SIP message, and carrying a pre-call service flag in a header field of the first SIP message;

[0303] sending the first SIP message to the called terminal.

[0304] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0305] sending a second call request message to the called terminal after sending the first SIP message for n1 seconds; n1 is greater than or equal to 0;

[0306] and / or,

[0307] sending the second call request message to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal; the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure.

[0308] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0309] forwarding the delivery report to the calling terminal.

[0310] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0311] receiving a second SIP message sent by the calling terminal, wherein the second SIP message comprises real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service mark;

[0312] The first SIP message further comprises template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

[0313] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0314] sending a response message of the second SIP message to the calling terminal, wherein the response message is used to indicate that the first server receives the second SIP message.

[0315] As an optional embodiment, the processor 700 is further configured to perform the following operation:

[0316] In the case that the calling terminal subscribes to the pre-call service, obtaining at least one set of pre-call information configuration content;

[0317] performing security audit on the pre-call information configuration content, and storing the pre-call information configuration content after the security audit is passed.

[0318] The embodiment of the application can display reliable calling related information on the interface of the called terminal when the called terminal rings, including calling name, call theme, calling set picture / video, location and other information. The embodiment of the application supports the calling user to upload pre-call information in advance after subscribing to the pre-call service, and pushes corresponding pre-call calling related information to the called terminal according to the definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry the content edited in real time on the calling side. Thus, the synchronization of the pre-call information is realized in a shorter time delay.

[0319] It should be noted that the first server provided by the embodiment of the application is a server capable of performing the processing method of the pre-call calling information, and all the embodiments of the processing method of the pre-call calling information are applicable to the server, and can achieve the same or similar beneficial effects.

[0320] As shown in Figure 11 The embodiment of the application further provides a pre-call calling information processing device applied to a called terminal, comprising:

[0321] The second receiving module 801 is configured to receive a first SIP message sent by the first server, wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service flag.

[0322] The third receiving module 802 is configured to receive a second call request message sent by the first server or the first network device.

[0323] The ringing display module 803 is configured to complete call media negotiation with the calling terminal according to the second call request message, send a ringing notification, and display the calling related information in the first SIP message on a ringing interface.

[0324] As an optional embodiment, the second call request message comprises a pre-call service flag.

[0325] As an optional embodiment, the ringing display module comprises:

[0326] The negotiation submodule is configured to complete call media negotiation with the calling terminal according to the second call request message.

[0327] The display submodule is configured to send a ringing notification after the call media negotiation is completed, and display the calling related information in the first SIP message on a ringing interface after the called terminal completes preparation of the calling related information.

[0328] As an optional embodiment, the apparatus further comprises:

[0329] The report sending module is configured to send a delivery report of the first SIP message to the first server, wherein the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure.

[0330] As an optional embodiment, 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 current call.

[0331] The apparatus further comprises:

[0332] The display module is configured to display the real-time information set by the calling terminal and in the first SIP message on a ringing interface.

[0333] Embodiments of the present application can display reliable calling-related information on the interface of the called terminal when the called terminal rings, including calling name, call topic, calling setting picture / video, location and other information; embodiments of the present application support the calling user to subscribe to pre-call service, upload pre-call information in advance, and push corresponding pre-call calling-related information to the called terminal according to the definition of the calling user in different situations; and in some scenarios, the pre-call calling information can carry the content edited in real time on the calling side; thereby realizing the synchronization of pre-call information in a shorter time delay.

[0334] It should be noted that the pre-call calling information processing device provided by the embodiments of the present application is a device capable of executing the pre-call calling information processing method, and all embodiments of the pre-call calling information processing method are applicable to the device, and can achieve the same or similar beneficial effects.

[0335] As shown in Figure 12 The present application also provides a terminal, which is a called terminal, comprising a processor 900 and a transceiver 910, the terminal further comprises a user interface 920, the transceiver 910 receives and sends data under the control of the processor 900, and the processor 900 is configured to perform the following operations:

[0336] receive a first SIP message sent by a first server, wherein the first SIP message comprises calling-related information to be displayed by the called terminal in this call and a pre-call service mark;

[0337] receive a second call request message sent by the first server or a first network device;

[0338] complete 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.

[0339] As an optional embodiment, the second call request message comprises a pre-call service mark.

[0340] As an optional embodiment, the processor 900 is further configured to perform the following operations:

[0341] complete call media negotiation with the calling terminal according to the second call request message;

[0342] complete call media negotiation, send a ring notification, and display the calling-related information in the first SIP message on a ring interface after the called terminal completes preparation of the pre-call calling-related information.

[0343] As an optional embodiment, the processor 900 is further configured to perform the following operations:

[0344] sending a delivery report of the first SIP message to the first server, wherein the delivery report is used to indicate a pre-call content synchronization success or a pre-call content synchronization failure.

[0345] As an optional embodiment, the first SIP message further comprises real-time information of the calling terminal set and required to be displayed by the called terminal in the current call.

[0346] The processor 900 is further configured to perform the following operations:

[0347] displaying the real-time information of the calling terminal set in the first SIP message at a ringing interface.

[0348] The embodiment of the application can display reliable calling-related information, including calling name, call topic, calling set picture / video, location and other information, at a called terminal interface when the called terminal rings. The embodiment of the application supports a calling user to upload pre-call information in advance after subscribing to a pre-call service, and pushes corresponding pre-call calling-related information to the called terminal according to the definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry real-time edited content on the calling side, so that the synchronization of the pre-call information is realized in a shorter time delay.

[0349] It should be noted that the terminal provided by the embodiment of the application is a terminal capable of executing the processing method of the pre-call calling information, and all the embodiments of the processing method of the pre-call calling information are applicable to the terminal and can achieve the same or similar beneficial effects.

[0350] As shown in Figure 13 The embodiment of the application further provides a pre-call calling information processing apparatus applied to a calling terminal and comprising:

[0351] A third sending module 1001 is configured to configure at least one set of pre-call calling information configuration content with the first server after subscribing to a pre-call service with the first server, and perform security auditing on the pre-call calling information configuration content by the first server.

[0352] A fourth sending module 1002 is configured to send a first call request message for calling a called terminal.

[0353] As an optional embodiment, the apparatus further comprises:

[0354] An eighth sending module is configured to send a second SIP message, wherein the second SIP message comprises real-time information of the calling terminal set and required to be displayed by the called terminal in the current call, and a pre-call service mark.

[0355] As an optional embodiment, the apparatus further comprises:

[0356] a response receiving module, configured to receive a response message of the second SIP message, the response message being used to indicate that the first server receives the second SIP message.

[0357] As an optional embodiment, the apparatus further comprises:

[0358] an information determining module, configured to determine real-time information set by a calling terminal and required to be displayed by a called terminal in the current call according to a first mode, wherein the first mode comprises at least one of the following:

[0359] free input through a keyboard;

[0360] preset content selected through a calling terminal interface;

[0361] acquisition through scanning a two-dimensional code or a bar code.

[0362] The embodiment of the application can display reliable calling-related information on a called terminal interface when the called terminal rings, and the calling-related information comprises calling name, call subject, calling-set picture / video, location and other information. The embodiment of the application supports a calling user to upload pre-call information in advance after subscribing to a pre-call service, and pushes corresponding pre-call calling-related information to a called terminal according to a definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry real-time edited content on the calling side, thereby realizing synchronization of the pre-call information in a shorter time delay.

[0363] It should be noted that the processing apparatus of the pre-call calling information provided by the embodiment of the application can execute the processing method of the pre-call calling information, and all the embodiments of the processing method of the pre-call calling information are applicable to the apparatus, and can achieve the same or similar beneficial effects.

[0364] As shown in Figure 14 The embodiment of the application further provides a terminal, which is a calling terminal and comprises a processor 1100 and a transceiver 1110. The terminal further comprises a user interface 1120. The transceiver 1110 receives and sends data under the control of the processor 1100. The processor 1100 is configured to perform the following operations:

[0365] After subscribing to a pre-call service with a first server, the terminal configures at least one set of pre-call calling information configuration content with the first server, and the first server performs security auditing on the pre-call calling information configuration content.

[0366] The processor 1100 is further configured to perform the following operation:

[0367] As an optional embodiment, the processor 1100 is further configured to perform the following operation:

[0368] sending a second SIP message, wherein the second SIP message comprises real-time information set by a calling terminal and needs to be displayed by a called terminal in a current call, and a pre-call service mark.

[0369] As an optional embodiment, the processor 1100 is further configured to perform the following operation:

[0370] receiving a response message of the second SIP message, wherein the response message is used to indicate that the first server receives the second SIP message.

[0371] As an optional embodiment, the processor 1100 is further configured to perform the following operation:

[0372] According to the first mode, the real-time information set by the calling terminal and needs to be displayed by the called terminal in the current call is determined, and the first mode comprises at least one of the following:

[0373] free input through a keyboard;

[0374] preset content selected through an interface of the calling terminal;

[0375] acquired by scanning a two-dimensional code or a bar code.

[0376] The embodiment of the application can display reliable calling-related information on an interface of the called terminal when the called terminal rings, and the calling-related information comprises calling name, call theme, calling-set picture / video, location and other information. The embodiment of the application supports a calling user to upload pre-call information in advance after subscribing to a pre-call service, and pushes corresponding pre-call calling-related information to the called terminal according to the definition of the calling user in different situations. In some scenarios, the pre-call calling information can carry real-time edited content on the calling side, so that the synchronization of the pre-call information is realized in a shorter time delay.

[0377] It should be noted that the terminal provided by the embodiment of the application is a terminal capable of executing the processing method of the pre-call calling information, and all the embodiments of the processing method of the pre-call calling information are applicable to the terminal and can achieve the same or similar beneficial effects.

[0378] As shown in Figure 15 The embodiment of the application further provides a processing device of pre-call calling information, which is applied to a first network device and comprises:

[0379] The fourth receiving module 1301 is configured to receive the first call request message sent by the calling terminal.

[0380] The forwarding module 1302 is configured to forward the first call request message to the first server.

[0381] The fourth sending module 1303 is configured to send a second call request message to the called terminal.

[0382] As an optional embodiment, the fourth sending module is further configured to:

[0383] send the second call request message to the called terminal in the case that the first response message fed back by the first server is received;

[0384] and / or,

[0385] send the second call request message to the called terminal after forwarding the first call request message to the first server for n2 seconds, wherein n2 is greater than or equal to 0.

[0386] In the embodiment of the application, the first call request message is forwarded to the first server by the first network device, and the calling related information is sent to the called terminal by the first server through the SIP message, so that reliable calling related information, including calling name, call subject, calling setting picture / video, location and other information, can be displayed on the interface of the called terminal when the called terminal rings.

[0387] It should be noted that the calling information processing device provided by the embodiment of the application is a device capable of executing the calling information processing method, and all the embodiments of the calling information processing method are applicable to the device and can achieve the same or similar beneficial effects.

[0388] As shown in Figure 16 The embodiment of the application further provides a network device, which is a first network device and includes a processor 1400 and a transceiver 1410. The transceiver 1410 receives and sends data under the control of the processor 1400. The processor 1400 is configured to perform the following operations:

[0389] receive the first call request message sent by the calling terminal;

[0390] forward the first call request message to the first server;

[0391] send a second call request message to the called terminal.

[0392] As an optional embodiment, the processor 1400 is further configured to perform the following operations:

[0393] send the second call request message to the called terminal in the case that the first response message fed back by the first server is received;

[0394] and / or,

[0395] After forwarding the first call request message to the first server for n2 seconds, a second call request message is sent to the called terminal; n2 is greater than or equal to 0.

[0396] In the embodiment of the application, the first call request message is forwarded to the first server by the first network device, and the calling related information is sent to the called terminal by the first server through the SIP message, so that reliable calling related information, including calling name, call subject, calling setting picture / video, location and other information, can be displayed on the interface of the called terminal when the called terminal rings.

[0397] It should be noted that the calling information processing device provided by the embodiment of the application is a device capable of executing the calling information processing method, and all the embodiments of the calling information processing method are applicable to the device and can achieve the same or similar beneficial effects.

[0398] The embodiment of the application also provides a communication device, which is the first server or the calling terminal or the called terminal or the first network device, and the communication device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements each process in the calling information processing method embodiment when executing the program, and can achieve the same technical effects. To avoid repetition, details are not repeated here.

[0399] The embodiment of the application also provides a computer readable storage medium, which stores a computer program, and the program is executed by the processor to implement each process in the calling information processing method embodiment and can achieve the same technical effects. To avoid repetition, details are not repeated here. The computer readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0400] Those skilled in the art should understand that the embodiments of the application can be provided as a method, a system or a computer program product. Therefore, the application can be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the application can be in the form of a computer program product implemented on one or more computer readable storage media (including but not limited to disk storage and optical storage) containing computer usable program code.

[0401] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart... Figure 1 A device for one or more processes and / or the functions specified in one or more boxes.

[0402] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce a paper article including an instruction means, the instruction means being implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0403] These computer program instructions can also be loaded onto a computer or other programmable data processing equipment, causing the computer or other programmable equipment to perform a series of operational steps to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0404] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for processing of caller ID information before call, performed by a first server, characterized by, The method comprises the following steps: obtaining a first call request message of a calling terminal; in the case that the calling terminal subscribes to a pre-call service, sending a first Session Initiation Protocol (SIP) message to a called terminal according to the first call request message; wherein the first SIP message comprises calling related information that needs to be displayed by the called terminal in the current call and a pre-call service mark; after sending the first SIP message to the called terminal, the method further comprises the following steps: sending a second call request message to the called terminal after sending the first SIP message for n1 seconds; n1 is greater than or equal to 0; and / or, sending the second call request message to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal; the delivery report is used to indicate that the pre-call content synchronization is successful or the pre-call content synchronization fails; wherein, before sending the first SIP message to the called terminal, the method further comprises the following steps: receiving a second SIP message sent by the calling terminal; the second SIP message comprises real-time information set by the calling terminal and needs to be displayed by the called terminal in the current call, and a pre-call service mark; the first SIP message further comprises template information set by the calling terminal and needs to be displayed by the called terminal in the current call and the real-time information in the second SIP message.

2. The method of claim 1, wherein, The method of obtaining the first call request message of the calling terminal comprises the following steps: receiving the first call request message sent by the calling terminal; or, receiving the first call request message of the calling terminal forwarded by a first network device.

3. The method of claim 2, wherein, After sending the first SIP message to the called terminal, the method further comprises the following steps: sending a first response message to the first network device, so that the first network device sends a second call request message to the called terminal.

4. The method according to claim 1 or 3, characterized in that, The second call request message comprises a pre-call service mark.

5. The method of claim 1, wherein, According to the first call request message, the method of sending the first SIP message to the called terminal comprises the following steps: selecting calling related information that needs to be displayed by the called terminal in the current call from pre-set pre-call calling information configuration content according to the first call request message; encapsulating the calling related information that needs to be displayed by the called terminal in the current call in a message body of the first SIP message, and carrying the pre-call service mark in a header field of the first SIP message; sending the first SIP message to the called terminal.

6. The method of claim 5, wherein, The method further comprises the following steps: in the case that the calling terminal subscribes to a pre-call service, obtaining at least one set of pre-call calling information configuration content; performing a security audit on the pre-call calling information configuration content, and storing the pre-call calling information configuration content after the security audit is passed.

7. A method for processing of caller ID information before call, performed by a called terminal, characterized by, The method comprises the following steps: receiving a first SIP message sent by a first server; wherein the first SIP message comprises calling related information that needs to be displayed by a called terminal in the current call and a pre-call service mark; receiving a second call request message sent by the first server or a first network device; completing call media negotiation with a calling terminal according to the second call request message, sending a ring notification, and displaying calling related information in the first SIP message on a ring interface. The second call request message is sent by the first server to the called terminal after the first server receives a delivery report of the first SIP message sent by the called terminal, and the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure. And / or, The second call request message is sent by the first server to the called terminal after the first server receives a delivery report of the first SIP message sent by the called terminal, and the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure. The first SIP message further includes template information set by the calling terminal and real-time information in the second SIP message, which need to be displayed by the called terminal in the current call. The second SIP message is received by the first server from the calling terminal, and the second SIP message includes real-time information set by the calling terminal and a pre-call service mark, which need to be displayed by the called terminal in the current call.

8. The method of claim 7, wherein, The second call request message includes a pre-call service mark.

9. The method according to claim 7 or 8, characterized in that, According to the second call request message, the calling media negotiation with the calling terminal is completed, the ringing notification is sent, and the calling related information in the first SIP message is displayed on the ringing interface, including: According to the second call request message, the calling media negotiation with the calling terminal is completed; After the calling media negotiation is completed, the ringing notification is sent, and the calling related information in the first SIP message is displayed on the ringing interface after the called terminal completes the preparation of the pre-call calling related information.

10. The method of claim 7, wherein, The first SIP message further includes real-time information set by the calling terminal, which need to be displayed by the called terminal in the current call. The method further includes: The real-time information set by the calling terminal in the first SIP message is displayed on the ringing interface.

11. A method for processing calling information before a call, executed by the calling terminal, characterized in that, Including: After subscribing to the pre-call service with the first server, at least one set of pre-call calling information configuration content is configured with the first server; The pre-call calling information configuration content is audited by the first server; The first call request message for calling the called terminal is sent, so that the first server obtains the first call request message of the calling terminal, and in the case that the calling terminal subscribes to the pre-call service, the first server sends a first session initiation protocol (SIP) message to the called terminal according to the first call request message; wherein, after the first server sends the first SIP message to the called terminal, the first server is further used for: sending a second call request message to the called terminal after sending the first SIP message for n1 seconds; and / or, after receiving a delivery report of the first SIP message sent by the called terminal, sending the second call request message to the called terminal; wherein, n1 is greater than or equal to 0; the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure; wherein, the first SIP message includes calling related information and a pre-call service mark, which need to be displayed by the called terminal in the current call; Before the first call request message for calling the called terminal is sent, the method further includes: sending a second SIP message, the second SIP message including: real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service flag; The first SIP message further includes: template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

12. A method for processing of caller ID information before call, executed by a first network device, characterized in that, The method comprises: receiving a first call request message sent by a calling terminal; forwarding the first call request message to a first server; The first server is configured to, in a case where the calling terminal subscribes to a pre-call service, send a first SIP message to a called terminal according to the first call request message, wherein the first SIP message includes: calling-related information required to be displayed by the called terminal in the current call, and a pre-call service flag; sending a second call request message to the called terminal; The sending of the second call request message to the called terminal comprises: sending the second call request message to the called terminal in a case where a first response message fed back by the first server is received; and / or sending the second call request message to the called terminal after forwarding the first call request message to the first server for n2 seconds, wherein n2 is greater than or equal to 0; The first SIP message further includes: template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message. The second SIP message is received by the first server from the calling terminal, and the second SIP message includes: real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service flag.

13. A processing apparatus of calling line identification information, applied to a first server, characterized in that, The method comprises: a first obtaining module configured to obtain a first call request message of a calling terminal; a first sending module configured to, in a case where the calling terminal subscribes to a pre-call service, send a first SIP message to a called terminal according to the first call request message, wherein the first SIP message includes: calling-related information required to be displayed by the called terminal in the current call, and a pre-call service flag; a first request sending module configured to send a second call request message to the called terminal after sending the first SIP message for n1 seconds, wherein n1 is greater than or equal to 0; and / or sending the second call request message to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal, wherein the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure; a sixth receiving module configured to receive a second SIP message sent by the calling terminal, the second SIP message including: real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service flag; The first SIP message further includes: template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

14. A server, the server being a first server, comprising a processor and a transceiver that receives and transmits data under control of the processor, characterized in that, The processor is configured to perform the following operations: obtain a first call request message of a calling terminal; In a case that the calling terminal is subscribed to the pre-call service, a first Session Initiation Protocol (SIP) message is sent to the called terminal according to the first call request message; the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the current call, and a pre-call service flag; The processor is further configured to perform the following operations: The second call request message is sent to the called terminal after the first SIP message is sent for n1 seconds, where n1 is greater than or equal to 0; And / or, The second call request message is sent to the called terminal after the first server receives a delivery report of the first SIP message sent by the called terminal, where the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure; The processor is further configured to perform the following operations: The second SIP message sent by the calling terminal is received, and the second SIP message comprises: real-time information set by the calling terminal and needed to be displayed by the called terminal in the current call, and a pre-call service flag; The first SIP message further comprises: template information set by the calling terminal and needed to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

15. A processing apparatus of calling line identification information, applied to a called terminal, characterized in that, Comprise: The second receiving module is configured to receive a first SIP message sent by a first server, where the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the current call, and a pre-call service flag; The third receiving module is configured to receive a second call request message sent by the first server; The ringing display module is configured to complete call media negotiation with the calling terminal according to the second call request message, send a ringing notification, and display the calling related information in the first SIP message on a ringing interface; The second call request message is sent by the first server to the called terminal after the first SIP message is sent for n1 seconds, where n1 is greater than or equal to 0; And / or, The second call request message is sent by the first server to the called terminal after the first server receives a delivery report of the first SIP message sent by the called terminal, where the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure; The first SIP message further comprises: template information set by the calling terminal and needed to be displayed by the called terminal in the current call, and the real-time information in the second SIP message. The second SIP message is received by the first server, and the second SIP message comprises: real-time information set by the calling terminal and needed to be displayed by the called terminal in the current call, and a pre-call service flag.

16. A terminal, which is a called terminal, comprising a processor and a transceiver that receives and transmits data under the control of the processor, characterized by, The processor is configured to perform the following operations: A first SIP message sent by a first server is received, where the first SIP message comprises: calling related information which needs to be displayed by the called terminal in the current call, and a pre-call service flag; A second call request message sent by the first server or a first network device is received; Call media negotiation with the calling terminal is completed according to the second call request message, a ringing notification is sent, and the calling related information in the first SIP message is displayed on a ringing interface; The second call request message is sent by the first server to the called terminal after the first server sends the first SIP message for n1 seconds, where n1 is greater than or equal to 0. And / or, The second call request message is sent by the first server to the called terminal after the first server receives a delivery report of the first SIP message sent by the called terminal, where the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure. The first SIP message further includes template information set by the calling terminal and real-time information in the second SIP message, which need to be displayed by the called terminal in the current call. The second SIP message is received by the first server from the calling terminal, and the second SIP message includes real-time information set by the calling terminal and a pre-call service mark, which need to be displayed by the called terminal in the current call.

17. A processing apparatus of calling line identification information, applied to a calling terminal, characterized in that, Comprising: A configuration module, configured to, after signing a pre-call service with a first server, configure at least one set of pre-call calling information configuration content with the first server; The first server performs security audit on the pre-call calling information configuration content; A third sending module, configured to send a first call request message for calling a called terminal, so that the first server acquires the first call request message of the calling terminal, and in a case where the calling terminal signs a pre-call service, the first server sends a first Session Initiation Protocol (SIP) message to the called terminal according to the first call request message; wherein, after the first server sends the first SIP message to the called terminal, the first server is further configured to: send a second call request message to the called terminal after sending the first SIP message for n1 seconds; and / or, send the second call request message to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal; wherein, n1 is greater than or equal to 0; the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure; wherein, the first SIP message includes calling related information set by the calling terminal and a pre-call service mark, which need to be displayed by the called terminal in the current call; An eighth sending module, configured to send a second SIP message, which includes real-time information set by the calling terminal and a pre-call service mark, which need to be displayed by the called terminal in the current call; The first SIP message further includes template information set by the calling terminal and real-time information in the second SIP message, which need to be displayed by the called terminal in the current call.

18. A terminal, which is a calling terminal, comprising a processor and a transceiver that receives and transmits data under the control of the processor, characterized by, The processor is configured to perform the following operations: After signing a pre-call service with a first server, configure at least one set of pre-call calling information configuration content with the first server; and perform security audit on the pre-call calling information configuration content by the first server. sending a first call request message for calling a called terminal, so that the first server acquires the first call request message of the calling terminal, and in a case that the calling terminal subscribes to a pre-call service, the first server sends a first Session Initiation Protocol (SIP) message to the called terminal according to the first call request message; wherein after the first server sends the first SIP message to the called terminal, the first server is further configured to: send a second call request message to the called terminal after n1 seconds of sending the first SIP message; and / or send the second call request message to the called terminal after receiving a delivery report of the first SIP message sent by the called terminal; wherein n1 is greater than or equal to 0; the delivery report is used to indicate pre-call content synchronization success or pre-call content synchronization failure; wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service flag; before the sending of the first call request message for calling the called terminal, sending a second SIP message, wherein the second SIP message comprises: real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service flag; wherein the first SIP message further comprises: template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message.

19. A processing apparatus of calling line identification information, executed by a first network device, characterized by, comprises: a fourth receiving module configured to receive a first call request message sent by a calling terminal; a forwarding module configured to forward the first call request message to a first server; the first server is configured to, in a case that the calling terminal subscribes to a pre-call service, send a first Session Initiation Protocol (SIP) message to the called terminal according to the first call request message; wherein the first SIP message comprises: calling related information required to be displayed by the called terminal in the current call, and a pre-call service flag; a fourth sending module configured to send a second call request message to the called terminal; the fourth sending module is further configured to: send the second call request message to the called terminal in a case that a first response message fed back by the first server is received; and / or send the second call request message to the called terminal after n2 seconds of forwarding the first call request message to the first server; n2 is greater than or equal to 0; wherein the first SIP message further comprises: template information set by the calling terminal and required to be displayed by the called terminal in the current call, and the real-time information in the second SIP message; the second SIP message is received by the first server from the calling terminal, and the second SIP message comprises: real-time information set by the calling terminal and required to be displayed by the called terminal in the current call, and a pre-call service flag. 20.A network device, the network device being a first network device, comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, characterized in that, the processor is configured to perform the following operations: receive a first call request message sent by a calling terminal; forward the first call request message to a first server; the first server is configured to send a first Session Initiation Protocol (SIP) message to a called terminal according to the first call request message in a case that a calling terminal subscribes to a pre-call service; the first SIP message comprises: calling related information which needs to be displayed by the called terminal in a current call, and a pre-call service flag; send a second call request message to the called terminal; the processor is further configured to perform the following operations: send the second call request message to the called terminal in a case that a first response message fed back by the first server is received; and / or, send the 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 first SIP message further comprises: template information set by the calling terminal which needs to be displayed by the called terminal in the current call, and real-time information in a second SIP message; the second SIP message is sent by the first server and received by the calling terminal; the second SIP message comprises: real-time information set by the calling terminal which needs to be displayed by the called terminal in the current call, and the pre-call service flag.

21. 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 pre-call calling information processing method according to any one of claims 1-6 when executing the program; or the processor implements the pre-call calling information processing method according to any one of claims 7-10 when executing the program; or the processor implements the pre-call calling information processing method according to claim 11 when executing the program; or the processor implements the pre-call calling information processing method according to claim 12 when executing the program.

22. A computer readable storage medium having stored thereon a computer program, characterized in that, the processor implements the steps in the pre-call calling information processing method according to any one of claims 1-6 when executing the program; or the processor implements the steps in the pre-call calling information processing method according to any one of claims 7-10 when executing the program; or the processor implements the steps in the pre-call calling information processing method according to claim 11 when executing the program; or the processor implements the steps in the pre-call calling information processing method according to claim 12 when executing the program.

Citation Information

Patent Citations

  • Caller identification method, terminal and computer storage medium

    CN110650251A

  • Method for providing position of caller to receiver before communication between the caller and the receiver

    KR1020090050146A