Cloud mobile phone message end cloud real-time transmission system and method, medium and program product

By establishing a direct end-to-cloud message channel within the cloud phone and utilizing domain communication links and the WebSocket protocol, the message transmission problem between the cloud phone application and the client application is solved, real-time message interaction and efficient message transmission are achieved, and the user experience is improved.

CN120729940APending Publication Date: 2025-09-30BEIJING ZERO-1000 TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510773588.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

Messages cannot be directly transmitted between cloud phone applications and client applications, resulting in large message transmission delays, message congestion, and poor monitorability. In addition, cloud phone applications cannot actively send messages to client applications, resulting in a poor user experience.

Method used

Establish a direct end-to-cloud message channel in the cloud phone, realize direct message interaction between the cloud phone application and the client application through the domain communication link and the WebSocket duplex protocol, and use the cloud phone message transparent transmission service component to receive and forward messages, reduce the signaling interaction process, and improve message transmission efficiency and monitorability.

Benefits of technology

It reduces message transmission delay, improves message transmission efficiency and monitorability, enhances user experience, and realizes real-time message interaction between cloud phone applications and client applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120729940A_ABST
    Figure CN120729940A_ABST
Patent Text Reader

Abstract

The invention discloses a cloud mobile phone message end cloud real-time transmission system and method, a medium and a program product, belongs to the field of cloud computing, and can improve message transmission efficiency, monitorability and convenience. According to the system, a message transparent transmission interface service is provided for a cloud mobile phone application, the cloud mobile phone application message unvarnished transmission service component is used for providing a message receiving and forwarding service between the cloud mobile phone application message unvarnished transmission service component and the plug flow service component and interacting messages with the cloud mobile phone message unvarnished transmission service component; the cloud mobile phone message unvarnished transmission service component is used for providing a message receiving and forwarding service between the cloud mobile phone application message unvarnished transmission service component and the plug flow service component; the plug flow service component receives messages from the cloud mobile phone message transparent transmission service component and forwards the messages to the screen projection service component, receives messages from the client application and forwards the messages to the cloud mobile phone message transparent transmission service component, and adjacent components in the cloud mobile phone exchange messages through domain communication links. And the client and the cloud mobile phone exchange messages based on a WebSocket duplex protocol so as to establish an end-cloud direct connection message channel which is used for real-time message interaction between the client application and the cloud mobile phone application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application belong to the field of cloud computing technology, and in particular to a cloud mobile phone message end-to-cloud real-time transmission system, method, medium and program product. Background Art

[0002] The cloud phone app and client app run in different host environments. Without a direct communication channel, real-time communication and data exchange are impossible. However, in some scenarios, the cloud phone app needs to exchange messages with the client app that remotely controls the screen. For example, the progress of the cloud phone app installation needs to be displayed to the client in real time, such as with friendly progress notifications or data exchange between the cloud phone app and the client app. This requires two-way real-time messaging between the cloud phone app and the client app that controls the screen.

[0003] As can be seen from the above, the existing technology has at least the following two problems:

[0004] 1. When a client application needs to send messages to a cloud phone application, it must rely on a business server as a transit agent and send requests sequentially using the stateless HTTP short link protocol. The cloud phone application also needs to actively monitor content changes in a specified location frequently to identify new messages. This leads to inconvenient message sending, poor message monitoring performance, and high message transmission latency.

[0005] 2. The cloud phone application cannot actively send messages to the client application, resulting in a poor user experience. Summary of the Invention

[0006] The embodiments of the present application provide a cloud phone message end-to-cloud real-time transmission system, method, medium and program product, which can solve the problems that existing cloud phone applications and client applications cannot directly transmit messages, resulting in large message transmission delays, message congestion and poor monitorability, and cloud phone applications cannot actively send messages to client applications. It can improve the efficiency, monitorability and convenience of message transmission, thereby enhancing user experience.

[0007] To achieve the above objectives, the present invention adopts the following technical solutions:

[0008] In a first aspect, a cloud phone message end-cloud real-time transmission system is provided, comprising: a cloud phone and a client, wherein the cloud phone comprises: a cloud phone application, a cloud phone application message transparent transmission component, a cloud phone message transparent transmission service component, and a streaming service component, and the client comprises: a client application and a screen projection component, wherein the cloud phone application and the client application are the same application; wherein,

