CN113663324A - Control method and device of terminal application and computer readable storage medium - Google Patents

Control method and device of terminal application and computer readable storage medium Download PDF

Info

Publication number
CN113663324A
CN113663324A CN202110963735.4A CN202110963735A CN113663324A CN 113663324 A CN113663324 A CN 113663324A CN 202110963735 A CN202110963735 A CN 202110963735A CN 113663324 A CN113663324 A CN 113663324A
Authority
CN
China
Prior art keywords
terminal
application
control instruction
terminal application
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110963735.4A
Other languages
Chinese (zh)
Inventor
龙科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202110963735.4A priority Critical patent/CN113663324A/en
Publication of CN113663324A publication Critical patent/CN113663324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and device of a terminal application and a computer readable storage medium. Wherein, the method comprises the following steps: the terminal sends the desktop image to the PC terminal for display; receiving a first control instruction from a PC (personal computer) end, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling terminal application through a keyboard; determining whether a terminal application is currently and locally operated on the terminal, wherein when the terminal application is currently and locally operated on the terminal, a keyboard mode is entered; receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for terminal application; and controlling the terminal application according to the second control instruction. The invention solves the technical problems that the size of the mobile terminal in the related technology often limits the operation and use of a user and influences the operation speed and the sensitivity.

Description

