VoIP dialing methods, devices and computer-readable storage media

By applying asymmetric encryption to the displayed number, call prefix, and called number in VoIP dialing, the problem of information leakage during VoIP dialing is solved, thus improving security.

CN116095215BActive Publication Date: 2025-11-14CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211735210.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-11-14
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

In existing VoIP dialing methods, call-related information is easily intercepted and leaked when transmitted via HTTP, resulting in low security.

Method used

The system uses an asymmetric encryption algorithm (such as RSA) to encrypt the displayed number, call prefix, and called number, generating target encrypted information, and then makes a VoIP call through a Session Initiation Protocol (SIP) server.

Benefits of technology

It improves the security of making VoIP calls, avoids the leakage of call-related information, and is difficult to leak even if the target's encrypted information is hijacked.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116095215B_ABST
    Figure CN116095215B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, and computer-readable storage medium for making VoIP calls, relating to the field of communications. It can prevent the leakage of call-related information and improve the security of VoIP calls. The method is applied to VoIP and includes: obtaining a first set of call information and a second set of call information from the caller; the first set of call information includes a displayed number, a call prefix, and a called number; the second set of call information includes an identifier of the target communication line and an identifier of the target port of the target communication line; performing asymmetric encryption on the displayed number, call prefix, and called number to obtain target encrypted information; and sending first instruction information to a Session Initiation Protocol (SIP) server; the first instruction information includes the second set of call information and the target encrypted information, and is used to instruct the SIP server to make a VoIP call based on the second set of call information and the target encrypted information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and in particular to methods, apparatus and computer-readable storage media for making VoIP calls. Background Technology

[0002] VoIP refers to making or receiving phone calls via the internet between a computer and a mobile phone, or between two computers.

[0003] One existing method of making VoIP calls involves transmitting call-related information, such as the called party's and caller's information, via the Hypertext Transfer Protocol (HTTP) when making the call from a computer. However, call-related information transmitted via HTTP is susceptible to interception, leading to data leakage. Therefore, existing VoIP methods are prone to call-related information leakage and have low security. Summary of the Invention

[0004] This application provides a method, apparatus, and computer-readable storage medium for making VoIP calls, which can prevent the leakage of call-related information and improve the security of VoIP calls.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, a method for making VoIP calls is provided, applicable to VoIP, the method comprising: obtaining a first set of call information and a second set of call information from the caller; the first set of call information includes an externally displayed number, a call prefix, and a called number; the second set of call information includes an identifier of a target communication line and an identifier of a target port of the target communication line; performing asymmetric encryption processing on the externally displayed number, the call prefix, and the called number to obtain target encrypted information; and sending first instruction information to a Session Initiation Protocol (SIP) server; the first instruction information includes the second set of call information and the target encrypted information, the first instruction information being used to instruct the SIP server to make VoIP calls based on the second set of call information and the target encrypted information.

[0007] Based on this scheme, by obtaining the caller's first and second call information sets, the displayed number, call prefix, and called number are subjected to asymmetric encryption to obtain the target encrypted information. A first instruction message including the target encrypted information and the second call information set is then sent to the SIP server, enabling the SIP server to make a VoIP call based on the second call information set and the target encrypted information. Compared to existing schemes that transmit call-related information via HTTP, this application obtains the target encrypted information through asymmetric encryption of the displayed number, call prefix, and called number. Even if the target encrypted information is intercepted, it is not easily leaked, thus preventing the leakage of call-related information and improving the security of VoIP calls.

[0008] In conjunction with the first aspect, in some implementations of the first aspect, the asymmetric encryption algorithm is the RSA algorithm.

[0009] In conjunction with the first aspect, in some embodiments of the first aspect, the method further includes: obtaining the caller's account and password; the account being the caller's account corresponding to the VoIP call, and the password being the account's password; and registering on the SIP server using the account and password.

[0010] Based on this scheme, by obtaining the caller's account and password and registering on the SIP server using the account and password, the caller can subsequently make VoIP calls on the SIP server.

[0011] In conjunction with the first aspect, in some embodiments of the first aspect, the SIP server is a kamailio server.

