Terminal operation method and device, electronic equipment and storage medium

文档序号:313147 发布日期:2021-11-30 浏览:11次 中文

阅读说明:本技术 终端操作方法、装置、电子设备和存储介质 (Terminal operation method and device, electronic equipment and storage medium ) 是由 许展豪 于 2021-09-08 设计创作,主要内容包括:本发明实施例提供了一种终端操作方法、装置、电子设备和存储介质,应用于具有第一屏幕和第二屏幕的终端设备,所述方法包括:在在所述第一屏幕上显示虚拟单位和触控标记;响应在所述第二屏幕上的第一触控操作,在所述第一屏幕上对应移动所述触控标记;在所述触控标记移动至所述第一屏幕上的目标虚拟单位,显示与所述目标虚拟单位对应的提示信息。在本发明实施例中,基于在终端设备的第二屏幕上进行触控操作,在第一屏幕上移动触控标记,并且在触控标记移动到目标虚拟单位时,显示该目标虚拟单位对应的提示信息,无需对虚拟单位进行长按操作,操作简便,耗费时间短,对于用户而言体验非常友好。(The embodiment of the invention provides a terminal operation method, a terminal operation device, electronic equipment and a storage medium, which are applied to terminal equipment with a first screen and a second screen, wherein the method comprises the following steps: displaying a virtual unit and a touch mark on the first screen; responding to a first touch operation on the second screen, and correspondingly moving the touch mark on the first screen; and displaying prompt information corresponding to the target virtual unit when the touch mark moves to the target virtual unit on the first screen. In the embodiment of the invention, the touch control mark is moved on the first screen based on the touch control operation on the second screen of the terminal equipment, and the prompt message corresponding to the target virtual unit is displayed when the touch control mark is moved to the target virtual unit, so that the virtual unit does not need to be pressed for a long time, the operation is simple and convenient, the consumed time is short, and the experience is very friendly to users.)

1. A terminal operation method is applied to a terminal device with a first screen and a second screen, and comprises the following steps:

displaying a virtual unit and a touch mark on the first screen;

responding to a first touch operation on the second screen, and correspondingly moving the touch mark on the first screen;

and displaying prompt information corresponding to the target virtual unit when the touch mark moves to the target virtual unit on the first screen.

2. The method according to claim 1, wherein after the touch mark is moved to a target virtual unit on the first screen and prompt information corresponding to the target virtual unit is displayed, the method comprises:

and responding to the release operation on the second screen, and clearing prompt information corresponding to the target virtual unit.

3. The method of claim 1, wherein the correspondingly moving the touch marker on the first screen in response to the first touch operation on the second screen comprises:

when touch operation on two or more touch points exists on the second screen, determining the first detected touch operation as a first touch operation;

responding to the first touch operation, and moving the touch mark on the first screen based on the touch point of the first touch operation.

4. The method of claim 3, wherein the correspondingly moving the touch marker on the first screen in response to the first touch operation on the second screen comprises:

when the terminal equipment is the folding screen equipment, acquiring a first touch point position of a touch point of the first touch operation and a vertical distance between the touch point and a folding middle axis of the folding screen equipment;

obtaining a first touch mark position on the first screen according to the first touch point position and the vertical distance;

and moving the touch mark to the first touch mark position on the first screen.

5. The method of claim 3, wherein the correspondingly moving the touch marker on the first screen in response to the first touch operation on the second screen comprises:

when the terminal equipment is double-sided screen equipment, acquiring a second touch point position of the touch point of the first touch operation on the second screen;

converting the position of the second touch point on the second screen into the position of a third touch mark on the first screen according to the position conversion relation of converting the second screen into the first screen;

and moving the touch mark to the third touch mark position on the first screen.

6. The method of claim 1, wherein the displaying the hint information corresponding to the target virtual unit comprises:

and displaying prompt information corresponding to the target virtual unit in a suspension manner on the target virtual unit.

7. The method according to claim 1, wherein the first screen is located on the front side of the terminal device, the second screen is located on the back side of the terminal device, and a user holds the terminal device to operate the first screen and the second screen simultaneously or sequentially.

