Conversation system, method and device based on cloud mobile phone and related equipment
Through the connection between the cloud mobile phone server and the voice call device in the cloud data center, combined with the number allocation system, the voice call function is implemented for the cloud mobile phone, which solves the problem that the cloud mobile phone system cannot handle the voice call service, and realizes outbound and inbound calls. functions and number management.
Patent Information
- Application Number
- CN202310279269.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-21
- Publication Date
- 2024-10-01
AI Technical Summary
The cloud mobile phone system cannot handle voice call services because the cloud mobile phone client lacks the voice call function, cannot dial outgoing calls or receive incoming call requests, and cannot flexibly select an outgoing call number.
By setting up the cloud mobile phone server on the server of the cloud data center to connect with the voice call device, the user triggers a call request message on the terminal device, and the cloud mobile phone server sends the call request message to the voice call device to dial the target device number, realizing voice Call connection, and assign a fixed number to the cloud phone through the number allocation system to support two-way voice calls.
The outgoing and incoming voice call functions based on cloud mobile phones are implemented, ensuring that cloud mobile phone users can make voice calls even if the terminal device does not have the voice call function, and two-way calls are realized through a fixed number, which improves user experience and system flexibility.
Smart Images

Figure CN118740982A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer software technology, and in particular to a call system, method, device and related equipment based on a cloud phone. Background Art
[0002] A cloud phone is a form of mobile phone that provides services based on the Internet. Users can log in to the cloud phone server through the cloud phone client installed on the terminal device (such as a physical mobile phone, computer, etc.). The cloud phone server can run on a server. Using the resources of the cloud data center, one or more applications can be run on the cloud phone server, and the cloud phone client can display the icons of the above one or more applications to the user. The user operates the application on the cloud phone client. The cloud phone client can send the user's operating instructions to the cloud phone server, so that the cloud phone server can operate the application according to the user's operating instructions and send the application's feedback to the cloud phone client.
[0003] In terms of the function of running applications, cloud phones have advantages over traditional phones. However, in terms of voice call services, cloud phones have a big disadvantage. This is because the functions of applications are actually implemented by the cloud phone server, and the cloud phone client does not have a number for voice calls. Therefore, current cloud phones cannot handle voice call services.
[0004] In some possible application scenarios, the cloud phone client can make a call by calling the Subscriber Identity Module (SIM) card of the terminal device (such as a mobile phone), or display the call request corresponding to the SIM card of the terminal device. However, this implementation method is equivalent to the cloud phone client calling the voice call function of the physical mobile phone to provide voice call services for users. The cloud phone itself does not have a voice call function and cannot handle voice call services. Summary of the invention
[0005] In view of this, the present application provides a call system based on a cloud phone, which is used to implement a voice call service based on a cloud phone. The present application also provides a corresponding method, apparatus, computer device cluster, device, computer readable storage medium and computer code product.
[0006] In the first aspect, the present application provides a call system based on a cloud phone, which includes a cloud phone service end of a server set in a cloud data center and a cloud phone client set on a terminal device. The cloud phone service end is remotely connected to the cloud phone client, and the cloud phone service end is also connected to a voice call device. If a cloud phone user wants to make a voice call through a cloud phone, the cloud phone user can trigger a call request message on the terminal device. The cloud phone client can send the call request message triggered by the cloud phone user to the cloud phone service end. Among them, the number of the first target device included in the call request message. The first target device is the terminal device that the cloud phone user wants to call. After obtaining the call request message, the cloud phone service end can dial the number of the first target device through the voice call device to achieve a first call connection with the first target device. After the first call connection is established, the cloud phone client can send the first call content entered by the cloud phone user on the terminal device to the cloud phone service end, and the cloud phone service end can send the first call content to the first target device through the voice call device based on the first call connection. In this way, a call connection is established with the voice call device connected to the cloud phone server. Even if the terminal device where the cloud phone client is located does not have the voice call function, a call connection with the first target device can be established, thereby sending the call content input by the cloud phone user to the first target device. In this way, voice calls based on the cloud phone are realized.
[0007] In some possible implementations, the cloud phone server can also transmit the call content from the first target device. Specifically, the cloud phone server can also obtain the second call content from the first target device from the first call connection, and send the second call content to the cloud phone client. After the cloud phone client receives the second call content, it can play the second call content to the cloud phone user. In this way, the cloud phone server acts as a transit, which can send the first call content input by the cloud phone user to the first target device, and can also send the second call content from the first target device to the cloud phone client. In this way, information interaction during the call is achieved.
[0008] In some possible implementations, the cloud phone can make an outgoing call based on a specific number. Specifically, the cloud phone identifier can be included in the call request message sent by the cloud phone client to the cloud phone server. Among them, the cloud phone identifier can be, for example, the cloud phone client identifier, or the identifier of the cloud phone user account logged in to the cloud phone client. After obtaining the call request message, the cloud phone server can first determine the first number corresponding to the cloud phone based on the cloud phone identifier and the number correspondence. Then, the cloud phone server uses the first number as the calling number and dials the number of the first target device through the voice call device. In other words, the first call connection is established based on the number of the first target device and the first number. The number correspondence includes the correspondence between the cloud phone identifier and the first number, indicating that the first number is the number assigned to the cloud phone. In this way, since the cloud phone corresponds to a fixed number (such as the first number), not only can voice calls be made, but also incoming calls can be made based on the fixed number.
[0009] In some possible implementations, the first number may be allocated to the cloud phone by a number allocation system. Specifically, before dialing the number of the first target device based on the first number, the cloud phone server may apply to the number allocation system for allocating the first number to the cloud phone client. After the number allocation system allocates the first number to the cloud phone client, the cloud phone server may also record the correspondence between the cloud phone identifier and the first number to obtain the above number correspondence.
[0010] In some possible implementations, the cloud phone service end may also receive call content from other target devices from the voice call device. Specifically, if the second target device dials the number of the cloud phone client, a second call connection may be established between the voice call device and the second target device. The third call content from the second target device may be sent to the voice call device via the second call connection. The cloud phone service end may obtain the third call content from the voice call device and send the third call content to the cloud phone client so that the cloud phone client can play the third call content.
[0011] In some possible implementations, the cloud phone service end may also send the fourth call content input by the cloud phone user on the terminal device to the second target device. Specifically, the cloud phone service end may obtain the fourth call content input by the cloud phone user on the terminal device, and send the fourth call content to the cloud phone service end. The cloud phone service end may send the fourth call content to the second target device through the voice call device based on the second call connection, so that the second target device plays the fourth call content.
[0012] On the second aspect, the present application provides a voice call method based on a cloud phone. The method can be applied to a cloud phone server. The cloud phone server is set in a server in a cloud data center and is connected to the voice call. Specifically, when executing the method, the cloud phone server can first obtain a call request message sent by the cloud phone client. Then, the cloud phone server can dial the number of the first target device through a voice call device according to the call request message to achieve a first call connection with the first target device. Among them, the call request message is triggered by the cloud phone user on the cloud phone client. The call request message includes the number of the first target device, indicating that the cloud phone user wants to call the first target device through the cloud phone. In this way, the outgoing voice call function based on the cloud phone is realized.
[0013] In some possible implementations, the cloud phone service end may also transmit the call content after the first call connection is established. Specifically, the cloud phone service end may receive the first call content sent by the cloud phone client, and send the first call content to the first target device through the voice call device based on the first call connection. On the other hand, the cloud phone service end may also obtain the second call content from the first target device from the first call connection, and send the second call content to the cloud phone client.
[0014] In some possible implementations, the cloud phone server can make an outgoing call based on the number corresponding to the cloud phone. Specifically, the call request message sent by the cloud phone client to the cloud phone server may include the cloud phone's identifier. Before making a call, the cloud phone server can determine the first number corresponding to the cloud phone based on the correspondence between the cloud phone's identifier and the number, thereby establishing a first call connection based on the first number. Among them, the number correspondence includes a correspondence between the first number and the cloud phone's identifier, which is used to indicate that the first number corresponds to the first cloud phone.
[0015] In some possible implementations, the first number may be allocated to the cloud phone by the cloud phone service end. Specifically, before making an outgoing voice call based on the first number, the cloud phone service end may apply to the number allocation system for allocating the first number to the cloud phone. After the number allocation system allocates the first number to the cloud phone, the cloud phone service end may generate a number correspondence relationship based on the first number and the cloud phone's identifier.
[0016] In some possible implementations, the cloud phone service end can also forward the third call content from the second target device when the second target device calls the cloud phone. Specifically, the second target device can dial the cloud phone number to establish a second call connection between the voice call device and the second target device. The third call content input by the user on the second target device can be sent to the voice call device by the second target device through the second call connection. The cloud phone service end can obtain the third call content from the second target device from the voice call device, and then send the third call content to the cloud phone client.
[0017] In some possible implementations, the cloud phone server can also send the fourth call content input by the cloud phone user on the terminal device to the second target device. Specifically, the cloud phone client can send the fourth call content input by the cloud phone user on the terminal device to the cloud phone server. The cloud phone server can send the fourth call content to the second target device through the voice call device based on the second call connection.
[0018] In the third aspect, the present application provides a cloud phone voice call device, which is applied to a cloud phone server, and the cloud phone server is set in a server in a cloud data center and connected to the voice call device; the device includes: a first transceiver module, used to obtain a call request message sent by a cloud phone client, and the cloud phone client is set in a terminal device of a cloud phone user, and the call request message is triggered by the cloud phone user on the terminal device, and the call request message includes the number of a first target device; a connection establishment module, used to dial the number of the first target device through the voice call device to realize a first call connection with the first target device.
[0019] In some possible implementations, the device also includes a second transceiver module; the first transceiver module is also used to receive the first call content sent by the cloud phone client after the first call connection is established, and the first call content is input by the cloud phone user on the terminal device; the second transceiver module is used to send the first call content to the first target device based on the first call connection through the voice call device; the second transceiver module is also used to obtain the second call content from the first target device from the first call connection; the first transceiver module is also used to send the second call content to the cloud phone client.
[0020] In some possible implementations, the device also includes a determination module, the call request message includes the identifier of the cloud phone client; the determination module is used to determine the first number based on the identifier of the cloud phone and the number correspondence; the first call connection is established based on the number of the first target device and the first number, and the number correspondence includes the correspondence between the first number and the identifier of the cloud phone.
[0021] In some possible implementations, the device further includes a number application module; the number application module is configured to apply for the first number from a number allocation system.
[0022] In some possible implementations, the second transceiver module is further used to obtain a third call content from the second target device from the voice call device, wherein the third call content is obtained by the voice call device from a second call connection, and the second call connection is established between the voice call device and the target device based on the triggering of the second target device dialing the number of the cloud phone client; the first transceiver module is also used to send the third call content to the cloud phone client.
[0023] In some possible implementations, the first transceiver module is further used to obtain a fourth call content sent by the cloud phone client, where the fourth call content is input by the cloud phone user on the terminal device; the second transceiver module is further used to send the fourth call content to the second target device through the voice call device based on the second call connection.
[0024] In a fourth aspect, the present application provides a computing device cluster, wherein the computing device includes at least one computing device, and the at least one computing device includes at least one processor and at least one memory; the at least one memory is used to store instructions, and the at least one processor executes the instructions stored in the at least one memory, so that the computing device cluster executes the method described in the second aspect or any possible implementation of the second aspect. It should be noted that the memory can be integrated into the processor or can be independent of the processor. The at least one computing device may also include a bus. The processor is connected to the memory via a bus. The memory may include a readable memory and a random access memory.
[0025] In a fourth aspect, the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, which, when executed on at least one computing device, enables the at least one computing device to execute the method described in the second aspect or any one of the implementations of the second aspect.
[0026] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on at least one computing device, enables the at least one computing device to execute the method described in the second aspect or any one of the implementations of the second aspect.
[0027] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0029] Figure 1 A schematic diagram of an exemplary application scenario provided for an embodiment of the present application;
[0030] Figure 2 A schematic diagram of another exemplary application scenario provided for an embodiment of the present application;
[0031] Figure 3 A flowchart of a voice call method based on a cloud phone provided in an embodiment of the present application;
[0032] Figure 4 Another flowchart of a voice call method based on a cloud phone provided in an embodiment of the present application;
[0033] Figure 5 A schematic diagram of another flow chart of a voice call method based on a cloud phone provided in an embodiment of the present application;
[0034] Figure 6 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0035] Figure 7 A schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The scheme in the embodiments provided in this application will be described below in conjunction with the drawings in this application.
[0037] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances. This is just a way of distinguishing objects with the same attributes when describing the embodiments of this application.
[0038] A cloud phone includes a cloud phone client running on a terminal device and a cloud phone server running on a server. The terminal device can be, for example, a physical mobile phone or a computer or other device. The server can be a server located in a cloud data center. When using a cloud phone, the user can perform operations on the cloud phone client of the terminal device. The instructions corresponding to the operation are sent to the cloud phone server through the network. The cloud phone server runs the corresponding application based on the instructions. Since the cloud phone application actually runs on the server, the performance of the cloud phone is less affected by the performance of the terminal device running the cloud phone client. In the cloud phone system, the cloud phone server can be regarded as the main body of the computer device for calculation, and the cloud phone client is equivalent to a remote display for displaying the screen. Therefore, cloud phones have been widely used in some application scenarios with high requirements for hardware performance.
[0039] For example, for some games that require high hardware performance, if they are run on traditional terminal devices (such as mobile phones), the smoothness of the game screen may be affected due to the limitations of the hardware performance of the terminal devices. However, when running games through cloud phones, the performance of the cloud phone server far exceeds the hardware performance of the terminal device, which can ensure the smooth operation of the game. The cloud phone client mainly serves the function of displaying two-dimensional images and does not involve the calculation of data in the game, so the hardware performance requirements are not high. In this way, the part with higher hardware performance requirements is transferred to the cloud phone server, reducing the hardware performance requirements of the terminal device for running the application.
[0040] Although the cloud phone system has a great advantage in running applications, the cloud phone client is software running on the terminal device. Without calling the voice call module of the terminal device, the cloud phone client itself cannot process the related signaling of voice calls. This results in the cloud phone system not being able to make outgoing calls like traditional mobile phones, nor receiving incoming calls from other mobile phones. In other words, the current cloud phones do not have the voice call function and cannot handle voice call services.
[0041] To this end, some cloud phone clients can currently call the voice call module of the terminal device to make a voice call. For example, if the cloud phone client is installed on a terminal device with a voice call function such as a mobile phone, the cloud phone client can call the voice call module of the terminal device through the operating system of the terminal device. Among them, the voice call module may include, for example, a Subscriber Identity Module (SIM) card installed on the terminal device and the corresponding auxiliary system. Accordingly, after the terminal device receives the incoming call request, the operating system of the terminal device can forward the incoming call request to the cloud phone client.
[0042] In the above implementation, although the cloud phone client can make outgoing voice calls, the cloud phone client makes outgoing calls by calling the voice call module of the terminal device, and the cloud phone does not make voice calls in essence. If the terminal device does not have a voice call function, for example, the terminal device is a computer device or a tablet computer that does not include a voice call module, then the cloud phone client cannot dial out. In addition, in this implementation, the caller number corresponding to the outgoing call request is the number corresponding to the terminal device, and the cloud phone client cannot flexibly select the number to make an outgoing call.
[0043] For example, see Figure 1 An exemplary application scenario is given. Figure 1 The application scenario shown includes a terminal device 110, a cloud data center 120, a wireless communication system 130, and a terminal device 140. Among them, a cloud phone client 111 is running on the terminal device 110, a cloud phone server 121 is running in the server of the cloud data center 120, and the cloud phone client 111 and the cloud phone server 121 correspond to the same cloud phone. The cloud phone server 121 is used to provide services for the cloud phone client 111. In addition, the terminal device 110 also includes a voice call module 112. For the sake of convenience, it is assumed that the cloud phone client 111 and the cloud phone server correspond to the first cloud phone.
[0044] When the user of the first cloud phone wants to call the terminal device 140 through the first cloud phone, the user can trigger an outgoing request on the cloud phone client 111. The cloud phone client 111 can send an outgoing request to the voice call module 112 through the interface. The outgoing request includes the number of the terminal device 140. Then, the voice call module 112 can send an outgoing signaling to the wireless communication system 130, and the wireless communication system 130 can determine the terminal device 140 according to the number of the terminal device 140 included in the outgoing signaling, and send an outgoing signaling to the terminal device 140. After the terminal device 140 responds, the wireless communication system 130 establishes a connection between the terminal device 110 and the terminal device 140 to realize the voice call function.
[0045] It can be seen that although Figure 1 The implementation method provided realizes outgoing calls based on the cloud phone client of the first cloud phone, but the solution relies on the voice call module 112 of the terminal device 110 itself. If the terminal device 110 does not include the voice call module 112, the user cannot make outgoing calls using the cloud phone client 111. In addition, the outgoing number is also determined by the voice call module 112, and the user cannot flexibly select the outgoing number.
[0046] Based on this, an embodiment of the present application provides a voice call device based on a cloud phone. The system includes a cloud phone client running on a terminal device and a cloud phone server running on a server in a data center. Among them, the terminal device can be a terminal device with a voice call function such as a physical mobile phone, or a terminal device without a voice call function such as a desktop computer or a tablet computer. The server running the cloud phone server can be one server or multiple servers. For example, if the cloud phone server runs multiple servers, different servers can be used to implement different functions.
[0047] In an embodiment of the present application, the cloud phone service end is also connected to a voice call device. The voice call device is used to implement the outgoing and / or incoming voice call functions. In this way, if a cloud phone user wants to make an outgoing voice call based on a cloud phone, the cloud phone user can trigger a call request message on the cloud phone client. The cloud phone client can send a call request message to the cloud phone service end through the network. Then, the cloud phone service end can make a call through the voice call device according to the call request message to implement the outgoing voice call. Among them, the call request message may include the number of the first target device. The first target device is the called party of the voice call initiated by the user. In this way, even if the terminal device where the cloud phone service end is located does not include a voice call module, a call can be implemented through the voice call device. In this way, the voice call function is implemented without relying on the voice call module of the terminal device.
[0048] Specifically, see Figure 2 ,exist Figure 2 The application scenario shown includes a terminal device 210, a cloud data center 220, a voice call device 230, and a terminal device 240. Among them, a cloud phone client 211 of a first cloud phone is running on the terminal device 110, and a cloud phone server 221 of a first cloud phone is running on the server of the cloud data center 220. The cloud phone client 211 is connected to the cloud phone server 221 through a network. The cloud phone server 221 is connected to the voice call device 230 through a network or a wired connection.
[0049] If the user wants to call the terminal device 230, the user can trigger a call request message on the cloud phone client 211 of the terminal device 210. Then, the cloud phone client 211 can send a call request message to the cloud phone service end 221 through a network connection. The call request message includes the number of the terminal device 240. The cloud phone service end 221 can initiate a voice call on the voice call device 230 according to the call request message, thereby dialing the number of the terminal device 240 through the voice call device 230. After the call connection between the terminal device 240 and the voice call device 230 is established, the user can enter the call content on the terminal device 210. The call content is sent to the cloud phone service end 221 through the cloud phone client 211, and then sent to the terminal device 240 by the cloud phone service end 221 through the voice call device 230.
[0050] The above describes the voice call system based on cloud phone provided by the embodiment of the present application. In addition, the embodiment of the present application also provides a voice call method based on cloud phone executed by the cloud phone service end in the above system. The following is a detailed introduction to the voice call method based on cloud phone.
[0051] The above-mentioned cloud phone-based voice call method can be applied to a cloud phone voice call device. The cloud phone voice call device belongs to the cloud phone service end, which can be implemented on a single computing device (such as a server) or a computing device cluster to provide voice call services for one or more cloud phones.
[0052] Specifically, when executing the technical solution provided in the embodiment of the present application, the cloud phone voice call device can first obtain an outgoing call request message. The outgoing call request message is initiated by the cloud phone client, and includes the number of the first target device, which is used to call the first target device. The first target device can be a cloud phone or a physical phone. Then, the cloud phone voice call device can initiate an outgoing call through the voice call device according to the number of the first target device, that is, dial the number of the first target device through the voice call device. After establishing a call connection between the first target device and the cloud phone server, voice signals can be transmitted through the call connection. In this way, the voice call function based on the cloud phone is realized without using the voice call module of the cloud phone.
[0053] As an example, the above-mentioned cloud phone voice call device can be deployed on a computing device, such as a computer or a server. As another example, the above-mentioned cloud phone voice call device can be deployed on multiple computing devices, such as one or more servers in a distributed system. Optionally, if the cloud phone voice call device is deployed on multiple computing devices, different computing devices can be used to perform different steps. Optionally, the computing device deployed with the cloud phone voice call device can be a server or server cluster corresponding to the cloud phone.
[0054] by Figure 2 The application scenario is given for illustration purposes.
[0055] Among them, a cloud phone client 211 is running on the terminal device 210, and a cloud phone server 221 is running in the server of the cloud data center. For the sake of ease of introduction, the cloud phone corresponding to the cloud phone client 211 can be called the first cloud phone. Then the cloud phone server 221 is the cloud phone server of the first cloud phone. The cloud phone voice call device can run on the cloud phone server 221. The voice call device 230 can be an independent voice call system, for example, it can be a voice transmission (voice over Internet Protocol, VoIP) system based on the Internet Protocol. Alternatively, the voice call device 230 can be an external module of the server in the cloud data center 220, for example, it can be an embedded SIM (Embedded SIM) card connected to the server where the cloud phone server 221 is located.
[0056] In actual application, the above-mentioned cloud phone voice call device can be implemented through software or hardware.
[0057] As an example of a software functional unit, a cloud phone voice call device may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the above-mentioned computing instance may be one or more. For example, a cloud phone voice call device may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple data centers with close geographical locations. Among them, usually a region may include multiple AZs.
[0058] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
[0059] As an example of a hardware functional unit, the cloud phone voice call device may include at least one computing device, such as a server, etc. Alternatively, the cloud phone voice call device may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The above-mentioned PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0060] The multiple computing devices included in the cloud phone voice call device can be distributed in the same region or in different regions. The multiple computing devices included in the first message sending device can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the cloud phone voice call device can be distributed in the same VPC or in multiple VPCs. Among them, the multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0061] Next, various non-limiting specific implementation methods of the cloud phone-based voice call process are described in detail.
[0062] First, the specific implementation method of making calls based on cloud phones is introduced.
[0063] See also Figure 3 , Figure 3 This is a flow chart of a voice call method based on a cloud phone in an embodiment of the present application. This method can be applied to the above Figure 2 The application scenario shown in FIG. 1 may also be applied to other applicable application scenarios. Figure 2The application scenario shown is used as an example for explanation.
[0064] Specifically, Figure 3 The cloud phone-based voice call method shown may specifically include:
[0065] S301: The cloud phone client 211 sends a call request message to the cloud phone server 221.
[0066] If the user wants to call the terminal device 240 through the first cloud phone, the user can trigger a call request message through the cloud phone client 211 on the terminal device 210. Specifically, the interface of the cloud phone client 211 displayed by the terminal device 210 may include a control for triggering a call request message. The user can trigger a call request message through the control, and the cloud phone client 211 sends a call request message to the cloud phone server 221. In an embodiment of the present application, the call request message is a network message, not a call signaling message during a voice call. In this way, even if the terminal device 210 does not have a voice call module, it can send a call request message to the cloud phone server 221.
[0067] The call request message includes the number of the terminal device 240 , indicating that the user of the call request message calls the terminal device 240 .
[0068] S302: The cloud phone service end 221 dials the number of the terminal device 240 through the voice call device 230.
[0069] After obtaining the call request message, the cloud phone service end 221 can dial the number of the terminal device 240 through the voice call device 230 to establish a first call connection between the cloud phone service end 221 and the terminal device 240. Then, the user can input the first call content through the cloud phone client 211 on the terminal device 210. The first call content is transmitted to the cloud phone service end 221 via the network, and then sent to the terminal device 240 by the cloud phone service end 221 through the first call connection. Similarly, the second call content from the terminal device 240 can be transmitted to the cloud phone service end 221 through the first call connection, and then sent to the cloud phone client 211 by the cloud phone service end 221 through the network. In this way, through the network connection between the cloud phone client 211 and the cloud phone service end 221, and the first call connection between the cloud phone service end 221 and the terminal device 240, the voice call between the cloud phone client 211 and the terminal device 240 is realized.
[0070] In some possible implementations, the voice call device 230 can be implemented based on a VOIP system. Accordingly, after obtaining the call request message, the cloud phone service end 221 can make an outgoing call through the VOIP system. Specifically, in the process of dialing the number of the terminal device 240, the cloud phone service end 221 can first send a request message to the VOIP system. The VOIP system can assign a number to the first cloud phone according to the request message, and use the number assigned to the first cloud phone as the calling number, and the number of the terminal device 240 as the called number for calling. That is, the calling number in the first call connection is the one assigned by the VOIP system to the first cloud phone.
[0071] However, since the VOIP system has the characteristic of randomly assigning numbers, the calling number of the first call connection is randomly assigned by the VOIP system. After the first call connection is disconnected, the VOIP system can recycle the number assigned to the first cloud phone. In this way, if the terminal device 240 wants to call back to the first cloud phone, since the number assigned to the first cloud phone is reclaimed by the VOIP system, the terminal device 240 cannot call back through the calling number of the first call connection.
[0072] That is to say, since the first cloud phone does not have a fixed number, the first cloud phone may not be able to realize two-way voice calls. To this end, in some other possible implementations, the cloud phone server can also record the correspondence between the identifier and number of the first cloud phone to realize the function of two-way voice calls. Among them, two-way voice calls mean that a terminal device can call other terminal devices and can also be called by other terminal devices. Optionally, in this implementation, the voice call device 230 can be implemented based on an eSIM card. So, the following is a detailed description,
[0073] See also Figure 4 , Figure 4 This is a flow chart of a voice call method based on a cloud phone in an embodiment of the present application. This method can be applied to the above Figure 2 The application scenario shown in FIG. 2 may also be applied to other applicable application scenarios. In addition, the voice call device connected to the cloud phone server 221 may be an eSIM card. Figure 2 The application scenario shown is used as an example for explanation. It should be noted that Figure 4 The corresponding implementation also includes a number allocation system. The number allocation system can be run on a server in the cloud data center 220, or it can be an independent server or server cluster. In addition, the functions of each module are specifically described in the following embodiments.
[0074] Specifically, Figure 4 The cloud phone-based voice call method shown may specifically include:
[0075] S401: The cloud phone server 221 sends a number allocation request to the number allocation system.
[0076] The premise for the cloud phone to be able to conduct two-way voice calls is that the cloud phone corresponds to a relatively fixed number. Therefore, in order for the first cloud phone to have the function of voice calls, it is first necessary to determine the number corresponding to the first cloud phone. In an embodiment of the present application, the number allocation system can allocate a number to the first cloud phone, and the cloud phone service end 221 records the correspondence between the first cloud phone and the number. Specifically, the number application module of the cloud phone service end 221 can generate a number allocation request and send the number allocation request to the number allocation system. Among them, the number allocation request is used to request the number allocation system to allocate a number to the first cloud phone.
[0077] Optionally, the number allocation request may include an identifier of the first cloud phone. The identifier of the first cloud phone is used to indicate that the number allocation request is a request for the first cloud phone. The number allocated according to the number allocation request is the number allocated to the first cloud phone. Alternatively, the number allocation request may not include the identifier of the first cloud phone. Accordingly, if the number allocation request does not include the identifier of the cloud phone, the cloud phone service end 221 may record the identifier of the number allocation request and determine that the number allocation request is the number allocation request corresponding to the first cloud phone, so as to subsequently generate a number correspondence. Among them, the identifier of the number allocation request may be, for example, the serial number of the number allocation request, the time when the number allocation request is sent, or other information used to uniquely identify the number allocation request.
[0078] According to the previous introduction, the cloud phone includes a cloud phone client running on a terminal device and a cloud phone service running on a server. In addition, different users can log in to the same cloud phone client on the same terminal device through different accounts. Therefore, in an embodiment of the present application, the first cloud phone may refer to the user account logged in by the cloud phone client on the terminal device 210. Accordingly, the number allocation request is used to request the assignment of a number to the user account currently logged in to the cloud phone client 211. Accordingly, it is assumed that user A uses user account A1 to log in to the cloud phone client 211 installed on the terminal device 210, and the number allocation system assigns number N1 to user account A1. If user A uses user account A1 to log in to the cloud phone client installed on other terminal devices, then the cloud phone client can also use number N1 for voice calls.
[0079] For the sake of convenience, in the embodiment of the present application, the user who uses the first cloud phone may be referred to as the first user. Figure 2 In the illustrated embodiment, a user using the terminal device 210 may be referred to as a first user.
[0080] In the embodiment of the present application, the sending of the number allocation request may be triggered by the cloud phone server 221, or by the cloud phone client 211, or by other implementation methods. The first two triggering methods are introduced below.
[0081] In a first possible implementation manner, the sending of the number allocation request is triggered by the cloud phone service end 221 .
[0082] Specifically, after establishing a connection with the cloud phone client 211, the cloud phone server 221 can determine whether the first cloud phone has been assigned a number. If the first cloud phone has not been assigned a number, the cloud phone server 221 can request the number allocation system to allocate a number for the first cloud phone, thereby sending a number allocation request to the number allocation system.
[0083] For example, after connecting with the cloud phone client 211, the cloud phone server 221 can search for the number corresponding to the identifier of the first cloud phone from the number correspondence. If there is no number corresponding to the identifier of the first cloud phone in the number correspondence, it means that the first cloud phone has not been assigned a number, and the cloud phone server 221 can send a number assignment request to the number assignment system to request the number assignment system to assign a number to the first cloud phone.
[0084] In a second possible implementation manner, the sending of the number allocation request is triggered by the cloud phone client 211 .
[0085] Specifically, if the first user has a need to use the first cloud phone for a voice call, and the first cloud phone has not been assigned a number, the first user can trigger a number allocation request through the cloud phone client 211. Specifically, the terminal device 210 can display a number allocation request control to the first user on the software interface of the cloud phone client 211. The first user can control the cloud phone client 211 to send a request message to the cloud phone server 221 by triggering the number allocation request control. The cloud phone server 221 generates a number allocation request based on the request message, and sends the number allocation request to the number allocation system.
[0086] In actual application scenarios, there may be a situation where a cloud phone needs to correspond to multiple numbers. For example, in a live broadcast scenario, a cloud phone may need to use multiple different mobile phone numbers for voice calls. Accordingly, if the first user needs multiple numbers for voice calls, the first user can trigger the number allocation request control on the terminal device 210 multiple times so that the number allocation system allocates multiple numbers to the first cloud phone. In other words, even if the first cloud phone is assigned a number, the first user can also trigger the number allocation system to assign a number to the first cloud phone through the cloud phone client 211.
[0087] S402: The cloud phone server 221 obtains a first number assigned by the number allocation system.
[0088] After sending the number allocation request to the number allocation system, the number allocation system can allocate the first number to the first cloud phone according to the number allocation request, and send the first number to the cloud phone server 221. The first number refers to the number allocated to the first cloud phone by the number allocation system. Accordingly, the number acquisition module of the cloud phone server 221 can obtain the first number allocated by the number allocation system. For example, the number acquisition module can receive the number allocation response sent by the number allocation system. The number allocation response includes the first number allocated by the number allocation system.
[0089] After obtaining the first number, the cloud phone server 221 can determine that the first number is allocated for the first cloud phone, that is, determine that the first number corresponds to the first cloud phone, so as to subsequently generate a number correspondence relationship.
[0090] According to the foregoing introduction, the number allocation request sent by the cloud phone service end 221 to the number allocation system may include the identifier of the first cloud phone. Correspondingly, the number allocation response obtained by the number acquisition module may also include the identifier of the first cloud phone. The identifier of the first cloud phone is used to indicate that the number allocation response is used to allocate a number for the first cloud phone. Then the cloud phone service end 221 can determine that the first number is a number allocated to the first cloud phone based on the identifier of the first cloud phone.
[0091] Alternatively, if the number allocation request does not include the identifier of the first cloud phone, the number allocation response may include the identifier of the number allocation request to indicate the correspondence between the number allocation response and the number allocation request. Accordingly, the cloud phone server 221 can determine that the first number in the number allocation response is the number allocated to the first cloud phone based on the identifier of the number allocation request in the number allocation response.
[0092] In some possible implementations, the cloud phone server 221 can implement the voice call function through an embedded SIM card. Specifically, the server where the cloud phone server 221 is located can correspond to one or more eSIM cards. In this way, the cloud phone server 221 can send outgoing signaling through the eSIM card to implement the outgoing voice call function, and can also receive incoming signaling through the eSIM card to implement the incoming voice call function.
[0093] Since the number corresponding to the eSIM card can be set according to actual needs, after obtaining the first number, the cloud phone service end 2210 can bind the first number to a certain eSIM card. Specifically, the cloud phone service end 221 can select an eSIM card with no number set from one or more eSIM cards corresponding to itself, and set the number corresponding to the eSIM card to the first number. In addition, the cloud phone service end 221 can also record the correspondence between the eSIM card and the first number, so that when an incoming call request or outgoing call request corresponding to the first number is received, an incoming call or an outgoing call can be made through the eSIM card corresponding to the first number. For the sake of convenience, the eSIM card bound to the first number will be referred to as the first eSIM card below.
[0094] For example, if the server corresponding to the cloud phone service end 221 is connected to one or more eSIM card modules, and each eSIM card module can correspond to one or more eSIM cards. Each eSIM card can correspond to a number. After obtaining the first number, the cloud phone service end 2210 can select an eSIM card module including an eSIM card with no number set from multiple eSIM card modules, and bind the first number to the eSIM card in the eSIM card module. Then, the cloud phone service end 221 can record the correspondence between the identifier of the eSIM card bound to the first number in the eSIM card module and the first number. In an embodiment of the present application, the correspondence can be referred to as a number correspondence.
[0095] It is understandable that a specific eSIM card in the eSIM card module can be a virtual concept, indicating a virtual SIM card corresponding to a number in the eSIM card module, and a single eSIM card does not correspond to an independent physical device. The eSIM card module can be a physical device plugged into a server.
[0096] S403: The cloud phone server 221 generates a correspondence between the first number and the identifier of the first cloud phone.
[0097] After obtaining the first number, the cloud phone server 221 can generate a number correspondence. The number correspondence is the correspondence between the identifier of the first cloud phone and the first number, indicating that the first cloud phone is assigned to the first number. In this way, if the first cloud phone needs to make an outgoing voice call, the cloud phone server 221 can use the first number to make the outgoing call. Alternatively, if an incoming call request corresponding to the first number is received, the cloud phone server 221 can determine that the incoming call request corresponds to the first cloud phone based on the first number. Specifically, the correspondence generation module in the cloud phone server 221 can generate a correspondence between the first number and the identifier of the first cloud phone.
[0098] In the embodiment of the present application, the number determination during the voice call of the first cloud phone is based on the identification of the first cloud phone. Therefore, the identification of the first cloud phone refers to the information used to uniquely identify the first cloud phone. For example, the identification of the first cloud phone can be the user identification corresponding to the first cloud phone.
[0099] After generating the correspondence between the first number and the identifier of the first cloud phone, the cloud phone server 221 can store the correspondence so as to call it when providing the voice call service for the first cloud phone. For example, the cloud phone server 221 can store the correspondence in a local storage module ( Figure 2 In this way, if the cloud phone service end 221 obtains an outgoing call request message from the first cloud phone, or obtains an incoming call signaling with the called number being the first number, the cloud phone service end 221 can implement a voice call function based on the number correspondence.
[0100] The following describes a processing method after the cloud phone server 221 obtains an outgoing request message from the cloud phone client 211 of the first cloud phone.
[0101] S404: The cloud phone server 221 obtains the outgoing request message sent by the cloud phone client 221.
[0102] If the first user wants to call other users through the first cloud phone, the message acquisition module of the cloud phone server 221 can obtain an outgoing request message from the cloud phone client 211 of the first cloud phone. The outgoing request message includes an identifier of the first cloud phone, which is used to indicate that the outgoing request message corresponds to the first cloud phone, indicating that the first cloud phone needs to use the voice call service to implement an outgoing voice call. It is understandable that the outgoing request message can also include a called number, that is, the number of the called party in the outgoing voice call initiated by the first cloud phone. For ease of explanation, in Figure 2 In the application scenario shown, it is assumed that the called party corresponding to the outgoing request message is the terminal device 240, and the number corresponding to the terminal device 240 is the second number. That is, the outgoing request message may include the second number as the called number.
[0103] In the embodiment of the present application, the outgoing call request message is a message sent by the terminal device 210 to the cloud phone server 221 corresponding to the first cloud phone. Specifically, the terminal device 210 can display a voice outgoing call control on the interface of the cloud phone client 211 of the first cloud phone so that the first user can trigger the voice outgoing call control. After detecting that the voice outgoing call control is triggered, the terminal device 210 can generate a first outgoing call request and send it to the cloud phone server 221.
[0104] It should be noted that the cloud phone client 211 of the first cloud phone is essentially software running on the terminal device. Therefore, the outgoing request message is a network message, not a communication signaling message involved in a voice call. In other words, the process of the cloud phone client 211 sending an incoming request message to the cloud phone server 221 belongs to the message interaction process between the client and the server, not the signaling interaction during the voice call. Therefore, even if the terminal device 210 does not have the function of a voice call, so that the terminal device 210 cannot process the communication signaling message, the first user can also send an outgoing request message to the cloud phone server 221 through the cloud phone client 211 of the first cloud phone, thereby realizing a voice call based on the first cloud phone.
[0105] According to the above introduction, a cloud phone may correspond to multiple numbers. Accordingly, if the first cloud phone corresponds to multiple numbers, the outgoing request message may also include a target calling number. Among them, the target calling number corresponds to the first cloud phone, which is the calling number selected by the user of the first cloud phone and corresponds to the outgoing request message. That is, the calling number of the first call connection.
[0106] Take an example. Assume that the first cloud phone corresponds to three numbers: number A, number B, and number C, and the user of the first cloud phone wants to make an outgoing call through number B, then the user of the first cloud phone can select number B to make an outgoing call on the cloud phone client 211 of the first cloud phone. Correspondingly, the cloud phone client 211 of the first cloud phone can generate an outgoing request message based on number B. In this way, the cloud phone service end 221 can determine that the calling number corresponding to the first outgoing request is number B. Specifically, number B may be included in the outgoing request message. Alternatively, the outgoing request message may also include the sequence number of number B. The sequence number of number B is used to indicate which number B is assigned to the first cloud phone.
[0107] S405: The cloud phone server 221 determines the first number according to the corresponding relationship between the identifier and number of the first cloud phone.
[0108] After obtaining the outgoing call request message, the cloud phone service end 221 can determine the number corresponding to the first cloud phone according to the corresponding relationship between the identifier and number of the first cloud phone, and thus select the number as the calling number for the outgoing voice call. Specifically, the number determination module in the cloud phone service end 221 can first extract the identifier of the first cloud phone from the call request message, and then determine the first number corresponding to the first cloud phone according to the corresponding relationship between the identifier and number of the first cloud phone. For the sake of convenience, the following description takes the number determined by the number determination module as the first number as an example.
[0109] In an embodiment of the present application, the number correspondence includes the correspondence between the identifiers and numbers of multiple cloud phones. Accordingly, the cloud phone service end 221 can search for the first number corresponding to the identifier of the first cloud phone from the number correspondence according to the identifier of the first cloud phone. For example, if the identifier of the first cloud phone and the first number can be stored in the storage device corresponding to the cloud phone service end 221 in the form of a key-value pair. The cloud phone service end 221 can search the storage device for a key-value pair whose key part is the identifier of the first cloud phone, thereby using the value part of the key-value pair as the calling number corresponding to the outgoing request message. Alternatively, if the identifier and the first number of the first cloud phone are uploaded to the cloud, the cloud phone service end 221 can send a query request including the identifier of the first cloud phone to the cloud, and obtain the first number returned by the cloud.
[0110] According to the previous introduction, the first cloud phone may correspond to multiple numbers. Accordingly, there may be multiple numbers corresponding to the identifier of the first cloud phone in the number correspondence. To this end, the cloud phone service end 221 can select a number from multiple numbers corresponding to the identifier of the first cloud phone as the first number. For example, if the first call request message includes a number identifier, the cloud phone service end 221 can select the number corresponding to the number identifier as the first number. Alternatively, if the first call request message does not include other relevant information for indicating the calling number, the cloud phone service end 221 can randomly select a number from multiple numbers corresponding to the identifier of the first cloud phone as the first number.
[0111] After determining the first number, the cloud phone server 221 may generate an outgoing signaling corresponding to the first number.
[0112] S406: The cloud phone service end 221 dials the number of the terminal device 240 through the voice call device 230.
[0113] After determining the calling number corresponding to the outgoing request message, the cloud phone service end 221 can use the first number as the calling number and the second number as the called number to make an outgoing call through the voice call device 230. Specifically, the signaling sending module in the cloud phone voice call device 230 can generate an outgoing signaling according to the first number and the second number, so as to dial the first number through the voice call device 230. Among them, the calling number corresponding to the outgoing signaling is the first number. The called number of the outgoing signaling is the second number.
[0114] According to the above introduction, the cloud phone server 221 can make outgoing calls through the eSIM card. In the embodiment of the present application, the voice call device 230 can include one or more eSIM cards, so the cloud phone server 221 can send outgoing signaling through the eSIM card corresponding to the first number. Specifically, the cloud phone server 221 can first determine the eSIM card corresponding to the first number, and then send the outgoing signaling through the eSIM card corresponding to the first number. In the embodiment of the present application, the eSIM card corresponding to the first number can be referred to as the first eSIM card.
[0115] After acquiring the outgoing signaling, the voice call device 230 can send the outgoing signaling to the called device (i.e., the terminal device 240) according to the called number corresponding to the outgoing signaling. If the terminal device 240 is a terminal device with a voice call function, the terminal device 240 can receive the outgoing signaling forwarded by the voice call device 230 through its own voice call module. After the user using the terminal device 240 connects to the outgoing signaling, a first call connection can be established between the cloud phone service end 221 and the terminal device 240, so that the voice data in the voice call process can be transmitted through the first call connection. In addition, the cloud phone service end 221 can receive the voice data sent by the voice call device 230 and send it to the cloud phone client 211 of the first cloud phone in the form of a network message. In addition, the cloud phone service end 221 can also receive the network message sent by the cloud phone client 211 of the first cloud phone, and send the voice information in the network message to the terminal device 240 through the voice call module based on the first voice connection. In this way, the transmission of voice data between the cloud phone client 211 and the terminal device 240 is realized.
[0116] In this way, even if the terminal device 210 does not have a voice call function and cannot send relevant signaling during the voice call process, the cloud phone service end 221 can realize the conversion between network messages and communication signaling messages, and can also establish a voice call link, thereby realizing the voice call outgoing function in the voice call service based on the first cloud phone.
[0117] In addition, since the calling number (i.e., the first number) in the outgoing signaling is determined based on the identifier of the first cloud phone, and the correspondence between the identifier of the first cloud phone and the number is bound after the number is allocated, the first cloud phone can be accurately located based on the first number. Therefore, the called party of the outgoing signaling can initiate a voice incoming call request to the first cloud phone based on the first number recorded in the call record.
[0118] Alternatively, in some other possible implementations, the called party corresponding to the outgoing signaling may also be a cloud phone. Assuming that the outgoing request message is used to call a third cloud phone, the incoming signaling can be forwarded by the communication system to the cloud phone server of the third cloud phone, and then the cloud phone server of the third cloud phone determines the incoming request message according to the incoming signaling, and sends it to the cloud phone client of the third cloud phone. Similar to the above introduction, the user of the third cloud phone can also connect the voice call between the first cloud phone and the third cloud phone through the cloud phone client of the third cloud phone, thereby establishing a corresponding call connection. Among them, the cloud phone server of the third cloud phone can run on the server of the data center 220, or on other servers. Optionally, the cloud phone server of the third cloud phone and the cloud phone server of the first cloud phone can run on the same virtual machine or container. For the above introduction to the incoming call process of the first cloud phone, please refer to the following. Figure 4 The description of the corresponding embodiments will not be repeated here.
[0119] The above describes some implementations of the cloud phone server 221 of the first cloud phone providing the first cloud phone with a voice call outgoing function. The following describes some implementations of the cloud phone server 221 of the first cloud phone providing the first cloud phone with a voice call incoming function. Among them, the voice call incoming function refers to the function of the first cloud phone, as the called party, receiving and processing the incoming call request sent by the calling device.
[0120] See also Figure 5 , Figure 5 Another flowchart of the voice call method based on cloud phone in the embodiment of the present application is shown in FIG. Figure 2 The application scenario shown in FIG. 1 may also be applied to other applicable application scenarios. Figure 2 The application scenario shown is used as an example for explanation. In addition, the functions of each module are specifically described in the following embodiments.
[0121] Specifically, Figure 5 The cloud phone-based voice call method shown may specifically include:
[0122] S501: The cloud phone server 221 receives an incoming signaling sent by the voice call device 230.
[0123] When the first cloud phone makes a voice call as the called party, the cloud phone server 221 of the first cloud phone can first obtain the incoming signaling for the first cloud phone. For example, the signaling receiving module in the cloud phone server 221 can receive the first incoming signaling. Optionally, the incoming signaling can be sent by the voice call device 230 to the cloud phone server 221. Alternatively, the incoming signaling can also be sent by other voice call devices to the cloud phone server 221.
[0124] In an embodiment of the present application, the incoming signaling includes a calling number and a called number. The calling number of the incoming signaling is the number of the calling party in the voice call, specifically the number corresponding to the terminal device / cloud phone that sends the first incoming signaling. The called number of the first incoming signaling is the number of the called party in the voice call, specifically the number of the first cloud phone that is the called party. As can be seen from the previous introduction, the first cloud phone can correspond to multiple numbers.
[0125] For ease of introduction, Figure 5 In the corresponding embodiment, it is assumed that the called number corresponding to the incoming signaling is the first number, and the incoming signaling is sent by the terminal device 240 to the cloud phone client 211 of the first cloud phone through the voice call device 230 and the cloud phone service end 221. That is, the caller of the incoming signaling is the terminal device 240, and the called party of the incoming signaling is the first cloud phone. The called number of the incoming signaling is the first number, and the teaching assistant number of the incoming signaling is the second number. Figure 4 Similar to the corresponding embodiment, in some other possible implementations, the caller corresponding to the incoming signaling may also be a cloud phone. Accordingly, assuming that the voice call corresponding to the incoming signaling is initiated by the fourth cloud phone, the incoming signaling may be generated by the cloud phone service end of the fourth cloud phone and sent through the voice call device corresponding to the fourth cloud phone.
[0126] In some possible implementations, the signaling receiving module and the aforementioned signaling sending module may be the same module. For example, the signaling receiving module and the signaling sending module are modules in the cloud phone server 221 for performing signaling interaction with the voice call system 230.
[0127] After acquiring the incoming signaling, the signaling receiving module can send the first number to the cloud phone determination module of the cloud phone server 221, so that the cloud phone determination module determines the identifier of the first cloud phone corresponding to the first number. In addition, the signaling receiving module can also send the calling number corresponding to the incoming signaling to the message sending module of the cloud phone server 221, so that the message sending module generates a corresponding incoming request message.
[0128] S502: The cloud phone server 221 determines the identifier of the first cloud phone according to the first number and the number correspondence relationship.
[0129] After obtaining the incoming signaling corresponding to the first number, the cloud phone service end 221 can determine the cloud phone that is the called party in the voice call corresponding to the incoming signaling according to the first number and the number correspondence. Specifically, the cloud phone determination module in the cloud phone service end 221 can query the identifier of the cloud phone corresponding to the first number from the number correspondence according to the first number to determine that the incoming signaling is an incoming signaling for the first cloud phone. For the introduction of the number correspondence, please refer to the previous text and will not be repeated here.
[0130] In some possible implementations, the cloud phone determination module and the aforementioned number determination module may be the same module. For example, the cloud phone determination module and the number determination module may be modules in the cloud phone server 221 for searching information from the number correspondence.
[0131] S503: The cloud phone server 221 sends an incoming call request message to the cloud phone client 211.
[0132] After determining that the called party of the incoming signaling is the first cloud phone, the cloud phone service end 221 can generate an incoming request message and send the incoming request message to the cloud phone client 211 of the first cloud phone. Among them, the incoming request message is used to indicate that the first cloud phone has received a voice call request. Optionally, the incoming request message may also include a calling number. The calling number is the number of the calling party corresponding to the incoming signaling, and is used by the first cloud phone to display relevant information of the calling party to the user. For example, in the implementation method given above, the number of the terminal device 240 may be included in the incoming request message.
[0133] In some possible implementations, the incoming call request message may be a push message. Accordingly, the cloud phone service end 221 may send the incoming call request message to the terminal device 210 through the PUSH message center. The terminal device 210 may receive the incoming call request message sent by the PUSH message center, and forward it to the cloud phone client 211 of the first cloud phone running on the terminal device 210, and display the incoming call reminder message to the first user through the interface of the cloud phone client 211. Optionally, the incoming call reminder message may include the calling number of the incoming call request message.
[0134] After viewing the incoming call reminder message through the interface of the cloud phone client 211 of the first cloud phone, the first user can choose to answer the incoming call. After the incoming call is answered by the first user, a second call connection can be established between the cloud phone service end 221 and the terminal device 240, so that the voice data during the voice call can be transmitted based on the second call connection. In addition, the cloud phone service end 221 can send the voice data received from the voice call device 230 to the cloud phone client 211 in the form of a network message. The cloud phone service end 221 can also receive the voice data of the cloud phone client 211 of the first cloud phone, and send the voice data to the terminal device 240 through the voice call device 230.
[0135] In this way, the cloud phone service end 221 can send the incoming signaling whose called number is the first number to the first cloud phone in the form of an incoming call request message. In this way, even if the terminal device 210 does not have a voice call function and cannot directly process the incoming signaling message, it can receive calls from other terminal devices or cloud phones through the conversion of the cloud phone service end 221, thereby realizing the voice call incoming function in the voice call service based on the first cloud phone.
[0136] It should be noted that, in the embodiment of the present application, the division and functional description of each unit in the cloud phone voice call device is only used as an example. For example, in other embodiments, the cloud phone voice call device may include a first transceiver module and a connection establishment module. Among them, the first transceiver module is used to obtain the call request message sent by the cloud phone client. The connection establishment module is used to dial the number of the first target device through the voice call device to realize the first call connection with the first target device. In addition, the cloud phone voice call device may also include a second transceiver module, and the second transceiver module is used to send the first call content to the first target device through the voice call device based on the first call connection. In addition, the second transceiver module can also be used to send the first call content to the first target device based on the first call connection through the voice call device. Optionally, the cloud phone voice call device may also include a determination module, which is used to determine the first number according to the corresponding relationship between the identifier and the number of the cloud phone; the first call connection is established based on the number of the first target device and the first number, and the number correspondence includes the corresponding relationship between the first number and the identifier of the cloud phone.
[0137] Above Figure 3 , Figure 4 and Figure 5In the illustrated embodiment, the cloud phone voice call device involved in the cloud phone-based voice call process is introduced. The cloud phone voice call device can be software configured on a computing device or a computing device cluster, and by running the software on the computing device or the computing device cluster, the computing device or the computing device cluster can realize the functions of the above-mentioned data storage device. Below, based on the perspective of hardware device implementation, the cloud phone voice call device involved in the cloud phone-based voice call process is described in detail.
[0138] Figure 6 The schematic diagram of the structure of a computing device is shown. The cloud phone voice call device and the cloud phone server can be deployed on the computing device. The computing device can be a computing device in a cloud environment (such as a server), or a computing device in an edge environment, or a terminal device, etc., which can be used to implement the above Figure 3 , Figure 4 or Figure 5 The functions of the cloud phone server in the illustrated embodiment.
[0139] like Figure 6 As shown, computing device 600 includes processor 610, memory 620, communication interface 630 and bus 640. Processor 610, memory 620 and communication interface 630 communicate through bus 640. Bus 640 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 The communication interface 630 is used to communicate with the outside, for example, to receive an incoming call request message, the first call content, etc.
[0140] Among them, the processor 610 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits. The processor 610 can also be an integrated circuit chip with signal processing capabilities. In the implementation process, the functions of each unit in the cloud phone voice call device can be completed by the hardware integrated logic circuit or software instructions in the processor 610. The processor 610 can also be a general processor, a digital signal processor (DSP), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. Among them, the general processor can be a microprocessor or the processor can also be any conventional processor, etc., and the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 620, and the processor 610 reads the information in the memory 620 and completes part or all of the functions of the cloud phone voice call device in combination with its hardware.
[0141] The memory 620 may include a volatile memory, such as a random access memory (RAM), or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a HDD, or a SSD.
[0142] The memory 620 stores executable codes, and the processor 610 executes the executable codes to execute the method executed by the aforementioned cloud phone voice call device.
[0143] For example, in implementing Figure 3 In the case of the embodiment shown, and Figure 3 In the case where the cloud phone voice call device described in the embodiment shown is implemented by software, the execution Figure 3The software or program code required for the functions of the cloud phone voice call device is stored in the memory 620. The interaction between the cloud phone voice call device and other devices is realized through the communication interface 630. The processor is used to execute the instructions in the memory 620 to implement the method executed by the cloud phone voice call device.
[0144] Figure 7 A schematic diagram of the structure of a computing device cluster is shown. Figure 7 The computing device cluster 70 shown includes multiple computing devices, and the cloud phone voice call device (and the cloud phone server) can be distributedly deployed on multiple computing devices in the computing device cluster 70. Figure 7 As shown, the computing device cluster 70 includes multiple computing devices 700 , each computing device 700 includes a memory 720 , a processor 710 , a communication interface 730 and a bus 740 , wherein the memory 720 , the processor 710 , and the communication interface 730 are communicatively connected to each other via the bus 740 .
[0145] The processor 710 may be a CPU, a GPU, an ASIC, or one or more integrated circuits. The processor 710 may also be an integrated circuit chip with signal processing capabilities. In the implementation process, some functions of the cloud phone voice call device may be completed by the hardware integrated logic circuit or software instructions in the processor 710. The processor 710 may also be a DSP, an FPGA, a general processor, other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and may implement or execute some of the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. Among them, the general processor may be a microprocessor or the processor may also be any conventional processor, etc., and the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 720. In each computing device 700, the processor 710 reads the information in the memory 720, and in combination with its hardware, some functions of the cloud phone voice call device may be completed.
[0146] The memory 720 may include ROM, RAM, static storage device, dynamic storage device, hard disk (e.g., SSD, HDD), etc. The memory 720 may store program codes, for example, part or all of the program codes for implementing the cloud phone voice call device, part or all of the program codes for implementing other functions of the cloud phone service end, etc. For each computing device 700, when the program code stored in the memory 720 is executed by the processor 710, the processor 710 executes part of the method executed by the cloud phone voice call device based on the communication interface 730, such as one part of the computing device 700 can be used to execute the method executed by the above-mentioned cloud phone voice call device, and another part of the computing device 700 is used to execute the method executed by other devices in the cloud phone service end. The memory 720 may also store data, for example: intermediate data or result data generated by the processor 710 during the execution process, for example, the above-mentioned number correspondence, the first number, etc.
[0147] The communication interface 703 in each computing device 700 is used for external communication, such as interacting with other computing devices 700 .
[0148] The bus 740 may be a peripheral component interconnect standard bus or an extended industry standard architecture bus. For ease of representation, Figure 7 The bus 740 in each computing device 700 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.
[0149] The plurality of computing devices 700 establish communication paths through the communication network to realize the function of the cloud phone voice call device. Any computing device may be a computing device in a cloud environment (eg, a server), or a computing device in an edge environment, or a terminal device.
[0150] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on one or more computing devices, the one or more computing devices execute the method executed by the cloud phone voice call device in the above embodiment.
[0151] In addition, the embodiment of the present application further provides a computer program product, and when the computer program product is executed by one or more computing devices, the one or more computing devices execute any of the aforementioned cloud phone-based voice call methods. The computer program product can be a software installation package, and when any of the aforementioned cloud phone-based voice call methods is needed, the computer program product can be downloaded and executed on a computer.
[0152] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the units indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0153] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0154] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0155] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A voice call system based on cloud mobile phone, characterized in that: It includes cloud phone server and cloud phone client, including: The cloud phone service end is arranged in a server in a cloud data center and connected to the voice call device; The cloud phone client is set in the terminal device of the cloud phone user and is remotely connected to the cloud phone server to obtain a call request message triggered by the cloud phone user on the terminal device and send the call request message to the cloud phone server, wherein the call request message carries the number of the first target device; The cloud phone service end is used to dial the number of the first target device through the voice call device to achieve a first call connection with the first target device; The cloud phone client is further used to send the first call content input by the cloud phone user on the terminal device to the cloud phone server; The cloud phone service end is also used to send the first call content to the first target device through the voice call device based on the first call connection.
2. The system according to claim 1, characterized in that The cloud phone server is further configured to obtain a second call content from the first target device from the first call connection, and send the second call content to the cloud phone client; The cloud phone client is also used to play the second call content on the terminal device.
3. The system according to claim 1 or 2, characterized in that: The call request message includes the identifier of the cloud phone; Before dialing the number of the first target device through the voice call device, the cloud phone service end is also used to determine the first number based on the correspondence between the identifier of the cloud phone and the number; the first call connection is established based on the number of the first target device and the first number, and the number correspondence includes the correspondence between the first number and the identifier of the cloud phone.
4. The system according to claim 3, characterized in that The cloud phone service end is also used to apply to the number allocation system for allocating the first number to the cloud phone client before the voice call device dials the number of the first target device.
5. The system according to any one of claims 1 to 4, characterized in that: The cloud phone service end is used to obtain a third call content from a second target device from the voice call device, wherein the third call content is obtained by the voice call device from a second call connection, and the second call connection is established between the voice call device and the target device based on the triggering of the second target device dialing the number of the cloud phone client. The cloud phone server is used to send the third call content to the cloud phone client; The cloud phone client is also used to play the third call content on the terminal device.
6. The system according to claim 5, characterized in that The cloud phone client is further used to send the fourth call content input by the cloud phone user on the terminal device to the cloud phone server; The cloud phone service end is also used to send the fourth call content to the second target device through the voice call device based on the second call connection.
7. A voice call method based on cloud mobile phone, characterized in that: The method is applied to a cloud phone service end, which is set in a server in a cloud data center and connected to a voice call device; The method comprises: Acquire a call request message sent by a cloud phone client, the cloud phone client being set in a terminal device of a cloud phone user, the call request message being triggered by the cloud phone user on the terminal device, and the call request message including a number of a first target device; The number of the first target device is dialed through the voice call device to achieve a first call connection with the first target device.
8. The method according to claim 7, characterized in that After the first call connection is established, the method further includes: Receiving a first call content sent by the cloud phone client, where the first call content is input by the cloud phone user on the terminal device; Sending the first call content to the first target device based on the first call connection through the voice call device; Acquire a second call content from the first target device from the first call connection; The second call content is sent to the cloud phone client.
9. The method according to claim 7 or 8, characterized in that: The call request message includes the identifier of the cloud phone; The method further comprises: The first number is determined according to the correspondence between the identifier and the number of the cloud phone; the first call connection is established based on the number of the first target device and the first number, and the number correspondence includes the correspondence between the first number and the identifier of the cloud phone.
10. The device according to claim 9, characterized in that The method further comprises: Apply to the number allocation system to allocate the first number to the cloud phone.
11. The method according to any one of claims 7 to 10, characterized in that: The method further comprises: Acquire a third call content from a second target device from the voice call device, wherein the third call content is acquired by the voice call device from a second call connection, and the second call connection is established between the voice call device and the second target device based on the triggering of the second target device dialing the number of the cloud phone; The third call content is sent to the cloud phone client.
12. The method according to claim 11, characterized in that The method further comprises: Acquire a fourth call content sent by the cloud phone client, where the fourth call content is input by the cloud phone user on the terminal device; The fourth call content is sent to the second target device through the voice call device based on the second call connection.
13. A cloud phone voice call device, characterized in that: The device is applied to a cloud phone service end, which is set in a server in a cloud data center and connected to a voice call device; The device comprises: A first transceiver module is used to obtain a call request message sent by a cloud phone client, the cloud phone client is set in a terminal device of a cloud phone user, the call request message is triggered by the cloud phone user on the terminal device, and the call request message includes a number of a first target device; The connection establishing module is used to dial the number of the first target device through the voice call device to achieve a first call connection with the first target device.
14. The device according to claim 13, characterized in that The device also includes a second transceiver module; The first transceiver module is further configured to receive a first call content sent by the cloud phone client after the first call connection is established, where the first call content is input by the cloud phone user on the terminal device; The second transceiver module is used to send the first call content to the first target device through the voice call device based on the first call connection; The second transceiver module is further used to obtain the second call content from the first target device from the first call connection; The first transceiver module is also used to send the second call content to the cloud phone client.
15. The device according to claim 13 or 14, characterized in that The device also includes a determination module, wherein the call request message includes an identifier of the cloud phone client; The determination module is used to determine the first number based on the correspondence between the identifier of the cloud phone and the number; the first call connection is established based on the number of the first target device and the first number, and the number correspondence includes the correspondence between the first number and the identifier of the cloud phone.
16. The device according to claim 15, characterized in that The device also includes a number application module; The number application module is used to apply for the first number from the number allocation system.
17. The device according to claim 14, characterized in that The second transceiver module is further used to obtain a third call content from a second target device from the voice call device, wherein the third call content is obtained by the voice call device from a second call connection, and the second call connection is established between the voice call device and the target device based on the triggering of the second target device dialing the number of the cloud phone client; The first transceiver module is also used to send the third call content to the cloud phone client.
18. The device according to claim 17, characterized in that The first transceiver module is further used to obtain a fourth call content sent by the cloud phone client, where the fourth call content is input by the cloud phone user on the terminal device; The second transceiver module is further configured to send the fourth call content to the second target device through the voice call device based on the second call connection.
19. A computing device cluster, characterized in that: The computing device cluster includes at least one computing device, each computing device including a processor and a memory: The memory is used to store instructions; The processor is configured to cause the computing device cluster to execute the method according to any one of claims 7 to 12 according to the instructions.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computing device, enable the computing device to execute the method according to any one of claims 7 to 12.
21. A computer code product comprising instructions which, when executed on a computing device, cause the computing device to perform the method according to any one of claims 7 to 12.