[0012] Secondly, a VoIP dialing device is provided for implementing the VoIP dialing method of the first aspect described above. The VoIP dialing device includes modules, units, or means corresponding to the above method. These modules, units, or means can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0013] In conjunction with the second aspect, in some embodiments of the second aspect, the VoIP dialing device includes: a transceiver module and a processing module; the transceiver module is used to acquire a first call information set and a second call information set of the calling party; the first call information set includes an externally displayed number, a call prefix, and a called number, and the second call information set includes an identifier of a target communication line and an identifier of a target port of the target communication line; the processing module is used to perform asymmetric encryption processing on the externally displayed number, the call prefix, and the called number to obtain target encrypted information; the transceiver module is also used to send first instruction information to a Session Initiation Protocol (SIP) server; the first instruction information includes the second call information set and the target encrypted information, and the first instruction information is used to instruct the SIP server to dial a VoIP call based on the second call information set and the target encrypted information.

[0014] In conjunction with the second aspect, in some implementations of the second aspect, the asymmetric encryption algorithm is the RSA algorithm.

[0015] In conjunction with the second aspect, in some embodiments of the second aspect, the processing module is further configured to: obtain the caller's account and password; the account is the caller's account corresponding to the VoIP call, and the password is the account's password; and register on the SIP server using the account and password.

[0016] In conjunction with the second aspect, in some implementations of the second aspect, the SIP server is a kamailio server.

[0017] Thirdly, a VoIP dialing device is provided, comprising: at least one processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method provided in the first aspect and any possible implementation thereof.

[0018] Fourthly, a computer-readable storage medium is provided, wherein when instructions in the computer-readable storage medium are executed by a processor of a VoIP dialing device, the VoIP dialing device is enabled to perform the method provided in the first aspect and any possible implementation thereof.

[0019] Fifthly, a computer program product containing instructions is provided that, when run on a computer, enables the computer to perform the methods provided in the first aspect and any possible implementation thereof.

[0020] In a sixth aspect, a chip system is provided, comprising: a processor and an interface circuit; the interface circuit being configured to receive a computer program or instructions and transmit them to the processor; the processor being configured to execute the computer program or instructions to cause the chip system to perform the methods provided in the first aspect and any possible embodiments thereof.

[0021] The technical effects of any one of the second to sixth aspects can be found in the technical effects of the different embodiments of the first aspect described above, and will not be repeated here. Attached Figure Description

[0022] Figure 1 This application provides a schematic diagram of the architecture of a VoIP dialing system;

[0023] Figure 2 A flowchart illustrating a VoIP dialing method provided in this application;

[0024] Figure 3 A flowchart illustrating yet another VoIP dialing method provided in this application;

[0025] Figure 4 A schematic diagram of the structure of a VoIP dialing device provided in this application;

[0026] Figure 5 A schematic diagram of another VoIP dialing device provided in this application. Detailed Implementation

[0027] In the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0028] Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0029] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.

[0030] It is understood that the term "embodiment" used throughout the specification means that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, various embodiments throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It is understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0031] It is understood that in this application, "when," "if," and "if" all refer to the corresponding processing that will be carried out under certain objective circumstances, and are not limited to a specific time, nor do they require that there must be a judgment action when implemented, nor do they imply any other limitations.

[0032] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Correspondingly, the apparatus given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.

[0033] In this application, unless otherwise specified, the same or similar parts between the various embodiments can be referred to each other. In the various embodiments and implementation methods of the various embodiments in this application, unless otherwise specified or logically conflicting, the terminology and / or descriptions between different embodiments and between the implementation methods of the various embodiments are consistent and can be mutually referenced. The technical features in different embodiments and between the implementation methods of the various embodiments can be combined according to their inherent logical relationships to form new embodiments, implementation methods, implementation methods, or implementation approaches. The following embodiments of this application do not constitute a limitation on the scope of protection of this application.

[0034] Figure 1 This is a schematic diagram of the architecture of a VoIP dialing system provided in this application. The technical solutions of the embodiments of this application can be applied to... Figure 1 The VoIP dialing system shown is as follows: Figure 1 As shown, the VoIP dialing system 10 includes a VoIP dialing device 11 and an electronic device 12.

[0035] The VoIP dialing device 11 is directly or indirectly connected to the electronic device 12. This connection can be wired or wireless, and this application embodiment does not limit this.