Control method and device of terminal application and computer readable storage medium
Technical Field
The present invention relates to the technical field of terminal application control, and in particular, to a method and an apparatus for controlling a terminal application, and a computer-readable storage medium.
Background
With the rapid development of mobile interconnection, the development speed of mobile games (also called as hand games) is faster and faster. The use experience of the gamer for the game is higher and more diversified. In the prior art, the size of a mobile terminal (e.g., a mobile phone, etc.) often limits the operation and use of a user, for example, when the size of a screen is relatively small in the process of a hand trip of the user, the touch operation of a finger of the user is affected, and the operation speed and sensitivity are affected, so that the game experience of the user is reduced.
In view of the above-mentioned problem that the size of the mobile terminal in the related art often limits the operation and use of the user and affects the operation speed and sensitivity, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a terminal application and a computer readable storage medium, which are used for at least solving the technical problems that the size of a mobile terminal in the related art often limits the operation and use of a user and influences the operation speed and sensitivity.
According to an aspect of an embodiment of the present invention, a method for controlling a terminal application is provided, including: the terminal sends the desktop image to the PC terminal for display; receiving a first control instruction from the PC terminal, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling a terminal application through a keyboard; determining whether the terminal application is currently and locally operated on the terminal, wherein the keyboard mode is entered when the terminal application is currently and locally operated on the terminal; receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for the terminal application; and carrying out control operation on the terminal application according to the second control instruction.
Optionally, determining whether the terminal application is currently locally run on the terminal includes: acquiring a current locally-operated application program list of the terminal; and determining whether the terminal application exists in the application program list, wherein the application names in the application program list are compared with application names in a terminal application list prestored locally, and if at least one application name is successfully compared, determining that the terminal application exists in the application program list.
Optionally, after entering the keyboard mode, the method includes: and generating a preset function button on the desktop image, wherein the preset function button is used for triggering a key mapping control interface.
Optionally, after entering the keyboard mode, the method further includes: and performing key mapping on the terminal application to establish a key mapping relation, wherein the key mapping is to map the operation of a keyboard and/or a mouse to the application virtual keys.
Optionally, after the key mapping relationship is established, the method further includes: acquiring key mapping modification information, wherein the key mapping modification information comprises virtual keys and modified key information; and updating the key mapping relation according to the key mapping modification information.
Optionally, after the key mapping relationship is established, the method further includes: and adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation.
Optionally, performing a control operation on the terminal application according to the second control instruction, including: converting the second control instruction into a corresponding virtual key control instruction; and sending the virtual key control instruction to the terminal application so as to enable the terminal application to execute corresponding control operation.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus for a terminal application, including: the sending module is used for sending the desktop image to the PC terminal for displaying by the terminal; the first receiving module is used for receiving a first control instruction from the PC terminal, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling a terminal application through a keyboard; the determining module is used for determining whether the terminal application is currently and locally operated on the terminal, wherein the keyboard mode is entered when the terminal application is currently and locally operated on the terminal; the second receiving module is used for receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key applied to the terminal; and the control module is used for controlling the terminal application according to the second control instruction.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the control method of the terminal application described in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the control method of the terminal application described in any one of the above.
In the embodiment of the invention, the terminal is adopted to send the desktop image to the PC terminal for display; receiving a first control instruction from a PC (personal computer) end, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling terminal application through a keyboard; determining whether a terminal application is currently and locally operated on the terminal, wherein when the terminal application is currently and locally operated on the terminal, a keyboard mode is entered; receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for terminal application; and when the desktop image is thrown to a PC terminal through the terminal, the terminal application is controlled and operated through the keyboard and the mouse, and the purpose of controlling the terminal application on the same screen is achieved, so that the game experience of a user is improved, the use scene of a mobile phone game and the technical effect of equipment are expanded, and the technical problems that the operation and the use of the user are limited by the size of the mobile terminal in the related technology and the operation speed and the sensitivity are influenced are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a control method of a terminal application according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a deployment scenario of a control method of a terminal application according to an alternative embodiment of the present invention;
fig. 3 is a schematic diagram of a control device of a terminal application according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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 should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a control method for a terminal application, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that herein.
Fig. 1 is a flowchart of a control method of a terminal application according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, the terminal sends the desktop image to the PC terminal for displaying;
the terminal includes but is not limited to a smart phone, a tablet, etc.; optionally, the sending, by the terminal, the desktop image to the PC terminal for displaying includes: establishing communication connection between the terminal and the PC terminal; and sending the desktop image to the PC terminal according to the communication connection so that the PC terminal synchronously displays the desktop image.
Step S104, receiving a first control instruction from a PC (personal computer) end, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling a terminal application through a keyboard;
optionally, the first control instruction may be a switching request instruction of a keyboard mode initiated by a preset combination key. For example, a keyboard mode switch request instruction may be initiated by a combination key to enter a keyboard mode in which the operation of the terminal application may be controlled by the keyboard. In addition, the normal keyboard mode can be entered through the same or different combined keys, and in the normal keyboard mode, the mouse can be used for clicking and the keyboard can be used for inputting.
In addition, the terminal applications include, but are not limited to, game applications, reading applications, news applications, and the like.
Step S106, determining whether the terminal locally runs the terminal application currently, wherein when the terminal locally runs the terminal application currently, entering a keyboard mode;
in an optional implementation manner, whether the terminal application is currently and locally operated or not can be judged, and when the terminal application is currently and locally operated, the keyboard mode is entered, so that misoperation of a user can be effectively avoided.
Step S108, receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for the terminal application;
the second control instruction may be a keyboard and mouse control instruction for the terminal application.
And step S110, performing control operation on the terminal application according to the second control instruction.
It should be noted that the virtual keys at least include an activated state and a hidden state, wherein when the virtual keys are in the activated state, corresponding operations can be executed by using corresponding keys on the keyboard; when the virtual key is in the hidden state, the corresponding key cannot perform any operation. In addition, the active state may be identified with a colored icon and the hidden state may be identified with the icon grayed out or disappeared.
Through the steps, when the terminal throws the desktop image to the PC terminal, the terminal application can be controlled and operated through the keyboard and the mouse, and the purpose of controlling the terminal application on the same screen is achieved, so that the game experience of a user is improved, the use scene of a mobile game and the technical effect of equipment are expanded, and the technical problems that the operation and the use of the user are often limited by the size of the mobile terminal in the related technology and the operation speed and the sensitivity are influenced are solved.
Optionally, determining whether the terminal currently runs the terminal application locally includes: acquiring a list of application programs currently and locally running by a terminal; and determining whether the application program list has the terminal application, wherein the application names in the application program list are compared with the application names in the terminal application list prestored locally, and if at least one application name is successfully compared, determining that the terminal application exists in the application program list.
In an alternative embodiment, a list of applications currently running locally at the terminal may be obtained, and it may be determined whether a terminal application exists in the list of applications. In a specific implementation process, the application name in the application program list may be compared with an application name in a locally pre-stored terminal application list, and then the terminal application in the application program list is determined according to a comparison result. It should be noted that, when one or more application names in the application program list are matched with application names in a terminal application list pre-stored locally, it is possible to obtain that the terminal application exists in the application program list. By the implementation method, whether the terminal application exists in the application program list can be accurately known.
Optionally, after entering the keyboard mode, the method includes: and generating a preset function button on the desktop image, wherein the preset function button is used for triggering a key mapping control interface.
In an optional implementation, after entering the keyboard mode, a preset function button may be generated on the desktop image, through which a key mapping control interface may be triggered, at which the key mapping relationship may be displayed, so that the target object may view the key mapping relationship, and update and adjust the key mapping relationship.
Optionally, after entering the keyboard mode, the method further includes: and performing key mapping on the terminal application, and establishing a key mapping relation, wherein the key mapping is to map the operation of a keyboard and/or a mouse to the application virtual keys.
In an optional implementation manner, after entering the keyboard mode, key mapping is performed on the terminal application, and a key mapping relationship is established, so that not only can each virtual key be mapped with one key in the keyboard, so as to perform terminal application control through the keyboard, but also one or more virtual keys can be mapped with the mouse, so as to trigger corresponding operations through mouse clicking.
Optionally, after the key mapping relationship is established, the method further includes: acquiring key mapping modification information, wherein the key mapping modification information comprises virtual keys and modified key information; and updating the key mapping relation according to the key mapping modification information.
In an alternative embodiment, it is necessary to obtain key mapping modification information, which includes virtual keys and modified key information, and then update the key mapping relationship according to the key mapping modification information. The key mapping relation can be updated in time through the implementation mode.
Optionally, after the key mapping relationship is established, the method further includes: and adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation.
In an optional implementation manner, on the basis of an original application picture, an application key position indication layer is added on a virtual key icon by identifying the virtual key icon in the application picture, wherein the application key position indication layer may be a semi-transparent layer, and a key position corresponding to a virtual key is arranged on the layer, so that a target user can operate conveniently, and the target object can be prevented from memorizing a relatively complex key position corresponding relationship.
Optionally, performing a control operation on the terminal application according to the second control instruction, including: converting the second control instruction into a corresponding virtual key control instruction; and sending the virtual key control instruction to the terminal application so that the terminal application executes corresponding control operation.
In an alternative embodiment, when the second control instruction is converted into a corresponding virtual key control instruction, the second control instruction may be converted into a corresponding virtual key control instruction by using a key mapping relationship.
In an alternative embodiment, the virtual key control instruction may be stored in a predetermined storage space local to the terminal, and the terminal application may execute a corresponding control operation by reading the predetermined storage space.
An alternative embodiment of the invention is described in detail below.
Fig. 2 is a schematic diagram of a deployment scenario of a control method for a terminal application according to an alternative embodiment of the present invention, as shown in fig. 2, in the scenario, a terminal is a smart phone, and communication is established between the smart phone and a PC terminal through a built-in soft S and soft R. The smart phone can send desktop display images to the soft R through the soft S, so that the desktop display images can be displayed through a display of the PC. Therefore, when a mobile game is run on the smart phone, the picture can be directly pulled to the PC terminal for display. However, currently, under such a transmission architecture, the keyboard and the mouse on the PC side cannot perform reverse control on the game, or the game operation can only be performed by means of mouse clicking, which is very inconvenient for the player.
Further, an alternative embodiment of the present invention provides a method for controlling a game application, which includes the following steps:
step 201, after the soft S establishes connection with the soft R, the soft S sends the acquired desktop image of the mobile phone to the soft R; wherein the decoding by soft R is displayed on the PC side.
Step 202, the soft R collects the keyboard and mouse messages (corresponding to the first control instruction) generated by the user through operating the keyboard and the mouse, and sends the collected keyboard and mouse messages to the soft S;
step 203, the software S analyzes the received keyboard and mouse message, when the current keyboard and mouse message is determined to be a game keyboard mode switching request initiated by a preset combination key, firstly, whether a game application is currently operated locally is judged, and if yes, a game keyboard mode is entered;
in a specific implementation process, a user at a PC end may initiate a game keyboard mode switching request through a special keyboard and mouse operation, for example, the game keyboard mode switching request may be initiated through a combination key of "ctrl + shift + x" to enter a game keyboard mode, and in the game keyboard mode, the user may control a hand-game operation through a keyboard. Meanwhile, the user can enter a common keyboard mode through the same or different combined keys, and in the common keyboard mode, the user can click through a mouse and input through a keyboard.
After receiving the game keyboard mode switching request, whether a game application is currently and locally operated or not can be judged, if yes, the game keyboard mode can be started (and misoperation of a user is avoided), and then the game keyboard mode is entered.
Specifically, the soft S determines whether a game application is currently running locally by: the soft S acquires a local running application program list; and judging whether the game application exists in the current running application program list or not.
Specifically, the soft S compares the applications in the running application program list with the application names in the game application list pre-stored locally, and if at least one application name is successfully compared, it is determined that the game application is currently running locally. At this point, the game pad mode may be entered.
After entering a game keyboard mode, the software S generates a keyboard-mouse mapping button on a collection picture aiming at the current desktop, a user can check a key mapping control interface by clicking the button, a PC end user can check the currently used key mapping relation (default or previously defined) in the interface, and the key mapping mode can be modified based on the self requirement.
Specifically, the soft S enters a game keyboard mode, including: the soft S identifies the current game; the soft S performs a default key mapping based on the currently identified game.
It should be noted that the key mapping refers to mapping the operations of the keyboard and/or the mouse to the game virtual keys.
And mapping each virtual key with one key position in the keyboard so as to control the game through the keyboard. Of course, one or more virtual buttons may be mapped with the mouse, so that a mouse click triggers a corresponding operation. Similarly, for other games, the key mapping is performed according to the specific virtual key arrangement condition, and a key mapping control interface is generated.
For example, a royal glory game relates to a plurality of characters in a hand game, a user can select favorite characters when each game starts, each character corresponds to a plurality of touch actions and is controlled through virtual keys in a picture, and the characters can have the same touch actions (such as city returning, recovering, flashing and the like) or own specific touch actions; specifically, six virtual keys are marked with red circles, and each virtual key represents one touch action of the current character. In this scenario, the key mapping can be performed according to the following rules: all virtual keys corresponding to a certain role (each virtual key corresponds to one touch action of a character) are sorted according to a certain sequence. For example, the virtual keys may be sorted according to the arrangement positions of the corresponding virtual keys on the screen, then the sorted virtual keys are numbered, and the corresponding key positions are set according to the numbers. For example, character 1 corresponds to 6 touch actions, and the numbers are sequentially numbered; 1. 2, 3, 4, 5, 6; character 2 corresponds to 7 touch actions, and the number is: 1. 2, 3, 4, 5, 6, 7; each virtual key is mapped to a fixed key by number, e.g., 1 for Q, 2 for W, 3 for E, 4 for R, 5 for F, 6 for G, 7 for H, etc., so that the corresponding virtual key is also mapped to the fixed key. The key position can be repeatedly used through the corresponding mode. That is, when the user uses character 1, the control is performed by the six keys of QWERFG, and when switching to character 2, the control is performed by the seven keys of QWERFGH.
Furthermore, the user can modify the configured key mapping relation according to own habits, in the specific implementation process, the soft S receives key mapping modification information submitted by the user, the key mapping modification information comprises virtual keys and modified key information, and then the soft S updates the current key mapping relation according to the received key mapping modification information.
According to the contents, the soft S local needs to store a cloud hand game key mapping relation table, wherein the cloud hand game key mapping relation table comprises key mapping relations which are newly defined by the current user and correspond to all game applications.
Optionally, after entering the game keyboard mode, the software S may further add a game key position indication layer on the current game picture according to the current key position mapping relationship, specifically, on the basis of the original game picture, add a semitransparent layer on the icon by recognizing the virtual key icon in the picture, and write a key position corresponding to the current virtual key on the layer, for example, write Q if corresponding to Q, so as to facilitate the operation of the game player and avoid the game player from memorizing a relatively complex key position corresponding relationship.
Step 204, after entering the game keyboard mode, the soft S receives a keyboard and mouse control message (corresponding to the second control instruction) for the game sent by the PC;
step 205, the soft S converts the received keyboard and mouse control message into a control message (corresponding to the virtual key control instruction) for the corresponding virtual key;
specifically, the software S converts the keyboard and mouse control message into a control message aiming at the corresponding virtual key according to the current key mapping relation; for example, when the key position corresponding to the virtual key "flash" is F, the click message of the user on F will be converted into the click message on the key "flash".
In the specific implementation process, the virtual keys in the game have two states, namely an activated state (colored icons) and a hidden state (icons are gray or disappear), when the icons are in the activated state, corresponding operations can be executed by the corresponding keys on the keyboard, and when the icons are in the hidden state, the corresponding keys do not perform any operation.
And step 206, the soft S sends the converted control message to a locally operated cloud hand-trip application, and the cloud hand-trip application executes corresponding control operation.
Specifically, the soft S writes the converted control message into a local specific storage space, where the storage space is used to store the operation of the game application by the user, and the cloud hand-game application executes the corresponding control message by reading the storage space.
In the above embodiment, the control method of the game application enables a user to operate the game through a keyboard and a mouse when the user puts a mobile game screen on a PC, so that the game experience of the user is improved, and the use scene and equipment of the mobile game are expanded.
Example 2
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus for a terminal application, and fig. 3 is a schematic diagram of the control apparatus for a terminal application according to the embodiments of the present invention, as shown in fig. 3, the control apparatus for a terminal application includes: a sending module 302, a first receiving module 304, a determining module 306, a second receiving module 308, and a control module 310. The control device of the terminal application will be described in detail below.
A sending module 302, configured to send the desktop image to a PC terminal for display; a first receiving module 304, connected to the sending module 302, configured to receive a first control instruction from a PC, where the first control instruction is used to trigger entering a keyboard mode, and the keyboard mode is an operation for controlling a terminal application through a keyboard; a determining module 306, connected to the first receiving module 304, configured to determine whether a terminal application is currently and locally running on the terminal, where when the terminal application is currently and locally running on the terminal, the terminal enters a keyboard mode; a second receiving module 308, connected to the determining module 306, configured to receive a second control instruction sent from the PC, where the second control instruction is used to trigger a virtual key for a terminal application; and a control module 310, connected to the second receiving module 308, for performing a control operation on the terminal application according to a second control instruction.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; and/or the modules are located in different processors in any combination.
In the above embodiment, when the terminal throws the desktop image to the PC, the control device of the terminal application controls the terminal application through the keyboard and the mouse, so as to achieve the purpose of controlling the terminal application on the same screen, thereby improving the game experience of the user, expanding the use scene of the mobile game and the technical effect of the device, and further solving the technical problems that the size of the mobile terminal in the related art often limits the operation and use of the user and affects the operation speed and the sensitivity.
It should be noted here that the sending module 302, the first receiving module 304, the determining module 306, the second receiving module 308 and the control module 310 correspond to steps S102 to S110 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure in embodiment 1.
Optionally, the determining module 306 includes: the terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a current locally-operated application program list of the terminal; and the determining unit is used for determining whether the terminal application exists in the application program list, wherein the application names in the application program list are compared with the application names in the terminal application list prestored locally, and if at least one application name is successfully compared, the terminal application exists in the application program list.
Optionally, the apparatus further comprises: and the generating module is used for generating a preset function button on the desktop image after entering the keyboard mode, wherein the preset function button is used for triggering the key mapping control interface.
Optionally, the apparatus further comprises: and the establishing module is used for mapping key positions of the terminal application after entering the keyboard mode and establishing a key position mapping relation, wherein the key position mapping is used for mapping the operation of the keyboard and/or the mouse to the application virtual keys.
Optionally, the apparatus further comprises: the acquisition module is used for acquiring key mapping modification information after establishing a key mapping relation, wherein the key mapping modification information comprises virtual keys and modified key information; and the updating module is used for updating the key mapping relation according to the key mapping modification information.
Optionally, the apparatus further comprises: and the adding module is used for adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation after the key position mapping relation is established.
Optionally, the control module 310 includes: the conversion unit is used for converting the second control instruction into a corresponding virtual key control instruction; and the sending unit is used for sending the virtual key control instruction to the terminal application so as to enable the terminal application to execute corresponding control operation.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the control method of the terminal application in any one of the above.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: the terminal sends the desktop image to the PC terminal for display; receiving a first control instruction from a PC (personal computer) end, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling terminal application through a keyboard; determining whether a terminal application is currently and locally operated on the terminal, wherein when the terminal application is currently and locally operated on the terminal, a keyboard mode is entered; receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for terminal application; and controlling the terminal application according to the second control instruction.
Optionally, determining whether the terminal currently runs the terminal application locally includes: acquiring a list of application programs currently and locally running by a terminal; and determining whether the application program list has the terminal application, wherein the application names in the application program list are compared with the application names in the terminal application list prestored locally, and if at least one application name is successfully compared, determining that the terminal application exists in the application program list.
Optionally, after entering the keyboard mode, the method includes: and generating a preset function button on the desktop image, wherein the preset function button is used for triggering a key mapping control interface.
Optionally, after entering the keyboard mode, the method further includes: and performing key mapping on the terminal application, and establishing a key mapping relation, wherein the key mapping is to map the operation of a keyboard and/or a mouse to the application virtual keys.
Optionally, after the key mapping relationship is established, the method further includes: acquiring key mapping modification information, wherein the key mapping modification information comprises virtual keys and modified key information; and updating the key mapping relation according to the key mapping modification information.
Optionally, after the key mapping relationship is established, the method further includes: and adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation.
Optionally, performing a control operation on the terminal application according to the second control instruction, including: converting the second control instruction into a corresponding virtual key control instruction; and sending the virtual key control instruction to the terminal application so that the terminal application executes corresponding control operation.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a processor configured to execute a program, where the program executes a control method of a terminal application in any one of the above.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: the terminal sends the desktop image to the PC terminal for display; receiving a first control instruction from a PC (personal computer) end, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling terminal application through a keyboard; determining whether a terminal application is currently and locally operated on the terminal, wherein when the terminal application is currently and locally operated on the terminal, a keyboard mode is entered; receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for terminal application; and controlling the terminal application according to the second control instruction.
Optionally, determining whether the terminal currently runs the terminal application locally includes: acquiring a list of application programs currently and locally running by a terminal; and determining whether the application program list has the terminal application, wherein the application names in the application program list are compared with the application names in the terminal application list prestored locally, and if at least one application name is successfully compared, determining that the terminal application exists in the application program list.
Optionally, after entering the keyboard mode, the method includes: and generating a preset function button on the desktop image, wherein the preset function button is used for triggering a key mapping control interface.
Optionally, after entering the keyboard mode, the method further includes: and performing key mapping on the terminal application, and establishing a key mapping relation, wherein the key mapping is to map the operation of a keyboard and/or a mouse to the application virtual keys.
Optionally, after the key mapping relationship is established, the method further includes: acquiring key mapping modification information, wherein the key mapping modification information comprises virtual keys and modified key information; and updating the key mapping relation according to the key mapping modification information.
Optionally, after the key mapping relationship is established, the method further includes: and adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation.
Optionally, performing a control operation on the terminal application according to the second control instruction, including: converting the second control instruction into a corresponding virtual key control instruction; and sending the virtual key control instruction to the terminal application so that the terminal application executes corresponding control operation.
The invention also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: the terminal sends the desktop image to the PC terminal for display; receiving a first control instruction from a PC (personal computer) end, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling terminal application through a keyboard; determining whether a terminal application is currently and locally operated on the terminal, wherein when the terminal application is currently and locally operated on the terminal, a keyboard mode is entered; receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for terminal application; and controlling the terminal application according to the second control instruction.
Optionally, determining whether the terminal currently runs the terminal application locally includes: acquiring a list of application programs currently and locally running by a terminal; and determining whether the application program list has the terminal application, wherein the application names in the application program list are compared with the application names in the terminal application list prestored locally, and if at least one application name is successfully compared, determining that the terminal application exists in the application program list.
Optionally, after entering the keyboard mode, the method includes: and generating a preset function button on the desktop image, wherein the preset function button is used for triggering a key mapping control interface.
Optionally, after entering the keyboard mode, the method further includes: and performing key mapping on the terminal application, and establishing a key mapping relation, wherein the key mapping is to map the operation of a keyboard and/or a mouse to the application virtual keys.
Optionally, after the key mapping relationship is established, the method further includes: acquiring key mapping modification information, wherein the key mapping modification information comprises virtual keys and modified key information; and updating the key mapping relation according to the key mapping modification information.
Optionally, after the key mapping relationship is established, the method further includes: and adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation.
Optionally, performing a control operation on the terminal application according to the second control instruction, including: converting the second control instruction into a corresponding virtual key control instruction; and sending the virtual key control instruction to the terminal application so that the terminal application executes corresponding control operation.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
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 can be realized in a form of hardware, and can also be realized in a form of a software functional 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 computer readable storage medium. Based on such understanding, the technical solution of the present invention may 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 server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A control method for a terminal application is characterized by comprising the following steps:
the terminal sends the desktop image to the PC terminal for display;
receiving a first control instruction from the PC terminal, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling a terminal application through a keyboard;
determining whether the terminal application is currently and locally operated on the terminal, wherein the keyboard mode is entered when the terminal application is currently and locally operated on the terminal;
receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key for the terminal application;
and carrying out control operation on the terminal application according to the second control instruction.
2. The method of claim 1, wherein determining whether the terminal application is currently running locally on the terminal comprises:
acquiring a current locally-operated application program list of the terminal;
and determining whether the terminal application exists in the application program list, wherein the application names in the application program list are compared with application names in a terminal application list prestored locally, and if at least one application name is successfully compared, determining that the terminal application exists in the application program list.
3. The method of claim 1, after entering the keyboard mode, comprising:
and generating a preset function button on the desktop image, wherein the preset function button is used for triggering a key mapping control interface.
4. The method of claim 1, after entering the keyboard mode, further comprising:
and performing key mapping on the terminal application to establish a key mapping relation, wherein the key mapping is to map the operation of a keyboard and/or a mouse to the application virtual keys.
5. The method of claim 4, after establishing the key mapping relationship, further comprising:
acquiring key mapping modification information, wherein the key mapping modification information comprises virtual keys and modified key information;
and updating the key mapping relation according to the key mapping modification information.
6. The method of claim 4, after establishing the key mapping relationship, further comprising:
and adding an application key position indication layer on an application picture of the terminal application according to the key position mapping relation.
7. The method according to any one of claims 1 to 6, wherein performing control operation on the terminal application according to the second control instruction comprises:
converting the second control instruction into a corresponding virtual key control instruction;
and sending the virtual key control instruction to the terminal application so as to enable the terminal application to execute corresponding control operation.
8. A control apparatus for a terminal application, comprising:
the sending module is used for sending the desktop image to the PC terminal for displaying by the terminal;
the first receiving module is used for receiving a first control instruction from the PC terminal, wherein the first control instruction is used for triggering to enter a keyboard mode, and the keyboard mode is an operation for controlling a terminal application through a keyboard;
the determining module is used for determining whether the terminal application is currently and locally operated on the terminal, wherein the keyboard mode is entered when the terminal application is currently and locally operated on the terminal;
the second receiving module is used for receiving a second control instruction sent by the PC terminal, wherein the second control instruction is used for triggering a virtual key applied to the terminal;
and the control module is used for controlling the terminal application according to the second control instruction.
9. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the computer-readable storage medium controls an apparatus to execute the control method of the terminal application according to any one of claims 1 to 7.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the control method of the terminal application according to any one of claims 1 to 7 when running.
CN202110963735.4A 2021-08-20 2021-08-20 Control method and device of terminal application and computer readable storage medium Pending CN113663324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110963735.4A CN113663324A (en) 2021-08-20 2021-08-20 Control method and device of terminal application and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110963735.4A CN113663324A (en) 2021-08-20 2021-08-20 Control method and device of terminal application and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113663324A true CN113663324A (en) 2021-11-19