8. A terminal operation apparatus, characterized by being applied to a terminal device having a first screen and a second screen, the apparatus comprising:

a virtual unit display module for displaying a virtual unit on the first screen;

the touch control mark moving module is used for responding to a first touch control operation on the second screen and correspondingly moving the touch control mark on the first screen;

and the prompt information display module is used for displaying prompt information corresponding to the target virtual unit when the touch mark moves to the target virtual unit on the first screen.

9. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, which computer program, when executed by the processor, carries out the steps of the terminal operating method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the terminal operation method according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of terminal equipment, in particular to a terminal operation method, a terminal operation device, electronic equipment and a storage medium.

Background

With the continuous development of various terminal devices such as mobile phones and the like, great convenience and fun are brought to life and entertainment of people. At present, various terminal games are popular among users, especially mobile phone games. For better game experience, developers can develop convenient and convenient operation modes in full force.

During the game, the user needs to obtain prompt information to clearance or complete the task, wherein the prompt information may include skill introduction, background introduction, grade introduction and the like. In a PC (Personal Computer) game (end game), a common prompt information acquisition method is that when a user controls a mouse to float above a game control, a prompt box (tips) is displayed on the game control in a floating manner, and various game information can be viewed through the prompt box.

However, in the mobile phone game (hand game), due to the difference between the mobile phone game (hand game) and the end game, if the manner of obtaining the prompt information of the end game is adopted, the suspended prompt box sometimes conflicts with the click operation, for example, in some games, the click operation on the virtual unit is the game skill of directly using the game control, so if the prompt information is to be viewed, the game control needs to be pressed for a long time, and a long time is needed to wait.

Disclosure of Invention

In view of the above problems, embodiments of the present invention are proposed to provide a terminal operation method and a corresponding terminal operation device, electronic device, storage medium that overcome or at least partially solve the above problems.

In order to solve the above problem, an embodiment of the present invention discloses a terminal operation method applied to a terminal device having a first screen and a second screen, the method including:

displaying a virtual unit and a touch mark on the first screen;

responding to a first touch operation on the second screen, and correspondingly moving the touch mark on the first screen;

and displaying prompt information corresponding to the target virtual unit when the touch mark moves to the target virtual unit on the first screen.

Optionally, after the touch marker is moved to a target virtual unit on the first screen and prompt information corresponding to the target virtual unit is displayed, the method includes:

and responding to the release operation on the second screen, and clearing prompt information corresponding to the target virtual unit.

Optionally, the correspondingly moving the touch marker on the first screen in response to the first touch operation on the second screen includes:

when touch operation on two or more touch points exists on the second screen, determining the first detected touch operation as a first touch operation;

responding to the first touch operation, and moving the touch mark on the first screen based on the touch point of the first touch operation.

Optionally, the correspondingly moving the touch marker on the first screen in response to the first touch operation on the second screen includes:

when the terminal equipment is the folding screen equipment, acquiring a first touch point position of a touch point of the first touch operation and a vertical distance between the touch point and a folding middle axis of the folding screen equipment;

obtaining a first touch mark position on the first screen according to the first touch point position and the vertical distance;

and moving the touch mark to the first touch mark position on the first screen.

Optionally, the correspondingly moving the touch marker on the first screen in response to the first touch operation on the second screen includes:

when the terminal equipment is double-sided screen equipment, acquiring a second touch point position of a touch point of the first touch operation on the first screen;

converting the position of the second touch point on the second screen into the position of a third touch mark on the first screen according to the position conversion relation of converting the second screen into the first screen;

and moving the touch mark to the third touch mark position on the first screen.

Optionally, the displaying the prompt information corresponding to the target virtual unit includes:

and displaying prompt information corresponding to the target virtual unit in a suspension manner on the target virtual unit.

Optionally, the first screen is located on the front side of the terminal device, the second screen is located on the back side of the terminal device, and a user holds the terminal device and operates the first screen and the second screen simultaneously or sequentially.

The embodiment of the invention also discloses a terminal operation device, which is applied to terminal equipment with a first screen and a second screen, and comprises:

