Virtual object control method, device, storage medium and processor

By performing touch control operations on the edge screen, a hot zone is generated on the front screen, and the virtual object is enlarged and reduced and view angle conversion is realized, which solves the problem of low control efficiency of virtual object in the prior art and improves operation convenience.

CN114504809BActive Publication Date: 2024-12-20NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210082400.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-12-20
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

In the prior art, the control efficiency of virtual objects is low, and the operation view angle needs to be converted and zoomed in and out separately, resulting in inconvenient operation.

Method used

By performing the second touch operation at the second touch area (edge ​​screen), a third touch area (hot area) is generated on the first touch area (front screen), and in the third touch area is performed The third touch operation is used to realize the zoom-in and zoom-in and view angle conversion of virtual objects.

Benefits of technology

It realizes the perspective conversion and zooming of virtual objects directly while holding them with one hand, improving the efficiency of virtual object control and solving the problem of inefficient efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114504809B_ABST
    Figure CN114504809B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method, device, storage medium and processor of a virtual object. The method comprises: in response to a first touch operation on a first touch area, controlling the virtual object to flip; in response to a second touch operation on a second touch area, generating a third touch area in the first touch area; in response to a third touch operation on the third touch area, controlling the virtual object to scale. Through the present invention, the technical effect of improving the efficiency of controlling virtual objects is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a control method, device, storage medium and processor for a virtual object. Background Art

[0002] At present, as virtual objects become more and more sophisticated, more and more games or applications provide the function of carefully observing virtual objects. Users can freely move the perspective and zoom in and out to carefully observe the virtual objects.

[0003] In the related art, the viewing angle is generally changed by dragging the screen, and then there will be a zooming progress bar next to it. The virtual object is zoomed in and out by pulling the progress bar. That is, the two operations of changing the viewing angle and zooming in and out need to be completed separately, which leads to the technical problem of low efficiency in controlling the virtual object.

[0004] With respect to the technical problem of low efficiency in controlling virtual objects in the prior art, no effective solution has been proposed yet. Summary of the invention

[0005] The main purpose of the present invention is to provide a method, device, storage medium and processor for controlling a virtual object, so as to at least solve the technical problem of low efficiency in controlling a virtual object.

[0006] In order to achieve the above-mentioned object, according to one aspect of the present invention, a method for controlling a virtual object is provided. The method may include: in response to a first touch operation on a first touch area, controlling the virtual object to flip; in response to a second touch operation on a second touch area, generating a third touch area in the first touch area; in response to a third touch operation on the third touch area, controlling the virtual object to scale.

[0007] Optionally, in response to a second touch operation acting on the second touch area, a third touch area is generated in the first touch area, including: in response to a first sub-touch operation acting on the second touch area, based on the original touch point of the first sub-touch operation, determining an original position on the graphical user interface, wherein the second touch operation includes the first sub-touch operation; generating a fourth touch area in the graphical user interface based on the original position; and generating a third touch area in the first touch area based on the fourth touch area.

[0008] Optionally, a third touch area is generated in the first touch area based on the fourth touch area, including: determining that the current touch point of the first touch operation is not in the fourth touch area, then responding to the second sub-touch operation acting on the second touch area, converting the fourth touch area from the original position to the target position to obtain the third touch area, wherein the second touch operation includes the second sub-touch operation, and the current touch point is in the third touch area.

[0009] Optionally, generating the third touch area in the first touch area based on the fourth touch area includes: determining that a current touch point of the first touch operation is in the fourth touch area, and determining the fourth touch area as the third touch area.

[0010] Optionally, based on the original touch point of the first sub-touch operation, the original position is determined on the graphical user interface, including: determining a target direction of the original touch point pointing to the graphical user interface, wherein the target direction is perpendicular to an edge of the terminal device; and determining the original position along the target direction on the graphical user interface.

[0011] Optionally, the first touch operation is determined as the third touch operation.