[0036] The VoIP dialing device 11 can be used to receive data from the electronic device 12.

[0037] Electronic device 12 can be used to send data to VoIP dialing device 11.

[0038] It should be noted that the VoIP dialing device 11 and the electronic device 12 can be independent devices or integrated into the same device; this application does not make any specific limitation in this regard.

[0039] When the VoIP dialing device 11 and the electronic device 12 are integrated into the same device, the communication method between the VoIP dialing device 11 and the electronic device 12 is the communication between internal modules of the device. In this case, the communication process between the two is the same as that when the VoIP dialing device 11 and the electronic device 12 are independent of each other.

[0040] In the following embodiments provided in this application, the VoIP dialing device 11 and the electronic device 12 are described as being set up independently of each other.

[0041] In practical applications, the VoIP dialing method provided in this application embodiment can be applied to the VoIP dialing device 11, or to the devices included in the VoIP dialing device 11.

[0042] The following description, with reference to the accompanying drawings, uses the application of the VoIP dialing method to the VoIP dialing device 11 as an example to illustrate the VoIP dialing method provided in this application embodiment.

[0043] Figure 2 This application provides a flowchart illustrating a method for making VoIP calls, as shown below. Figure 2 As shown, this method is applied to VoIP and includes the following steps:

[0044] S201, The VoIP dialing device obtains the first set of call information and the second set of call information of the caller.

[0045] The first call information set includes the displayed number, the call prefix, and the called number, while the second call information set includes the identifier of the target communication line and the identifier of the target port of the target communication line.

[0046] It should be noted that the caller can be a computer in a VoIP call.

[0047] The external display number is the number displayed to the caller. For example, the external display number can be 166****1234, or 166****1254, or 166****1784. This application does not impose specific restrictions on this.

[0048] The call prefix can be a country code or a city code. For example, the call prefix can be 03*2-, or 01*2-, or 02*2-. This application does not impose any specific restrictions on this.

[0049] The called number is the number of the called party. For example, the called number can be 177****1234, or 177****1264, or 177****1834. This application does not impose specific restrictions on this.

[0050] Taking the external display number as 166****1234, the call prefix as 03*2-, and the called number as 177****1234 as an example, the first call information set can be [166****1234$03*2-$177****1234]. Of course, the first call information set can also have other forms, and this application does not impose specific restrictions on them.

[0051] The target communication line is the communication line used to make a VoIP call. The target communication line can be identified as communication line A, or communication line B, or communication line C. This application does not impose any specific restrictions on this.

[0052] The target port is the port used to make a VoIP call on the target communication line. The target port can be identified as port D, port E, or port F. This application does not impose any specific restrictions on this.

[0053] Taking the target communication line as A and the target port as D as an example, the second call information set can be [A communication line $D port]. Of course, the second call information set can also have other forms, and this application does not impose specific restrictions on it.

[0054] As one possible implementation method, combined Figure 1 The VoIP dialing device receives a message from an electronic device, which includes a first set of call information and a second set of call information of the caller. The VoIP dialing device obtains the first set of call information and the second set of call information of the caller from the message.

[0055] As another possible implementation, the VoIP dialing device receives a message from the caller through a RESTful interface. This message includes the caller's first set of call information and second set of call information. The VoIP dialing device then obtains the caller's first set of call information and second set of call information from this message.

[0056] It should be noted that the RESTful interface is an interface based on the RESTful architecture, and the RESTful architecture refers to an architectural method that conforms to the REST principles. The REST principles include that all things on the network are abstracted as resources, each resource has a unique resource identifier, the same resource has multiple representations, various operations on the resource do not change the resource identifier, and all operations are stateless.

[0057] S202. The network telephone calling device performs asymmetric encryption processing on the external display number, call prefix, and called number to obtain the target encrypted information.

[0058] It should be noted that the algorithm for asymmetric encryption can be the RSA algorithm.

[0059] What are the common bit lengths of the RSA algorithm's representation modes, such as 1024 bits, 2048 bits, 4096 bits, etc. The key generation principle of the RSA algorithm is as follows:

[0060] First, given two large prime numbers p and q, let n = p * q.

[0061] Then, given a number e such that e and φ(n) are relatively prime, there exists d such that e * d = 1 (mod φ(n)), and d is the modular multiplicative inverse of e with respect to the congruence φ(n).