a virtual unit display module for displaying a virtual unit on the first screen;

the touch control mark moving module is used for responding to a first touch control operation on the second screen and correspondingly moving the touch control mark on the first screen;

and the prompt information display module is used for displaying prompt information corresponding to the target virtual unit when the touch mark moves to the target virtual unit on the first screen.

Optionally, the apparatus comprises: and the prompt message clearing module is used for responding to the release operation on the second screen and clearing the prompt message corresponding to the target virtual unit.

Optionally, the touch mark moving module is configured to determine, when there is a touch operation on two or more touch points on the second screen, a first detected touch operation as a first touch operation; responding to the first touch operation, and moving the touch mark on the first screen based on the touch point of the first touch operation.

Optionally, the touch mark moving module is configured to, when the terminal device is a folding screen device, obtain a first touch point position of a touch point of the first touch operation and a vertical distance between the touch point and a folding central axis of the folding screen device; obtaining a first touch mark position on the first screen according to the first touch point position and the vertical distance; and moving the touch mark to the first touch mark position on the first screen.

Optionally, the touch mark moving module is configured to, when the terminal device is a dual-screen device, obtain a second touch point position of the touch point of the first touch operation on the first screen; converting the position of the second touch point on the second screen into the position of a third touch mark on the first screen according to the position conversion relation of converting the second screen into the first screen; and moving the touch mark to the third touch mark position on the first screen.

Optionally, the prompt information display module is configured to display, in a floating manner, the prompt information corresponding to the target virtual unit on the target virtual unit.

Optionally, the first screen is located on the front side of the terminal device, the second screen is located on the back side of the terminal device, and a user holds the terminal device and operates the first screen and the second screen simultaneously or sequentially.

The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the terminal operation method are realized.

The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the steps of the terminal operation method.

The embodiment of the invention has the following advantages:

in the embodiment of the invention, for a terminal device with a first screen and a second screen, a virtual unit and a touch control mark are displayed on the first screen, and the touch control mark is correspondingly moved on the first screen in response to a first touch control operation on the second screen, wherein prompt information corresponding to a target virtual unit is displayed when the touch control mark is moved to the target virtual unit on the first screen. In the embodiment of the invention, the touch control mark is moved on the first screen based on the touch control operation on the second screen of the terminal equipment, and the prompt message corresponding to the target virtual unit is displayed when the touch control mark is moved to the target virtual unit, so that the virtual unit does not need to be pressed for a long time, the operation is simple and convenient, the consumed time is short, and the experience is very friendly to users.

In addition, because the touch operation is performed on the second screen of the terminal device, that is, the first screen does not need to be passed through, other touch operations on the first screen are not mixed.

Drawings

FIG. 1 is a flow chart of the steps of a method embodiment of the present invention for operating a terminal;

FIG. 2 is a schematic diagram of a method for displaying virtual units on a first screen according to the present invention;

FIG. 3 is a diagram illustrating movement of a touch marker on a first screen according to the present invention;

FIG. 4 is a diagram illustrating a plurality of touch points on a second screen according to the present invention;

FIG. 5 is a schematic view of a folding screen apparatus of the present invention;

FIG. 6 is a schematic illustration of a prompt message display according to the present invention;

fig. 7 is a block diagram of a terminal operating device according to an embodiment of the present invention.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

At present, in a game, a method for acquiring prompt information on a screen of a terminal device generally performs a click operation on a game control in a game interface to pop up the prompt information, or performs a long-time press operation on the game control to pop up the game control. However, the disadvantage of this method of obtaining the hint information is: 1. if the response operation corresponding to the click operation is not set for the game control (for example, the click operation enters the next game page), the click operation can be used for popping up the prompt information, if the response operation corresponding to the click operation is set for the game control, the long-time press operation needs to be performed on the game control to pop up the prompt information, the rule of popping up the prompt information cannot be unified, and the game control is not friendly to the user; 2. in order to adapt to pop-up prompt information through clicking operation, the game control sets some additional operations on the game interface, so that the complexity of the game interface is increased; 3. comparison of pop-up cues by long press operations is time consuming.