[0012] Optionally, determining the first touch operation as a third touch operation includes: determining the first sub-touch operation in the first touch operation as a third touch operation; and responding to the third touch operation acting on the third touch area, controlling the virtual object to scale, including: responding to the third touch operation acting on the third touch area, controlling the virtual object to scale down.

[0013] Optionally, in response to a first touch operation on the first touch area, controlling the virtual object to flip includes: in response to a first sub-touch operation on the first touch area, controlling the virtual object to flip according to a first flip angle.

[0014] Optionally, determining the first touch operation as a third touch operation includes: determining the second sub-touch operation in the first touch operation as a third touch operation; responding to the third touch operation acting on the third touch area, controlling the virtual object to scale, includes: responding to the third touch operation acting on the third touch area, controlling the virtual object to enlarge.

[0015] Optionally, in response to a first touch operation on the first touch area, controlling the virtual object to flip includes: in response to a second sub-touch operation on the first touch area, controlling the virtual object to flip according to a second flipping angle.

[0016] Optionally, the touch areas in the first touch area except the third touch area are used to control the virtual object to flip.

[0017] In order to achieve the above-mentioned object, according to another aspect of the present invention, a control device for a virtual object is further provided. The device may include: a first control unit, configured to respond to a first touch operation on a first touch area and control the virtual object to flip; a generation unit, configured to respond to a second touch operation on a second touch area and generate a third touch area in the first touch area; and a second control unit, configured to respond to a third touch operation on the third touch area and control the virtual object to scale.

[0018] In order to achieve the above object, according to another aspect of the present invention, a non-volatile storage medium is provided, wherein a computer program is stored in the non-volatile storage medium, wherein when the computer program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the virtual object control method of the embodiment of the present invention.

[0019] In order to achieve the above object, according to another aspect of the present invention, a processor is provided, which is used to run a program, wherein the program is configured to execute the control method of the virtual object according to the embodiment of the present invention when running.

[0020] To achieve the above object, according to another aspect of the present invention, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the virtual object control method of the embodiment of the present invention.

[0021] In at least some embodiments of the present invention, in response to a first touch operation on a first touch area, a virtual object is controlled to flip; in response to a second touch operation on a second touch area, a third touch area is generated in the first touch area; in response to a third touch operation on the third touch area, the virtual object is controlled to zoom. That is, the present invention generates a third touch area (hot zone) on the first touch area (front screen) by performing a second touch operation on the second touch area (edge ​​screen), and performs a third touch operation in the third touch area (hot zone) to control the zooming of the virtual object. In this way, the perspective conversion and zooming of the virtual object can be directly performed by pressing and holding with one hand, thereby achieving the technical effect of improving the efficiency of controlling the virtual object and solving the technical problem of low efficiency of controlling the virtual object. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1is a hardware structure block diagram of a mobile terminal of a method for controlling a virtual object according to one embodiment of the present invention;

[0024] Figure 2 is a flow chart of a method for controlling a virtual object according to one embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of a control interface of a virtual object according to one embodiment of the present invention;

[0026] Figure 4 It is a structural block diagram of a control device for a virtual object according to one embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] According to one embodiment of the present invention, an embodiment of a method for controlling a virtual object is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0030] The method embodiment can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD, a game console and other terminal devices. Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal according to a method for controlling a virtual object in accordance with one embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal may also include a transmission device 106 for communication functions, an input and output device 108, and a display device 110. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the control method of the virtual object in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the control method of the virtual object described above is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0032] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0033] The inputs in the input / output device 108 may come from a plurality of human interface devices (HIDs), such as keyboards and mice, game controllers, and other dedicated game controllers (such as steering wheels, fishing rods, dance mats, remote controls, etc.). In addition to providing input functions, some human interface devices may also provide output functions, such as force feedback and vibration of game controllers, audio output of controllers, etc.