[0062] Further determine that the public key is (e, n) and the private key is (d, n).

[0063] For a given plaintext number M (< n, usually a string during encryption, which can be converted into a large integer), during encryption, M^e % n = C. Correspondingly, during decryption, C^d % n = M.

[0064] The length requirement of the encrypted content is less than n. If it includes a padding mode, the sum of the encrypted content length and the padding content length should be less than n, otherwise block encryption will be required.

[0065] For the padding mode, there are three commonly used padding modes in RSA encryption: RSA_NO_PADDING, RSA_PKCS1_PADDING, RSA_PKCS1_OAEP_PADDING. The RSA algorithm is also a block encryption algorithm, always operating on a fixed-length block, and the block length is related to the public and private key modulus lengths. The padding of the RSA algorithm is filled in front of each block, while the symmetric encryption algorithm fills at the end of the last block.

[0066] As a possible implementation, the network telephone calling device encrypts the first call information set based on the RSA algorithm to obtain the target encrypted information.

[0067] For example, the target encrypted information can be jZzikbHMzVElrauG9VyN8X6tNX8qA2L8jAvOy+8CF0FfeMk+dsAen1P4vZbW6ht3f1gzhP1Kghx EkiC9ASzrjGIJg9SwGVqJM4jcsz7abjsGJop36fBPod0vFLX8lCjnucR2oEIyls9b6M89gLDgAa1ntj TSzYnZ5vdhYCwBCqo=. Of course, the target encrypted information can also be other information, and this application does not impose specific restrictions on it.

[0068] S203. The VoIP dialing device sends the first instruction information to the Session Initialization Protocol (SIP) server.

[0069] The first instruction information includes a second set of call information and target encrypted information. The first instruction information is used to instruct the SIP server to make a VoIP call based on the second set of call information and target encrypted information.

[0070] It should be noted that a SIP server is a server that uses SIP. SIP is an application layer signaling control protocol used to create, modify, and release sessions of one or more participants, such as VoIP.

[0071] A SIP server can be a kamailio server.

[0072] Kamailio server is an open-source SIP server capable of supporting tens of thousands of call setups and releases per second.

[0073] As one possible implementation, the VoIP dialing device sends the first instruction information to the SIP server through the sipjs module.

[0074] After the kamailio server receives the first instruction from the VoIP dialing device, it can decrypt the target encrypted information and make a VoIP call through the target port on the target communication line.

[0075] For example, if the target communication line is identified as communication line A and the target port is identified as port E, after the kamailio server receives the first instruction information from the VoIP dialing device, it can decrypt the target encrypted information and make a VoIP call through port E on communication line A.

[0076] Based on this scheme, by obtaining the caller's first and second call information sets, the displayed number, call prefix, and called number are subjected to asymmetric encryption to obtain the target encrypted information. A first instruction message including the target encrypted information and the second call information set is then sent to the SIP server, enabling the SIP server to make a VoIP call based on the second call information set and the target encrypted information. Compared to existing schemes that transmit call-related information via HTTP, this application obtains the target encrypted information through asymmetric encryption of the displayed number, call prefix, and called number. Even if the target encrypted information is intercepted, it is not easily leaked, thus preventing the leakage of call-related information and improving the security of VoIP calls.

[0077] The above is a general description of the VoIP dialing method provided in this application. The following will provide a further explanation of the solution in conjunction with the accompanying drawings.

[0078] In one design, Figure 3 This is a flowchart illustrating yet another VoIP dialing method provided in this application, as shown below. Figure 3 As shown, prior to S201, the VoIP dialing method provided in this application may also include the following steps:

[0079] S301. The VoIP dialing device obtains the caller's account and password.

[0080] The account is the one corresponding to the caller's VoIP call, and the password is the account's password.

[0081] It should be noted that the account can be 177****1254, or FGHCFD****VVB, or 1F35F****DSKL;587D. Of course, the account can also be other accounts, and this application does not impose specific restrictions on this.

[0082] The password can be 122***45654, or it can be SDAIOHF***DSJKBFK, or it can be 1SHFN**414f1g54. Of course, the password can also be any other password. This application does not impose any specific restrictions on this.