In view of the foregoing problems, an embodiment of the present invention provides a terminal operating method, in which, according to a touch operation on a terminal device having a first screen and a second screen, for a virtual unit displayed on the first screen, a prompt message is popped up on the first screen based on the touch operation on the second screen, and the touch operation may be set as a fixed operation, such as a click operation or a slide operation, and a rule for popping up the prompt message is unified.

The terminal operation method in the embodiment of the invention can be operated on the terminal equipment or the server. The terminal device may be a local terminal device. When the terminal operation method is operated as a server, a cloud game can be realized.

In an alternative embodiment, cloud gaming refers to a cloud computing-based gaming mode. In the running mode of the cloud game, a running main body of a game program and a game picture presenting main body are separated, the storage and the running of a terminal operation method are completed on a cloud game server, and a cloud game client is used for receiving and sending data and presenting a game picture, for example, the cloud game client can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the game data processing is a cloud game server in the cloud. When a game is played, a player operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.

In an alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.

Referring to fig. 1, a flowchart illustrating steps of an embodiment of a terminal operation method according to the present invention is shown, where the embodiment of the present invention may specifically include the following steps:

step 101, displaying a virtual unit and a touch mark on the first screen.

The terminal device is a smart phone or a tablet computer with two or more touch screens, and the screen of the terminal device can be operated through operating media such as fingers or touch pens. Specifically, the terminal device may include a first screen and a second screen, where the first screen and the second screen may be the same screen or completely separated screens, the first screen is a screen located on the front side of the terminal device, and the second screen is a screen located on the back side of the terminal device, and when a user holds the terminal device, the user may operate the first screen and the second screen simultaneously or sequentially by using fingers.

Of course, the relative position relationship between the first screen and the second screen may be changed according to the application of the user to the terminal device, for example, after the user turns over or folds the terminal device, the first screen is changed to a screen located on the back side of the terminal device, and the second screen is changed to a screen located on the front side of the terminal device, or this need not be limited in the embodiment of the present invention.

The virtual unit may be one or more virtual units in various applications. For example, assuming that the application program is a game program, the virtual unit may be a plant, a weapon, ammunition, a medicine box, a game Character operated by each player, a NPC (Non-gaming Character), a game control, and the like in the game program.

The touch mark may be a cursor or a graphic with any shape. For example, the touch mark may be a five-pointed star, a square, a solid circle, or the like. Optionally, the touch mark may reside on the first screen, or may be correspondingly displayed on the first screen when the touch operation on the second screen is detected.

Referring to fig. 2, in the process that a game program runs on a terminal device, a game control 201 and a touch mark 202 in the game program are displayed on a first screen, and the game control in fig. 2 includes a game control a, a game control B, and a game control C, and prompt information can pop up when long-time pressing is performed on the game controls.

For example, the first screen may be a screen on the front side of the terminal device (front side screen), the second screen may be a screen on the back side of the terminal device (back side screen), and the user may hold the terminal device with both hands respectively on the left and right sides of the terminal device, at this time, the user may perform terminal operations in a conventional manner for operating the terminal device, specifically, the thumbs of both hands of the user may control a virtual unit to perform terminal operations such as moving or releasing skills on the front side screen, and a touch mark is displayed on the front side screen, and the user may also perform a sliding operation on the back side screen with other fingers of both hands (e.g. index finger, middle finger, ring finger, and little finger), and the touch mark on the front side screen will correspondingly slide along with the sliding operation.

And 102, responding to a first touch operation on the second screen, and displaying a touch mark on the first screen.

The first touch operation may be a pressing operation, a clicking operation, a sliding operation, or the like.

Specifically, the user may perform a second touch operation on the second screen to correspondingly move the touch mark on the first screen.

For example, referring to fig. 3, the user may perform a sliding operation on the second screen, and in response to the sliding operation, the touch-control mark may be controlled to slide on the first screen, for example, from the position of the upper left corner of the first screen to the position of the game control a.

Step 103, when the touch control mark moves to a target virtual unit on the first screen, displaying a prompt message corresponding to the target virtual unit.