[0034] The display device 110 may be, for example, a head-up display (HUD), a touch-screen liquid crystal display (LCD), and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contacts and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or web browsing, etc. The executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0035] The control method of a virtual object in one embodiment of the present disclosure can be run on a local terminal device or a server. When the control method of a virtual object is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0036] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the control method of the virtual object are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the control of the virtual object is performed by the cloud game server in the cloud. When playing the game, the user operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0037] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0038] In this embodiment, a method for controlling a virtual object running on the above-mentioned mobile terminal is provided, a graphical user interface is provided through the touch display screen of the terminal device, the content displayed by the graphical user interface includes a first touch area, and the graphical user interface at least partially includes a virtual object, and a second touch area is set at the edge of the terminal device, wherein the touch display can be the front screen of the mobile terminal to be operated.

[0039] Optionally, the content presented by the graphical user interface may include the entire game scene or a portion of the game scene. The game scene may include virtual objects such as virtual characters, virtual props, virtual vehicles, ground, mountains, rocks, flowers, grass, trees, and buildings.

[0040] Optionally, the content presented by the graphical user interface may include all or part of the virtual character. For example, in a third-person perspective game, the content presented by the graphical user interface may include all of the virtual character, and in another example, in a first-person perspective game, the content presented by the graphical user interface may include part / part of the virtual character.

[0041] Figure 2 is a flow chart of a method for controlling a virtual object according to one embodiment of the present invention, wherein a graphical user interface is provided by a terminal device, such as Figure 2 As shown, the method may include the following steps:

[0042] Step S202 , in response to a first touch operation on the first touch area, controlling the virtual object to flip.

[0043] In the technical solution provided in the above step S202 of the present invention, the virtual object is controlled to flip by performing a first touch operation on the first touch area, wherein the first touch operation may be sliding up, down, left, and right on the first touch area.

[0044] Optionally, sliding up, down, left, and right on the first touch area can achieve the purpose of controlling the flip angle of the virtual object.

[0045] Step S204, generating a third touch area in the first touch area in response to a second touch operation on the second touch area;

[0046] In the technical solution provided in the above step S204 of the present invention, in response to the second touch operation on the second touch area, a third touch area is generated in the first touch area, wherein the second touch area may be a contact area at a certain position of the mobile terminal, may be the edge of a curved screen, may be a special contact area set at the edge of the screen, or may be a portion where two screens of a folding screen are connected. It should be noted that any touchable portion similar to an edge screen may be used as the second touch area.

[0047] Optionally, the second touch operation may be pressing the second touch area, for example, pressing the edge of the curved screen with the index finger, or setting a special contact area at the edge of the pressed screen; the third touch area may be a set hot area.

[0048] Optionally, by pressing the second touch area, the purpose of generating the third touch area in the first touch area is achieved.

[0049] Step S206 , in response to the third touch operation on the third touch area, scaling the virtual object.

[0050] In the technical solution provided in the above step S206 of the present invention, a second touch operation is performed on the second touch area to generate a third touch area in the first touch area, and a third touch operation is performed on the generated third touch area to control the virtual object to be enlarged or reduced, wherein the third touch operation can be an upward, downward, leftward, and rightward movement operation on the third touch area.

[0051] Optionally, when you want to enlarge the virtual game object, you can move upward on the third touch area to enlarge the virtual game object; when you want to shrink the virtual game object, you can move downward on the third touch area to shrink the virtual game object. The third touch operation can set the function corresponding to the moving direction according to your needs, and you can also set downward to enlarge and upward to shrink. This is just an example, and there is no specific restriction on enlarging upward and shrinking downward.

[0052] Through the above steps S202 to S206 of the present invention, in response to the first touch operation on the first touch area, the virtual object is controlled to flip; in response to the second touch operation on the second touch area, a third touch area is generated in the first touch area; in response to the third touch operation on the third touch area, the virtual object is controlled to zoom. In other words, the present invention generates a third touch area (hot zone) on the first touch area (front screen) by performing a second touch operation on the second touch area (edge ​​screen), and performs a third touch operation in the third touch area (hot zone) to control the zooming of the virtual object. In this way, the perspective conversion and zooming of the virtual object can be directly performed by pressing and holding with one hand, thereby achieving the technical effect of improving the efficiency of controlling the virtual object and solving the technical problem of low efficiency of controlling the virtual object.