[0009] The cloud phone application message transparent transmission service component is used to provide the cloud phone application with a message transparent transmission interface service, and to exchange messages with the cloud phone message transparent transmission service component;

[0010] The cloud phone message transparent transmission service component is used to provide message receiving and forwarding services between the cloud phone application message transparent transmission service component and the push streaming service component;

[0011] The streaming service component is used to receive messages from the cloud phone message transparent transmission service component and forward them to the screen projection service component, as well as receive messages from the client application and forward them to the cloud phone message transparent transmission service component;

[0012] Among them, adjacent components in the cloud phone exchange messages through domain communication links, and the client and the cloud phone exchange messages based on the WebSocket duplex protocol to establish an end-to-cloud direct connection message channel between the cloud phone application and the client application, which is used for real-time interaction of messages between the client application and the cloud phone application.

[0013] Optionally, the message transparent transmission interface service includes one or more of the following:

[0014] Receive messages from the cloud phone application and forward them to the cloud phone message transparent transmission service component;

[0015] Receive messages from the cloud phone message transmission service component and forward them to the cloud phone application;

[0016] After receiving the message from the client application, a successful message reception callback message is fed back to the client application;

[0017] After sending a message to the client application, a successful callback message is sent to the cloud phone application.

[0018] Optionally, the message between the cloud phone application message transparent transmission component and the cloud phone message transparent transmission service component is a JSON string based on the type-length-data-value TLV protocol package.

[0019] Optionally, the types of messages between the cloud phone application message transparent transmission component and the cloud phone message transparent transmission service component include: registration message, heartbeat message, heartbeat response message, send message and send response message.

[0020] Furthermore, the cloud phone message transmission service component is configured to start at boot time and reside in the system background.

[0021] In a second aspect, a method for real-time transmission of cloud phone messages to the cloud is provided, which is applicable to the cloud phone message real-time transmission system to the cloud described in any implementation of the first aspect, and the method includes:

[0022] The cloud phone application sends a first message to the cloud phone application message transparent transmission service component;

[0023] The cloud phone application message transparent transmission service component receives the first message and forwards the first message to the cloud phone application;

[0024] The cloud phone message transparent transmission service component receives the first message and forwards the first message to the streaming service component;

[0025] The streaming service component receives the first message and forwards it to the screen projection service component.

[0026] Optionally, the method further includes:

[0027] The cloud phone application message transparent transmission service component sends a message sending success callback message to the cloud phone application, and the message sending success callback message is used to indicate that the first message has been successfully sent to the client application.

[0028] Optionally, the type of the first message includes: a heartbeat message or a send message, and the type of the message sending success callback message includes: a heartbeat response message or a send response message.

[0029] In a third aspect, a method for real-time transmission of cloud phone messages to the cloud is provided, which is applicable to the cloud phone message real-time transmission system to the cloud described in any implementation of the first aspect, and the method includes:

[0030] The streaming service component receives the second message from the client application and forwards it to the cloud phone message transparent transmission service component;

[0031] The cloud phone message transparent transmission service component receives the second message and forwards the second message to the cloud phone application message transparent transmission service component;

[0032] The cloud phone application message transparent transmission service component receives the second message and forwards the second message to the cloud phone application.

[0033] Optionally, the method further includes:

[0034] After receiving the second message from the client application, the cloud phone application message transmission service component sends a message reception success callback message to the client application. The message reception success callback message is used to indicate that the cloud phone application has successfully received the second message.

[0035] Optionally, the type of the second message includes: a registration message, a heartbeat message or a send message, and the type of the message reception success callback message includes: a heartbeat response message or a send response message.

[0036] In a fourth aspect, a cloud phone is provided, which is used to execute the cloud phone message end-cloud real-time transmission method as described in any implementation method of the second aspect or the third aspect.

[0037] In a fifth aspect, a host machine is provided, on which one or more cloud phones as described in the fourth aspect are running.

