Voice communication method, user terminal, server, device and storage medium
By conducting credit review and encryption of the calling square number in the voice communication method between the user terminal and the server, the harassment party continues to harass the user through replacing the number, and achieves effective anti -harassment effects.
Patent Information
- Application Number
- CN202210974227.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-08-15
AI Technical Summary
The prior art is difficult to prevent harassing parties from continuing to harass users by changing numbers, and existing solutions to mark harassing phone calls cannot effectively prevent this situation.
By establishing a voice communication method between the user terminal and the server, when sending a call application to the server, it includes the main name of the square number and the quilt square number. Fang dial the encrypted number to establish a communication connection.
This effectively prevents the harassing party from continuing to harass the user by changing their number, and improves the user's communication security and experience.
Smart Images

Figure CN115334500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a voice communication method, a user terminal, a server, a computer device and a computer-readable storage medium. Background Art
[0002] Nowadays, people often receive harassing calls or telecom fraud calls. For example, users' numbers are obtained in bulk through illegal channels, and users are harassed in large numbers while some of their sensitive data is obtained, which brings great trouble to the user group.
[0003] In order to solve the above problems, some harassing call marking software has emerged. By marking the incoming calls as harassing calls or fraudulent calls in advance, users can be provided with harassing call reminder and blocking services; users can also mark the incoming calls as harassing calls after answering the calls. However, this anti-incoming call harassment solution of marking harassing calls can only prompt or prohibit the incoming calls that have been marked as harassing calls. Since the user information has been leaked, the harasser can continue to harass the user as long as he changes a new number, and there is no solution to this problem in the existing technology. Summary of the invention
[0004] The present invention is completed in order to at least partially solve the technical problem in the prior art that after a certain number of the harassing party is marked as a harassing call, the harassing party can continue to harass the called user even if another number is changed.
[0005] According to one aspect of the present invention, there is provided a voice communication method, which is applied to a user terminal, and the method comprises:
[0006] Sending a call application to a server, the call application including a calling party number and a called party number, so that the server performs a credit check on the calling party number based on the call application, and in response to the calling party number passing the credit check, encrypting the called party number based on the calling party number and sending the encrypted called party number to the user terminal;
[0007] receiving the encrypted called party number sent by the server; and,
[0008] A first call request is sent to a server, wherein the first call request includes a calling party number and an encrypted called party number, so that the server parses the encrypted called party number based on the calling party number in the first call request, and in response to a parsing result that the called party number is successfully parsed, a communication connection is established between the calling party number and the called party number.
[0009] Optionally, the method further comprises:
[0010] A second call request is sent to the server, the second call request including a calling party number and a called party number, so that the server resolves the called party number based on the calling party number in the second call request, and the resolution result is resolution failure, and the second call request of the calling party number is rejected.
[0011] According to another aspect of the present invention, there is provided a voice communication method, which is applied to a server, and the method comprises:
[0012] Receiving a call request sent by a first calling party user terminal, wherein the call request includes a first calling party number and a called party number;
[0013] Performing a credit check on the first calling party number based on the call application;
[0014] In response to the first calling party number passing the credit review, encrypting the called party number based on the first calling party number and sending the encrypted called party number to the first calling party user terminal, so that the first calling party user terminal receives the encrypted called party number sent by the server, and sends a first call request to the server, the first call request including the first calling party number and the encrypted called party number;
[0015] Receiving a first call request sent by a first calling party user terminal, and parsing the encrypted called party number based on the first calling party number in the first call request;
[0016] In response to the parsing result that the called party number is successfully parsed, a communication connection is established between the first calling party number and the called party number.
[0017] Optionally, after parsing the encrypted called party number based on the first calling party number in the first call request, the method further includes:
[0018] In response to the parsing result being a parsing failure, rejecting the first call request of the first calling party number.
[0019] Optionally, before performing a credit check on the first calling party number based on the call application, the method further includes:
[0020] receiving a registration application sent by a called party user terminal, wherein the registration application includes the called party number; and
[0021] Registering the called party number based on the registration application;
[0022] The credit review of the first calling party number based on the call application is specifically:
[0023] In response to the called party number in the call application being registered, a credit check is performed on the first calling party number based on the call application.
[0024] Optionally, after encrypting the called party number based on the first calling party number, the method further includes:
[0025] Establishing a number correspondence table for the called party number with respect to the first calling party number, which includes the first calling party number, the encrypted called party number and a validity bit;
[0026] After receiving a first call request sent by a first calling party user terminal, the method further includes:
[0027] Querying a corresponding number correspondence table based on the encrypted called party number in the first call request, and obtaining a value of a valid bit in the corresponding number correspondence table;
[0028] The step of parsing the encrypted called party number based on the first calling party number in the first call request is specifically as follows:
[0029] In response to the value of the validity bit in the corresponding number correspondence table being yes, the encrypted called party number is parsed based on the first calling party number in the first call request.
[0030] Optionally, after obtaining the value of the validity bit in the corresponding number correspondence table, the method further includes:
[0031] In response to the value of the validity bit in the corresponding number correspondence table being no, the first call request of the first calling party number is rejected.
[0032] Optionally, the method further comprises:
[0033] Receiving a second call request sent by a first calling party user terminal, the second call request including a calling party number and a called party number;
[0034] parsing the called party number based on the first calling party number in the second call request; and,
[0035] The resolution result is resolution failure, and the second call request of the first calling party number is rejected.
[0036] Optionally, the method further comprises:
[0037] receiving a third call request sent by a second calling party user terminal, wherein the third call request includes a second calling party number and a called party number;
[0038] parsing the called party number based on the second calling party number in the third call request; and,
[0039] The resolution result is resolution failure, and the third call request of the second calling party number is rejected.
[0040] Optionally, the method further comprises:
[0041] Receiving a fourth call request sent by a second calling party user terminal, the fourth call request including the second calling party number and a called party number obtained by encrypting the called party number based on the first calling party number;
[0042] parsing the encrypted called party number based on the second calling party number in the fourth call request; and,
[0043] The resolution result is resolution failure, and the fourth call request of the second calling party number is rejected.
[0044] According to another aspect of the present invention, there is provided a user terminal, comprising:
[0045] A first sending module, configured to send a call application to a server, the call application including a calling party number and a called party number, so that the server performs a credit review on the calling party number based on the call application, and in response to the calling party number passing the credit review, encrypts the called party number based on the calling party number and sends the encrypted called party number to the user terminal; and
[0046] A first receiving module, configured to receive the encrypted called party number sent by the server;
[0047] The first sending module is also configured to send a first call request to the server, the first call request including a calling party number and an encrypted called party number, so that the server parses the encrypted called party number based on the calling party number in the first call request, and in response to the parsing result that the called party number is successfully parsed, establishes a communication connection between the calling party number and the called party number.
[0048] According to another aspect of the present invention, there is provided a server, comprising:
[0049] A second receiving module, which is configured to receive a call application sent by a first calling party user terminal, wherein the call application includes a first calling party number and a called party number;
[0050] a credit review module configured to perform a credit review on the first calling party number based on the call application;
[0051] an encryption module, configured to encrypt the called party number based on the first calling party number when the credit review module passes the credit review of the first calling party number;
[0052] A second sending module, which is configured to send the called party number encrypted by the encryption module to the first calling party user terminal, so that the first calling party user terminal receives the encrypted called party number sent by the server, and sends a first call request to the server, the first call request including the first calling party number and the encrypted called party number;
[0053] The second receiving module is further configured to receive a first call request sent by a first calling party user terminal;
[0054] a parsing module configured to parse the encrypted called party number based on the first calling party number in the first call request; and
[0055] The communication control module is configured to establish a communication connection between the first calling party number and the called party number when the parsing result of the parsing module is that the called party number is successfully parsed.
[0056] According to another aspect of the present invention, there is provided a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the aforementioned voice communication method.
[0057] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the aforementioned voice communication method.
[0058] The technical solution provided by the present invention may include the following beneficial effects:
[0059] The voice communication method provided by the present invention sends a call application including a calling party number and a called party number to a server through a user terminal, and the server performs a credit review on the calling party number, and returns the called party number encrypted based on the calling party number to the user terminal when the review is passed. The calling party number can only establish a communication connection with the called party by dialing the encrypted called party number, which can effectively prevent harassment calls and improve the user experience.
[0060] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0062] Figure 1 A flow chart of a voice communication method provided by an embodiment of the present invention;
[0063] Figure 2 A flowchart of another voice communication method provided by an embodiment of the present invention;
[0064] Figure 3 A schematic diagram of the structure of a user terminal provided by an embodiment of the present invention;
[0065] Figure 4 A schematic diagram of the structure of a server provided in an embodiment of the present invention;
[0066] Figure 5 A schematic diagram of the structure of a voice communication system provided by an embodiment of the present invention;
[0067] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0069] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence; and, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be arbitrarily combined with each other.
[0070] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0071] Figure 1 A flow chart of a voice communication method provided by an embodiment of the present invention. The method is applied to a user terminal, specifically a calling user terminal, such as Figure 1 As shown, the following steps S101 to S103 are included.
[0072] S101. Send a call application to a server, the call application including a calling party number and a called party number, so that the server performs a credit check on the calling party number based on the call application, and in response to the calling party number passing the credit check, encrypts the called party number based on the calling party number and sends the encrypted called party number to the user terminal. The calling party number refers to the real number of the calling party, and the called party number refers to the real number of the called party.
[0073] In this step, if the calling party wants to talk with the called party, he needs to apply to the server first to add the called party as a friend, or the calling party needs to be added to the "contacts" of the called party. The specific implementation method is to initiate a call application including the calling party number and the called party number to the server. After receiving the call application sent by the calling party, the server first performs a credit review of the calling party number. After the review is passed, the calling party adds the called party as a friend, and then encrypts the called party number exclusively for the calling party number, and sends the encrypted called party number to the user terminal (i.e., the calling party user terminal).
[0074] Moreover, users can subscribe to the anti-disturbance call service by registering on the server side. Only users who have subscribed to the anti-disturbance call service need to verify the credit status of the caller number when they are called. For ordinary users who have not subscribed to the anti-disturbance call service, there is no need to verify the credit status of the caller number when they are called, and there is no need to encrypt their numbers, thereby distinguishing ordinary users from users who have subscribed to the anti-disturbance call service.
[0075] S102. Receive the encrypted called party number sent by the server.
[0076] In this step, the user terminal (i.e., the calling party user terminal) receives the called party number sent by the server, which is encrypted exclusively for the calling party number, so as to establish a unique correspondence between the calling and called parties. The encrypted called party number is an encrypted user number that is different from the real number of the called party, and the encrypted user number is exclusively owned by the calling party number.
[0077] S103. Send a first call request to the server, the first call request including a calling party number and an encrypted called party number, so that the server parses the encrypted called party number based on the calling party number in the first call request, and in response to the parsing result that the called party number is successfully parsed, establishes a communication connection between the calling party number and the called party number.
[0078] In this step, after receiving the encrypted called party number sent by the server, the user terminal (i.e., the calling party user terminal) needs to send a call request to the server when it wants to establish a communication connection with the called party. The call request carries the calling party number and the encrypted called party number, i.e., the dialed number is the called party number after the called party number is encrypted exclusively for the calling party number, and the server will use the calling party number carried in the call request to parse the encrypted called party number. Once the called party number is successfully parsed, the call request of the calling party will be forwarded to the called party, thereby establishing a communication connection between the calling and called parties. At this time, the called party user terminal rings and / or vibrates to prompt the called party user that there is an incoming call.
[0079] It should be noted that the calling party number and the called party number are relative. When the called party number wants to actively establish a communication connection with the calling party number, the identities of the two will be exchanged. The original calling party number becomes the called party number, and the original called party number becomes the calling party number. Accordingly, the server needs to register and encrypt the original calling party number, and assign an encrypted user number to the original called party number, so that the user number obtained by the original called party number is different from the encrypted user number of the original calling party number, and the encrypted user number is exclusively owned by the original called party number.
[0080] In a specific implementation, the method further includes the following step S104.
[0081] S104. Send a second call request to the server, the second call request including a calling party number and a called party number, so that the server resolves the called party number based on the calling party number in the second call request, and if the resolution result is resolution failure, the second call request of the calling party number is rejected.
[0082] In this embodiment, when the calling party wishes to establish a communication connection with the called party, only by dialing the called party number that is encrypted exclusively for the calling party number, can the server side successfully parse the called party number and send the calling party's call request to the called party; if the user terminal (i.e., the calling party user terminal) obtains the encrypted called party number but still chooses to dial the called party's real number, the server side directly rejects the calling party's call request because it cannot parse the called party number (it can also be called that the parsed call is illegal). In other words, the calling party cannot call the called party by directly dialing the called party's real number.
[0083] It should be noted that the order of the above steps is only a specific example provided to illustrate the embodiment of the present invention. The present invention does not limit the order of the above steps, and those skilled in the art may adjust them as needed in practical applications; and the size of the sequence numbers of the above steps does not limit their execution order.
[0084] Figure 2 A flow chart of another voice communication method provided by an embodiment of the present invention. The method is applied to a server, and the server is located at the core network side, such as Figure 2 As shown, the method includes the following steps S201 to S207.
[0085] S201. Receive a call request sent by a first calling party user terminal, wherein the call request includes a first calling party number and a called party number, wherein the first calling party number refers to a real number of the first calling party, and the called party number refers to a real number of the called party.
[0086] In this step, if the first caller wants to talk with the called party, he needs to apply to the server to add the called party number as a friend. The specific implementation method is to initiate a call application including the first caller number and the called party number to the server.
[0087] S202. Perform a credit check on the first calling party number based on the call application.
[0088] In this step, after receiving the call application sent by the first caller, the server first performs a credit review on the first caller number, that is, determines its credit value in combination with the basic information or historical markings of the first caller number, and when its credit value exceeds the preset credit threshold, determines that the credit review of the first caller has passed. After the review is passed, the caller can add the called party as a friend; otherwise, determines that the credit review of the first caller has failed.
[0089] S203. In response to the first calling party number passing the credit review, the called party number is encrypted based on the first calling party number.
[0090] In this step, if the credit check of the first calling party is passed, the called party number is encrypted exclusively for the first calling party number, wherein the encrypted called party number is an encrypted user number different from the real number of the called party, and the encrypted user number is exclusively owned by the first calling party number.
[0091] In this embodiment, the called party number can be encrypted by combining the first calling party number with the called party number, and the combination method is not limited; the called party number can also be encrypted by combining part of the digits of the first calling party number with the called party number, and the combination method is not limited; the called party number can also be encrypted by combining part of the digits of the first calling party number with the called party number, and the combination method is not limited; the called party number can also be encrypted by combining part of the digits of the first calling party number with part of the digits of the called party number, and the combination method is not limited. The number of digits of the called party number encrypted by the aforementioned method can be 12-22 digits, which can be pure numbers, or letters, symbols, etc. can be added therein as needed. However, no matter which of the aforementioned methods is used to encrypt the called party number, the uniqueness of the encrypted called party number needs to be guaranteed, that is, there is only one encrypted called party number in the entire network, and no duplicate numbers will appear. The method for encrypting the called party number can adopt the RSA asymmetric key system.
[0092] S204. Send the encrypted called party number to the first calling party user terminal, so that the first calling party user terminal receives the encrypted called party number sent by the server and sends a first call request to the server, the first call request including the first calling party number and the encrypted called party number.
[0093] In this step, the server sends the encrypted called party number to the first calling party user terminal to establish a unique correspondence between the calling and called parties. Then, when the first calling party user terminal hopes to establish a communication connection with the called party, it also needs to send a first call request to the server. The first call request carries the first calling party number and the encrypted called party number, that is, the dialed number is the called party number that is encrypted exclusively for the first calling party number.
[0094] Of course, if the credit review of the first caller fails in step S202, steps S203 and S204 are skipped, and the server does not need to encrypt the called party number, nor does it need to send the encrypted called party number to the first caller user terminal, but directly rejects the first call request of the first caller number.
[0095] S205. Receive a first call request sent by a first calling party user terminal.
[0096] S206. Parse the encrypted called party number based on the first calling party number in the first call request.
[0097] In this step, the server uses the first calling party number carried in the first call request to parse the encrypted called party number. If the encrypted called party number is indeed the called party number encrypted based on the first calling party number carried in the first call request, the called party number can be parsed; if the encrypted called party number is the called party number encrypted based on other numbers, the parsing fails and the server cannot parse the called party number.
[0098] S207. In response to the parsing result that the called party number is successfully parsed, establish a communication connection between the first calling party number and the called party number.
[0099] In this step, once the called party number is successfully parsed, the server will forward the first call request of the first calling party to the called party, thereby establishing a communication connection between the calling and called parties. At this time, the called party user terminal rings and / or vibrates to prompt the called party user that there is an incoming call.
[0100] In a specific implementation, after step S206, the following step S208 is also included.
[0101] S208. In response to the parsing result being a parsing failure, rejecting the first call request of the first calling party number.
[0102] In this step, if the server-side parsing fails, it means that the encrypted called party number carried in the first call request is not the called party number encrypted based on the first calling party number carried in the first call request, but the called party number encrypted based on other numbers. In this case, the server-side cannot parse the called party number and directly rejects the first call request of the first calling party number.
[0103] In a specific implementation, before step S202, the following steps S209 and S210 are also included.
[0104] S209. Receive a registration application sent by the called party user terminal, wherein the registration application includes the called party number;
[0105] S210. Register the called party number based on the registration application.
[0106] Accordingly, step S202 is specifically as follows:
[0107] In response to the called party number in the call application being registered, a credit check is performed on the first calling party number based on the call application.
[0108] In this embodiment, users can subscribe to the anti-disturbance call service by registering on the server side. Only users who have subscribed to the anti-disturbance call service need to verify the credit status of the first caller number when they are called; for ordinary users who have not subscribed to the anti-disturbance call service, there is no need to verify the credit status of the caller number when they are called, and there is no need to encrypt their numbers. The server side can directly establish a communication connection between the calling party number and the called party number, thereby distinguishing ordinary users from users who have subscribed to the anti-disturbance call service.
[0109] In a specific implementation, after step S203, the following step S211 is also included.
[0110] S211. Create a number correspondence table for the called party number related to the first calling party number, which includes the first calling party number, the encrypted called party number and a validity bit.
[0111] In this embodiment, for each user number that subscribes to the call nuisance prevention service, when the server receives a call application from a certain calling party number, it first performs a credit check on the calling party number. Once the check is passed, a number comparison table for the calling number is created and stored for the user number. Of course, the number comparison tables for all calling numbers of the same user number can be stored as a large table for easy retrieval.
[0112] In establishing a number correspondence table for the first calling party number for the called party number, in addition to the first calling party number, the encrypted called party number and the validity bit, information such as ID (identity), acquisition source and remarks may also be included. Among them, the value of the validity bit includes "yes" and "no", "yes" means that the first calling party number is classified as an access-allowed phone number by the user (i.e., the called party user), and the first calling party can reach the number by using the encrypted called party number; "no" means that the first calling party number is classified as a denied access phone number by the user, and the first calling party cannot reach the number by using the encrypted called party number. For the same called party, the ID is used to distinguish different calling party numbers. The acquisition source refers to the way of obtaining the encrypted called party number, such as the encryption method used to obtain it. Remarks are optional, and users can fill in some precautions as needed.
[0113] Accordingly, after step S205, the following steps S212 and S213 are also included.
[0114] S212. Query the corresponding number correspondence table based on the encrypted called party number in the first call request;
[0115] S213. Obtain the value of the validity bit in the corresponding number correspondence table.
[0116] In this embodiment, since the server has established a number correspondence table for all calling party numbers for the called party user number, after receiving the first call request from the first calling party number, the encrypted called party number with unique characteristics carried therein can be used to search in the pre-stored table to query the corresponding number correspondence table.
[0117] Accordingly, step S206 is specifically as follows:
[0118] In response to the value of the validity bit in the corresponding number correspondence table being yes, the encrypted called party number is parsed based on the first calling party number in the first call request.
[0119] In this embodiment, since the value of the validity bit in the corresponding number correspondence table is yes, it means that the calling party number in the corresponding number correspondence table is classified as an allowed access phone number by the user, and then the server side parses the encrypted called party number carried in the call request sent by the calling party number. If the called party number is successfully parsed, a communication connection is established between the calling party number and the called party number.
[0120] In a specific implementation, after step S213, the following step S214 is also included.
[0121] S214. In response to the value of the validity bit in the corresponding number correspondence table being "no", rejecting the first call request from the first calling party number.
[0122] In this embodiment, if the value of the validity bit in the corresponding number correspondence table is no, it means that the calling party number in the corresponding number correspondence table is classified as a rejected access phone number by the user, that is, the calling party number is prohibited from dialing the called party number. This is because the called party user determines that the calling party number is a harassing call, and will actively set the value of the validity bit to no. In this case, even if the calling party number uses the encrypted called party number in the corresponding number correspondence table to initiate a call request, the server side will directly reject the call request of the calling party number.
[0123] In a specific implementation, the method further includes the following steps S215 to S217.
[0124] S215. Receive a second call request sent by the first calling party user terminal, the second call request includes a calling party number and a called party number;
[0125] S216. Parse the called party number based on the first calling party number in the second call request;
[0126] S217. The resolution result is resolution failure, and the second call request of the first calling party number is rejected.
[0127] In this embodiment, when the first calling party wants to establish a communication connection with the called party, only by dialing the called party number that is encrypted exclusively for the first calling party number, can the server successfully resolve the called party number and forward the call request of the first calling party to the called party; if the first calling party user terminal obtains the encrypted called party number but still chooses to dial the real number of the called party, the server directly rejects the call request of the first calling party because it cannot resolve the called party number (it can also be called that the resolved call is illegal). In other words, the first calling party can only call the called party by dialing the encrypted called party number, but cannot call the called party by directly dialing the real number of the called party.
[0128] In a specific implementation, the method further includes the following steps S218 to S220.
[0129] S218. Receive a third call request sent by the second calling party user terminal, the third call request including the second calling party number and the called party number;
[0130] S219. Parse the called party number based on the second calling party number in the third call request;
[0131] S220. The resolution result is resolution failure, and the third call request of the second calling party number is rejected.
[0132] In this embodiment, if the second caller learns the called party number from the first caller, directly dialing the called party number is also invalid. In this case, the server will directly reject the call request of the second caller because it cannot resolve the called party number.
[0133] In a specific implementation, the method further includes the following steps S221 to S223.
[0134] S221. Receive a fourth call request sent by the second calling party user terminal, the fourth call request including the second calling party number and the called party number encrypted based on the first calling party number;
[0135] S222. Parse the encrypted called party number based on the second calling party number in the fourth call request;
[0136] S223. The analysis result is that the analysis fails, and the fourth call request of the second calling party number is rejected.
[0137] In this embodiment, since the encrypted called party number is obtained by encrypting the called party number based on the first calling party number, according to the aforementioned encryption mechanism, it is only effective when the first calling party dials the encrypted called party number. It is also invalid for any other user, such as the second calling party user, to obtain the called party number encrypted based on the first calling party number from the first calling party user and dial the encrypted called party number. In this case, the server side cannot successfully resolve the encrypted called party number based on the second calling party number, and thus directly rejects the call request of the second calling party.
[0138] Of course, if the second caller wants to establish a communication connection with the called party, he still needs to initiate a call application containing the second caller number and the called party number to the server. After receiving the call application sent by the second caller, the server first performs a credit review on the second caller number. After the review is passed, the called party number is encrypted exclusively for the second caller number, and the encrypted called party number is sent to the second caller user terminal; the second caller user terminal then sends a call request containing the second caller number and the encrypted called party number to the server. The server successfully parses the encrypted called party number to obtain the called party number, and then a communication connection between the second caller number and the called party number can be established.
[0139] It should be noted that the order of the above steps is only a specific example provided to illustrate the embodiment of the present invention. The present invention does not limit the order of the above steps, and those skilled in the art may adjust them as needed in practical applications; and the size of the sequence numbers of the above steps does not limit their execution order.
[0140] In the voice communication method provided by the embodiment of the present invention, the calling party number cannot directly call the called party number, but first sends a call application including the calling party number and the called party number to the server, and the server performs a credit review on the calling party number, and returns the called party number that is encrypted based on the calling party number to the calling party when the review is passed. The calling party number can only establish a communication connection with the called party by dialing the encrypted called party number, and other users cannot establish a communication connection with the called party no matter they directly dial the called party number or dial the encrypted called party number, thereby avoiding other users harassing the called user, effectively preventing incoming call harassment, and improving user experience.
[0141] Figure 3 A schematic diagram of the structure of a user terminal provided in an embodiment of the present invention. Figure 3 As shown, the user terminal includes: a first sending module 301 and a first receiving module 302.
[0142] Among them, the first sending module 301 is configured to send a call application to the server, and the call application includes a calling party number and a called party number, so that the server performs a credit review on the calling party number based on the call application, and in response to the calling party number passing the credit review, encrypts the called party number based on the calling party number and sends the encrypted called party number to the calling party user terminal; the first receiving module 302 is configured to receive the encrypted called party number sent by the server; the first sending module 301 is also configured to send a first call request to the server, and the first call request includes a calling party number and an encrypted called party number, so that the server parses the encrypted called party number based on the calling party number in the first call request, and in response to the parsing result being a successful parsing of the called party number, establishes a communication connection between the calling party number and the called party number.
[0143] In a specific embodiment, the first sending module 301 is also configured to send a second call request to the server, the second call request including a calling party number and a called party number, so that the server resolves the called party number based on the calling party number in the second call request, and the resolution result is a resolution failure, and the second call request of the calling party number is rejected.
[0144] The user terminal provided in the embodiment of the present invention, as a caller, cannot directly call the called party number, but first sends a call application including the calling party number and the called party number to the server, and the server performs a credit review on the calling party number, and returns the called party number that is encrypted based on the calling party number to the calling party when the review is passed. The calling party number can only establish a communication connection with the called party by dialing the encrypted called party number, while other users cannot establish a communication connection with the called party no matter they directly dial the called party number or dial the encrypted called party number, thereby avoiding other users harassing the called user, effectively preventing incoming call harassment, and improving user experience.
[0145] Figure 4 A schematic diagram of the structure of a server provided in an embodiment of the present invention. Figure 4 As shown, the server includes: a second receiving module 401, a credit review module 402, an encryption module 403, a second sending module 404, a parsing module 405 and a communication control module 406.
[0146] Among them, the second receiving module 401 is configured to receive a call application sent by the first calling party user terminal, and the call application includes a first calling party number and a called party number; the credit review module 402 is configured to perform a credit review on the first calling party number based on the call application; the encryption module 403 is configured to encrypt the called party number based on the first calling party number when the credit review of the first calling party number by the credit review module passes; the second sending module 404 is configured to send the called party number encrypted by the encryption module to the first calling party user terminal, so that the first calling party user terminal Receive the encrypted called party number sent by the server, and send a first call request to the server, the first call request including the first calling party number and the encrypted called party number; the second receiving module 401 is also configured to receive the first call request sent by the first calling party user terminal; the parsing module 405 is configured to parse the encrypted called party number based on the first calling party number in the first call request; the communication control module 406 is configured to establish a communication connection between the first calling party number and the called party number when the parsing result of the parsing module 405 is that the called party number is successfully parsed.
[0147] In a specific implementation, the communication control module 406 is further configured to reject the first call request of the first calling party number when the resolution result of the resolution module 405 is resolution failure.
[0148] In a specific implementation, the second receiving module 401 is further configured to receive a registration application sent by the called party user terminal before the credit review module 402 performs a credit review on the first calling party number based on the call application, and the registration application includes the called party number.
[0149] Correspondingly, the server further includes: a registration module.
[0150] The registration module is configured to register the called party number based on the registration application received by the second receiving module 401. The credit review module 402 is specifically configured to perform a credit review on the first calling party number based on the call application when the called party number in the call application has been registered.
[0151] In a specific implementation, the server further includes: a table building module and a query module.
[0152] Among them, the table building module is configured to build a number correspondence table for the called party number about the first calling party number after the encryption module 403 encrypts the called party number based on the first calling party number, which includes the first calling party number, the encrypted called party number and the validity bit.
[0153] The query module is configured to query the corresponding number correspondence table based on the encrypted called party number in the first call request and obtain the value of the valid bit in the corresponding number correspondence table after the second receiving module 401 receives the first call request sent by the first calling party user terminal.
[0154] Correspondingly, the parsing module 405 is specifically configured to parse the encrypted called party number based on the first calling party number in the first call request when the query module finds that the value of the validity bit in the corresponding number correspondence table is yes.
[0155] In a specific implementation, the communication control module 406 is further configured to reject the first call request of the first calling party number when the query module finds that the value of the validity bit in the corresponding number correspondence table is no.
[0156] In a specific implementation, the second receiving module 401 is further configured to receive a second call request sent by the first calling party user terminal, the second call request including a calling party number and a called party number. The parsing module 405 is further configured to parse the called party number based on the first calling party number in the second call request. The communication control module 406 is further configured to reject the second call request of the first calling party number based on the parsing result of the parsing module 405 being a parsing failure.
[0157] In a specific implementation, the second receiving module 401 is further configured to receive a third call request sent by a second calling party user terminal, the third call request including a second calling party number and a called party number. The parsing module 405 is further configured to parse the called party number based on the second calling party number in the third call request. The communication control module 406 is further configured to reject the third call request of the second calling party number based on the parsing result of the parsing module 405 being a parsing failure.
[0158] In a specific implementation, the second receiving module 401 is further configured to receive a fourth call request sent by a second calling party user terminal, the fourth call request including a second calling party number and a called party number encrypted based on the first calling party number. The parsing module 405 is further configured to parse the encrypted called party number based on the second calling party number in the fourth call request. The communication control module 406 is further configured to reject the fourth call request of the second calling party number based on the parsing result of the parsing module 405 being a parsing failure.
[0159] The server provided by the embodiment of the present invention, after receiving a call application including a calling party number and a called party number sent by a calling party user terminal, performs a credit review on the calling party number, and returns the called party number that is encrypted based on the calling party number to the calling party user terminal when the review is passed. The calling party number can establish a communication connection with the called party only by dialing the encrypted called party number, while other users cannot establish a communication connection with the called party regardless of whether they directly dial the called party number or dial the encrypted called party number, thereby avoiding other users harassing the called user, effectively preventing incoming call harassment, and improving user experience.
[0160] Figure 5 The structure diagram of the voice communication system provided by the embodiment of the present invention is as follows. Figure 5 As shown, the system includes: a user terminal 51 and a server 52.
[0161] The user terminal 51 can be divided into a calling user terminal and a called user terminal, and specifically can adopt the calling user terminal and the called user terminal in the above embodiment. The server 52 can adopt the server in the above embodiment, which will not be described again.
[0162] Based on the same technical concept, the embodiment of the present invention also provides a computer device, such as Figure 6 As shown, the computer device includes a memory 61 and a processor 62. The memory 61 stores a computer program. When the processor 62 runs the computer program stored in the memory 61, the processor 62 executes the aforementioned voice communication method.
[0163] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the aforementioned voice communication method.
[0164] To summarize, the voice communication method, system, user terminal, server, computer device and storage medium provided in the embodiments of the present invention encrypt the called party number exclusively for the calling party number, so that the calling party number cannot directly call the called party number, but can only call the encrypted called party number. No matter other users dial the called party number directly or dial the encrypted called party number, they cannot establish a communication connection with the called party, thereby preventing other users from harassing the called user and improving the user experience.
[0165] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A voice communication method, characterized in that: Applied to a user terminal, the method comprises: Sending a call application to a server, the call application including a calling party number and a called party number, so that the server performs a credit check on the calling party number based on the call application, encrypts the called party number based on the calling party number in response to the calling party number passing the credit check, and encrypts the called party number exclusively for the calling party number, and sends the encrypted called party number to the user terminal; receiving the encrypted called party number sent by the server; and, A first call request is sent to a server, where the first call request includes a calling party number and an encrypted called party number, so that the server parses the encrypted called party number based on the calling party number in the first call request. The server can successfully parse the called party number if the encrypted called party number is a called party number encrypted based on the first calling party number carried in the first call request. If the encrypted called party number is a called party number encrypted based on other calling party numbers, the server cannot successfully parse the called party number. In response to the parsing result that the called party number is successfully parsed, a communication connection is established between the calling party number and the called party number.
2. The method according to claim 1, characterized in that Also includes: A second call request is sent to the server, the second call request including a calling party number and a called party number, so that the server resolves the called party number based on the calling party number in the second call request, and the resolution result is resolution failure, and the second call request of the calling party number is rejected.
3. A voice communication method, characterized in that: Applied to a server, the method comprises: Receiving a call request sent by a first calling party user terminal, wherein the call request includes a first calling party number and a called party number; Performing a credit check on the first calling party number based on the call application; In response to the first calling party number passing the credit review, encrypting the called party number based on the first calling party number to encrypt the called party number exclusively for the calling party number, and sending the encrypted called party number to the first calling party user terminal, so that the first calling party user terminal receives the encrypted called party number sent by the server, and sends a first call request to the server, the first call request including the first calling party number and the encrypted called party number; Receive a first call request sent by a first calling party user terminal, and parse the encrypted called party number based on the first calling party number in the first call request. If the encrypted called party number is a called party number encrypted based on the first calling party number carried in the first call request, the server can successfully parse the called party number. If the encrypted called party number is a called party number encrypted based on other calling party numbers, the server cannot successfully parse the called party number. In response to the parsing result that the called party number is successfully parsed, a communication connection is established between the first calling party number and the called party number.
4. The method according to claim 3, characterized in that After parsing the encrypted called party number based on the first calling party number in the first call request, the method further includes: In response to the parsing result being a parsing failure, rejecting the first call request of the first calling party number.
5. The method according to claim 3, characterized in that: Before performing a credit check on the first calling party number based on the call application, the method further includes: receiving a registration application sent by a called party user terminal, wherein the registration application includes the called party number; and Registering the called party number based on the registration application; The credit review of the first calling party number based on the call application is specifically: In response to the called party number in the call application being registered, a credit check is performed on the first calling party number based on the call application.
6. The method according to any one of claims 3 to 5, characterized in that: After encrypting the called party number based on the first calling party number, the method further includes: Establishing a number correspondence table for the called party number with respect to the first calling party number, which includes the first calling party number, the encrypted called party number and a validity bit; After receiving a first call request sent by a first calling party user terminal, the method further includes: Querying a corresponding number correspondence table based on the encrypted called party number in the first call request, and obtaining a value of a valid bit in the corresponding number correspondence table; The step of parsing the encrypted called party number based on the first calling party number in the first call request is specifically as follows: In response to the value of the validity bit in the corresponding number correspondence table being yes, the encrypted called party number is parsed based on the first calling party number in the first call request.
7. The method according to claim 6, characterized in that After obtaining the value of the valid bit in the corresponding number correspondence table, it also includes: In response to the value of the validity bit in the corresponding number correspondence table being no, the first call request of the first calling party number is rejected.
8. The method according to claim 3, characterized in that Also includes: Receiving a second call request sent by a first calling party user terminal, the second call request including a first calling party number and a called party number; parsing the called party number based on the first calling party number in the second call request; as well as, The resolution result is resolution failure, and the second call request of the first calling party number is rejected.
9. The method according to claim 3, characterized in that: Also includes: receiving a third call request sent by a second calling party user terminal, wherein the third call request includes a second calling party number and a called party number; parsing the called party number based on the second calling party number in the third call request; as well as, The resolution result is resolution failure, and the third call request of the second calling party number is rejected.
10. The method according to claim 3, characterized in that: Also includes: Receiving a fourth call request sent by a second calling party user terminal, the fourth call request including the second calling party number and a called party number obtained by encrypting the called party number based on the first calling party number; parsing the encrypted called party number based on the second calling party number in the fourth call request; as well as, The resolution result is resolution failure, and the fourth call request of the second calling party number is rejected.
11. A user terminal, characterized in that: include: A first sending module is configured to send a call application to a server, wherein the call application includes a calling party number and a called party number, so that the server performs a credit review on the calling party number based on the call application, encrypts the called party number based on the calling party number in response to the calling party number passing the credit review, and encrypts the called party number exclusively for the calling party number, and sends the encrypted called party number to the user terminal; and A first receiving module, configured to receive the encrypted called party number sent by the server; The first sending module is also configured to send a first call request to the server, the first call request including a calling party number and an encrypted called party number, so that the server parses the encrypted called party number based on the calling party number in the first call request. If the encrypted called party number is a called party number encrypted based on the first calling party number carried in the first call request, the server can successfully parse the called party number. If the encrypted called party number is a called party number encrypted based on other calling party numbers, the server cannot successfully parse the called party number. In response to the parsing result that the called party number is successfully parsed, a communication connection is established between the calling party number and the called party number.
12. A server, characterized in that: include: A second receiving module, which is configured to receive a call application sent by a first calling party user terminal, wherein the call application includes a first calling party number and a called party number; a credit review module configured to perform a credit review on the first calling party number based on the call application; an encryption module, configured to encrypt the called party number based on the first calling party number to perform encryption exclusively for the calling party number when the credit review module passes the credit review of the first calling party number; A second sending module, which is configured to send the called party number encrypted by the encryption module to the first calling party user terminal, so that the first calling party user terminal receives the encrypted called party number sent by the server, and sends a first call request to the server, the first call request including the first calling party number and the encrypted called party number; The second receiving module is further configured to receive a first call request sent by a first calling party user terminal; A parsing module, which is configured to parse the encrypted called party number based on the first calling party number in the first call request. If the encrypted called party number is a called party number encrypted based on the first calling party number carried in the first call request, the server can successfully parse the called party number. If the encrypted called party number is a called party number encrypted based on other calling party numbers, the server cannot successfully parse the called party number. as well as, The communication control module is configured to establish a communication connection between the first calling party number and the called party number when the parsing result of the parsing module is that the called party number is successfully parsed.
13. A computer device, characterized in that: It includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the voice communication method according to any one of claims 1 to 2, or the voice communication method according to any one of claims 3 to 10.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor executes the voice communication method according to any one of claims 1 to 2, or the voice communication method according to any one of claims 3 to 10.
Citation Information
Patent Citations
Crank call processing method and device, storage medium and terminal
CN111131629A
Information hiding method and device and electronic equipment
CN113965648A