[0053] The above method of this embodiment is further introduced below.

[0054] As an optional implementation, step S206, in response to a second touch operation acting on the second touch area, generates a third touch area in the first touch area, including: in response to a first sub-touch operation acting on the second touch area, determining an original position on the graphical user interface based on the original touch point of the first sub-touch operation, wherein the second touch operation includes the first sub-touch operation; generating a fourth touch area in the graphical user interface based on the original position; and generating a third touch area in the first touch area based on the fourth touch area.

[0055] In this embodiment, in response to the first sub-touch operation acting on the second touch area, the original position is determined on the graphical user interface based on the original touch point of the first sub-touch operation, and a fourth touch area is generated in the graphical user interface based on the original position; a third touch area is generated in the first touch area based on the fourth touch area, wherein the second touch operation includes the first sub-touch operation, the fourth touch area can be a hot zone formed initially, and the third touch area can be obtained by moving the fourth touch area.

[0056] Optionally, by performing a first sub-touch operation on the original touch point of the second touch area, the original position on the graphical user interface is determined based on the position of the original touch point, a hot zone is generated at the original position, and a fourth touch area is obtained. The fourth touch area can be moved at will in the first touch area. After the fourth touch area is moved to a suitable position, a third touch area is obtained.

[0057] As an optional implementation, a third touch area is generated in the first touch area based on the fourth touch area, including: determining that the current touch point of the first touch operation is not in the fourth touch area, then responding to the second sub-touch operation acting on the second touch area, converting the fourth touch area from the original position to the target position to obtain the third touch area, wherein the second touch operation includes the second sub-touch operation, and the current touch point is in the third touch area.

[0058] In this embodiment, it is determined that the current touch point of the first touch operation is not in the fourth touch area, then in response to the second sub-touch operation acting on the second touch area, the fourth touch area is converted from the original position to the target position to obtain the third touch area, wherein the second touch operation includes a second sub-touch operation, and the second sub-touch operation can be a sliding operation, which can be used to move the touch area; the target position can be the position in the first touch area corresponding to the position of the touch point of the first touch operation, that is, it can be the position where the third touch area is located.

[0059] Optionally, if it is determined that the current touch point of the first touch operation is located in any area other than the fourth touch area in the first touch area, the fourth touch area is moved to the target position by performing a second sub-touch operation on the second touch area to obtain a third touch area.

[0060] As an optional implementation, generating a third touch area in the first touch area based on the fourth touch area includes: determining that a current touch point of the first touch operation is in the fourth touch area, and determining the fourth touch area as the third touch area.

[0061] In this embodiment, if the current touch point of the first touch operation is in the fourth touch area, the fourth touch area at this time is determined as the third touch area.

[0062] As an optional implementation, based on the original touch point of the first sub-touch operation, the original position is determined on the graphical user interface, including: determining a target direction of the original touch point pointing to the graphical user interface, wherein the target direction is perpendicular to an edge of the terminal device; and determining the original position along the target direction on the graphical user interface.

[0063] In this embodiment, it is determined that the original touch point points to a target direction of the graphical user interface. The target direction may be downward and perpendicular to the edge of the terminal device. The original position is determined along the target direction on the graphical user interface.

[0064] As an optional implementation manner, the first touch operation is determined as the third touch operation.

[0065] In this embodiment, the first touch operation may be an up, down, left, right or other sliding operation, among which the up and down sliding operations are determined as the third touch operation.

[0066] As an optional implementation, determining the first touch operation as a third touch operation includes: determining the first sub-touch operation in the first touch operation as a third touch operation; responding to the third touch operation on the third touch area, controlling the virtual object to scale, including: responding to the third touch operation on the third touch area, controlling the virtual object to scale down.

[0067] In this embodiment, the first sub-touch operation in the first touch operation is determined as the third touch operation, and in response to the third touch operation acting on the third touch area, the virtual object is controlled to be scaled, wherein the first sub-touch operation may be sliding downward.