[0038] In the sixth aspect, a computer-readable storage medium is provided, which stores a program or instruction. When the computer reads and executes the program or instruction, the computer executes the cloud mobile phone message end-cloud real-time transmission method as described in any implementation method of the first aspect or the second aspect.

[0039] In the seventh aspect, a computer program product is provided, including a program or instruction. When the program or instruction is executed by a computer, the computer executes the cloud mobile phone message end-cloud real-time transmission method as described in any implementation method of the first aspect or the second aspect.

[0040] Based on the technical solution provided by this application, adjacent components in the cloud phone exchange messages through domain communication links, and the cloud phone and the client exchange messages based on the Socket protocol, thereby establishing an end-to-end cloud direct message channel between the cloud phone application and the client application, so that the client application and the cloud phone application can exchange messages in real time, which is equivalent to establishing a real-time direct information highway between the cloud phone application and the client application. When the cloud phone application needs to actively send a message to the client application, or the client application needs to actively send a message to the cloud phone application, it can directly reach the other end through the end-to-end cloud direct message channel. It does not need to rely on the business service end as a transit agent as in the existing technology, and sends requests in sequence through the stateless http short link protocol, which can effectively reduce the signaling interaction process, thereby reducing the message transmission delay and improving the message transmission efficiency.

[0041] In addition, cloud phone applications do not need to actively and frequently monitor content changes in designated locations to identify new messages like existing technologies. This work can be handled by the cloud phone message transmission service component. This not only reduces the workload of cloud phone applications and improves the operating efficiency of the cloud phone applications themselves, but also monitors new messages in real time and forwards them in a timely manner, reducing message transmission delays, thereby effectively improving message monitoring performance and message transmission efficiency.

[0042] In addition, the cloud phone message transmission service component can actively monitor new messages and forward them in a timely manner, and based on the end-cloud direct connection message channel, it can exchange messages in real time between the cloud phone application and the client application, thereby providing sufficient conditions for the cloud phone application to send messages on demand, and providing convenience for the cloud phone application to actively send messages to the client application at any time, solving the problem in the existing technology that the cloud phone application cannot actively send messages to the client application, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. Some specific embodiments of the present application will be described in detail in an illustrative and non-restrictive manner with reference to the drawings. The same reference numerals in the drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the drawings:

[0044] Figure 1 The present invention provides a schematic diagram of the architecture of a cloud mobile phone message terminal cloud real-time transmission system;

[0045] Figure 2 A flowchart of a method for real-time transmission of cloud mobile phone messages to the cloud provided by an embodiment of the present application;

[0046] Figure 3 A flowchart of another cloud phone message end-to-cloud real-time transmission method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0048] Figure 1 This is a schematic diagram of the architecture of a cloud phone message end-cloud real-time transmission system provided by the embodiment of this application. Figure 1 As shown, the system includes: one or more cloud phones, and one or more clients.

[0049] Among them, the client includes: client application (Client Application) and screen projection component (such as screen projection SDK). Specifically, the client can be software, such as a software entity running on a client device, or a client device, or a combination of client software and client device, both of which can be collectively referred to as the client. Among them, the client software can include software entities running on the client device, such as a client operating system and a client application, as well as a screen projection service component that provides screen projection services to the client. The client device may include one or more processors, touch screens, power management systems, batteries, communication modules, various sensors, and input / output devices and other hardware components. The client device can be a user-side device such as a mobile phone, notebook, Pad, personal computer (PC), home terminal, car terminal, etc., which can conduct wired and / or wireless communication with devices in the cloud computing network, such as cloud computing servers, host machines running cloud phones, authentication servers, etc. through the built-in communication module, so that users can access the cloud computing network, such as remotely controlling cloud phones.

[0050] In addition, a client can manage one or more cloud phones at the same time, and the applications running on the one or more cloud phones can be remotely projected onto the display screen of the client, so that the user can remotely control the one or more cloud phones through the client.

[0051] The screen projection service component needs to provide an interface for the client to send messages, as well as callbacks for receiving messages and successfully sending messages. The communication protocol is the same as the streaming service.

[0052] Provides a sending interface, with parameters such as the APP package name of the other end, message content, and customer customization. Provides a callback interface, with parameters such as the APP package name of the other end, message content, and customer customization.