[0083] As one possible implementation method, combined Figure 1 The VoIP dialing device receives a message from an electronic device, which includes the caller's account and password. The VoIP dialing device then retrieves the caller's account and password from this message.

[0084] S302. The VoIP dialing device registers with the SIP server using an account and password.

[0085] As one possible implementation, taking the SIP server as the kamailio server, the account as 1F35F****DSKL;587D, and the password as 1SHFN**414f1g54 as an example, the VoIP dialing device registers on the kamailio server using 1F35F****DSKL;587D as the account and 1SHFN**414f1g54 as the password.

[0086] It should be noted that the specific implementation scheme of this possible implementation method can refer to existing schemes, and will not be described in this application.

[0087] Based on this scheme, by obtaining the caller's account and password and registering on the SIP server using the account and password, the caller can subsequently make VoIP calls on the SIP server.

[0088] The above mainly describes the solution provided by the embodiments of this application from the perspective of the VoIP dialing device executing the VoIP dialing method. To achieve the above functions, the VoIP dialing device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0089] This application embodiment can divide the VoIP dialing device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. Furthermore, "module" here can refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory executing one or more software or firmware programs, integrated logic circuits, and / or other devices that can provide the above functions.

[0090] When using functional module division Figure 4 A schematic diagram of a VoIP dialing device is shown. Figure 4As shown, the VoIP dialing device 40 includes a transceiver module 401 and a processing module 402.

[0091] In some embodiments, the VoIP dialing device 40 may further include a storage module. Figure 4 (Not shown in the image) is used to store program instructions and data.

[0092] The transceiver module 401 is used to acquire a first call information set and a second call information set from the calling party; the first call information set includes the displayed number, the call prefix, and the called number, and the second call information set includes the identifier of the target communication line and the identifier of the target port of the target communication line; the processing module 402 is used to perform asymmetric encryption processing on the displayed number, the call prefix, and the called number to obtain the target encrypted information; the transceiver module 401 is also used to send a first instruction information to the Session Initiation Protocol (SIP) server; the first instruction information includes the second call information set and the target encrypted information, and the first instruction information is used to instruct the SIP server to make a VoIP call based on the second call information set and the target encrypted information.

[0093] Alternatively, the asymmetric encryption algorithm is the RSA algorithm.

[0094] Optionally, the processing module 402 is also used to: obtain the caller's account and password; the account is the caller's account corresponding to the VoIP call, and the password is the account's password; and register on the SIP server using the account and password.

[0095] Optionally, the SIP server is the kamailio server.

[0096] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0097] When the functions of the above modules are implemented in hardware... Figure 5 A schematic diagram of a VoIP dialing device is shown. Figure 5 As shown, the VoIP dialing device 50 includes a processor 501, a memory 502, and a bus 503. The processor 501 and the memory 502 can be connected via the bus 503.

[0098] Processor 501 is the control center of VoIP dialing device 50. It can be a single processor or a collective term for multiple processing elements. For example, processor 501 can be a general-purpose central processing unit (CPU) or other general-purpose processors. The general-purpose processor can be a microprocessor or any conventional processor.

[0099] As one embodiment, processor 501 may include one or more CPUs, for example Figure 5 CPU 0 and CPU 1 are shown in the diagram.

[0100] The memory 502 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0101] As one possible implementation, the memory 502 can exist independently of the processor 501. The memory 502 can be connected to the processor 501 via a bus 503 and is used to store instructions or program code. When the processor 501 calls and executes the instructions or program code stored in the memory 502, it can implement the VoIP dialing method provided in this embodiment.

[0102] In another possible implementation, the memory 502 can also be integrated with the processor 501.

[0103] Bus 503 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0104] It should be pointed out that, Figure 5 The structure shown does not constitute a limitation on the VoIP dialing device 50. Except... Figure 5 In addition to the components shown, the VoIP dialing device 50 may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0105] As an example, combined Figure 4The transceiver module 401 and processing module 402 in the VoIP dialing device 40 perform the same functions as... Figure 5 The processor 501 in it has the same function.

[0106] Optional, such as Figure 5 As shown, the VoIP dialing device 50 provided in this application embodiment may further include a communication interface 504.