[0068] Optionally, a first sub-touch operation in the first touch operation is performed on the third touch area in the first touch area, and in response to the first sub-touch operation on the third touch area, the virtual object is controlled to be reduced, that is, the purpose of reducing the virtual object is achieved by sliding downward on the third touch area in the first touch area.

[0069] As an optional implementation, in response to a first touch operation on the first touch area, controlling the virtual object to flip includes: in response to a first sub-touch operation on the first touch area, controlling the virtual object to flip according to a first flip angle.

[0070] In this embodiment, a first sub-touch operation is performed on the first touch area to achieve the purpose of controlling the virtual object to flip according to a first flip angle, wherein the first flip angle can be used to control the virtual object to flip downward.

[0071] Optionally, a downward sliding operation is performed on the front screen of the mobile terminal to control the virtual object to flip in the sliding direction.

[0072] As an optional implementation, determining the first touch operation as a third touch operation includes: determining the second sub-touch operation in the first touch operation as a third touch operation; responding to the third touch operation on the third touch area, controlling the virtual object to scale, including: responding to the third touch operation on the third touch area, controlling the virtual object to enlarge.

[0073] In this embodiment, the second sub-touch operation in the first touch operation can be determined as the third touch operation, and the virtual object is controlled to be scaled in response to the second sub-touch operation acting on the third touch area, wherein the first sub-touch operation can be sliding upward.

[0074] Optionally, the second sub-touch operation in the first touch operation is performed on the third touch area in the first touch area, and in response to the second sub-touch operation on the third touch area, the virtual object is controlled to be enlarged, that is, the purpose of enlarging the virtual object is achieved by sliding upward on the third touch area in the first touch area.

[0075] As an optional implementation, in response to a first touch operation on the first touch area, controlling the virtual object to flip includes: in response to a second sub-touch operation on the first touch area, controlling the virtual object to flip according to a second flip angle.

[0076] In this embodiment, the second sub-touch operation is performed on the first touch area to achieve the purpose of controlling the virtual object to flip according to the second flip angle, wherein the second flip angle can be used to control the virtual object to flip upward.

[0077] Optionally, an upward sliding operation is performed on the front screen of the mobile terminal to control the virtual object to flip in the sliding direction.

[0078] As an optional implementation manner, the touch areas in the first touch area except the third touch area are used to control the virtual object to flip.

[0079] In this embodiment, sliding is performed on the touch area other than the third touch area in the first touch area to control the virtual object to flip in the sliding direction. For example, sliding to the right on the area other than the hot zone (the third touch area) can achieve the purpose of controlling the virtual object to flip to the right.

[0080] In this embodiment, in response to the first touch operation on the first touch area, the virtual object is controlled to flip; in response to the second touch operation on the second touch area, a third touch area is generated in the first touch area; in response to the third touch operation on the third touch area, the virtual object is controlled to zoom. That is to say, the present invention generates a third touch area (hot zone) on the first touch area (front screen) by performing a second touch operation on the second touch area (edge ​​screen), and performs a third touch operation in the third touch area (hot zone) to control the zooming of the virtual object. In this way, the perspective conversion and zooming of the virtual object can be directly performed by pressing and holding with one hand, thereby achieving the technical effect of improving the efficiency of controlling the virtual object and solving the technical problem of low efficiency of controlling the virtual object.

[0081] The technical solution of the embodiment of the present invention is further introduced below with examples in combination with preferred implementation modes.

[0082] At present, as virtual objects in various games and applications become more and more sophisticated, more and more games and applications provide the function of carefully observing virtual objects. Users can freely move the perspective and zoom in and out to carefully observe the virtual objects.

[0083] In the related art, the viewing angle is generally changed by sliding the screen, and then there is a zooming progress bar next to it. The virtual object is zoomed in and out by pulling the progress bar. That is, the two operations of changing the viewing angle and zooming in and out need to be completed separately, which leads to the technical problem of low efficiency in controlling the virtual object.