[0053] Callback after the message is sent successfully. If this callback is not received for a long time, it is considered that the message has failed to be sent.

[0054] In the embodiment of the present application, a cloud phone (also called a virtual machine) can be a software entity running on a host machine. A host machine can run one or more cloud phones, and a cloud phone can run one or more applications (APPs). Figure 1 In the example, cloud phone 1 and cloud phone 2 run on host machine 1, while cloud phone 3 runs on host machine 2.

[0055] It should be noted that the application running on the client (client application) and the application running on the cloud phone (cloud phone application) are the same application. Figure 1The application 1 running on the client and the application 1 running on the cloud phone 1 are the same application. For another example, Figure 1 The application 2 running on the client and the application 2 running on the cloud phone 2 are the same application. For another example, Figure 1 The application 3 running on the client and the application 3 running on the cloud phone 3 are the same application.

[0056] The above-mentioned client applications and cloud phone applications can include various types of applications, such as browsers, chat tools, payment tools, map navigation tools, games, video players, shopping applications, etc., such as WeChat, Alipay, Douyin, Tencent Video, CS, Baidu Maps, JD.com, Taobao, etc. It can be seen that a client can run one application or multiple applications at the same time, and the cloud phone applications corresponding to the multiple applications can run on one cloud phone or on multiple cloud phones, which is not limited in the embodiments of this application.

[0057] The following uses Cloud Phone 1 as an example to introduce the functions of each component of the Cloud Phone.

[0058] like Figure 1 As shown, the cloud phone includes: cloud phone application, cloud phone application message transparent transmission component, cloud phone message transparent transmission service component and streaming service component.

[0059] The cloud phone application message transmission service component, such as the cloud phone APP message transmission SDK, can be an SDK developed based on an Android app. It is a newly added component that provides a message transmission interface service to the cloud phone application and exchanges messages with the cloud phone message transmission service component via a field communication link, such as callback messages for sending or receiving messages. In other words, the cloud phone application message transmission service component is used to handle the message sending interaction process control for the cloud phone application, so that the cloud phone application can focus on its own signaling and / or data processing, thereby reducing the workload of the cloud phone application and improving processing efficiency.

[0060] Optionally, the message transparent transmission interface services provided by the cloud phone application message transparent transmission service component include one or more of the following:

[0061] Receive messages from the cloud phone application and forward them to the cloud phone message transparent transmission service component;

[0062] Receive messages from the cloud phone message transmission service component and forward them to the cloud phone application;

[0063] After receiving the message from the client application, a successful message reception callback message is fed back to the client application;

[0064] After sending a message to the client application, a successful callback message is sent to the cloud phone application.

[0065] Optionally, messages between the cloud phone application message transparent transmission component and the cloud phone message transparent transmission service component can be packaged using the Type-Length-Data-Value (TLV) protocol. The message body can be a string in JSON format, converted to JSON using a program object. The message body of the program object can be customized by the customer. Both T and L can use 4 bytes, with big-endian alignment.

[0066] Optionally, the types of messages between the cloud phone application message transparent transmission component and the cloud phone message transparent transmission service component include: registration message, heartbeat message, heartbeat response message, send message and send response message. The message type definitions are shown in Table 1.

[0067] Table 1

[0068] Message type encoding Message Type 100 Registration Message 101 heartbeat 102 Heartbeat response 103 Send a message 104 Reply message

[0069] The cloud phone message transparent transmission service component is used to provide message receiving and forwarding services between the cloud phone application message transparent transmission service component and the streaming service component.

[0070] Among them, the cloud phone message transmission service component is a new component, which is configured to start at startup and reside in the system background. The cloud phone message transmission service component and the cloud phone application message transmission service component are combined to monitor messages from cloud phone applications and streaming services in real time and forward them in a timely manner.

[0071] The streaming service component, such as HubStream, is used to receive messages from the cloud phone message transmission service component and forward them to the screen projection service component, as well as receive messages from the client application and forward them to the cloud phone message transmission service component.

[0072] Specifically, the streaming service component needs to establish a domain communication link with the cloud phone message transmission service component, forward messages to the screen projection service component, and forward client messages to the cloud machine message transmission service component.

