Method for sending and receiving real phone number, device and electronic device
The method of sending rich media messages through the message platform solves the problem of obtaining the other party's real phone number after the intermediate number is invalid, and realizes the convenience of instantly obtaining the other party's phone number.
Patent Information
- Application Number
- CN202410542829.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2044-04-30
AI Technical Summary
After the telephone call is over and the intermediate number is released to the number pool, it is troublesome to obtain the other party's real phone number, which makes it impossible for both parties to communicate in time.
Send rich media messages through the messaging platform, including call identifiers and trigger elements, and after triggering, the other party's real phone number is obtained and sent.
It is convenient for both parties to obtain the other party’s real phone number in a timely manner after the intermediate number expires, improving the acquisition experience.
Smart Images

Figure CN118301247B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a method for sending and receiving a real telephone number, a device, and an electronic device. Background Art
[0002] Currently, in order to protect the privacy of both parties, the two parties can conduct the telephone conversation through an intermediate number.
[0003] In related technologies, after a phone call ends, the intermediate number is released to a number pool for reassignment and reuse. However, if one party needs to contact the other party again due to an emergency, it is difficult for them to obtain the other party's real phone number, making it difficult for the two parties to contact each other in a timely manner. Summary of the Invention
[0004] The present disclosure provides a method for sending, a method for receiving, an apparatus and an electronic device for sending a real telephone number.
[0005] In a first aspect, the present disclosure provides a method for sending a real phone number, which is applied to a message platform, the method comprising: sending a first rich media message to a first terminal, wherein the first rich media message is sent after the first terminal and the second terminal complete a call through an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining the real phone number of the second terminal; receiving an acquisition request sent by the first terminal, wherein the acquisition request includes: the call identifier and the real phone number of the first terminal, and the acquisition request is sent after the trigger element is triggered; obtaining the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal; sending a second rich media message to the first terminal, wherein the second rich media message includes: the real phone number of the second terminal.
[0006] In a second aspect, the present disclosure provides a method for receiving a real telephone number, which is applied to a first terminal, the method comprising: receiving a first rich media message sent by a message platform, wherein the first rich media message is sent by the message platform after determining that the first terminal and the second terminal complete the call through an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal; after the trigger element is triggered, sending an acquisition request to the message platform, wherein the acquisition request includes: the call identifier and the real telephone number of the first terminal; receiving and displaying a second rich media message returned by the message platform, wherein the second rich media message includes: the real telephone number of the second terminal, and the real telephone number of the second terminal is obtained by the message platform based on the call identifier and the real telephone number of the first terminal.
[0007] In a third aspect, the present disclosure provides a device for sending a real telephone number, which is applied to a message platform, and the device includes: a first sending module, used to send a first rich media message to a first terminal, wherein the first rich media message is sent after the first terminal and the second terminal complete the call through an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal; a receiving module, used to receive an acquisition request sent by the first terminal, wherein the acquisition request includes: the call identifier and the real telephone number of the first terminal, and the acquisition request is sent after the trigger element is triggered; an acquisition module, used to obtain the real telephone number of the second terminal based on the call identifier and the real telephone number of the first terminal; a second sending module, used to send a second rich media message to the first terminal, wherein the second rich media message includes: the real telephone number of the second terminal.
[0008] In a fourth aspect, the present disclosure provides a device for receiving a real telephone number, which is applied to a first terminal, and the device includes: a first receiving module, for receiving a first rich media message sent by a message platform, wherein the first rich media message is sent by the message platform after determining that the first terminal and the second terminal complete the call through an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal; a first sending module, for sending an acquisition request to the message platform after the trigger element is triggered, wherein the acquisition request includes: the call identifier and the real telephone number of the first terminal; a processing module, for receiving and displaying a second rich media message returned by the message platform, wherein the second rich media message includes: the real telephone number of the second terminal, and the real telephone number of the second terminal is obtained by the message platform based on the call identifier and the real telephone number of the first terminal.
[0009] In a fifth aspect, the present disclosure provides an electronic device comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method for sending a real telephone number and the method for receiving a real telephone number disclosed in the embodiments of the present disclosure.
[0010] In a sixth aspect, the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the method for sending a real telephone number and the method for receiving a real telephone number disclosed in the embodiments of the present disclosure.
[0011] In a seventh aspect, the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the method for sending a real telephone number and the method for receiving a real telephone number disclosed in the embodiments of the present disclosure.
[0012] The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:
[0013] After the first and second terminals complete the call through the intermediate number and the intermediate number is released, the messaging platform sends a first rich media message to the first terminal, wherein the first rich media message carries a trigger element for obtaining the real phone number of the second terminal. Correspondingly, after the first trigger element is triggered, the messaging platform obtains the real phone number of the second terminal based on the call identifier corresponding to the call and the real phone number of the first terminal, and sends a second rich media message carrying the real phone number of the second terminal to the first terminal. As a result, the corresponding user can obtain the real phone number of the other party they have communicated with based on the intermediate number by triggering the trigger element in the first rich media message, which facilitates the acquisition of the real phone number of the other party and improves the user experience of obtaining the real phone number of the other party. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0015] Figure 1 The present invention is a flowchart of a method for sending a real telephone number according to an exemplary embodiment;
[0016] Figure 2 is a flow chart of another method for sending a real telephone number according to an exemplary embodiment;
[0017] Figure 3 This is a flowchart of the interactions between the 5G messaging platform, the intermediary number platform, the call initiation platform, the calling terminal, and the called terminal.
[0018] Figure 4 is a flow chart showing a method for receiving a real telephone number according to an exemplary embodiment;
[0019] Figure 5 A message interaction interface including a first 5G message;
[0020] Figure 6 A message interaction interface including the second to fifth 5G messages;
[0021] Figure 7 1 is a schematic structural diagram of a device for sending a real telephone number according to an exemplary embodiment;
[0022] Figure 8 1 is a schematic structural diagram of a device for receiving a real telephone number according to an exemplary embodiment;
[0023] Figure 9 FIG1 is a structural diagram of a real telephone number transmission system according to an exemplary embodiment;
[0024] Figure 10 The figure is a structural block diagram of an electronic device according to an exemplary embodiment.
[0025] The above drawings illustrate specific embodiments of the present disclosure, which will be described in more detail below. These drawings and textual descriptions are not intended to limit the scope of the present disclosure in any way, but rather to illustrate the concepts of the present disclosure to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0026] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0027] The following detailed description of the technical solution of the present disclosure and how the technical solution of the present disclosure solves the above-mentioned technical problems is provided with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The embodiments of the present disclosure will be described below in conjunction with the accompanying drawings.
[0028] First combine Figure 1 , an exemplary description is given of the method for sending a real telephone number provided in an embodiment of the present disclosure.
[0029] Figure 1 The figure is a flow chart showing a method for sending a real telephone number according to an exemplary embodiment.
[0030] It should be noted that the method for sending a real phone number provided in the embodiments of the present disclosure can be performed by a device for sending a real phone number, wherein the device for sending a real phone number can be implemented by software and / or hardware. The device for sending a real phone number can be an electronic device, or configured in an electronic device.
[0031] The electronic device may be any device with computing capabilities, such as a server, etc. The server may be, for example, a message platform or a server involved in message processing in the message platform.
[0032] It should be noted that, in this embodiment, the execution subject of the method for sending a real telephone number is taken as an example to illustrate the message platform.
[0033] like Figure 1As shown, the method for sending the real phone number includes the following steps:
[0034] Step 101: Send a first rich media message to the first terminal, wherein the first rich media message is sent after the first terminal and the second terminal complete the call through the intermediate number and the intermediate number is released. The first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal.
[0035] As an example, when the first rich media message is displayed in the form of a message card, the first trigger element may be a triggerable button in the message card, where the triggerable button corresponds to obtaining the real phone number of the second terminal. Accordingly, the user of the first terminal can trigger the trigger button to send a request to the messaging platform for obtaining the real phone number of the second terminal.
[0036] In this example, the first terminal and the second terminal refer to terminal devices that can communicate with the messaging platform, such as personal computers (PCs) and mobile terminals. Mobile terminals can be, for example, in-vehicle devices, mobile phones, tablet computers, personal digital assistants, wearable devices, and other hardware devices with various operating systems, touch screens and / or displays, and capable of sending and receiving rich media messages.
[0037] In one embodiment of the present disclosure, when the message platform is a 5G message platform, the rich media messages involved in this embodiment can all be 5G messages.
[0038] In one embodiment of the present disclosure, the first rich media message is sent after the message platform learns from the intermediate number platform that the first terminal and the second terminal complete the call through the intermediate number and the intermediate number is released.
[0039] Step 102: Receive an acquisition request sent by the first terminal, wherein the acquisition request includes: a call identifier and a real phone number of the first terminal, and the acquisition request is sent after the trigger element is triggered.
[0040] The acquisition request is used to request the real telephone number of the second terminal.
[0041] Step 103: Acquire the real telephone number of the second terminal according to the call identifier and the real telephone number of the first terminal.
[0042] In one embodiment of the present disclosure, in order to quickly obtain the real telephone number of the second terminal, the call record corresponding to the call identifier can be obtained in the local storage, and the real telephone number of the second terminal can be obtained from the call record based on the real telephone number of the first terminal, wherein the call record includes the call identifier of the current call, the real telephone number of the first terminal, the intermediate number and the real telephone number of the called terminal, wherein the call record is sent by the intermediate number platform after determining that the first terminal and the second terminal have completed the current call through the intermediate number and the intermediate number has been released. Thus, the message platform can quickly obtain the real telephone number corresponding to the second terminal through the locally stored call record.
[0043] In one embodiment of the present disclosure, in order to improve the accuracy of the obtained real telephone number of the second terminal, before obtaining the real telephone number of the second terminal from the locally stored call records, a verification request can also be sent to the intermediate number platform, wherein the verification request is used to request verification of the call records; a verification response returned by the intermediate number platform is received, and when the verification response indicates that the call record has passed the verification, the real telephone number of the second terminal is obtained from the call record based on the call identifier and the real telephone number of the first terminal.
[0044] It can be understood that when the verification response indicates that the call record fails the verification, the message platform can obtain the real phone number of the second terminal from the intermediate number platform based on the call identifier and the real phone number of the first terminal.
[0045] It should be noted that the intermediary number platform also stores the above call records. In other words, the intermediary number platform also stores the call records.
[0046] In one embodiment of the present disclosure, in order to reduce the storage space occupied by storing the above-mentioned call records, the above-mentioned intermediate number platform may set a corresponding storage validity period for the call records. Correspondingly, when the intermediate number platform detects that the storage time of the call record reaches the storage validity period, the intermediate number platform will delete the call record.
[0047] It should be noted that the storage validity period is pre-set according to demand. For example, the storage validity period can be 30 days, 60 days or 45 days, etc. This embodiment does not specifically limit this.
[0048] Step 104: Send a second rich media message to the first terminal, wherein the second rich media message includes: the real telephone number of the second terminal.
[0049] The method for sending a real phone number provided by the embodiment of the present disclosure is that after a first terminal and a second terminal complete a call through an intermediate number and the intermediate number is released, the message platform sends a first rich media message to the first terminal, wherein the first rich media message carries a trigger element for obtaining the real phone number of the second terminal. Correspondingly, after the first trigger element is triggered, the message platform obtains the real phone number of the second terminal based on the call identifier corresponding to the current call and the real phone number of the first terminal, and sends a second rich media message carrying the real phone number of the second terminal to the first terminal. As a result, the corresponding user can obtain the real phone number of the other party with whom he has communicated based on the intermediate number by triggering the trigger element in the first rich media message, which facilitates the acquisition of the real phone number of the other party and improves the experience of obtaining the real phone number of the other party.
[0050] Figure 2 The figure is a flow chart of another method for sending a real telephone number according to an exemplary embodiment.
[0051] like Figure 2 As shown, the method for sending the real phone number includes the following steps:
[0052] Step 201: Send a first rich media message to the first terminal, wherein the first rich media message is sent after the first terminal and the second terminal complete the call through the intermediate number and the intermediate number is released. The first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal.
[0053] Step 202: Receive an acquisition request sent by the first terminal, wherein the acquisition request includes: a call identifier and a real phone number of the first terminal, and the acquisition request is sent after the trigger element is triggered.
[0054] It should be noted that, for the specific description of step 201 and step 202, reference can be made to the relevant descriptions in other embodiments of the present disclosure, which will not be repeated here.
[0055] Step 203: Send a third rich media message to the first terminal, wherein the third rich media message is used to prompt the first terminal to provide a reason for knowing the real telephone number of the second terminal.
[0056] Step 204: Receive a fourth rich media message sent by the first terminal, wherein the fourth rich media message carries reason information.
[0057] Step 205: Determine the corresponding target scenario based on the reason information.
[0058] In one embodiment of the present disclosure, scenario analysis may be performed on the reason information to obtain a corresponding target scenario.
[0059] In order to more accurately determine the corresponding target scenario, the corresponding target scenario may be determined based on the platform information and reason information of the platform to which the intermediate number belongs to initiate the call.
[0060] Specifically, a scenario analysis may be performed on the platform information and reason information of the call initiating platform corresponding to the intermediate number to obtain the corresponding target scenario.
[0061] Step 206 , determining whether the target scene exists in the preset scene set, if so, executing steps 207 and 213 , if not, executing step 208 .
[0062] Among them, the preset scene set includes scenes that can directly provide real phone numbers.
[0063] Step 207: Acquire the real telephone number of the second terminal according to the call identifier and the real telephone number of the first terminal.
[0064] For the detailed description of step 207, please refer to the relevant description in other embodiments of the present disclosure, which will not be repeated here.
[0065] Step 208: Send an authorization request to the call initiating platform, wherein the authorization request is used to instruct the call initiating platform to confirm whether the target scenario has the authority to share the real phone number of the second terminal.
[0066] Step 209: Receive the authorization response returned by the platform that initiated the call.
[0067] Step 210, when the authorization response indicates that the call initiating platform confirms that the target scenario has the authority to share the real phone number of the second terminal, sends a fifth rich media message to the second terminal, wherein the fifth rich media message is used to instruct the second terminal to confirm whether it is willing to provide the real phone number of the second terminal to the first terminal.
[0068] In one embodiment of the present disclosure, when the authorization response indicates that the call initiating platform confirms that the target scenario does not have the authority to share the real phone number of the second terminal, the messaging platform may send a second target rich media message containing second prompt information to the terminal device, wherein the second prompt information is used to prompt that it does not have the authority to share the real phone number of the second terminal.
[0069] In the case where the target scenario is a scenario where a merchant inquires about a customer's real phone number, the target scenario does not have the authority to share the real phone number of the second terminal.
[0070] Step 211: Receive a sixth rich media message sent by the second terminal.
[0071] The sixth rich media message is used to indicate whether the second terminal is willing to provide the real telephone number of the second terminal to the first terminal.
[0072] Step 212: When the sixth rich media message indicates that the second terminal is willing to provide the real phone number of the second terminal to the first terminal, obtain the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal.
[0073] In one embodiment of the present disclosure, when the sixth rich media message indicates that the second terminal is unwilling to provide the second terminal's real phone number to the first terminal, a third target rich media message containing third prompt information is sent to the first terminal, wherein the third prompt information is used to prompt the second terminal that it is unwilling to provide the real phone number.
[0074] Step 213: Send a second rich media message to the first terminal, wherein the second rich media message includes: the real telephone number of the second terminal.
[0075] Based on the above description, it can be seen that in this embodiment, the corresponding terminal interacts with the message platform to easily obtain the real telephone number of the communication counterpart previously called based on the intermediate number, which makes it convenient for the communicating parties to know each other's real telephone number after the intermediate number expires.
[0076] In order to clearly understand the present disclosure, Figure 3 The method of this embodiment is described exemplarily. Figure 3 In the description, an example is given with the message platform being a 5G message platform, the first terminal being a called terminal, and the second terminal being a calling terminal.
[0077] Figure 3 This is a flowchart of the interaction between the 5G messaging platform, the intermediary number platform, the call initiating platform, the calling terminal, and the called terminal.
[0078] like Figure 3 As shown, the method may include:
[0079] Step 301: The calling terminal sends a call request to a call initiating platform, wherein the call request is used to request a telephone call with the called terminal.
[0080] Among them, the call initiating platform generally refers to the software, application or system that provides the call function and allows users to initiate calls from it.
[0081] In one embodiment, the calling terminal initiates a call request to the called terminal from the initiating call platform due to product, service, or business needs. For example, if the initiating call platform is a recruitment platform, HR can contact job seekers through the recruitment platform; or if the initiating call platform is a ride-hailing platform, drivers can contact passengers through the ride-hailing platform.
[0082] Step 302: After receiving the call request, the call initiating platform sends an intermediate number service request to the intermediate number platform, so that the intermediate number platform allocates corresponding call identification IDs for the calling terminal and the received terminal for this call.
[0083] In step 303, the intermediate number platform binds an intermediate number to the calling terminal and the called terminal according to the real telephone number of the calling terminal and the real telephone number of the called terminal provided by the call initiating platform and the preset intermediate number service mode.
[0084] In this embodiment, the intermediate number platform can obtain the number pool allocated to the call initiating platform and obtain an intermediate number from the number pool.
[0085] It can be understood that the intermediate number can also be called an intermediate virtual number.
[0086] Among them, the number pool includes a large number of unused intermediate numbers.
[0087] In this example, the intermediary number platform can obtain the real telephone number of the calling terminal and the real telephone number of the called terminal from the intermediary number service request.
[0088] Step 304: The calling terminal and the called terminal communicate via the intermediate number.
[0089] It is understandable that after the intermediate number binding is completed, the calling terminal completes dialing the called terminal, and both parties display the other party's number as the allocated intermediate number.
[0090] It should be noted that, generally speaking, after the call service is completed, the intermediate number becomes invalid and is released to the number pool for reallocation and use.
[0091] It should be noted that in the process of the intermediate number platform controlling the call between the calling terminal and the called terminal based on the intermediate number, please refer to the relevant description in the relevant technology, which will not be repeated here.
[0092] In step 305, the intermediate number platform sends the call record of the call between the calling terminal and the called terminal to the 5G message platform.
[0093] In this example, after the intermediate number platform determines that the call between the calling terminal and the called terminal is completed through the intermediate number and the intermediate number is released to the number pool, the intermediate number platform can send the call record of this call to the 5G message platform.
[0094] In one example, in order to ensure the security of communication between the two, the intermediate number platform can synchronize the call records of this call to the 5G message platform through an encrypted interface.
[0095] The call record includes a call identification ID, an intermediate number, the real phone number of the calling terminal, and the real phone number of the called terminal.
[0096] As an example, the intermediary number platform can store call records for 30 days.
[0097] In step 306, the intermediate number platform generates the first 5G message to be sent to the calling terminal based on the call record of this call and the preset 5G message template, and sends the first 5G message to the calling terminal.
[0098] In this example, a 5G message template corresponding to the call initiating platform can be obtained, and the corresponding content in the call record can be automatically added to the 5G message template to generate the first 5G message sent to the calling terminal.
[0099] Among them, the first 5G message includes: a trigger button for obtaining the real telephone number of the called terminal.
[0100] In step 307, the intermediate number platform generates a second 5G message to be sent to the called terminal based on the call record of this call and the preset 5G message template, and sends the second 5G message to the called terminal.
[0101] In this example, a 5G message template corresponding to the call initiating platform can be obtained, and the corresponding content in the call record can be automatically added to the 5G message template to generate a second 5G message sent to the called terminal.
[0102] In step 308, the trigger button for obtaining the real telephone number of the calling terminal in the second 5G message is triggered, and the called terminal sends an acquisition request to the 5G message platform, wherein the acquisition request is used to request to obtain the real telephone number of the calling terminal.
[0103] In step 309, the 5G message platform obtains the reason information of the called terminal obtaining the called terminal, and determines the corresponding target scenario based on the reason information.
[0104] In step 310, when it is determined that the preset scenario in which the real phone number can be directly used matches the target scenario, the 5G message platform can obtain the real phone number of the calling terminal from the call record and provide the real phone number of the calling terminal to the called terminal.
[0105] In step 311, when it is determined that the preset scenario in which the real phone number can be directly shared does not match the target scenario, the 5G message platform may send an authorization request to the platform initiating the call, wherein the authorization request is used to instruct the platform initiating the call to confirm whether the target scenario has the authority to share the real phone number of the second terminal.
[0106] It should be noted that before sending an authorization request to the call initiating platform, the 5G message platform can also send a verification request to the intermediate number platform, where the verification request is used to request verification of the call records, receive the verification response returned by the intermediate number platform, and send an authorization request to the call initiating platform when the verification response indicates that the call record has passed the verification.
[0107] In step 312, the 5G messaging platform receives the authorization response returned by the platform that initiated the call.
[0108] Step 313, when the authorization response indicates that the call initiating platform confirms that the target scenario has the authority to share the real phone number of the calling terminal, a third 5G message is sent to the calling terminal, wherein the third 5G message is used to instruct the calling terminal to confirm whether it is willing to provide its real phone number to the called terminal.
[0109] In one embodiment of the present disclosure, when the authorization response indicates that the call initiating platform confirms that the target scenario does not have the authority to share the real phone number of the calling terminal, a corresponding prompt message can be returned to the called terminal via a 5G message to indicate that the reason for not obtaining the real phone number is that the call initiating platform confirms that the target scenario does not have the authority to share the real phone number of the calling terminal.
[0110] Step 314: Receive the fourth 5G message sent by the calling terminal.
[0111] Among them, the fourth 5G message is used to indicate whether the calling terminal is willing to provide its real phone number to the first terminal.
[0112] Step 315. When the fourth 5G message indicates that the calling terminal is willing to provide its real telephone number to the called terminal, the real telephone number of the calling terminal is obtained according to the call identifier and the real telephone number of the first terminal, and the real telephone number of the calling terminal is returned to the called terminal.
[0113] Among them, the specific implementation method of obtaining the real telephone number of the calling terminal according to the call identifier and the real telephone number of the first terminal can be found in the relevant description in other embodiments and will not be repeated here.
[0114] It should be noted that the real telephone number of the calling terminal can be returned to the called terminal via 5G messages.
[0115] Among them, it should be noted that when the fourth 5G message indicates that the calling terminal is unwilling to provide the real telephone number of the calling terminal to the called terminal, the corresponding prompt information can be returned to the called terminal via a 5G message to prompt that the reason for not obtaining the real telephone number is that the calling terminal is willing to provide the real telephone number.
[0116] Figure 4 The figure is a flow chart of a method for receiving a real telephone number according to an exemplary embodiment.
[0117] It should be noted that the method for receiving a real phone number provided in the embodiments of the present disclosure can be performed by a device for sending a real phone number, wherein the device for sending a real phone number can be implemented by software and / or hardware. The device for sending a real phone number can be an electronic device, or can be configured in an electronic device.
[0118] The electronic device may be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, etc. The mobile terminal may be, for example, an in-vehicle device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, a touch screen and / or a display screen, and capable of sending and receiving rich media messages.
[0119] It should be noted that, in this embodiment, the method for receiving a real telephone number is described illustratively by taking the first terminal as an example.
[0120] like Figure 4 As shown, the method for receiving the real telephone number includes the following steps:
[0121] Step 401: Receive a first rich media message sent by a message platform, wherein the first rich media message is sent by the message platform after determining that the first terminal and the second terminal complete the call through the intermediate number and the intermediate number is released. The first rich media message includes: a call identifier of the call and a trigger element for obtaining the real phone number of the second terminal.
[0122] Step 402: After the trigger element is triggered, an acquisition request is sent to the message platform, wherein the acquisition request includes: a call identifier and the real phone number of the first terminal.
[0123] Step 403: Receive and display the second rich media message returned by the message platform, wherein the second rich media message includes: the real phone number of the second terminal, which is obtained by the message platform based on the call identifier and the real phone number of the first terminal.
[0124] It should be noted that the aforementioned explanation of the method for sending a real phone number is also applicable to the method for receiving a real phone number in this embodiment, and will not be repeated here.
[0125] In a method for receiving a real phone number provided in an embodiment of the present disclosure, a first terminal receives a first rich media message sent by a messaging platform and, by triggering a trigger element in the first rich media message for obtaining the real phone number of the second terminal, obtains the real phone number of the second terminal from the messaging platform. This allows the first terminal to conveniently obtain the real phone number of the second terminal it has called via an intermediary number by interacting with the messaging platform, facilitating the acquisition of the other party's real phone number and improving the user experience of obtaining the other party's real phone number.
[0126] Based on the above embodiments, in order to enable the message platform to better understand whether the corresponding scenario is suitable for providing the real telephone number of the second terminal, the first terminal can also receive a third rich media message sent by the message platform, wherein the third rich media message is used to prompt the first terminal to provide a reason for knowing the real telephone number of the second terminal; and send a fourth rich media message to the message platform, wherein the fourth rich media message carries reason information, so that the message platform determines the corresponding target scenario based on the reason information, and provides the real telephone number of the second terminal to the first terminal when it is determined that the real telephone number of the second terminal can be provided under the target scenario.
[0127] In one embodiment of the present disclosure, the first terminal may also receive a fifth rich media message sent by the message platform, wherein the fifth rich media message is used to indicate whether the first terminal is willing to provide its real phone number to the second terminal, and send a sixth rich media message to the message platform, wherein the sixth rich media message is used to indicate whether the first terminal is willing to provide its real phone number to the second terminal, so that the message platform performs subsequent processing based on the sixth rich media message.
[0128] For example, the message platform is a 5G message platform. Correspondingly, after the intermediate number platform determines that the first terminal has ended the call with the second terminal through the intermediate number and the intermediate number is released, the 5G message platform sends a first 5G message to the first terminal. Correspondingly, the first terminal receives and displays the first 5G message, wherein the message interaction interface including the first 5G message is as follows: Figure 5As shown, it should be noted that the trigger button containing the text "I want to contact the other party's real number" is the trigger element for obtaining the second terminal. Correspondingly, after the user of the first terminal clicks the trigger button, the first terminal can send a second 5G message with the content "I want to contact the other party's real number" to the 5G message platform. The 5G message platform sends a third 5G message to the first terminal for providing the reason for knowing the real number. Correspondingly, the first terminal sends a fourth 5G message containing the reason information for knowing the real phone number to the 5G message platform. Correspondingly, the 5G message platform returns a fifth 5G message containing the real phone number of the second terminal to the first terminal device. Among them, the message interaction interface containing the second 5G message to the fifth 5G message is as follows: Figure 6 As shown. Figure 6 As can be seen, the third 5G message reads, "Received your request. Please explain the reason for contacting the other party? This will facilitate the platform's assessment of whether to provide you with their real number." The fourth 5G message contains the reason: "My belongings were left in the driver's car." The fifth 5G message reads, "Understood. You can call the other party's real number: 139XXXX35XX."
[0129] It should be noted that the message interaction interface including the second to fifth 5G messages may also include the first 5G message. Due to the limited screen size of the first terminal, Figure 6 It only illustrates the second to fifth 5G messages contained in the message interaction interface, and does not illustrate the first 5G message in the message interaction interface.
[0130] Figure 7 The figure is a schematic structural diagram of a device for sending a real telephone number according to an exemplary embodiment.
[0131] It should be noted that the device for sending the real telephone number is used in the message platform.
[0132] like Figure 7 As shown, the real phone number sending device 700 may include:
[0133] The first sending module 701 is used to send a first rich media message to the first terminal, wherein the first rich media message is sent after the first terminal and the second terminal complete the call through the intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal.
[0134] The receiving module 702 is configured to receive an acquisition request sent by the first terminal, wherein the acquisition request includes: a call identifier and a real phone number of the first terminal, and the acquisition request is sent after the triggering element is triggered.
[0135] The acquisition module 703 is configured to acquire the real telephone number of the second terminal according to the call identifier and the real telephone number of the first terminal.
[0136] The second sending module 704 is configured to send a second rich media message to the first terminal, wherein the second rich media message includes: a real phone number of the second terminal.
[0137] In one embodiment of the present disclosure, the apparatus may further include:
[0138] A third sending module is configured to send a third rich media message to the first terminal, wherein the third rich media message is used to prompt the first terminal to provide a reason for knowing the real telephone number of the second terminal;
[0139] The receiving module 702 is further configured to receive a fourth rich media message sent by the first terminal, wherein the fourth rich media message carries reason information;
[0140] A determination module, used to determine the corresponding target scenario based on the reason information;
[0141] The acquisition module 703 is specifically used to obtain the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal when the target scenario exists in the preset scenario set, wherein the scenario set includes scenarios that can directly provide real phone numbers.
[0142] In one embodiment of the present disclosure, the apparatus may further include:
[0143] a fourth sending module, configured to send an authorization request to the call initiating platform when the target scenario does not exist in the preset scenario set, wherein the authorization request is used to instruct the call initiating platform to confirm whether the target scenario has the authority to share the real phone number of the second terminal;
[0144] The receiving module 702 is further configured to receive an authorization response returned by the call initiating platform;
[0145] The acquisition module 703 is specifically configured to acquire the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal when the authorization response indicates that the call initiating platform confirms that the target scenario has the authority to share the real phone number of the second terminal.
[0146] In one embodiment of the present disclosure, when the authorization response indicates that the platform initiating the call confirms that the target scenario has the authority to share the real phone number of the second terminal, the real phone number of the second terminal is obtained according to the call identifier and the real phone number of the first terminal, including: when the authorization response indicates that the platform initiating the call confirms that the target scenario has the authority to share the real phone number of the second terminal, sending a fifth rich media message to the second terminal, wherein the fifth rich media message is used to indicate whether the second terminal confirms whether it is willing to provide the real phone number of the second terminal to the first terminal; receiving a sixth rich media message sent by the second terminal; when the sixth rich media message indicates that the second terminal is willing to provide the real phone number of the second terminal to the first terminal, obtaining the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal.
[0147] In one embodiment of the present disclosure, the apparatus may further include:
[0148] a storage module configured to receive and store a call record sent by the intermediary number platform before the first sending module 701 sends the first rich media message to the first terminal, wherein the call record includes: a call identifier, an intermediary number, the real telephone number of the first terminal, and the real telephone number of the second terminal. The call record is sent by the intermediary number platform after determining that the first terminal and the second terminal have completed the call through the intermediary number;
[0149] The acquisition module 703 is specifically configured to acquire the real telephone number of the second terminal from the call record based on the call identifier and the real telephone number of the first terminal.
[0150] In one embodiment of the present disclosure, the apparatus may further include:
[0151] The verification module is used to send a verification request to the intermediate number platform, wherein the verification request is used to request verification of the call record; receive the verification response returned by the intermediate number platform,
[0152] In a case where the verification response indicates that the call record passes the verification, the real telephone number of the second terminal is obtained from the call record based on the call identifier and the real telephone number of the first terminal.
[0153] It should be noted that the aforementioned description of the embodiment of the method for sending a real telephone number is also applicable to the device for sending a real telephone number in this embodiment, and will not be repeated here.
[0154] The device for sending a real phone number provided by the embodiment of the present disclosure is configured to send a first rich media message to the first terminal after a call is completed between a first terminal and a second terminal through an intermediate number and the intermediate number is released, wherein the first rich media message carries a trigger element for obtaining the real phone number of the second terminal. Correspondingly, after the first trigger element is triggered, the real phone number of the second terminal is obtained based on the call identifier corresponding to the current call and the real phone number of the first terminal, and a second rich media message carrying the real phone number of the second terminal is sent to the first terminal. As a result, the corresponding user can obtain the real phone number of the other party with whom he has communicated based on the intermediate number by triggering the trigger element in the first rich media message, which facilitates the acquisition of the real phone number of the other party and improves the experience of obtaining the real phone number of the other party.
[0155] Figure 8 The figure is a schematic structural diagram of a device for receiving a real telephone number according to an exemplary embodiment.
[0156] It should be noted that the device for receiving the real telephone number is applied in the first terminal.
[0157] like Figure 8 As shown, the receiving device 800 of the real telephone number may include:
[0158] The first receiving module 801 is used to receive a first rich media message sent by the message platform, wherein the first rich media message is sent by the message platform after determining that the first terminal and the second terminal complete the call through the intermediate number and the intermediate number is released. The first rich media message includes: a call identifier of the call and a trigger element for obtaining the real telephone number of the second terminal.
[0159] The first sending module 802 is configured to send an acquisition request to the message platform after the triggering element is triggered, wherein the acquisition request includes: a call identifier and a real phone number of the first terminal.
[0160] Processing module 803 is used to receive and display the second rich media message returned by the message platform, wherein the second rich media message includes: the real phone number of the second terminal, which is obtained by the message platform based on the call identifier and the real phone number of the first terminal.
[0161] In one embodiment of the present disclosure, the apparatus may further include:
[0162] A second receiving module is configured to receive a third rich media message sent by the message platform, wherein the third rich media message is used to prompt the first terminal to provide a reason for knowing the real telephone number of the second terminal;
[0163] The second sending module is used to send a fourth rich media message to the message platform, wherein the fourth rich media message carries reason information, so that the message platform determines the corresponding target scenario based on the reason information, and provides the real telephone number of the second terminal to the first terminal when it is determined that the real telephone number of the second terminal can be provided in the target scenario.
[0164] In one embodiment of the present disclosure, the apparatus may further include:
[0165] A third receiving module is configured to receive a fifth rich media message sent by the message platform, wherein the fifth rich media message is used to instruct the first terminal to confirm whether it is willing to provide its real phone number to the second terminal;
[0166] The third sending module is used to send a sixth rich media message to the message platform, wherein the sixth rich media message is used to indicate whether the first terminal is willing to provide its real phone number to the second terminal, so that the message platform performs subsequent processing based on the sixth rich media message.
[0167] It should be noted that the aforementioned description of the embodiment of the method for receiving a real telephone number is also applicable to the device for receiving a real telephone number in this embodiment, and will not be repeated here.
[0168] The presently disclosed embodiment provides a device for receiving a real phone number. The device receives a first rich media message sent by a messaging platform and, by triggering a trigger element in the first rich media message for obtaining the real phone number of a second terminal, retrieves the real phone number of the second terminal from the messaging platform. Thus, by interacting with the messaging platform via rich media messages, the user can conveniently obtain the real phone number of the second terminal that was called via the intermediary number, facilitating the acquisition of the other party's real phone number and improving the user experience of obtaining the other party's real phone number.
[0169] According to an embodiment of the present disclosure, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor, wherein the processor is configured to: implement the method for sending a real phone number or the method for receiving a real phone number disclosed in the embodiment of the present disclosure.
[0170] In order to implement the above embodiment, the embodiment of the present disclosure further proposes a storage medium.
[0171] When the instructions in the storage medium are executed by the processor, the processor is enabled to execute the method for sending a real phone number or the method for receiving a real phone number disclosed in the embodiment of the present disclosure.
[0172] In order to implement the above embodiments, the embodiments of the present disclosure also provide a computer program product.
[0173] When the computer program product is executed by a processor of an electronic device, the electronic device can execute the method for sending a real telephone number or the method for receiving a real telephone number disclosed in the embodiments of the present disclosure.
[0174] In order to implement the above embodiment, the embodiment of the present disclosure also proposes a real telephone number transmission system.
[0175] Figure 9 The figure is a schematic structural diagram of a real telephone number transmission system according to an exemplary embodiment.
[0176] like Figure 9 As shown, the real telephone number transmission system 900 includes:
[0177] Message platform 901, used to execute the method for sending a real phone number disclosed in the embodiment of the present disclosure;
[0178] The first terminal 902 is configured to execute the method for receiving a real telephone number disclosed in the embodiment of the present disclosure.
[0179] It should be noted that, Figure 9 As shown, the real telephone number transmission system may also include: a second terminal 903, an intermediate number platform 904 and a call initiating platform 905.
[0180] The first terminal 902 and / or the second terminal 903 may initiate a telephone call via the call initiating platform 905 .
[0181] In this example, the call initiating platform 905 is used to determine the call identifiers corresponding to the first terminal 902 and the second terminal 903 when making this call, and interact with the message platform 901 to determine whether the corresponding target scenario has the authority to share the real phone number of the second terminal 903.
[0182] It should be noted that the above explanation of the method embodiment is also applicable to the embodiment of the real telephone number transmission system, and will not be repeated here.
[0183] The real phone number transmission system provided by the embodiment of the present disclosure is that after a first terminal and a second terminal complete a call through an intermediate number and the intermediate number is released, the message platform sends a first rich media message to the first terminal, wherein the first rich media message carries a trigger element for obtaining the real phone number of the second terminal. Correspondingly, after the first trigger element is triggered, the message platform obtains the real phone number of the second terminal based on the call identifier corresponding to the current call and the real phone number of the first terminal; and sends a second rich media message carrying the real phone number of the second terminal to the first terminal. As a result, the corresponding user can obtain the real phone number of the other party with whom he has communicated based on the intermediate number by triggering the trigger element in the first rich media message, which facilitates the acquisition of the real phone number of the other party and improves the experience of obtaining the real phone number of the other party.
[0184] Figure 10 The figure is a structural block diagram of an electronic device according to an exemplary embodiment. Figure 10 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0185] like Figure 10 As shown, the electronic device 1000 includes a processor 111, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 112 or a program loaded from a memory 116 to a random access memory (RAM) 113. Various programs and data required for the operation of the electronic device 1000 are also stored in the RAM 113. The processor 111, the ROM 112, and the RAM 113 are connected to each other via a bus 114. An input / output (I / O) interface 115 is also connected to the bus 114.
[0186] The following components are connected to the I / O interface 115: a memory 116 including a hard disk, etc.; and a communication part 117 including a network interface card such as a local area network (LAN) card, a modem, etc., which performs communication processing via a network such as the Internet; a drive 118 is also connected to the I / O interface 115 as needed.
[0187] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program carried on a computer-readable medium, the computer program including program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 117. When the computer program is executed by the processor 111, the above-mentioned functions defined in the method of the present disclosure are performed.
[0188] In an exemplary embodiment, a storage medium including instructions is further provided, such as a memory including instructions, and the instructions can be executed by the processor 111 of the electronic device 1000 to perform the above method. Alternatively, the storage medium can be a non-transitory computer-readable storage medium, for example, a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0189] In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.
[0190] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0191] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for sending a real phone number, characterized in that: Applied to a messaging platform, the method includes: Sending a first rich media message to a first terminal, wherein the first rich media message is sent after the first terminal and the second terminal complete a call using an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining a real telephone number of the second terminal; receiving an acquisition request sent by the first terminal, wherein the acquisition request includes: the call identifier and the real phone number of the first terminal, and the acquisition request is sent after the trigger element is triggered; Obtaining the real telephone number of the second terminal according to the call identifier and the real telephone number of the first terminal; A second rich media message is sent to the first terminal, wherein the second rich media message includes: a real telephone number of the second terminal.
2. The method according to claim 1, wherein Before obtaining the real telephone number of the second terminal according to the call identifier and the real telephone number of the first terminal, the method further includes: Sending a third rich media message to the first terminal, wherein the third rich media message is used to prompt the first terminal to provide a reason for knowing the real telephone number of the second terminal; receiving a fourth rich media message sent by the first terminal, wherein the fourth rich media message carries reason information; Determining a corresponding target scenario based on the reason information; When the target scenario exists in a preset scenario set, the step of obtaining the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal is performed, wherein the scenario set includes scenarios that can directly provide real phone numbers.
3. The method according to claim 2, wherein The method further comprises: If the target scenario does not exist in the preset scenario set, sending an authorization request to the call initiating platform, wherein the authorization request is used to instruct the call initiating platform to confirm whether the target scenario has the authority to share the real phone number of the second terminal; Receive the authorization response returned by the call initiating platform; When the authorization response indicates that the call initiating platform confirms that the target scenario has the authority to share the real phone number of the second terminal, the real phone number of the second terminal is obtained according to the call identifier and the real phone number of the first terminal.
4. The method according to claim 3, wherein When the authorization response indicates that the call initiating platform confirms that the target scenario has permission to share the real phone number of the second terminal, obtaining the real phone number of the second terminal according to the call identifier and the real phone number of the first terminal includes: If the authorization response indicates that the call initiating platform confirms that the target scenario has permission to share the real phone number of the second terminal, sending a fifth rich media message to the second terminal, wherein the fifth rich media message is used to instruct the second terminal to confirm whether it is willing to provide the real phone number of the second terminal to the first terminal; receiving a sixth rich media message sent by the second terminal; In a case where the sixth rich media message indicates that the second terminal is willing to provide the real telephone number of the second terminal to the first terminal, the real telephone number of the second terminal is obtained according to the call identifier and the real telephone number of the first terminal.
5. A method for receiving a real telephone number, characterized in that: Applied to a first terminal, the method includes: Receiving a first rich media message sent by a messaging platform, wherein the first rich media message is sent by the messaging platform after determining that a call between the first terminal and the second terminal is completed through an intermediary number and the intermediary number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining a real telephone number of the second terminal; After the trigger element is triggered, sending an acquisition request to the message platform, wherein the acquisition request includes: the call identifier and the real telephone number of the first terminal; Receive and display a second rich media message returned by the message platform, wherein the second rich media message includes: the real phone number of the second terminal, which is obtained by the message platform based on the call identifier and the real phone number of the first terminal.
6. A device for sending a real telephone number, characterized in that: Applied to a messaging platform, the device includes: A first sending module, configured to send a first rich media message to a first terminal, wherein the first rich media message is sent after a call between the first terminal and a second terminal is completed using an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining a real telephone number of the second terminal; a receiving module, configured to receive an acquisition request sent by the first terminal, wherein the acquisition request includes: the call identifier and the real telephone number of the first terminal, and the acquisition request is sent after the trigger element is triggered; an acquisition module, configured to acquire the real telephone number of the second terminal according to the call identifier and the real telephone number of the first terminal; The second sending module is configured to send a second rich media message to the first terminal, wherein the second rich media message includes: a real telephone number of the second terminal.
7. A device for receiving a real telephone number, characterized in that: Applied to a first terminal, the apparatus includes: a first receiving module, configured to receive a first rich media message sent by a messaging platform, wherein the first rich media message is sent by the messaging platform after determining that a call between the first terminal and the second terminal is completed through an intermediate number and the intermediate number is released, and the first rich media message includes: a call identifier of the call and a trigger element for obtaining a real phone number of the second terminal; A first sending module is configured to send an acquisition request to the message platform after the trigger element is triggered, wherein the acquisition request includes: the call identifier and the real telephone number of the first terminal; A processing module is used to receive and display a second rich media message returned by the message platform, wherein the second rich media message includes: the real telephone number of the second terminal, and the real telephone number of the second terminal is obtained by the message platform based on the call identifier and the real telephone number of the first terminal.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that when the processor executes the computer program, it implements the method according to any one of claims 1 to 4, or the method according to claim 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 or the method according to claim 5 is implemented.
10. A computer program product, characterized in that The method comprises a computer program, which implements the method according to any one of claims 1 to 4, or the method according to claim 5 when the computer program is executed by a processor.
Citation Information
Patent Citations
Virtual number processing method and device and server
CN106341558A
Dialing method, device and system, electronic equipment and storage medium
CN117939019A