[0084] Therefore, the present invention proposes a one-handed optional zoom model based on an edge curved screen, achieving the technical effect of improving the efficiency of controlling virtual objects.

[0085] The above method of this embodiment is further introduced below.

[0086] Figure 3 is a schematic diagram of a control interface of a virtual object according to one embodiment of the present invention, such as Figure 3As shown, a finger is pressed on the edge of the curved screen of the mobile phone, and the first contact point is used as the contact point of the edge screen. A hot zone is formed vertically downward from the contact point on the front screen. The user can move the contact point of the edge screen at will to change the position of the hot zone on the front screen. If the finger is released and there is no contact point, the hot zone disappears; in a normal state, the flip angle of the model is controlled by sliding the thumb up, down, left, and right; when the model is to be zoomed in or out, the index finger is pressed on the edge screen to move the hot zone to the place where the thumb is pressed. At this time, the thumb moves up and down on the hot zone to control the zooming in and out of the model, that is, the viewing angle is changed by sliding outside the hot zone, and zooming in and out is achieved by sliding up and down in the hot zone, thereby achieving the operation of model selection and zooming in and out while always pressing the screen with one hand.

[0087] For non-curved screen mobile phones, ordinary mobile phone screens can consider setting a special contact area at the top of the mobile phone screen to simulate the effect; some folding screens, because the part where the two screens are connected is also a touchable part similar to the edge of the screen, it is a special contact area, which can also achieve this interactive effect.

[0088] In this embodiment, the contact point at the edge of the curved screen of the mobile phone is pressed, and a hot zone is formed vertically downward on the front screen by the contact point. The position of the hot zone on the screen can be changed by controlling the movement of the contact point of the edge screen. The flipping angle of the model can be controlled by sliding the thumb up, down, left, and right. The zooming of the model can be controlled by moving the thumb up and down in the hot zone. This allows the model to be directly converted and zoomed in and out while holding down with one hand, in one step, thereby achieving the technical effect of converting the perspective and zooming in and out with one hand, solving the technical problem that one hand cannot simultaneously convert the perspective and zoom in and out.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0090] The embodiment of the present invention further provides a control device for a virtual object, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "unit" may be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0091] Figure 4 is a structural block diagram of a virtual object control device according to an embodiment of the present invention, a graphical user interface is provided through a touch display screen of a terminal device, the content displayed by the graphical user interface includes a first touch area, and the graphical user interface at least partially includes a virtual object, and a second touch area is set at the edge of the terminal device, such as Figure 4 As shown, the information processing device 400 may include: a first control unit 401 , a generating unit 402 , and a second control unit 403 .

[0092] The first control unit 401 is configured to control the virtual object to flip in response to a first touch operation on the first touch area.

[0093] The generating unit 402 is configured to generate a third touch area in the first touch area in response to a second touch operation on the second touch area.

[0094] The second control unit 403 is configured to control the virtual object to be scaled in response to a third touch operation on the third touch area.

[0095] Optionally, the second control unit 403 includes: a first control module, used to respond to a first sub-touch operation acting on the second touch area, determine an original position on the graphical user interface based on the original touch point of the first sub-touch operation, wherein the second touch operation includes the first sub-touch operation; generate a fourth touch area in the graphical user interface based on the original position; and generate a third touch area in the first touch area based on the fourth touch area.

[0096] Optionally, the first control module includes: a first control sub-module, used to determine that the current touch point of the first touch operation is not in the fourth touch area, and then in response to the second sub-touch operation acting on the second touch area, the fourth touch area is converted from the original position to the target position to obtain a third touch area, wherein the second touch operation includes the second sub-touch operation, and the current touch point is in the third touch area.

[0097] Optionally, the first control module includes: a first determining submodule, configured to determine that a current touch point of the first touch operation is in a fourth touch area, and then determine the fourth touch area as the third touch area.

[0098] Optionally, the first control module includes: a second determination submodule, used to determine a target direction of the original touch point pointing to the graphical user interface, wherein the target direction is perpendicular to an edge of the terminal device; and determine the original position along the target direction on the graphical user interface.