[0073] The message protocol between the streaming service component and the client is shown in Table 2.

[0074] Table 2

[0075] Message Type Message Description MSG_TRANS:2007 Message transparent transmission request MSG_TRANS_R:2008 Message transparent response

[0076] Among them, adjacent components in the cloud phone exchange messages through domain communication links, and the cloud phone and the client exchange messages based on the Socket protocol, thereby establishing an end-to-cloud direct message channel between the cloud phone application and the client application, which facilitates real-time message interaction between the client application and the cloud phone application, thereby reducing message transmission delay and improving message transmission efficiency.

[0077] For example, when the cloud phone application has signaling or data to send to the client, the cloud phone application message transmission service component can encapsulate the signaling or data into a message and forward it to the cloud phone message transmission service component. Since the cloud phone message transmission service component is configured to start at startup and stay in the background, it can monitor the messages from the cloud phone application message transmission service component in real time. Once discovered, it can be forwarded to the streaming service, and the streaming service can send the message to the screen projection service component, thereby achieving the purpose of the cloud phone application actively sending messages to the client application.

[0078] Conversely, when the message sent by the client application to the cloud phone application reaches the streaming service component and is forwarded by the streaming service component to the cloud phone message transparent transmission service component, the cloud phone message transparent transmission service component can monitor the message in real time and immediately forward it to the cloud phone application message transparent transmission service component. The cloud phone application message transparent transmission service component can then quickly deliver the message to the cloud phone application through the interface between the cloud phone application and the cloud phone application.

[0079] It can be seen that whether the cloud phone application actively sends messages to the client application, or the client application sends messages to the cloud phone application, direct real-time interaction of messages can be achieved through the end-cloud direct connection message channel, thereby reducing message transmission delay and improving message transmission efficiency.

[0080] It should be noted that in the embodiment of this application, the end-cloud direct connection message channel can be unencrypted because the channel uses flatbuffer technology and is located on the encrypted link of WSS, so there is no need for further encryption. Of course, if the customer has encryption requirements, they can also encrypt and decrypt their own user data.

[0081] In addition, the message body is in string format. If it is other types of data, it can be converted into a string before performing operations such as encapsulation and sending.

[0082] Below through Figure 2 and Figure 3 The two message transmission processes shown in FIG.

[0083] Figure 2 This is a flow chart of a method for real-time transmission of cloud mobile phone messages to the cloud provided by the embodiment of the present application. Figure 1The cloud phone message end-cloud real-time transmission system shown is used for the cloud phone application to send messages to the client application in real time, such as the first message.

[0084] like Figure 2 As shown, the method includes:

[0085] S21, the cloud phone application sends a first message to the cloud phone application message transparent transmission service component, and the cloud phone application message transparent transmission service component receives the first message.

[0086] S22, the cloud phone application message transparent transmission service component forwards the first message to the cloud phone message transparent transmission service component, and the cloud phone message transparent transmission service component receives the first message.

[0087] S23, the cloud phone message transparent transmission service component forwards the first message to the streaming service component, and the streaming service component receives the first message.

[0088] S24, the streaming service component forwards the first message to the screen projection service component, and the screen projection service component receives the first message.

[0089] S25, the screen projection service component projects the content of the first message on the display interface of the client application.

[0090] Optionally, the method further includes:

[0091] The cloud phone application message transmission service component sends a successful message delivery callback message to the cloud phone application. This successful message delivery callback message indicates that the first message has been successfully delivered to the client application, allowing the cloud phone application to control the retransmission strategy to improve the reliability of message transmission. For example, if the cloud phone application does not receive the successful message delivery callback message from the client application within a first time threshold, it can retransmit the first message to the client application.

[0092] Optionally, the type of the first message includes: a heartbeat message or a send message, and the type of the message sending success callback message includes: a heartbeat response message or a send response message.

[0093] Figure 3 This is a flow chart of another cloud phone message end-cloud real-time transmission method provided in the embodiment of this application. This method is applicable to Figure 1 The cloud phone message end-cloud real-time transmission system shown is used for the cloud phone to receive messages from the client in real time, such as the second message.

[0094] like Figure 3 As shown, the method includes:

