Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of embodiments of the present disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the cloud-phone-based communication method or cloud-phone-based communication device of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include a handset 101, a network 102, and a cloud handset 103. The network 102 serves as a medium to provide a communication link between the handset 101 and the cloud handset 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The handset 101 may be any handset that can be used to make and send calls with various SIM cards. The mobile phone 101 may have a client of a cloud mobile phone installed therein, and through the client, it may establish a communication link with the mobile phone 103 to transmit a file.
The user can perform various operations, such as watching video, listening to music, and the like, using the cloud handset 103. The cloud mobile phone 103 may perform information interaction with the mobile phone 101 through the communication link, for example, transmission of audio and video. The implemented functions of the cloud handset 103 may be unsupported by the server.
It should be noted that the communication method based on the cloud mobile phone provided in the embodiment of the present disclosure may be executed by a server of the cloud mobile phone 103, and may also be executed by a client of the cloud mobile phone 103. Accordingly, the communication device based on the cloud mobile phone may be disposed in the server of the cloud mobile phone 103, or may be disposed in the client of the cloud mobile phone 103.
It should be understood that the number of handsets, networks, and cloud handsets in fig. 1 is merely illustrative. There may be any number of handsets, networks, and cloud handsets as desired for implementation.
Continuing to refer to fig. 2, a flow 200 of one embodiment of a cloud-based handset communication method in accordance with the present disclosure is shown. The communication method based on the cloud mobile phone is applied to a server and can comprise the following steps:
step 201, in response to receiving an opening request for a preset interface of the cloud mobile phone, monitoring content input through the preset interface.
In this embodiment, an application in the cloud mobile phone may open a preset interface through various instructions, and may send a request to a server of the cloud mobile phone when the preset interface is opened. The preset interface may be an interface that must be used to perform various operations, and may be, for example, a dialing interface, a short message sending interface, or a volume setting interface. The interface may include a plurality of keys, buttons or input boxes, and the application requesting to open the preset interface may input content through the keys or buttons of the cloud mobile phone or input content in the input boxes.
After receiving the request, the server may monitor the content input through the preset interface. Specifically, the server may monitor the content input through the preset interface by using a system function of an operating system running the cloud mobile phone.
In response to determining that the input content triggers a preset instruction, the target content is determined based on the input content, step 202.
The server can monitor whether the content input through the preset interface triggers the preset instruction or not. The preset instruction may be an instruction that needs to be implemented by a physical mobile phone, for example, a call-making instruction, a short message sending instruction, a volume adjustment instruction, and the like. Specifically, the server side can monitor whether the application program triggers a dialing button through a dialing interface of the cloud mobile phone, and if the application program triggers the dialing button, the server side determines that the application program triggers a dialing instruction. Similarly, the server can monitor whether the application program triggers a sending button through a short message sending interface of the cloud mobile phone, and if the application program triggers the short message sending instruction, the server determines that the application program triggers the short message sending instruction.
After determining that the preset instruction is triggered, the server may determine the target content based on the input content. Here, the target content may be content input by the application program through the preset interface, or may be content obtained by extracting the input content. For example, the target content may be a final sound volume value after the sound volume adjustment by the application program.
And step 203, sending the target content and the type of the preset instruction to a client side in communication connection.
In this embodiment, the execution subject may send the target content and the type of the preset instruction to the client connected to the communication. Therefore, the client can determine the interface corresponding to the target content directly according to the type of the preset instruction, and then directly input the target content in the interface for communication.
According to the communication method based on the cloud mobile phone provided by the embodiment of the disclosure, the content input by the user through the preset interface of the cloud mobile phone can be monitored, and the monitored content is sent to the client side, so that the client side can directly utilize the content to communicate, the user does not need to manually edit the content through the mobile phone, the communication efficiency based on the cloud mobile phone is improved, and the user experience is improved.
With continued reference to fig. 3, a flow 300 of another embodiment of a cloud-phone-based communication method according to the present disclosure is shown. As shown in fig. 3, the method of this embodiment, applied to a server, may include the following steps:
step 301, a communication link with a client is pre-established.
In this embodiment, the server may establish a communication link with the client in advance. Specifically, the server may receive an account login request of the user through the cloud mobile phone, and process the request to establish the communication link. Or the server side can generate a two-dimensional code for establishing a communication link and display the two-dimensional code. The user may utilize a client code scan to effect establishment of the communication link.
Step 302, in response to receiving an opening request for a preset interface of the cloud mobile phone, monitoring content input through the preset interface.
In some optional implementations of this embodiment, the preset interface may include a dialing interface. The method may comprise the following step 303:
step 303, in response to monitoring that the dialing key of the dialing interface is triggered, determining that the input content triggers a preset instruction.
In this embodiment, if the execution main body monitors that the dialing key triggering the dialing interface is pressed, it is determined that the application program needs to make a call, and at this time, it may be determined that the content input by the application program triggers the preset instruction.
In some optional implementation manners of this embodiment, the preset interface may include a short message sending interface. The above method may comprise the following step 303':
step 303', in response to monitoring that the sending key of the short message sending interface is triggered, determining that the input content triggers the preset instruction.
In this embodiment, if the execution main body monitors that the sending key triggering the short message sending interface is pressed, the execution main body considers that the application program needs to send the short message, and at this time, it can be determined that the content input by the application program triggers the preset instruction.
Step 304, in response to the fact that the input content triggers the preset instruction, determining characters triggering the preset instruction in the input content; and taking other contents except the characters in the input contents as target contents.
In this embodiment, after determining that the input content triggers the preset instruction, the execution main body may further analyze the input content to determine a character triggering the preset instruction in the input content. The character may be a function in an application call instruction. Alternatively, there may be one symbol indicating a dial key or a send key. The execution main body may take other contents than the above characters among the inputted contents as target contents.
And step 305, sending the target content and the type of the preset instruction to a client side of the communication connection.
And step 306, ending the operation corresponding to the preset instruction.
If the preset instruction is an instruction which needs to be completed through the entity mobile phone, namely an instruction which cannot be completed through the cloud mobile phone, the server side can finish the operation corresponding to the preset instruction after detecting that the preset instruction is triggered. Further, the server can display prompt information after the end, and the prompt information is used for prompting a user to unlock the entity mobile phone and open the client of the cloud mobile phone for further communication.
In some optional implementation manners of this embodiment, the server may further receive an information synchronization instruction sent by the client, and synchronize content corresponding to the information synchronization instruction on the cloud mobile phone.
In this implementation manner, the server may further receive an information synchronization instruction sent by the client, analyze the information synchronization instruction, and determine content corresponding to the information synchronization instruction. Then, the contents are synchronized on the cloud mobile phone, so that the user can check the contents through the cloud mobile phone, and convenience is improved.
According to the cloud mobile phone-based communication method provided by the embodiment of the disclosure, when the application program calls the cloud mobile phone to make a call or send a short message, the content input by the application program is sent to the client, so that the client can directly utilize the content to perform communication, and the convenience of cloud mobile phone-based communication is improved.
Referring to fig. 4, a flow 400 of another embodiment of a cloud-based handset communication method according to the present disclosure is shown. As shown in fig. 4, the method of this embodiment, applied to the client, may include the following steps:
step 401, in response to receiving the target content and the type of the instruction sent by the server, determining a target interface corresponding to the target content according to the type of the instruction.
In this embodiment, the client may receive the target content and the type of the instruction sent by the server, and according to the type of the instruction, the client may determine a target interface corresponding to the target content. For example, if the instruction is a call instruction, the execution subject may determine that the target interface is a dialing interface.
Step 402, filling target content in the target interface.
In this embodiment, after determining the target interface, the client may fill the target content in the target interface. For example, if the target interface is a dialing interface and the target content is a phone number, the client may directly input the phone number in the dialing interface.
And step 403, executing a corresponding target instruction through the target interface based on the target content.
The client can execute the corresponding target instruction through the target interface based on the target content. For example, the target content includes the short message content and the addressee number, and the client can directly execute the short message sending instruction after inputting the short message content and the addressee number in the short message sending interface. Or, the target content is a telephone number, and the client can directly dial the telephone number after inputting the telephone number on the dialing interface.
According to the communication method based on the cloud mobile phone, the content sent by the server can be directly utilized for communication, and the user does not need to manually input the content, so that the communication efficiency based on the cloud mobile phone is improved, and the user experience is improved.
With continued reference to fig. 5, a flow 500 of another embodiment of a cloud-based handset communication method in accordance with the present disclosure is illustrated. As shown in fig. 5, the method of this embodiment, applied to the client, may include the following steps:
step 501, in response to receiving the target content and the type of the instruction sent by the server, determining a target interface corresponding to the target content according to the type of the instruction.
Step 502, fill the target content in the target interface.
Step 503, in response to receiving the modification instruction for the target content, determining the modified target content.
In this embodiment, a user may modify target content displayed on a target interface through a client. If the client receives a modification instruction which is sent by the user and aims at the target content, the modified target content can be determined.
And step 504, executing a corresponding target instruction based on the modified target content.
The client can execute the corresponding target instruction based on the modified target content. For example, the client may send the short message modified by the user.
Step 505, in response to receiving the information synchronization instruction after the execution of the target instruction is completed, sending the information obtained after the execution of the target instruction is completed to the server for synchronization.
In this embodiment, after the client completes the instruction, the client may actively ask the user whether to synchronize information generated after the instruction is completed to the cloud mobile phone. It should be noted that, when sending the query message, it needs to explicitly indicate to the user that if the user agrees to synchronize the message, the short message record and the call record of the user need to be acquired. After receiving the agreement instruction of the user to the content, the client can confirm that the information synchronization instruction sent by the user is received. Then, the client can send the information obtained after the target instruction is executed to the server for synchronization.
The communication method based on the cloud mobile phone provided by the above embodiment of the disclosure can allow a user to modify target content through a client and perform communication based on the modified content. Meanwhile, information can be synchronized to the cloud mobile phone under the condition of user authorization, and the user can conveniently check the information.
With continued reference to fig. 6, a schematic diagram of an application scenario of the cloud-based communication method according to the present disclosure is shown. In the application scenario of fig. 6, an application program in the cloud mobile phone requests to develop a short message interface, and inputs a recipient number "1100665533" and a short message content "to send the short message and open a holiday flow package" on the short message sending interface. And the server side sends the receiving number and the short message content to the client side. And after receiving the content, the cloud mobile phone client installed in the mobile phone of the user calls a short message sending application, and automatically fills the receiving number and the short message content for sending.
With further reference to fig. 7, as an implementation of the methods shown in fig. 2 and fig. 3, the present disclosure provides an embodiment of a cloud-based mobile phone communication device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be specifically applied to a server.
As shown in fig. 7, the cloud-based mobile phone communication device 700 of the present embodiment includes: a content listening unit 701, a content determining unit 702, and a content transmitting unit 703.
The content monitoring unit 701 is configured to monitor content input through a preset interface in response to receiving an opening request for the preset interface of the cloud mobile phone.
A content determination unit 702 configured to determine the target content based on the input content in response to determining that the input content triggers a preset instruction.
A content sending unit 703 configured to send the target content and the type of the preset instruction to the communicatively connected client.
In some optional implementations of this embodiment, the apparatus 700 may further include a link establishing unit, not shown in fig. 7, configured to: a communication link with a client is pre-established.
In some optional implementations of this embodiment, the preset interface includes a dialing interface. The apparatus 700 may further comprise a content analysis unit, not shown in fig. 7, configured to: and in response to the fact that the dialing key triggering the dialing interface is monitored, determining that the input content triggers a preset instruction.
In some optional implementation manners of this embodiment, the preset interface includes a short message sending interface. The apparatus 700 may further comprise a content analysis unit, not shown in fig. 7, configured to: and determining that the input content triggers a preset instruction in response to monitoring that a sending key of the short message sending interface is triggered.
In some optional implementations of this embodiment, the content determining unit 702 may be further configured to: determining characters triggering preset instructions in the input content; and taking other contents except characters in the input contents as target contents.
In some optional implementations of this embodiment, the apparatus 700 may further include an operation ending unit not shown in fig. 7, configured to: and finishing the operation corresponding to the preset instruction.
In some optional implementations of this embodiment, the apparatus 700 may further include an information synchronization unit, not shown in fig. 7, configured to: and synchronizing the content corresponding to the information synchronization instruction on the cloud mobile phone in response to receiving the information synchronization instruction sent by the client.
It should be understood that the units 701 to 703 recited in the cloud mobile phone-based communication device 700 correspond to the respective steps in the method described with reference to fig. 2. Thus, the operations and features described above for the cloud-based communication method are also applicable to the apparatus 700 and the units included therein, and are not described herein again.
With further reference to fig. 8, as an implementation of the methods shown in fig. 4 and fig. 5, the present disclosure provides an embodiment of a cloud-based mobile phone communication device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be specifically applied to a client.
As shown in fig. 8, the cloud-based communication device 800 of the present embodiment includes: an interface determination unit 801, a content input unit 802, and an instruction execution unit 803.
The interface determining unit 801 is configured to determine, in response to receiving the target content and the type of the instruction sent by the server, a target interface corresponding to the target content according to the type of the instruction.
A content input unit 802 configured to fill the target interface with the target content.
An instruction execution unit 803 configured to execute a corresponding target instruction through the target interface based on the target content.
In some optional implementations of this embodiment, the instruction execution unit 803 may be further configured to: in response to receiving a modification instruction for the target content, determining modified target content; and executing the corresponding target instruction based on the modified target content.
In some optional implementations of this embodiment, the apparatus 800 may further include a synchronization instruction sending unit, not shown in fig. 8, configured to: and responding to the received information synchronization instruction after the execution of the target instruction is finished, and sending the information obtained after the execution of the target instruction is finished to the server side for synchronization.
It should be understood that units 801 to 803 recited in the cloud mobile phone-based communication device 800 correspond to respective steps in the method described with reference to fig. 4. Thus, the operations and features described above for the cloud-based communications method are also applicable to the apparatus 800 and the units included therein, and are not described herein again.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to an embodiment of the present disclosure.
Fig. 9 shows a block diagram of an electronic device 900 that performs a cloud handset based communication method according to an embodiment of the disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 9, the electronic device 900 includes a processor 901, which can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM) 902 or a computer program loaded from a memory 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 can also be stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An I/O interface (input/output interface) 905 is also connected to the bus 904.
A number of components in the electronic device 900 are connected to the I/O interface 905, including: an input unit 906 such as a keyboard, a mouse, and the like; an output unit 907 such as various types of displays, speakers, and the like; a memory 908, such as a magnetic disk, optical disk, or the like; and a communication unit 909 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 909 allows the electronic device 900 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Processor 901 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of processor 901 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The processor 901 performs various methods and processes described above, such as a cloud-based handset communication method. For example, in some embodiments, the cloud-based communication method may be implemented as a computer software program tangibly embodied in a machine-readable storage medium, such as memory 908. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto electronic device 900 via ROM 902 and/or communications unit 909. When the computer program is loaded into RAM 903 and executed by processor 901, one or more steps of the cloud handset based communication method described above may be performed. Alternatively, in other embodiments, the processor 901 may be configured to perform the cloud handset-based communication method by any other suitable means (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. The program code described above may be packaged as a computer program product. These program code or computer program products may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor 901, causes the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable storage medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable storage medium may be a machine-readable signal storage medium or a machine-readable storage medium. A machine-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical aspects of the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.