[0099] Optionally, the device further includes: a first determining unit, configured to determine the first touch operation as a third touch operation.

[0100] Optionally, the first determination unit further includes: a third determination submodule, configured to determine the first sub-touch operation in the first touch operation as a third touch operation; and control the virtual object to shrink in response to the third touch operation acting on the third touch area.

[0101] Optionally, the first control unit 401 further includes: a second control module, configured to respond to a first sub-touch operation on the first touch area and control the virtual object to flip according to a first flip angle.

[0102] Optionally, the first determination unit also includes: a fourth determination submodule, used to determine the first touch operation as a third touch operation, including: determining the second sub-touch operation in the first touch operation as a third touch operation; in response to the third touch operation acting on the third touch area, controlling the virtual object to be enlarged.

[0103] Optionally, the first control unit 401 further includes: a third control module, configured to respond to a second sub-touch operation on the first touch area, and control the virtual object to flip according to a second flip angle.

[0104] In the control device of the virtual object of this embodiment, the present invention controls the virtual object to flip by responding to the first touch operation on the first touch area through the first control unit; generates a third touch area in the first touch area in response to the second touch operation on the second touch area through the generation unit; and controls the virtual object to zoom in and out by responding to the third touch operation on the third touch area through the second control unit. That is, the present invention generates a third touch area (hot zone) on the first touch area (front screen) by performing the second touch operation on the second touch area (edge ​​screen), and performs the third touch operation in the third touch area (hot zone) to control the zooming in and out of the virtual object. In this way, the perspective conversion and zooming in and out of the virtual object can be directly performed by pressing and holding with one hand, thereby achieving the technical effect of improving the efficiency of controlling the virtual object and solving the technical problem of low efficiency of controlling the virtual object.

[0105] It should be noted that the above-mentioned units can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned units are all located in the same processor; or the above-mentioned units are located in different processors in any combination.

[0106] An embodiment of the present invention further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the control method of the virtual object of the embodiment of the present invention when executed by a processor.

[0107] Optionally, in this embodiment, the non-volatile storage medium may be configured to store a computer program for performing the following steps:

[0108] S1, in response to a first touch operation on a first touch area, controlling a virtual object to flip;

[0109] S2, generating a third touch area in the first touch area in response to a second touch operation on the second touch area;

[0110] S3, in response to a third touch operation on the third touch area, controlling the virtual object to be scaled.

[0111] Optionally, in this embodiment, the above-mentioned non-volatile storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0112] An embodiment of the present invention further provides a processor, which is used to run a program, wherein the program is configured to execute the control method of the virtual object of the embodiment of the present invention when running.

[0113] Optionally, in this embodiment, the processor may be configured to be a computer program for executing the following steps when running:

[0114] S1, in response to a first touch operation on a first touch area, controlling a virtual object to flip;

[0115] S2, generating a third touch area in the first touch area in response to a second touch operation on the second touch area;

[0116] S3, in response to a third touch operation on the third touch area, controlling the virtual object to be scaled.

[0117] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0118] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0119] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0120] S1, in response to a first touch operation on a first touch area, controlling a virtual object to flip;

[0121] S2, generating a third touch area in the first touch area in response to a second touch operation on the second touch area;

[0122] S3, in response to a third touch operation on the third touch area, controlling the virtual object to be scaled.