Family

ID=78544699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110963735.4A Pending CN113663324A (en) 2021-08-20 2021-08-20 Control method and device of terminal application and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113663324A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609192A (en) * 2012-01-17 2012-07-25 华为终端有限公司 Mobile terminal operating method by computer and mobile terminal
CN102830925A (en) * 2012-08-09 2012-12-19 天津三星电子有限公司 Operation control method of display terminal to mobile terminal as well as display terminal thereof
CN102999167A (en) * 2012-11-14 2013-03-27 广东欧珀移动通信有限公司 Method for operating virtual keyboard inside mobile terminal by PC (personal computer) terminal key
CN107894852A (en) * 2017-11-13 2018-04-10 珠海市魅族科技有限公司 A kind of keyboard shift method and electronic equipment
WO2018120884A1 (en) * 2016-12-29 2018-07-05 北京奇虎科技有限公司 Method and system for controlling mobile device by pc terminal
CN108762639A (en) * 2018-05-28 2018-11-06 努比亚技术有限公司 A kind of control method of physical button, mobile terminal and storage medium
CN110109557A (en) * 2019-05-06 2019-08-09 原点显示(深圳)科技有限公司 The method that switching keyboard mode is adapted to mobile terminal
CN112631535A (en) * 2020-12-22 2021-04-09 努比亚技术有限公司 Screen projection reverse control method and device, mobile terminal and storage medium
CN112667181A (en) * 2020-12-31 2021-04-16 努比亚技术有限公司 Screen projection method, screen projection equipment, screen projection control system and storage medium
CN113207018A (en) * 2021-04-23 2021-08-03 西安万像电子科技有限公司 Remote screen projection method, system, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609192A (en) * 2012-01-17 2012-07-25 华为终端有限公司 Mobile terminal operating method by computer and mobile terminal
CN102830925A (en) * 2012-08-09 2012-12-19 天津三星电子有限公司 Operation control method of display terminal to mobile terminal as well as display terminal thereof
CN102999167A (en) * 2012-11-14 2013-03-27 广东欧珀移动通信有限公司 Method for operating virtual keyboard inside mobile terminal by PC (personal computer) terminal key
WO2018120884A1 (en) * 2016-12-29 2018-07-05 北京奇虎科技有限公司 Method and system for controlling mobile device by pc terminal
CN107894852A (en) * 2017-11-13 2018-04-10 珠海市魅族科技有限公司 A kind of keyboard shift method and electronic equipment
CN108762639A (en) * 2018-05-28 2018-11-06 努比亚技术有限公司 A kind of control method of physical button, mobile terminal and storage medium
CN110109557A (en) * 2019-05-06 2019-08-09 原点显示(深圳)科技有限公司 The method that switching keyboard mode is adapted to mobile terminal
CN112631535A (en) * 2020-12-22 2021-04-09 努比亚技术有限公司 Screen projection reverse control method and device, mobile terminal and storage medium
CN112667181A (en) * 2020-12-31 2021-04-16 努比亚技术有限公司 Screen projection method, screen projection equipment, screen projection control system and storage medium
CN113207018A (en) * 2021-04-23 2021-08-03 西安万像电子科技有限公司 Remote screen projection method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10661171B2 (en) Information processing method, terminal, and computer storage medium
EP3273334B1 (en) Information processing method, terminal and computer storage medium
CN110955370B (en) Switching method and device of skill control in game and touch terminal
US20220314116A1 (en) Object display method and apparatus, storage medium, and electronic device
CN111841001B (en) Information processing method, device, equipment and storage medium in game
CN113350793B (en) Interface element setting method and device, electronic equipment and storage medium
JP2019208952A (en) Program, recording medium, and control method
CN111773670A (en) Marking method, device, equipment and storage medium in game
CN113908533A (en) Cloud game interaction method and device, terminal and processor
CN116531754A (en) Method and device for controlling virtual characters in game and electronic terminal
CN113926186A (en) Method and device for selecting virtual object in game and touch terminal
CN113663324A (en) Control method and device of terminal application and computer readable storage medium
CN112099678A (en) Text processing method and device and computer readable storage medium
KR20240026256A (en) Methods for displaying prompt information, devices and storage media, and electronic devices
CN113694514B (en) Object control method and device
CN112506575A (en) Method and device for configuring key function of USB (universal serial bus) equipment
CN114504822A (en) Operation switching method and device, storage medium and electronic equipment
CN116139486A (en) Method and device for controlling virtual characters in game and electronic equipment
CN118161846A (en) Game interaction method, game interaction device, electronic equipment and storage medium
CN116059636A (en) Method and device for processing tasks in game and electronic terminal
CN113680051A (en) Game control method, device, equipment and storage medium
CN116370962A (en) Method and device for processing virtual articles in game and electronic terminal
CN117919694A (en) Game control method, game control device, computer equipment and storage medium
CN116943181A (en) Method and device for controlling virtual characters in game and electronic terminal
CN115509411A (en) Interaction control method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination