Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a cloud mobile phone using method and device, computer equipment and a storage medium during screen locking.
In order to achieve the purpose, the invention adopts the following technical scheme: the cloud mobile phone use method in screen locking comprises the following steps:
when the mobile phone is in a screen locking state, user permission is obtained;
issuing an instruction;
acquiring third-party application information according to the instruction;
and drawing a third party application running interface on an internal window of the mobile phone screen locking interface according to the third party application information.
The further technical scheme is as follows: when the mobile phone is in the screen locking state, obtaining user permission, including:
establishing connection between the mobile phone in a screen locking state and the cloud mobile phone;
an internal window for sending a request to start the third-party application to the cloud mobile phone is established on the mobile phone.
The further technical scheme is as follows: the instruction comprises a command for acquiring the information of the third-party application according to the operation event of the internal window.
The further technical scheme is as follows: the third party application information comprises a third party application file and/or a third party application display information byte stream.
The further technical scheme is as follows: the method for drawing the third-party application running interface on the internal window of the mobile phone screen locking interface according to the third-party application information comprises the following steps:
starting a third-party application program;
acquiring a window display interface of a third-party application program;
and transmitting the window display interface of the third-party application program to an internal window of the mobile phone screen locking interface in an IP video byte stream mode.
The further technical scheme is as follows: after the third party application running interface is drawn on the window in the mobile phone screen locking interface according to the third party application information, the method further comprises the following steps:
acquiring a touch event and a key event acting on a window display interface of a third-party application program;
processing a window display interface of a third-party application program in real time according to the touch event and the key event to obtain a processing result;
and transmitting the processing result to an internal window of a mobile phone screen locking interface in real time.
The invention also provides a cloud mobile phone using device in screen locking, which comprises:
the permission obtaining unit is used for obtaining user permission when the mobile phone is in a screen locking state;
the instruction issuing unit is used for issuing an instruction;
the information acquisition unit is used for acquiring third-party application information according to the instruction;
and the drawing unit is used for drawing the third party application running interface on the window in the mobile phone screen locking interface according to the third party application information.
The further technical scheme is as follows: the license acquisition unit includes:
the connection establishing subunit is used for establishing the connection between the mobile phone in the screen locking state and the cloud mobile phone;
and the creating subunit is used for creating an internal window which sends a request to the cloud mobile phone to start the third-party application.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: according to the method and the device, the connection between the mobile phone and the cloud mobile phone in the screen locking state is established, the internal window is established on the mobile phone, the cloud mobile phone is requested to issue the window display interface related to the third application program by using the operation of the internal window, the application is installed on the cloud mobile phone, the cloud mobile phone can be used when the mobile phone is in the screen locking state, the unlocking action is prevented from interrupting the user operation, and the user experience is improved.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a method for using a cloud mobile phone when a screen is locked according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of a method for using a cloud mobile phone when a screen is locked according to an embodiment of the present invention. The method for using the cloud mobile phone during screen locking is applied to a cloud server. The cloud server can be one server in a distributed service platform, the cloud mobile phone using platform when the screen is locked is deployed in the cloud server, the cloud server interacts with a user terminal, the user terminal sends the operation of an internal window when the screen is locked into the cloud mobile phone, so that the cloud server calls a window display interface of a third-party application program to the internal window of the screen locking interface of the user terminal, and real-time operation requests of the window display interface of the third-party application program aiming at the internal window are sent to the cloud server, so that the cloud server drives the window display interface of the third-party application program to update and change in real time and transmit the updated and changed window display interface to the internal window of the screen locking interface of the user terminal, thereby the operation of the third-party application can be still carried out when the screen is locked by the user terminal, and the third-party application does not occupy the storage resource of the terminal user, the method is not required to be installed in a mobile phone of a terminal user, but is installed and used in a cloud terminal.
It should be noted that fig. 2 only illustrates one cloud server and one user terminal, and in an actual operation process, one cloud server may perform request processing on multiple user terminals, or multiple cloud servers may perform request processing on one user terminal.
Fig. 2 is a schematic flow chart of a method for using a cloud mobile phone when a screen is locked according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S140.
And S110, when the mobile phone is in a screen locking state, obtaining user permission.
The user permission refers to permission of issuing instructions, data and the like of the cloud mobile phone to the mobile phone.
In one embodiment, as shown in fig. 3, the step S110 may include steps S111 to S112.
And S111, establishing connection between the mobile phone in the screen locking state and the cloud mobile phone.
Specifically, the mobile phone in the screen locking state is used as a client to be connected with the cloud mobile phone serving end through an IP network, so that the mobile phone is connected with the cloud mobile phone, the cloud mobile phone can be requested to perform corresponding processing when the mobile phone is in the screen locking state, user operation interruption caused by unlocking action is avoided, and user experience is improved.
And S112, establishing an internal window for sending a request to start the third-party application to the cloud mobile phone on the mobile phone.
The user does not need to download the application, the required application can be selected on the screen locking interface of the mobile phone for operation and use, and the application is not installed in the mobile phone of the user but installed in the cloud mobile phone. The cloud mobile phone is connected with the user terminal, information is communicated, a large amount of resource cache and garbage cannot be generated in the user terminal, third-party applications which are not required to be installed in the user equipment are not needed, the user can call the cloud mobile phone by requesting, and therefore the third-party applications which can be found in the cloud equipment by the user can be directly used.
And S120, issuing an instruction.
In this embodiment, the instruction includes a command to acquire the third-party application information according to the operation event of the internal window.
And S130, acquiring third-party application information according to the instruction.
In this embodiment, the third party application information includes a third party application file and/or a third party application display information byte stream.
Specifically, a third-party application file can be acquired from the mobile phone, or a third-party application display information byte stream can be acquired from the cloud mobile phone, so that the space occupied by the memory of the mobile phone is reduced, and the situation that the mobile phone is jammed in use is avoided.
And S140, drawing a third party application running interface on an internal window of the mobile phone screen locking interface according to the third party application information.
Specifically, after the third-party application information is acquired, the cloud mobile phone transmits the third-party application file or the display information byte stream to the CPU or the GPU of the mobile phone, and the CPU or the GPU of the mobile phone draws the operation interface of the third-party application in the area specified by the screen locking interface of the mobile phone according to the transmitted file or information byte stream.
The mobile phone screen locking interface can provide a display window of an application, and particularly, different windows can be set in the mobile phone screen locking interface, and the windows can be well combined with screen locking wallpaper, so that the sense of incongruity cannot be generated. Local or hot content parts of the application are displayed in the window, and when a user clicks to view the window, the window is relatively enlarged, so that the user can see and operate more detailed content. The user operates the user equipment, the corresponding operation process is sent to the cloud end equipment, the cloud end equipment feeds back the operation information in real time, and the operation information is displayed in a video streaming mode.
In one embodiment, as shown in fig. 4, the step S140 may include steps S141 to S143.
S141, starting a third-party application program;
s142, acquiring a window display interface of the third-party application program;
and S143, transmitting the window display interface of the third-party application program to the internal window of the mobile phone screen locking interface in an IP video byte stream mode.
The cloud mobile phone server starts a third-party application program, a window display interface of the third-party application program is transmitted to a front-end mobile phone screen locking interface in an IP video byte stream mode, and the front-end mobile phone screen locking interface plays a video stream transmitted by the server in an internal window in real time.
According to the method for using the cloud mobile phone in the screen locking process, the connection between the mobile phone and the cloud mobile phone in the screen locking state is established, the internal window is established on the mobile phone, the cloud mobile phone is requested to issue the window display interface related to the third application program by using the operation of the internal window, the application is installed on the cloud mobile phone, the cloud mobile phone can be used when the mobile phone is in the screen locking state, the unlocking action is prevented from interrupting the user operation, and the user experience is improved.
Fig. 5 is a schematic flow chart of a method for using a cloud mobile phone when a screen is locked according to another embodiment of the present invention. As shown in fig. 5, the method for using the cloud mobile phone in the screen locking of the embodiment includes steps S210 to S270. Steps S210 to S240 are similar to steps S110 to S140 in the above embodiments, and are not described herein again. The added steps S250 to S270 in the present embodiment are explained in detail below.
S250, acquiring a touch event and a key event which act on a window display interface of the third-party application program;
s260, processing a window display interface of the third-party application program in real time according to the touch event and the key event to obtain a processing result;
and S270, transmitting the processing result to an internal window of the mobile phone screen locking interface in real time.
The mobile phone transmits the touch event and the key event acting on the internal window to the cloud mobile phone server, the cloud mobile phone server receives the event and transmits the event to the third-party application program, the third-party application program carries out real-time response processing, the cloud mobile phone server transmits the interface change of the third-party application program to the front-end mobile phone in real time, and the internal window in the front-end mobile phone lock screen interface is synchronously played in real time.
Fig. 6 is a schematic block diagram of a device 300 for using a cloud mobile phone when a screen is locked according to an embodiment of the present invention. As shown in fig. 6, corresponding to the above method for using the cloud mobile phone when locking the screen, the present invention further provides a device 300 for using the cloud mobile phone when locking the screen. The device 300 for using a cloud mobile phone when locking a screen includes a unit for performing the above method for using a cloud mobile phone when locking a screen, and the device may be configured in a server.
Specifically, referring to fig. 6, the device 300 for using a cloud mobile phone during screen locking includes:
a permission obtaining unit 301, configured to obtain a user permission when the mobile phone is in a screen locking state;
an instruction issuing unit 302 for issuing an instruction;
an information obtaining unit 303, configured to obtain third-party application information according to the instruction;
and the drawing unit 304 is configured to draw a third-party application running interface on the window inside the mobile phone lock screen interface according to the third-party application information.
In one embodiment, as shown in fig. 7, the license acquiring unit 301 includes:
the establishing connection subunit 3011 is configured to establish a connection between the mobile phone in the screen lock state and the cloud mobile phone;
the creating subunit 3012 is configured to create an internal window on the mobile phone, where the internal window is used to send a request to the cloud mobile phone to start a third-party application.
In one embodiment, as shown in fig. 8, the rendering unit 304 includes:
a promoter unit 3041 for launching a third party application;
an interface obtaining subunit 3042, configured to obtain a window display interface of the third-party application;
the transmitting subunit 3043 is configured to transmit the window display interface of the third-party application to the internal window of the mobile phone screen locking interface in an IP video byte stream manner.
Fig. 9 is a schematic block diagram of a device 300 for using a cloud mobile phone when locking a screen according to another embodiment of the present invention. As shown in fig. 9, the device 300 for using a cloud mobile phone in locking a screen according to the present embodiment is the above embodiment, and an event acquiring unit 305, a processing unit 306, and a display unit 307 are added.
An event acquisition unit 305 for acquiring a touch event and a key event acting on a window display interface of a third-party application;
the processing unit 306 is configured to process a window display interface of the third-party application program in real time according to the touch event and the key event to obtain a processing result;
and the display unit 307 is configured to transmit the processing result to an internal window of the mobile phone screen locking interface in real time.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the device 300 and each unit used by the cloud mobile phone during the screen locking may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The cloud mobile phone using apparatus 300 in the screen locking process may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 is a server, wherein the server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a method for cloud cell phone usage when locking a screen.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute a method for using the cloud mobile phone when the screen is locked.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration relevant to the present teachings and is not intended to limit the computing device 500 to which the present teachings may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
when the mobile phone is in a screen locking state, user permission is obtained;
issuing an instruction;
acquiring third-party application information according to the instruction;
and drawing a third party application running interface on an internal window of the mobile phone screen locking interface according to the third party application information.
The instruction comprises a command for acquiring the information of the third-party application according to the operation event of the internal window.
The third party application information comprises a third party application file and/or a third party application display information byte stream.
In an embodiment, when implementing the step of obtaining the user permission when the mobile phone is in the screen lock state, the processor 502 specifically implements the following steps:
establishing connection between the mobile phone in a screen locking state and the cloud mobile phone;
an internal window for sending a request to start the third-party application to the cloud mobile phone is established on the mobile phone.
In an embodiment, when the step of drawing the third-party application running interface on the window inside the mobile phone lock screen interface according to the third-party application information is implemented, the following steps are specifically implemented by the processor 502:
starting a third-party application program;
acquiring a window display interface of a third-party application program;
and transmitting the window display interface of the third-party application program to an internal window of the mobile phone screen locking interface in an IP video byte stream mode.
In an embodiment, after the step of drawing the third-party application running interface on the window inside the mobile phone lock screen interface according to the third-party application information is implemented, the processor 502 further implements the following steps:
acquiring a touch event and a key event acting on a window display interface of a third-party application program;
processing a window display interface of a third-party application program in real time according to the touch event and the key event to obtain a processing result;
and transmitting the processing result to an internal window of a mobile phone screen locking interface in real time.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU) 306, and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
when the mobile phone is in a screen locking state, user permission is obtained;
issuing an instruction;
acquiring third-party application information according to the instruction;
and drawing a third party application running interface on an internal window of the mobile phone screen locking interface according to the third party application information.
The instruction comprises a command for acquiring the information of the third-party application according to the operation event of the internal window.
The third party application information comprises a third party application file and/or a third party application display information byte stream.
In an embodiment, when the processor executes the computer program to implement the step of obtaining user permission when the mobile phone is in the screen locking state, the following steps are specifically implemented:
establishing connection between the mobile phone in a screen locking state and the cloud mobile phone;
an internal window for sending a request to start the third-party application to the cloud mobile phone is established on the mobile phone.
In an embodiment, when the processor executes the computer program to realize the step of drawing the third-party application running interface on the window inside the mobile phone lock screen interface according to the third-party application information, the following steps are specifically realized:
starting a third-party application program;
acquiring a window display interface of a third-party application program;
and transmitting the window display interface of the third-party application program to an internal window of the mobile phone screen locking interface in an IP video byte stream mode.
In an embodiment, after the processor executes the computer program to realize the step of drawing the third-party application running interface on the window inside the mobile phone lock screen interface according to the third-party application information, the processor further realizes the following steps:
acquiring a touch event and a key event acting on a window display interface of a third-party application program;
processing a window display interface of a third-party application program in real time according to the touch event and the key event to obtain a processing result;
and transmitting the processing result to an internal window of a mobile phone screen locking interface in real time.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.