[0095] S31: The client application sends a second message to the streaming service component, and the streaming service component receives the second message from the client application.

[0096] S32, the streaming service component forwards the second message to the cloud phone message transparent transmission service component, and the cloud phone message transparent transmission service component receives the second message.

[0097] S33, the cloud phone message transparent transmission service component forwards the second message to the cloud phone application message transparent transmission service component, and the cloud phone application message transparent transmission service component receives the second message.

[0098] S34, the cloud phone application message transparent transmission service component forwards the second message to the cloud phone application, and the cloud phone application receives the second message.

[0099] Optionally, the method further includes:

[0100] After receiving the second message from the client application, the cloud phone application message transmission service component sends a message reception success callback message to the client application. The message reception success callback message is used to indicate that the cloud phone application has successfully received the second message, so that the client application can control the retransmission strategy to improve the reliability of message transmission. For example, if the client application does not receive the message reception success callback message from the cloud phone application within the second time threshold, the second message can be retransmitted to the cloud phone application.

[0101] Optionally, the type of the second message includes: a registration message, a heartbeat message or a send message, and the type of the message reception success callback message includes: a heartbeat response message or a send response message.

[0102] It should be noted that the first message and the second message can be two separate messages or a pair of messages, and the embodiments of the present application are not limited thereto. For example, the first message can be a send message, and the second message can be a callback message indicating that the message was sent successfully. For another example, the second message can be a heartbeat message, and the first message can be a heartbeat reply message.

[0103] An embodiment of the present application provides a cloud phone, which is used to execute the cloud phone message end-cloud real-time transmission method described in any implementation method of the above method embodiments.

[0104] An embodiment of the present application provides a host machine, on which one or more cloud phones as described in the above method embodiment run.

[0105] An embodiment of the present application provides a computer-readable storage medium storing a program or instruction. When a computer reads and executes the program or instruction, the computer executes the cloud phone message end-to-cloud real-time transmission method as described in any implementation method of the first aspect or the second aspect.

[0106] An embodiment of the present application provides a computer program product, including a program or instructions. When the program or instructions are executed by a computer, the computer executes the cloud phone message end-cloud real-time transmission method as described in the above method embodiment.

[0107] Based on the technical solution provided by this application, adjacent components in the cloud phone exchange messages through domain communication links, and the cloud phone and the client exchange messages based on the Socket protocol, thereby establishing an end-to-end cloud direct message channel between the cloud phone application and the client application, so that the client application and the cloud phone application can exchange messages in real time, which is equivalent to establishing a real-time direct information highway between the cloud phone application and the client application. When the cloud phone application needs to actively send a message to the client application, or the client application needs to actively send a message to the cloud phone application, it can directly reach the other end through the end-to-end cloud direct message channel. It does not need to rely on the business service end as a transit agent as in the existing technology, and sends requests in sequence through the stateless http short link protocol, which can effectively reduce the signaling interaction process, thereby reducing the message transmission delay and improving the message transmission efficiency.

[0108] In addition, cloud phone applications do not need to actively and frequently monitor content changes in designated locations to identify new messages like existing technologies. This work can be handled by the cloud phone message transmission service component. This not only reduces the workload of cloud phone applications and improves the operating efficiency of the cloud phone applications themselves, but also monitors new messages in real time and forwards them in a timely manner, reducing message transmission delays, thereby effectively improving message monitoring performance and message transmission efficiency.

[0109] In addition, the cloud phone message transmission service component can actively monitor new messages and forward them in a timely manner, and based on the end-cloud direct connection message channel, it can exchange messages in real time between the cloud phone application and the client application, thereby providing sufficient conditions for the cloud phone application to send messages on demand, and providing convenience for the cloud phone application to actively send messages to the client application at any time, solving the problem in the existing technology that the cloud phone application cannot actively send messages to the client application, thereby improving the user experience.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A cloud mobile phone message end-cloud real-time transmission system, characterized in that: include: A cloud phone and a client, wherein the cloud phone includes: a cloud phone application, a cloud phone application message transparent transmission component, a cloud phone message transparent transmission service component, and a streaming service component; the client includes: a client application and a screen projection component; the cloud phone application and the client application are the same application; wherein, The cloud phone application message transparent transmission service component is used to provide a message transparent transmission interface service to the cloud phone application and to exchange messages with the cloud phone message transparent transmission service component; The cloud phone message transparent transmission service component is used to provide message receiving and forwarding services between the cloud phone application message transparent transmission service component and the streaming service component; The streaming service component is configured to receive messages from the cloud phone message transparent transmission service component and forward them to the screen projection service component, and to receive messages from the client application and forward them to the cloud phone message transparent transmission service component; Among them, the adjacent components in the cloud phone exchange messages through the domain communication link, and the client and the cloud phone exchange messages based on the WebSocket duplex protocol to establish an end-cloud direct connection message channel between the client application and the cloud phone application. The end-cloud direct connection message channel is used for real-time exchange of messages between the client application and the cloud phone application.

2. The system according to claim 1, wherein: The message transparent transmission interface service includes one or more of the following: Receive messages from the cloud phone application and forward them to the cloud phone message transparent transmission service component; Receive a message from the cloud phone message transparent transmission service component and forward it to the cloud phone application; After receiving the message from the client application, feeding back a message reception success callback message to the client application; After sending the message to the client application, a successful callback message is sent back to the cloud phone application.

3. The system according to claim 2, characterized in that The message between the cloud phone application message transparent transmission component and the cloud phone message transparent transmission service component is a JSON string based on the type-length-data-value TLV protocol group package.

4. The system according to claim 2, wherein: The types of messages between the cloud phone application message transparent transmission component and the cloud phone message transparent transmission service component include: registration message, heartbeat message, heartbeat response message, send message and send response message.

5. The system according to any one of claims 1 to 3, characterized in that: The cloud phone message transparent transmission service component is configured to start at boot time and reside in the system background.

6. A cloud phone message end-cloud real-time transmission method, characterized in that: The method is applicable to the cloud phone message end-cloud real-time transmission system according to any one of claims 1 to 5, comprising: The cloud phone application sends a first message to the cloud phone application message transparent transmission service component; The cloud phone application message transparent transmission service component receives the first message and forwards the first message to the cloud phone application; The cloud phone message transparent transmission service component receives the first message and forwards the first message to the streaming service component; The streaming service component receives the first message and forwards it to the screen projection service component.

7. The method according to claim 6, characterized in that Also includes: The cloud phone application message transparent transmission service component sends a message sending success callback message to the cloud phone application, and the message sending success callback message is used to indicate that the first message has been successfully sent to the client application.

8. The method according to claim 7, characterized in that The type of the first message includes: a heartbeat message or a sending message, and the type of the message sending success callback message includes: a heartbeat response message or a sending response message.

9. A cloud phone message end-cloud real-time transmission method, characterized in that: The method is applicable to the cloud phone message end-cloud real-time transmission system according to any one of claims 1 to 5, comprising: The streaming service component receives the second message from the client application and forwards it to the cloud phone message transparent transmission service component; The cloud phone message transparent transmission service component receives the second message and forwards the second message to the cloud phone application message transparent transmission service component; The cloud phone application message transparent transmission service component receives the second message and forwards the second message to the cloud phone application.

10. The method according to claim 9, characterized in that Also includes: After receiving the second message from the client application, the cloud phone application message transmission service component sends a message reception success callback message to the client application, and the message reception success callback message is used to indicate that the cloud phone application has successfully received the second message.

11. The method according to claim 10, characterized in that The type of the second message includes: a registration message, a heartbeat message or a send message, and the type of the message reception success callback message includes: a heartbeat response message or a send response message.

12. A cloud phone, characterized in that: The cloud phone is used to execute the cloud phone message end-to-cloud real-time transmission method as described in any one of claims 6-11.

13. A host machine, characterized in that: One or more cloud phones according to claim 12 are running on the host machine.

14. A computer-readable storage medium, characterized in that A program or instruction is stored. When a computer reads and executes the program or instruction, the computer executes the cloud mobile phone message end-cloud real-time transmission method as described in any one of claims 6-11.

15. A computer program product, characterized in that It includes a program or instruction, which, when executed by a computer, enables the computer to execute the cloud mobile phone message end-cloud real-time transmission method as described in any one of claims 6-11.