[0107] Communication interface 504 is used to connect with other devices via a communication network. This communication network can be Ethernet, a wireless access network, a wireless local area network (WLAN), etc. Communication interface 504 may include a receiving unit for receiving data and a transmitting unit for transmitting data.

[0108] In one possible implementation, the communication interface 504 of the VoIP dialing device 50 provided in this application embodiment can also be integrated into the processor 501, and this application embodiment does not specifically limit this.

[0109] As a possible product form, the VoIP dialing device of this application embodiment can also be implemented using one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.

[0110] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0111] This application also provides a computer-readable storage medium storing a computer program or instructions thereon, which, when executed, causes a computer to perform the various steps in the method flow shown in the above method embodiments.

[0112] Embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the various steps in the method flow shown in the above-described method embodiments.

[0113] This application provides a chip system, including: a processor and an interface circuit; the interface circuit is used to receive computer programs or instructions and transmit them to the processor; the processor is used to execute the computer programs or instructions so that the chip system performs each step in the method flow shown in the above method embodiments.

[0114] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disks, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in a purpose-specific ASIC. In the embodiments of this application, the computer-readable storage medium can 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.

[0115] Since the VoIP dialing device, computer-readable storage medium, and computer program product provided in this embodiment can be applied to the VoIP dialing method provided in this embodiment, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.

[0116] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, the disclosure, and the appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0117] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.

Claims

1. A method for making VoIP calls, characterized in that, Applied to VoIP; the method includes: The VoIP service obtains a first set of call information and a second set of call information from the caller; the first set of call information includes the displayed number, the call prefix, and the called number; the second set of call information includes the identifier of the target communication line and the identifier of the target port of the target communication line. The VoIP service performs asymmetric encryption on the displayed number, the call prefix, and the called number to obtain the target encrypted information. The VoIP service sends a first instruction message to the Session Initiation Protocol (SIP) server; the first instruction message includes the second call information set and the target encrypted information, and the first instruction message is used to instruct the SIP server to make a VoIP call based on the second call information set and the target encrypted information. The SIP server receives the first indication information and obtains the target encrypted information and the second call information set; The SIP server decrypts the target encrypted information and makes a VoIP call through the target port of the target communication line.

2. The method according to claim 1, characterized in that, The asymmetric encryption algorithm is the RSA algorithm.

3. The method according to claim 1, characterized in that, The method further includes: The VoIP service obtains the caller's account and password; the account is the caller's account corresponding to the VoIP service, and the password is the password of the account. The VoIP call is registered on the SIP server using the account and the password.

4. The method according to any one of claims 1-3, characterized in that, The SIP server is a kamailio server.

5. A VoIP dialing device, characterized in that, For use in VoIP, the VoIP dialing device includes: a transceiver module and a processing module; The transceiver module is used to acquire a first set of call information and a second set of call information from the calling party; the first set of call information includes the displayed number, the call prefix, and the called number, and the second set of call information includes the identifier of the target communication line and the identifier of the target port of the target communication line; The processing module is used to perform asymmetric encryption processing on the displayed number, the calling prefix and the called number to obtain target encrypted information; The transceiver module is further configured to send a first instruction message to the SIP server; the first instruction message includes the second call information set and the target encrypted information, and the first instruction message is configured to instruct the SIP server to make a VoIP call based on the second call information set and the target encrypted information; the SIP server is configured to decrypt the target encrypted information and make a VoIP call through the target port of the target communication line.

6. The VoIP dialing device according to claim 5, characterized in that, The asymmetric encryption algorithm is the RSA algorithm.

7. The VoIP dialing device according to claim 5, characterized in that, The processing module is further configured to: Obtain the caller's account and password; the account is the caller's account corresponding to the VoIP call, and the password is the password of the account; Register on the SIP server using the account and password.

8. The VoIP dialing device according to any one of claims 5-7, characterized in that, The SIP server is a kamailio server.

9. A VoIP dialing device, characterized in that, The VoIP dialing device includes: a processor coupled to a memory for storing programs or instructions, which, when executed by the processor, cause the VoIP dialing device to perform the method as described in any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed, they cause the computer to perform the method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Information processing method and electronic apparatus

    CN105376733A

  • Network call method and device, mobile terminal, SIP (Session Initiation Protocol) server and storage medium

    CN114915925A