A virtual screen application control method, device and computer-readable storage medium
Through the virtual screen management module and event processing module, the problem of image quality and operation experience when the smart terminal is projected is solved, the synchronous operation experience and full-screen display of the virtual screen are realized, and the application functions and user experience of the smart terminal are improved.
Patent Information
- Application Number
- CN202211316220.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-26
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-10-26
AI Technical Summary
In the existing technology, when a smart terminal is connected to an external display device through screen projection, the image quality and operating experience cannot be effectively improved, and the aspect ratio of the external display does not match the mobile phone screen, resulting in black edges and affecting the visual experience.
Use the virtual screen management module to create a virtual screen, and take over the touch events and external input events of the smart terminal through the event acquisition, conversion and delivery module, convert and modify the events according to the virtual screen parameters, and dispatch them to the application to support the synchronous operation experience of multiple users .
It has improved the application operating experience of virtual screens, enriched the functions and extended experience of virtual applications, and solved the problems of image quality improvement and full-screen display.
Smart Images

Figure CN115665317B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communications, and in particular to a method and device for controlling application of a virtual screen, and a computer-readable storage medium. Background Art
[0002] In the prior art, smart terminals such as smartphones are often connected to external display devices through wired or wireless screen projection to share content in mobile phones and other devices, or to provide a better display experience than the mobile phone's own screen. For example, a common mobile phone screen projection method is mirror projection, that is, the content displayed on the external display is exactly the same as the content displayed on the mobile phone's own display. This method facilitates application operation. Users only need to operate the application on the mobile phone touch screen, and changes in the displayed content will be synchronously reflected on the external display.
[0003] However, the above method has the following defects:
[0004] First, even if the resolution of the external display is much higher than that of the mobile phone screen, what is ultimately presented is the effect of mirroring and then enlarging the content on the mobile phone screen, which will not bring about a real improvement in image quality.
[0005] Second, the aspect ratio of the external display is generally different from that of the phone's screen. In this case, there will be black borders on the top and bottom or left and right of the external display, and the display cannot fill the entire screen, affecting the visual experience.
[0006] Third, the application operation experience is consistent with the mobile phone itself. When users operate applications on their mobile phones, applications that require frequent operations, such as game applications, can only be shared with bystanders and cannot improve the user experience.
[0007] Therefore, how to simultaneously improve the application operation experience of the virtual screen for multiple users such as operators, sharers, and viewers has become a technical problem that needs to be solved urgently. Summary of the invention
[0008] In order to solve the above technical defects in the prior art, the present invention proposes a virtual screen application control method, which is applied to an intelligent terminal including an operation processing central control, wherein the operation processing central control includes a virtual screen management module, an event acquisition module, an event conversion module and an event delivery module, and the method includes:
[0009] Creating a virtual screen through the virtual screen management module, and running the selected application on the virtual screen;
[0010] Taking over one or more of the operation events of the touch screen and / or sensor of the smart terminal itself, the operation events transmitted through the external input device, and the operation events transmitted through the wireless connection with other terminals through the event acquisition module;
[0011] The event conversion module converts the operation event collected by the event acquisition module into a touch event supported by the selected application according to the virtual screen parameters of the virtual screen, and modifies the touch parameters and mapping relationship of the touch event according to the operation requirements of the operation event;
[0012] The modified touch event is dispatched to the processing process of the selected application in the virtual screen through the event delivery module.
[0013] Optionally, the intelligent terminal further includes a setting module and an operation interface module, and the method further includes:
[0014] Receiving, through the setting module, a selection instruction of an operation or a device issued by a user and transmitted to the selected application, and setting a mapping relationship between the operation or the device and a processable event of the selected application;
[0015] The operation interface is displayed through the operation interface module, and the operation instructions of the touch screen issued by the user are received in the operation interface.
[0016] Optionally, the method further comprises:
[0017] Acquiring the event type and / or event attribute of the processable event through the setting module;
[0018] The setting module establishes the mapping relationship between one or more of the first operation instruction of the touch screen and / or the sensor, the second operation instruction of the input device and the third operation instruction of the other terminal and the processable event according to the event type and / or the event attribute.
[0019] Optionally, the method further comprises:
[0020] Receiving, through the setting module, a size setting parameter and a density setting parameter of the virtual screen from a user, or determining the size setting parameter and the density setting parameter according to device parameters of an external display device connected to the smart terminal;
[0021] The size setting parameter and the density setting parameter are transmitted to the virtual screen management module through the setting module.
[0022] Optionally, the method further comprises:
[0023] Receiving a selection instruction of the user for the selected application through the setting module and / or receiving a switching instruction of the user for the selected application in the operation interface through the operation interface module;
[0024] The virtual screen management module loads resources and lays out the display according to the size setting parameter, the density setting parameter, the selection instruction and / or the switching instruction.
[0025] Optionally, the method further comprises:
[0026] After the virtual screen is created, if the operation interface is called up for display, the acquisition of the operation event and the conversion of the touch event are executed through the operation processing control;
[0027] After the virtual screen is created, if the operation interface is closed or hidden, the operation processing center stops receiving the operation event corresponding to the selected application.
[0028] Optionally, the method further comprises:
[0029] When the virtual screen is displayed on the screen of the smart terminal, the display content of the virtual screen is displayed in the first mapping area in the operation interface through the operation processing control;
[0030] The touch event of the first mapping area is amplified in proportion by the operation processing central control and then transmitted to the selected application of the virtual screen.
[0031] Optionally, the method further comprises:
[0032] When the virtual screen is displayed on the external screen of the smart terminal, the display content of the virtual screen is displayed in the second mapping area in the operation interface and / or a touch panel is displayed in the operation interface through the operation processing control;
[0033] Through the operation processing, the touch events of the second mapping area are proportionally amplified and transmitted to the selected application of the virtual screen, and / or the touch events of the touch panel are converted according to panel properties and transmitted to the selected application of the virtual screen.
[0034] The present invention also proposes a virtual screen application control device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the virtual screen application control method as described in any one of the above items are implemented.
[0035] The present invention also proposes a computer-readable storage medium, on which a virtual screen application control program is stored. When the virtual screen application control program is executed by a processor, the steps of the virtual screen application control method as described in any one of the above items are implemented.
[0036] The application control method, device and computer-readable storage medium of the virtual screen of the present invention are implemented, the virtual screen is created through the virtual screen management module, and the selected application is run into the virtual screen; the operation events of the touch screen and / or sensor of the smart terminal itself, the operation events transmitted through the input device connected to the outside and the operation events transmitted through the wireless connection with other terminals are taken over by the event acquisition module; the operation events collected by the event acquisition module are converted into touch events supported by the selected application according to the virtual screen parameters of the virtual screen by the event conversion module, and the touch parameters and mapping relationship of the touch events are modified according to the operation requirements of the operation events; the modified touch events are dispatched to the processing process of the selected application in the virtual screen by the event transmission module. A humanized application control scheme for virtual screens is realized, which improves the application operation experience of virtual screens for multiple users such as operators, sharers and viewers, and greatly enriches the application functions of virtual screens and the extended experience of virtual applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0038] Figure 1 It is a hardware structure diagram of a mobile terminal involved in the present invention;
[0039] Figure 2 is a first flow chart of the application control method of the virtual screen of the present invention;
[0040] Figure 3 is a second flow chart of the virtual screen application control method of the present invention;
[0041] Figure 4 is a third flow chart of the application control method of the virtual screen of the present invention;
[0042] Figure 5 is a fourth flow chart of the virtual screen application control method of the present invention;
[0043] Figure 6 is a fifth flow chart of the virtual screen application control method of the present invention;
[0044] Figure 7 is a sixth flow chart of the virtual screen application control method of the present invention;
[0045] Figure 8 is a seventh flow chart of the virtual screen application control method of the present invention;
[0046] Fig. 9 is an eighth flow chart of the application control method of the virtual screen of the present invention;
[0047] Fig.10 It is a virtual module schematic diagram of the application control method of the virtual screen of the present invention;
[0048] Fig.11 This is a schematic diagram of a first event conversion of the virtual screen application control method of the present invention;
[0049] Fig.12 2 is a schematic diagram of a second event conversion of the virtual screen application control method of the present invention;
[0050] Fig.13 It is a non-external display schematic diagram of the application control method of the virtual screen of the present invention;
[0051] Fig.14 It is a schematic diagram of an external display of the application control method of the virtual screen of the present invention. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0053] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0054] The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0055] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will appreciate that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type terminals.
[0056] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0057] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0058] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0059] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
[0060] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0061] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0062] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0063] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0064] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0065] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0066] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0067] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0068] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0069] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0070] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0071] Based on the above mobile terminal hardware structure, various embodiments of the method of the present invention are proposed.
[0072] Figure 2This is the first flow chart of the virtual screen application control method of the present invention. This embodiment proposes a virtual screen application control method, which is applied to an intelligent terminal including an operation processing central control, wherein the operation processing central control includes a virtual screen management module, an event acquisition module, an event conversion module and an event delivery module, and the method includes:
[0073] S1. Create a virtual screen through the virtual screen management module, and run the selected application on the virtual screen;
[0074] S2, taking over, through the event acquisition module, one or more of the operation events of the touch screen and / or sensor of the smart terminal itself, the operation events transmitted through the external input device, and the operation events transmitted through the wireless connection with other terminals;
[0075] S3, converting the operation event collected by the event acquisition module into a touch event supported by the selected application according to the virtual screen parameters of the virtual screen through the event conversion module, and modifying the touch parameters and mapping relationship of the touch event according to the operation requirements of the operation event;
[0076] S4. Dispatching the modified touch event to the processing process of the selected application in the virtual screen through the event delivery module.
[0077] Optionally, in this embodiment, taking a mobile phone as an example, screen projection and its operation methods are optimized. Specifically, first, a virtual screen is created in the mobile phone, and the application runs in the virtual screen; then, an operation processing central control is designed for this virtual screen to collect user operation behaviors from various sources; finally, these behaviors are converted into events that can be processed by the application and passed to the application, so as to operate the application. When screen projection is required, the entire virtual screen is mirrored to an external device for display.
[0078] Optionally, in this embodiment, please refer to Fig.10 The virtual module schematic diagram is shown. The intelligent terminal includes the following software modules: a virtual screen management module, which is used to create and manage virtual screens and run selected applications in the virtual screen; an event acquisition module, which is used to take over the touch screen and sensors of the mobile phone itself, externally connected input devices, and operation events transmitted by other smart phones through wireless connections; an event conversion module, which is used to convert the events collected by the event acquisition module into events supported by the application program, which are generally touch screen events, and modify parameters and mapping relationships as needed. Since the touch screen event conversion is related to the screen size, the conversion module needs to control the conversion coordinates according to the size of the virtual screen; an event transmission module, which is used to dispatch events to the application process in the virtual screen.
[0079] Optionally, in this embodiment, the selected application is running in a virtual screen on the mobile phone. The existence of the virtual screen has nothing to do with whether the external display device is connected or not. Based on this, when the user disconnects the external screen, the application in the virtual screen continues to run and can continue to be displayed when it is connected next time.
[0080] Optionally, in this embodiment, the parameters of the virtual screen can be customized according to user needs. For example, the display resolution can be consistent with the external device. Based on this, even if the mobile phone screen itself is not a 4K resolution screen, if the resolution of the virtual screen is set to be consistent with the 4K screen, the application on the mobile phone will also run at a 4K resolution. At this time, when displayed on the external device, the real picture quality of 4K can be achieved and fill the entire screen.
[0081] Optionally, in this embodiment, the operation behaviors of the mobile phone screen, mobile phone sensors, external devices connected to the mobile phone, and even another mobile phone can be collected. Even if the application itself does not support the above operations, they can be converted into general events that the selected application can support in the operation processing control of this embodiment and used to operate the application, thereby bringing a rich experience effect.
[0082] The beneficial effects of this embodiment are that a virtual screen is created through the virtual screen management module, and the selected application is run into the virtual screen; the event acquisition module takes over one or more of the operation events of the touch screen and / or sensor of the smart terminal itself, the operation events transmitted through the externally connected input device, and the operation events transmitted through the wireless connection with other terminals; the event conversion module converts the operation events collected by the event acquisition module into touch events supported by the selected application according to the virtual screen parameters of the virtual screen, and modifies the touch parameters and mapping relationship of the touch events according to the operation requirements of the operation events; and the event transmission module dispatches the modified touch events to the processing process of the selected application in the virtual screen. A humanized virtual screen application control scheme is realized, which improves the application operation experience of the virtual screen for multiple users such as the operator, the sharer, and the viewer, and greatly enriches the application functions of the virtual screen and the extended experience of the virtual application.
[0083] Figure 3 is a second flow chart of the application control method of the virtual screen of the present invention. Based on the above embodiment, optionally, the intelligent terminal further includes a setting module and an operation interface module, and the method further includes:
[0084] S01. Receive, through the setting module, an operation or device selection instruction issued by a user and transmitted to the selected application, and set a mapping relationship between the operation or the device and a processable event of the selected application;
[0085] S02. Displaying an operation interface through the operation interface module, and receiving an operation instruction of the touch screen issued by the user in the operation interface.
[0086] Optionally, in this embodiment, if Fig.10 As shown, the setting module is used for users to select the operations or devices that need to be passed to the application, as well as the mapping relationship between these operations and the events that can be processed by the application; the operation interface module is used for interface display, and users can operate the touch screen in this module.
[0087] Figure 4 is a third flow chart of the virtual screen application control method of the present invention. Based on the above embodiment, the method further includes:
[0088] S03, obtaining the event type and / or event attribute of the processable event through the setting module;
[0089] S04. Establishing, through the setting module, a mapping relationship between one or more of the first operation instruction of the touch screen and / or the sensor, the second operation instruction of the input device, and the third operation instruction of the other terminal and the processable event according to the event type and / or the event attribute.
[0090] Optionally, in this embodiment, the operation event source and event mapping relationship are set, including that the user can selectively obtain operation events from sources such as sensors, peripherals, mobile phone touch screens, other mobile phones, etc. in the figure to control the application on the virtual screen; taking peripherals as an example, under normal circumstances, peripherals only work on applications running on the mobile phone's own screen, and peripheral event conversion can be selected here. Therefore, when the virtual screen is in working state, the operation processing central control will intercept these peripheral events and pass them to the operation processing central control to control the virtual screen application.
[0091] Optionally, in this embodiment, with respect to the sources of operation events and event mapping relationships, the user can also redefine events from various sources, map them into new events, and use the new events to control a certain application on the virtual screen; for example, the click of a key on the keyboard can be repositioned as a touch screen click event at a specified screen position; for another example, the action of lifting the mobile phone upward detected by the acceleration sensor can be redefined as a click event of a touch screen button that controls the character's jump in a certain game application, thereby controlling the character's jump in the game by lifting the mobile phone.
[0092] Optionally, in this embodiment, please refer to Fig.11The first event conversion diagram is shown, in which the event acquisition module collects events from different sources, converts and combines them to jointly control the virtual screen application. Specifically, since mobile applications do not support many events, in order to let them process events from different sources, these events need to be converted into universal touch screen events and then passed to the application. Take the touch screen event and gyroscope sensor to control shooting games as an example. Fig.11 As shown, for shooting games on mobile phones, generally, the field of view is moved by sliding the touch area representing the field of view on the screen. In this embodiment, the character's moving direction and shooting action can be controlled by touching the screen in the operation interface; and the gyroscope of the mobile phone is used to detect the rotation direction of the mobile phone. Based on this, when the mobile phone rotates slightly counterclockwise along the Y axis, it is converted into a left slide of the field of view area in the virtual screen application in the event conversion module to control the field of view to move to the left; when the mobile phone rotates slightly clockwise along the Y axis, it is converted into a right slide of the field of view area to control the field of view to move to the right; when the mobile phone rotates slightly counterclockwise along the X axis, it is converted into an upward slide of the field of view area to control the field of view to move upward; when the mobile phone rotates slightly clockwise along the X axis, it is converted into a downward slide of the field of view area to control the field of view to move downward. It can be seen that in this embodiment, in the event conversion module, the touch screen event from the operation interface is modified, and combined with the field of view area sliding event converted from the gyroscope to synthesize a multi-finger touch screen event, so as to be passed to the game application to control the game.
[0093] Optionally, in this embodiment, please refer to Fig.12 The second event conversion diagram is shown, wherein, in order to meet the control, sharing and viewing needs of multiple users, two mobile phones can be connected via WiFi to control an application in turn or together, such as Fig.12As shown, the virtual screen is created by mobile phone A, the game application runs in the virtual screen, mobile phone A is connected to the external screen, and the content of the virtual screen is projected onto the external screen. Mobile phone A controls application A through the operation interface, mobile phone B is connected to mobile phone A through WiFi, A shares the operation interface layout with mobile phone B, the user of mobile phone B can use the same operation interface, and the touch screen event generated by it is transmitted to the event acquisition module of mobile phone A through WiFi, and is transmitted to the game through the event conversion module to control its operation. It can be seen that in this embodiment, when the event conversion module only processes the event of one mobile phone at the same time, A and B control the game in turn; when the event conversion module synthesizes the events of the two mobile phones together, A and B jointly control the game, for example, A controls the movement of the character, and B controls the field of view and shooting. As a result, users A and B operate their own interfaces and watch the game screen of the external screen together, which can achieve the effect of coaching others to play games or playing games together. It should be noted that the above experience effect is not achievable by the original single mobile phone game. Likewise, the operation processing control of this embodiment can convert and synthesize events from multiple event sources, as well as different event source combinations, thereby further achieving richer user control, sharing, and viewing experience.
[0094] Figure 5 4 is a flow chart of the method for controlling the application of the virtual screen of the present invention. Based on the above embodiment, the method further includes:
[0095] S11, receiving, through the setting module, a size setting parameter and a density setting parameter of the virtual screen from a user, or determining the size setting parameter and the density setting parameter according to device parameters of an external display device connected to the smart terminal;
[0096] S12: passing the size setting parameter and the density setting parameter to the virtual screen management module through the setting module.
[0097] Optionally, in this embodiment, the user's manual settings can be received in the settings interface, including various parameters of the virtual screen, such as length, width, screen density, etc.; or an automatic detection method can be selected, for example, when the mobile phone is connected to an external display, the parameters of the external display are detected and a virtual screen consistent with it is created.
[0098] Optionally, in this embodiment, the parameters of the virtual screen are synchronized to the event conversion module.
[0099] Figure 6 is a fifth flow chart of the virtual screen application control method of the present invention. Based on the above embodiment, the method further includes:
[0100] S21, receiving a selection instruction of the user for the selected application through the setting module and / or receiving a switching instruction of the user for the selected application in the operation interface through the operation interface module;
[0101] S22: Load resources and lay out and display them according to the size setting parameter, the density setting parameter, the selection instruction and / or the switching instruction through the virtual screen management module.
[0102] Optionally, in this embodiment, an application to be started is selected in the setting module, or the application is switched in the operation interface.
[0103] Optionally, in this embodiment, the above-mentioned specified application will load resources and layout the display according to the size and parameters of the virtual screen.
[0104] Figure 7 6 is a flow chart of the method for controlling the application of the virtual screen of the present invention. Based on the above embodiment, the method further includes:
[0105] S31, after the virtual screen is created, if the operation interface is called up for display, the acquisition of the operation event and the conversion of the touch event are executed through the operation processing control;
[0106] S32: After the virtual screen is created, if the operation interface is closed or hidden, the operation processing center stops receiving the operation event corresponding to the selected application.
[0107] Optionally, in this embodiment, after the virtual screen is created, the operation interface can be evoked and displayed on the mobile phone at any time; when the operation interface is displayed, the operation processing center controls event acquisition and conversion; when the operation interface is closed, the mobile phone processes events according to the original process of the mobile phone, and the virtual screen application no longer receives events.
[0108] Figure 8 FIG. 7 is a seventh flow chart of the virtual screen application control method of the present invention. Based on the above embodiment, the method further includes:
[0109] S41, when the virtual screen is displayed on the screen of the smart terminal itself, displaying the display content of the virtual screen in the first mapping area in the operation interface through the operation processing control;
[0110] S42: The touch event of the first mapping area is amplified in proportion by the operation processing central control and then transmitted to the selected application of the virtual screen.
[0111] Optionally, in this embodiment, please refer to Fig.13Schematic diagram of non-external display shown. When no external display is connected, the operation interface can map the display content in the virtual screen, where the mapping area is a similar rectangle of the virtual screen, and the application screen in the virtual screen is displayed. The user's touch screen operation in the mapping area can be directly passed to the application in the virtual screen after the coordinates are enlarged in proportion.
[0112] Fig. 9 FIG. 8 is an eighth flow chart of the method for controlling the application of the virtual screen of the present invention. Based on the above embodiment, the method further includes:
[0113] S43, when the virtual screen is displayed on the external screen of the smart terminal, displaying the display content of the virtual screen in the second mapping area in the operation interface and / or displaying a touch panel in the operation interface through the operation processing control;
[0114] S44, through the operation processing central control, the touch event of the second mapping area is amplified in proportion and transmitted to the selected application of the virtual screen, and / or the touch event of the touch panel is converted according to panel properties and transmitted to the selected application of the virtual screen.
[0115] Optionally, in this embodiment, please refer to Fig.14 The external display schematic diagram is shown. When the mobile phone is connected to an external screen, the user can view the external screen. In order to save power consumption, the operation interface may not display the virtual screen content, but enter the custom touch panel mode, in which the areas in the operation interface correspond to the areas with corresponding numbers in the virtual screen application interface. In order to achieve a blind operation experience, the effective touch area in the general operation interface will be larger and adjusted according to the user's habits. The coordinates of the touch screen point actually operated by the user are reduced and passed to the application in the virtual screen.
[0116] Based on the above embodiments, the present invention also proposes a virtual screen application control device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the virtual screen application control method as described in any one of the above items are implemented.
[0117] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.
[0118] Based on the above embodiments, the present invention also proposes a computer-readable storage medium, which stores a virtual screen application control program. When the virtual screen application control program is executed by a processor, the steps of the virtual screen application control method as described in any of the above items are implemented.
[0119] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.
[0120] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0121] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0123] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A method for controlling an application of a virtual screen, characterized in that: The method is applied to an intelligent terminal including an operation processing central control, wherein the operation processing central control includes a virtual screen management module, an event acquisition module, an event conversion module and an event delivery module, and the method includes: Creating a virtual screen through the virtual screen management module, and running the selected application on the virtual screen; Taking over one or more of the operation events of the touch screen and / or sensor of the smart terminal itself, the operation events transmitted through the external input device, and the operation events transmitted through the wireless connection with other terminals through the event acquisition module; The event conversion module converts the operation event collected by the event acquisition module into a touch event supported by the selected application according to the virtual screen parameters of the virtual screen, and modifies the touch parameters and mapping relationship of the touch event according to the operation requirements of the operation event; Dispatching the modified touch event to the processing process of the selected application in the virtual screen through the event delivery module; The intelligent terminal further includes a setting module and an operation interface module, and the method further includes: Receiving, through the setting module, a selection instruction of an operation or a device issued by a user and transmitted to the selected application, and setting a mapping relationship between the operation or the device and a processable event of the selected application; Displaying an operation interface through the operation interface module, and receiving an operation instruction of the touch screen issued by the user in the operation interface; The method further comprises: Acquiring the event type and / or event attribute of the processable event through the setting module; Establishing, by the setting module, the mapping relationship between one or more of the first operation instruction of the touch screen and / or the sensor, the second operation instruction of the input device, and the third operation instruction of the other terminal and the processable event according to the event type and / or the event attribute; receiving, through the setting module, a size setting parameter and a density setting parameter of the virtual screen from a user, or determining the size setting parameter and the density setting parameter according to device parameters of an external display device connected to the smart terminal; The size setting parameter and the density setting parameter are transmitted to the virtual screen management module through the setting module; Receiving a selection instruction of the user for the selected application through the setting module and / or receiving a switching instruction of the user for the selected application in the operation interface through the operation interface module; The virtual screen management module loads resources and displays them in layout according to the size setting parameter, the density setting parameter, the selection instruction and / or the switching instruction.
2. The method for controlling the application of a virtual screen according to claim 1, characterized in that: The method further comprises: After the virtual screen is created, if the operation interface is called up for display, the acquisition of the operation event and the conversion of the touch event are executed through the operation processing control; After the virtual screen is created, if the operation interface is closed or hidden, the operation processing center stops receiving the operation event corresponding to the selected application.
3. The method for controlling the application of a virtual screen according to claim 2, characterized in that: The method further comprises: When the virtual screen is displayed on the screen of the smart terminal, the display content of the virtual screen is displayed in the first mapping area in the operation interface through the operation processing control; The touch event of the first mapping area is amplified in proportion by the operation processing central control and then transmitted to the selected application of the virtual screen.
4. The method for controlling the application of a virtual screen according to claim 3, characterized in that: The method further comprises: When the virtual screen is displayed on the external screen of the smart terminal, the display content of the virtual screen is displayed in the second mapping area in the operation interface and / or a touch panel is displayed in the operation interface through the operation processing control; Through the operation processing, the touch events of the second mapping area are proportionally amplified and transmitted to the selected application of the virtual screen, and / or the touch events of the touch panel are converted according to panel properties and transmitted to the selected application of the virtual screen.
5. A virtual screen application control device, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the virtual screen application control method according to any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a virtual screen application control program, and when the virtual screen application control program is executed by the processor, the steps of the virtual screen application control method according to any one of claims 1 to 4 are implemented.