The prompt information may be a description of the virtual unit, for example, assuming that the virtual unit is a game control, the prompt information may be a summary of the activity, a requirement of the activity, and the like.

Specifically, the user may perform a first touch operation on the second screen to control the touch mark to move to a target virtual unit of the prompt message that the user wants to view, and after the touch mark moves to the target virtual unit, the corresponding prompt message may be displayed on the target virtual unit side.

In the terminal operation method, for a terminal device having a first screen and a second screen, a virtual unit and a touch control mark are displayed on the first screen, and the touch control mark is correspondingly moved on the first screen in response to a first touch control operation on the second screen, wherein prompt information corresponding to a target virtual unit is displayed when the touch control mark is moved to the target virtual unit on the first screen. In the embodiment of the invention, the touch control mark is moved on the first screen based on the touch control operation on the second screen of the terminal equipment, and the prompt message corresponding to the target virtual unit is displayed when the touch control mark is moved to the target virtual unit, so that the virtual unit does not need to be pressed for a long time, the operation is simple and convenient, the consumed time is short, and the experience is very friendly to users. In addition, because the touch operation is performed on the second screen of the terminal device, that is, the first screen does not need to be passed through, other touch operations on the first screen are not mixed.

In an optional embodiment of the present invention, in the step 104, when the touch mark moves to a target virtual unit on the first screen, a prompt message corresponding to the target virtual unit is displayed, and the method may further include the following steps:

and clearing the displayed prompt information corresponding to the target virtual unit in response to the release operation on the second screen.

The release operation refers to an operation of releasing the screen, for example, when the user performs a click operation or a slide operation on the second screen with a finger, when the user moves away from the second screen, that is, the release operation is detected on the second screen. Specifically, when a release operation on the second screen is detected, the prompt information corresponding to the target virtual unit displayed on the target virtual unit side is cleared in response to the release operation.

In the above optional embodiment, when the release operation is detected, the prompt information of the target virtual unit displayed on the first screen is cleared, so as to avoid excessive interference of the prompt information on the user. In addition, when the touch mark is detected to leave the target virtual unit, the prompt message of the target virtual unit displayed on the first screen can be cleared.

In an optional embodiment of the present invention, the step 103 of moving the touch marker on the first screen correspondingly in response to the first touch operation on the second screen may include the following steps:

when touch operation on two or more touch points exists on the second screen, determining the first detected touch operation as a first touch operation;

responding to the first touch operation, and moving the touch mark on the first screen based on the touch point of the first touch operation.

The touch point refers to a position point which is touched when touch operation is performed on the screen.

Specifically, the touch mark on the first screen is displayed on the basis of the touch point corresponding to the touch operation on the second screen, for example, when the first touch operation is a slide operation, the touch mark is moved on the first screen correspondingly to the touch point based on the slide operation on the second screen, and for example, when the first touch operation is a press operation, the touch mark is displayed on the first screen at the position corresponding to the touch point based on the press operation on the second screen.

Specifically, since fingers of both hands of the user can perform touch operations on the second screen, for example, an index finger and a middle finger can perform touch operations on the second screen, there are multiple touch points on the second screen, and in order to avoid operation confusion caused by multiple finger operations and further to prevent the touch marks from being stably displayed, in the embodiment of the present invention, it is determined that a first touch operation is detected on the second screen, that is, when there are touch operations on two or more touch points on the second screen, the first detected touch operation is determined as a first touch operation, and then the touch marks on the first screen are moved correspondingly along with the first touch operation.

Referring to fig. 4, a schematic diagram of touch points of a touch operation of a back screen according to the present invention is shown, where there may be a touch point D and a touch point E touched by a finger of a user on the back screen, and when the touch operations of the two touch points are both detected, assuming that there is no contact to the back screen, the first touch operation of the touch point D is detected, and the touch operation of the touch point D is regarded as the first touch operation.

As an alternative example, in addition to the first detection of the touch operation on the second screen, the detected ongoing touch operation may be determined as the first touch operation when there are touch operations on two or more touch points on the second screen, wherein if a plurality of ongoing touch operations are detected, the first ongoing touch operation is determined as the first touch operation.

In the above optional embodiment, when there are touch operations on two or more touch points on the second screen, the first detected touch operation is determined as the first touch operation, so as to avoid operation confusion caused by multiple touch operations on the second screen, which further causes that the touch mark on the first screen cannot be stably moved to the virtual unit, thereby ensuring the operation experience of the user.

In an optional embodiment of the present invention, the moving the touch mark on the first screen based on the touch point of the first touch operation in response to the first touch operation may include:

when the terminal equipment is the folding screen equipment, acquiring a first touch point position of a touch point of the first touch operation and a vertical distance between the touch point and a folding middle axis of the folding screen equipment;

obtaining a first touch mark position on the first screen according to the first touch point position and the vertical distance;

and moving the touch mark to the first touch mark position on the first screen.

The terminal device can be a folding screen device, a first screen and a second screen of the folding screen device belong to the same screen, the two screens are separated through a folding middle shaft, the first screen of the folding screen device can be adjusted to be on the front side and the second screen can be adjusted to be on the back side by rotating the folding middle shaft. In the embodiment of the invention, based on the characteristic that the screens of the folding screen devices belong to the same screen, the position of the first touch mark of the touch mark on the first screen can be converted by calculating the vertical distance from the contact point of the first touch operation on the second screen to the folding middle axis.

Referring to fig. 5, a schematic diagram of a folding screen device according to the present invention includes a first screen (front screen) and a second screen (back screen), where a touch point position corresponding to a touch point of a first touch operation on the back screen by a user is obtained (X1, Y1), and a vertical distance h between the touch point of the first touch operation and a folding central axis of the folding screen device, a first touch mark position for moving a touch mark on the front screen is (X1, Y1+2h), and then the touch mark can be moved to the first touch mark position (X1, Y1+2h) of the first screen.

In the above optional embodiment, when the terminal device is a folded screen device, for the touch point position of the first touch operation on the second screen, the touch mark position for moving the touch mark on the first screen is calculated according to the vertical distance between the touch point position and the folding central axis of the folded screen device, without a complicated calculation process, which is simple and easy to implement, and without occupying a large amount of calculation resources.

In an optional embodiment of the present invention, the moving the touch mark on the first screen based on the touch point of the first touch operation in response to the first touch operation may include:

when the terminal equipment is double-sided screen equipment, acquiring a second touch point position of the touch point of the first touch operation on the second screen;

converting the position of the second touch point on the second screen into the position of a third touch mark on the first screen according to the position conversion relation of converting the second screen into the first screen;

and moving the touch mark to the third touch mark position on the first screen.

The terminal device may be a dual-screen device, and the first screen and the second screen of the dual-screen device are completely isolated screens, specifically, the first screen of the dual-screen device is on the front side, and the second screen is on the back side. Based on the characteristic that the screen of the double-sided screen device belongs to a completely isolated screen, the position conversion relation for converting the second screen to the first screen can be calculated in advance, and the position of the second touch mark of the touch mark moving on the first screen can be converted.

Specifically, coordinates of corresponding positions (for example, positions of four corners of two screens) on the first screen and the second screen are respectively taken, a position conversion relationship is calculated, and then the position of the second touch point on the second screen can be converted into the position of the third touch mark on the first screen according to the position conversion relationship, so that the touch mark can be moved to the position of the third touch mark on the first screen.

In the above optional embodiment, when the terminal device is a dual-screen device, the position of the touch point of the first touch operation on the second screen is converted into the position of the touch mark for moving the touch mark on the first screen according to the pre-calculated position conversion relationship, and the position conversion is implemented by the pre-calculated position conversion relationship.

In an optional embodiment of the present invention, the step 103 of displaying the prompt information corresponding to the target virtual unit may include the following steps: and displaying prompt information corresponding to the target virtual unit in a suspension manner on the target virtual unit.

Specifically, after the touch mark is moved onto the target virtual unit, the prompt information corresponding to the target virtual unit may be displayed in a floating manner on the target virtual unit. For example, referring to fig. 6, it is a schematic diagram of a prompt message display according to the present invention, and assuming that the target virtual unit is a game control related to the activities of the end noon festival, the prompt message corresponding to the game control on how to participate in the activities of the end noon festival, such as the number of people required, the activity time, the level requirement, etc., is displayed in a floating manner on the game control.

In the above-described alternative embodiment, the presentation information corresponding to the target virtual unit is displayed in a floating manner on the target virtual unit, so that the presentation information corresponding to the target virtual unit when the presentation information is explicitly presented can be presented, and when a plurality of virtual units are included on the first screen, it is convenient for the user to distinguish which virtual unit is the presentation information.

In the terminal operation method of the embodiment of the invention, when a user holds the terminal device, fingers of both hands of the user can perform terminal operation on the first screen and the second screen, specifically, a virtual unit and a touch mark are displayed on the first screen, touch operation is performed on the second screen (based on the finger which is firstly touched), the touch mark moves along with the movement of the finger on the second screen, when the touch mark moves to a virtual unit, the virtual unit is taken as a target virtual unit, prompt information can be popped up on the side of the target virtual unit, and then, when the finger of the user leaves the second screen or when the touch mark leaves the target virtual unit, the prompt information on the first screen is cleared. The terminal operation method of the embodiment of the invention can be applied to various types of application programs, such as game programs.

It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.

Referring to fig. 7, a block diagram of a terminal operating device according to an embodiment of the present invention is shown, and is applied to a terminal device having a first screen and a second screen, where the device may specifically include the following modules:

a virtual unit display module 701 for displaying a virtual unit on the first screen;

a touch mark moving module 702, configured to respond to a first touch operation on the second screen, and correspondingly move the touch mark on the first screen;

a prompt information display module 703, configured to display a prompt information corresponding to the target virtual unit when the touch mark moves to the target virtual unit on the first screen.

Optionally, the touch mark moving module 702 is configured to determine, when there are touch operations on two or more touch points on the second screen, a first detected touch operation as a first touch operation; responding to the first touch operation, and moving the touch mark on the first screen based on the touch point of the first touch operation.

In an optional embodiment of the present invention, the touch mark moving module 702 is configured to, when the terminal device is a folding screen device, obtain a first touch point position of a touch point of the first touch operation and a vertical distance between the touch point and a folding central axis of the folding screen device; obtaining a first touch mark position on the first screen according to the first touch point position and the vertical distance; and moving the touch mark to the first touch mark position on the first screen.

In an optional embodiment of the present invention, the touch mark moving module 702 is configured to, when the terminal device is a dual-screen device, obtain a second touch point position of the touch point of the first touch operation on the second screen; converting the position of the second touch point on the second screen into the position of a third touch mark on the first screen according to the position conversion relation of converting the second screen into the first screen; and moving the touch mark to the third touch mark position on the first screen.

In an optional embodiment of the present invention, the prompt information display module 703 is configured to display, in a floating manner, the prompt information corresponding to the target virtual unit on the target virtual unit.

In summary, in the embodiment of the present invention, for a terminal device having a first screen and a second screen, a virtual unit and a touch mark are displayed on the first screen, and the touch mark is correspondingly moved on the first screen in response to a first touch operation on the second screen, wherein prompt information corresponding to a target virtual unit is displayed when the touch mark is moved to the target virtual unit on the first screen. In the embodiment of the invention, the touch control mark is moved on the first screen based on the touch control operation on the second screen of the terminal equipment, and the prompt message corresponding to the target virtual unit is displayed when the touch control mark is moved to the target virtual unit, so that the virtual unit does not need to be pressed for a long time, the operation is simple and convenient, the consumed time is short, and the experience is very friendly to users. In addition, because the touch operation is performed on the second screen of the terminal device, that is, the first screen does not need to be passed through, other touch operations on the first screen are not mixed.

For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.

The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the terminal operation method embodiment are realized.

The embodiment of the invention discloses a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiment of the terminal operation method are realized.

The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.

Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.

The above detailed description is provided for a terminal operation method, a terminal operation device, an electronic device and a storage medium, and the specific examples are applied herein to explain the principles and embodiments of the present invention, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:多人游戏的功能键映射方法、模拟操控方法、装置及设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类