[0123] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0124] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0125] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0126] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0127] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0128] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0129] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0130] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for controlling a virtual object, It is characterized in that A graphical user interface is provided through a touch display screen of a terminal device, the content displayed by the graphical user interface includes a first touch area, and the graphical user interface at least partially includes a virtual object, and a second touch area is set at an edge of the terminal device, and the method includes: In response to a first touch operation applied to the first touch area, controlling the virtual object to flip; generating a third touch control area in the first touch control area in response to a second touch control operation on the second touch control area; In response to a third touch operation on the third touch area, controlling the virtual object to be scaled; The step of generating a third touch area in the first touch area in response to a second touch operation on the second touch area includes: In response to a first sub-touch operation acting on the second touch area, determining an original position on the graphical user interface based on an original touch point of the first sub-touch operation, wherein the second touch operation includes the first sub-touch operation; generating a fourth touch area in the graphical user interface based on the original position; determining that the current touch point of the first touch operation is not in the fourth touch area, then responding to a second sub-touch operation acting on the second touch area, converting the fourth touch area from the original position to a target position to obtain the third touch area, wherein the second touch operation includes the second sub-touch operation, and the current touch point is in the third touch area; If it is determined that the current touch point of the first touch operation is in the fourth touch area, the fourth touch area is determined as the third touch area.

2. The method according to claim 1, It is characterized in that Determining an original position on the graphical user interface based on an original touch point of the first sub-touch operation includes: Determine a target direction in which the original touch point points to the graphical user interface, wherein the target direction is perpendicular to an edge of the terminal device; The original position is determined along the target direction on the graphical user interface.

3. The method according to claim 1, further comprising: include: The first touch operation is determined as the third touch operation.

4. The method according to claim 3, It is characterized in that Determining the first touch operation as the third touch operation includes: determining a first sub-touch operation in the first touch operation as the third touch operation; In response to a third touch operation on the third touch area, controlling the virtual object to be scaled includes: in response to the third touch operation on the third touch area, controlling the virtual object to be scaled down.

5. The method according to claim 4, It is characterized in that In response to a first touch operation on the first touch area, controlling the virtual object to flip includes: In response to the first sub-touch operation on the first touch area, the virtual object is controlled to be flipped according to a first flip angle.

6. The method according to claim 3, It is characterized in that Determining the first touch operation as the third touch operation includes: determining a second sub-touch operation in the first touch operation as the third touch operation; In response to a third touch operation on the third touch area, controlling the virtual object to be scaled includes: in response to the third touch operation on the third touch area, controlling the virtual object to be enlarged.

7. The method according to claim 6, It is characterized in that In response to a first touch operation on the first touch area, controlling the virtual object to flip includes: In response to the second sub-touch operation acting on the first touch area, the virtual object is controlled to be flipped according to a second flipping angle.

8. The method according to any one of claims 1 to 7, It is characterized in that The touch areas in the first touch area except the third touch area are used to control the virtual object to flip.

9. A control device for a virtual object, It is characterized in that A graphical user interface is provided through a touch display screen of a terminal device, the content displayed by the graphical user interface includes a first touch area, and the graphical user interface at least partially includes a virtual object, and a second touch area is set at an edge of the terminal device, and the device includes: A first control unit, configured to control the virtual object to flip in response to a first touch operation on the first touch area; a generating unit, configured to generate a third touch control area in the first touch control area in response to a second touch control operation on the second touch control area; A second control unit, configured to control the virtual object to be scaled in response to a third touch operation on the third touch area; The generating unit is used to generate a third touch area in the first touch area in response to a second touch operation on the second touch area by executing the following steps: In response to a first sub-touch operation acting on the second touch area, determining an original position on the graphical user interface based on an original touch point of the first sub-touch operation, wherein the second touch operation includes the first sub-touch operation; generating a fourth touch area in the graphical user interface based on the original position; determining that the current touch point of the first touch operation is not in the fourth touch area, then responding to a second sub-touch operation acting on the second touch area, converting the fourth touch area from the original position to a target position to obtain the third touch area, wherein the second touch operation includes the second sub-touch operation, and the current touch point is in the third touch area; If it is determined that the current touch point of the first touch operation is in the fourth touch area, the fourth touch area is determined as the third touch area.

10. A non-volatile storage medium, It is characterized in that The storage medium stores a computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute the method described in any one of claims 1 to 7.

11. A processor, It is characterized in that The processor is used to run a program, wherein the program is configured to execute the method according to any one of claims 1 to 7 when run.

12. An electronic device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and the processor is configured to execute the computer program to perform the method according to any one of claims 1 to 7.