Component control method and device, program product and electronic equipment

By displaying the area enlarged interface and position status prompt information in the game interface, the problem of difficulty and low efficiency of component position adjustment is solved, and more intuitive and efficient component position adjustment is achieved.

CN118949432APending Publication Date: 2024-11-15NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410954613.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the game, when adjusting component position, the touch area corresponding to the moving touch operation in the custom interface is blocked, causing players to be unable to accurately judge the component position, which increases the problem of adjustment difficulty and inefficiency.

Method used

By displaying the area enlargement interface in the graphical user interface, in response to the mobile touch operation of the target interactive component, enlarge the interface information of the touch-related area, and display the matching position status prompt information during the movement of the target interactive component to help players Adjust component position more intuitively.

Benefits of technology

It effectively avoids the touch object's obstruction of the touch-related area, reduces the difficulty of component position adjustment, reduces the number of adjustments, and improves the efficiency of component position adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118949432A_ABST
    Figure CN118949432A_ABST
Patent Text Reader

Abstract

The invention provides a component control method and device, a computer program product and electronic equipment, and relates to the technical field of computers. The component control method comprises the following steps: in response to a moving touch operation on a target interaction component, controlling the target interaction component to move, and displaying a region amplification interface in a graphical user interface; wherein the target interaction component is an interaction component in one or more movable interaction components, and the region magnification interface is used for magnifying and displaying interface information of a touch associated region corresponding to the mobile touch operation; and in response to the condition that the position state of the target interaction component in the moving process is in a preset position state, displaying state prompt information matched with the position state corresponding to the target interaction component. According to the method, the interface information and the position state of the touch associated area corresponding to the mobile touch operation are amplified and displayed through the area amplification interface, so that the difficulty of adjusting the position of the component is reduced to a certain extent, and the efficiency of adjusting the position of the component is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a component control method, a component control device, a computer program product, and an electronic device. Background Art

[0002] In some games, players can customize components in the customization interface, such as adjusting the position of components, to meet personalized creation or usage needs.

[0003] In the related art, when adjusting the position of a component, it is usually achieved through a touch operation on the movement of the component in a custom interface. Since the touch area corresponding to the touch operation on the custom interface will be blocked by the touch object, the player cannot accurately determine the specific location of the component, and the position adjustment is difficult. The position of the component needs to be corrected multiple times, which affects the adjustment efficiency of the component to a certain extent.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The present disclosure provides a component control method, a component control device, a computer program product and an electronic device, so as to at least to some extent solve the problem that the position adjustment of components in the related art is difficult and inefficient.

[0006] According to a first aspect of the present disclosure, a component control method is provided, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes one or more movable interactive components, and the method includes: in response to a mobile touch operation on a target interactive component, controlling the target interactive component to move, and displaying an area magnification interface in the graphical user interface; wherein the target interactive component is an interactive component among the one or more movable interactive components, and the area magnification interface is used to magnify and display interface information of a touch-associated area corresponding to the mobile touch operation; in response to the position state of the target interactive component during movement being in a preset position state, displaying status prompt information matching the position state corresponding to the target interactive component.

[0007] According to a second aspect of the present disclosure, a component control device is provided, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes one or more movable interactive components, and the device includes: an area magnification interface display module, which is used to control the movement of the target interactive component in response to a mobile touch operation on the target interactive component, and display an area magnification interface in the graphical user interface; wherein the target interactive component is an interactive component among the one or more movable interactive components, and the area magnification interface is used to magnify and display interface information of the touch-associated area corresponding to the mobile touch operation; and a status prompt information display module, which is used to display status prompt information matching the position state corresponding to the target interactive component in response to the position state of the target interactive component during movement being in a preset position state.

[0008] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the component control method of the first aspect and possible implementation manners thereof are implemented.

[0009] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the component control method of the above-mentioned first aspect and its possible implementation method by executing the executable instructions.

[0010] The technical solution disclosed in this disclosure has the following beneficial effects:

[0011] In the above-mentioned component control process, in response to the moving touch operation of the target interactive component, the target interactive component is controlled to move, and a region enlargement interface is displayed in the graphical user interface; wherein the target interactive component is an interactive component in one or more movable interactive components, and the region enlargement interface is used to enlarge and display the interface information of the touch-related area corresponding to the moving touch operation; in response to the position state of the target interactive component in the moving process being in a preset position state, the state prompt information matching the position state corresponding to the target interactive component is displayed. On the one hand, in the process of controlling the movement of the target interactive component, the present disclosure enlarges and displays the interface information of the touch-related area corresponding to the moving touch operation through the region enlargement interface, which can avoid the occlusion of the touch-related area by the touch object, so that the player can intuitively see the interface information corresponding to the touch-related area, which reduces the difficulty of the player adjusting the component position to a certain extent, and can reduce the number of times the player adjusts the position of the component, thereby improving the efficiency of the component position adjustment. On the other hand, when the position state of the target interactive component is in the preset position state, by displaying the state prompt information matching the position state corresponding to the target interactive component in the region enlargement interface, the player can be further assisted to adjust the component position more intuitively and efficiently. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flow chart showing a component control method in this exemplary embodiment;

[0013] Figure 2 A schematic diagram showing a custom control setting interface in this exemplary embodiment;

[0014] Figure 3 A schematic diagram showing a region magnification interface in this exemplary embodiment;

[0015] Figure 4A A schematic diagram showing a display status prompt information in this exemplary embodiment is shown;

[0016] Figure 4B A schematic diagram showing another display status prompt information in this exemplary embodiment;

[0017] Figure 4C A schematic diagram showing that a target interactive component does not exceed an interface edge of a graphical user interface in this exemplary embodiment;

[0018] Figure 4D A schematic diagram showing a target interaction component exceeding an interface edge of a graphical user interface in this exemplary embodiment;

[0019] Figure 5 A flowchart showing a position adjustment of an interactive component in this exemplary embodiment is shown;

[0020] Figure 6 A structural block diagram of a component control device in this exemplary embodiment is shown;

[0021] Figure 7 An electronic device for implementing the above-mentioned component control method in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0022] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0023] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.

[0024] In the related art, the position of the component is adjusted by moving the touch operation of the component in the custom interface, but the touch area corresponding to the moving touch operation in the custom interface will be blocked by the touch object (such as a finger, a stylus, etc.), and the player cannot accurately determine the position of the component. The position adjustment is difficult and the position of the component needs to be corrected multiple times, which affects the adjustment efficiency of the component to a certain extent.

[0025] In view of one or more of the above problems, the exemplary embodiments of the present disclosure provide a component control method, a component control device, a computer program product and an electronic device, which can be applicable to a variety of component movement control scenarios, including but not limited to interactive control customization, construction games and other application scenarios.

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

[0027] 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 running body of the game program and the game screen presentation body are separated. The storage and operation of the component control method 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 game processing is performed by the cloud game server in the cloud. When playing the game, the player 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.

[0028] 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 player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player 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.

[0029] In an optional embodiment, reference Figure 1 A component control method is provided, which provides a graphical user interface through a terminal device. The graphical user interface may include one or more movable interactive components, and specifically includes the following steps S110 to S120:

[0030] Step S110, in response to a mobile touch operation on a target interactive component, controlling the target interactive component to move, and displaying a region magnification interface in a graphical user interface; wherein the target interactive component is an interactive component in one or more movable interactive components, and the region magnification interface is used to magnify and display interface information of a touch-associated region corresponding to the mobile touch operation;

[0031] Step S120, in response to the position state of the target interactive component being in a preset position state during the movement, displaying status prompt information matching the position state corresponding to the target interactive component.

[0032] Figure 1In the method shown, in the process of controlling the movement of the target interactive component, the interface information of the touch-associated area corresponding to the mobile touch operation is enlarged and displayed through the area magnification interface, which can avoid the touch object from blocking the touch-associated area, so that the player can intuitively see the interface information corresponding to the touch-associated area, which to a certain extent reduces the difficulty of the player adjusting the component position, and can reduce the number of times the player adjusts the component position, thereby improving the efficiency of component position adjustment; when the position state of the target interactive component is in a preset position state, by displaying status prompt information matching the position state corresponding to the target interactive component in the area magnification interface, it can further assist the player to adjust the component position more intuitively and efficiently.

[0033] Below Figure 1 Provide detailed instructions for each step.

[0034] In step S110, in response to a mobile touch operation on a target interactive component, the target interactive component is controlled to move, and an area magnification interface is displayed in a graphical user interface; wherein, the target interactive component is an interactive component in one or more movable interactive components, and the area magnification interface is used to magnify and display interface information of a touch-associated area corresponding to the mobile touch operation.

[0035] The movable interactive component refers to a component that can be moved and controlled. Exemplarily, the movable interactive component can be a component of the type of a function control, a scene component, etc., which is not specifically limited in the present disclosure.

[0036] For example, taking the interactive control customization application scenario as an example, when the custom control setting interface is displayed in the graphical user interface, Figure 2 As shown in the provided custom control setting interface 200 , the movable interactive component may be a function control 201 in the custom control setting interface 200 .

[0037] Exemplarily, taking a construction game application scene as an example, when a scene editing interface is displayed in a graphical user interface, the movable interactive component may be a scene component in the scene editing interface.

[0038] The target interactive component may be an interactive component selected from the movable interactive components displayed in the graphical user interface. Optionally, the target interactive component may be determined from the movable interactive components displayed in the graphical user interface in response to a component selection operation in the graphical user interface. The component selection operation may be, for example, a touch operation such as a single-click operation or a double-click operation on the component, which is not specifically limited in the present disclosure.

[0039] Optionally, after the target interactive component is selected, the target interactive component may be displayed in a differentiated manner from other interactive components in the graphical user interface, for example, the target interactive component may be highlighted.

[0040] Among them, the area magnification interface is used to enlarge the interface information of the touch-associated area corresponding to the mobile touch operation. Optionally, the area magnification interface can display the magnified image information of the touch-associated area corresponding to the mobile touch operation. Among them, the touch-associated area corresponding to the mobile touch operation refers to the area where the touch point of the mobile touch operation is located. Exemplarily, the touch-associated area can be an interface area centered on the touch point. The shape of the touch-associated area can include but is not limited to a circular area, a square area, etc., and the present disclosure does not specifically limit this. The size of the touch-associated area can be a fixed preset size; it can also be a non-fixed size associated with the contact surface of the mobile touch operation, and the present disclosure does not specifically limit this. Exemplarily, such as Figure 3 As shown, a display schematic diagram of a region enlargement interface 301 is provided.

[0041] Optionally, the display position of the region enlargement interface may be fixed, for example, displayed in a preset region of the graphical user interface.

[0042] Optionally, the display position of the region enlargement interface may also be unfixed, for example, it may be determined according to the movement control operation. Exemplarily, the display position of the region enlargement interface may be located at a preset offset position of the touch region corresponding to the movement control operation.

[0043] In an optional implementation, the above-mentioned display of the area enlargement interface in the graphical user interface can be implemented by the following steps: according to the movement track corresponding to the movement control operation, the control area enlargement interface is moved and displayed in the graphical user interface.

[0044] Exemplarily, in response to the start of the movement control operation, a region enlargement interface may be generated at the start position of the movement control operation; then, according to the movement trajectory corresponding to the movement control operation, the region enlargement interface may be controlled to move along the movement trajectory.

[0045] By controlling the area magnification interface to move the display in the graphical user interface, the player can more intuitively feel the adjustment of the position of the target interactive component.

[0046] In an optional implementation, in response to the end of the moving touch operation, the area magnification interface displayed in the graphical user interface may be controlled to be deleted.

[0047] When the mobile touch operation starts, the area magnification interface is displayed; when the mobile touch operation ends, the area magnification interface is deleted. The display and deletion of the area magnification interface are passively triggered by the mobile touch operation, which can improve the convenience of user operation to a certain extent.

[0048] In an optional embodiment, the interface information displayed in the area magnification interface can be controlled by the following steps: according to a preset time period, a screenshot of the touch-associated area corresponding to the mobile touch operation is taken during the movement of the target interactive component to obtain an image to be processed; according to a preset magnification factor, the image to be processed is magnified to obtain a target image; and the target image is controlled to be displayed in the area magnification interface.

[0049] The preset time period may be a pre-set screenshot period, which may be configured by a developer, and the present disclosure does not specifically limit this. The image to be processed refers to an image obtained by screenshot processing of the graphical user interface. The target image refers to an image after the image to be processed is enlarged.

[0050] Specifically, according to a preset time period, a screenshot of the touch-associated area corresponding to the mobile touch operation can be taken during the movement of the target interactive component to obtain an image to be processed; according to a preset magnification factor, the image to be processed is enlarged to obtain a target image, and the target graphic is displayed in the area magnification interface, which can avoid the touch object from blocking the touch-associated area, so that the player can view the interface information of the touch-associated area in real time.

[0051] After the region enlargement interface is displayed in the graphical user interface, step S120 may be further performed.

[0052] In step S120, in response to the position state of the target interactive component being in a preset position state during the movement, status prompt information matching the position state corresponding to the target interactive component is displayed.

[0053] The position state refers to the position expression form of the interactive component in the graphical user interface, which may include but is not limited to the position states such as the control overlapping state and the out-of-interface state.

[0054] Optionally, the status prompt information may be displayed in text form or in icon form, which is not specifically limited in the present disclosure.

[0055] In an optional embodiment, the above-mentioned display of status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: displaying status prompt information matching the position state corresponding to the target interactive component in the area magnification interface, so as to more intuitively remind the user of the status prompt information matching the position state corresponding to the target interactive component.

[0056] In an optional embodiment, the preset position state includes a control overlapping state. In response to the position state of the target interactive component being in the preset position state during movement, displaying status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: in response to the target interactive component overlapping with other interactive components in the graphical user interface during movement, determining that the position state of the target interactive component is in a control overlapping state; and controlling the display of status prompt information matching the control overlapping state.

[0057] The control overlapping state refers to a state where two or more interactive controls overlap.

[0058] For example, Figure 4A As shown, a schematic diagram of displaying status prompt information is provided, which can respond to the target interactive component 401 overlapping with other interactive components in the graphical user interface during movement, determine that the position state of the target interactive component is in a control overlapping state, and control the status prompt information 403 matching the control overlapping state to be displayed in the area magnification interface 402.

[0059] Optionally, during the movement of the target interactive component, the display area of ​​the target interactive component in the graphical user interface and the display areas of other interactive components in the graphical user interface can be obtained; by detecting whether there is an overlap between the display areas, it is determined whether the target interactive component overlaps with other interactive components in the graphical user interface during the movement. It should be noted that the other interactive components here can be any other interactive components in the graphical user interface except the target interactive component.

[0060] Through overlap detection, the player can be prompted that the target interactive component currently overlaps with other interactive controls, which can prevent the player from adjusting the target interactive component to a position where it overlaps with other interactive components, thereby avoiding command confusion when subsequently interacting with the interactive controls.

[0061] In an optional embodiment, the preset position state includes an out-of-interface state. In response to the position state of the target interactive component during movement being in the preset position state, displaying status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: in response to the target interactive component exceeding the interface edge of the graphical user interface during movement, determining that the target interactive component is in the out-of-interface state; and controlling the display of status prompt information matching the out-of-interface state.

[0062] The out-of-interface state refers to a state in which the interactive control exceeds the interface edge of the graphical user interface.

[0063] For example, Figure 4BAs shown, a schematic diagram of another display status prompt information is provided, which can respond to the target interactive component 401 exceeding the interface edge of the graphical user interface during movement, determine that the position state of the target interactive component is in the out-of-interface state, and control the status prompt information 405 matching the out-of-interface state to be displayed in the area magnification interface 404.

[0064] Optionally, during the movement of the target interactive component, position information of the target interactive component may be obtained; and according to the position information of the target interactive component, it is determined whether the target interactive component exceeds the interface edge of the graphical user interface during the movement.

[0065] Optionally, during the movement of the target interaction component, the distance between the target interaction component and the interface edge of the graphical user interface can be obtained; based on the distance between the target interaction component and the interface edge of the graphical user interface, it is determined whether the target interaction component exceeds the interface edge of the graphical user interface during the movement.

[0066] Optionally, during the movement of the target interactive component, it can be determined whether the interface display size corresponding to the target interactive component satisfies the component size corresponding to the target interactive component; if the interface display size corresponding to the target interactive component does not satisfy the component size corresponding to the target interactive component, it is determined that the target interactive component exceeds the interface edge of the graphical user interface during the movement.

[0067] The interface display size refers to the size of the interactive component actually displayed in the graphical user interface. The component size refers to the size of the interactive component itself, which can be the interface space required for the interactive component to be fully displayed in the graphical user interface.

[0068] For example, if the component size corresponding to the target interactive component is 100*100 pixels, and during the movement of the target interactive component, the interface display size corresponding to the target interactive component is 50*50 pixels, the interface display size corresponding to the target interactive component is smaller than the component size, then it can be determined that the target interactive component exceeds the interface edge of the graphical user interface. Figure 4C As shown in FIG. 4 , a schematic diagram is provided in which the target interaction component 410 does not exceed the interface edge of the graphical user interface. Figure 4D As shown, a schematic diagram is provided in which a target interaction component 410 exceeds the interface edge of a graphical user interface.

[0069] By determining whether the target interactive component exceeds the interface edge of the graphical user interface, the position of the target interactive component can be prevented from exceeding the operation comfort zone, thereby ensuring the player's operation experience.

[0070] For example, Figure 5 As shown, a flowchart of adjusting the position of an interactive component is provided, which may specifically include the following steps:

[0071] Step S501, in response to a component selection operation, selecting a target interactive component from movable interactive components displayed in a graphical user interface; and displaying a region magnification interface in the graphical user interface;

[0072] Step S502, in response to the start of a mobile touch operation on a target interactive component, displaying a region enlargement interface, and displaying interface information of a touch-associated region corresponding to the mobile touch operation in the region enlargement interface;

[0073] Step S503, controlling the target interactive component and the area magnification interface to move in the graphical user interface according to the movement trajectory corresponding to the movement control operation;

[0074] Step S504, in response to the position state of the target interactive component being in a preset position state during the moving process, displaying status prompt information matching the position state corresponding to the target interactive component in the region magnification interface;

[0075] Step S505 , in response to the end of the moving touch operation, controlling the deletion of the area magnification interface displayed in the graphical user interface, and using the touch position when the moving touch operation ends as the placement position of the target interactive component.

[0076] Figure 5 In the steps shown, the interface information and position status of the touch-associated area corresponding to the mobile touch operation are magnified and displayed through the area magnification interface, which can solve the problem of unclear control caused by the touch object blocking the target interactive control; at the same time, it can also help players with poor eyesight to clearly identify the status of the interactive components.

[0077] The exemplary embodiment of the present disclosure also provides a component control device, which provides a graphical user interface through a terminal device, and the graphical user interface includes one or more movable interactive components. Figure 6 As shown, the component control device 600 may include the following program modules:

[0078] The region enlargement interface display module 610 is used to control the target interactive component to move in response to the mobile touch operation on the target interactive component, and to display the region enlargement interface in the graphical user interface; wherein the target interactive component is an interactive component in one or more movable interactive components, and the region enlargement interface is used to enlarge and display the interface information of the touch-related area corresponding to the mobile touch operation;

[0079] The status prompt information display module 620 is used to display status prompt information matching the position state corresponding to the target interactive component in response to the position state of the target interactive component being in a preset position state during the movement process.

[0080] In an optional implementation, based on the aforementioned solution, the region enlargement interface display module 610 displays the region enlargement interface in the graphical user interface and can be configured to: control the region enlargement interface to move and display in the graphical user interface according to the movement trajectory corresponding to the movement control operation.

[0081] In an optional embodiment, based on the aforementioned scheme, the component control device 600 also includes: a module for acquiring an image to be processed, which is used to take a screenshot of the touch-associated area corresponding to the mobile touch operation during the movement of the target interactive component according to a preset time period to obtain an image to be processed; an image enlargement processing module, which is used to enlarge the image to be processed according to a preset magnification factor to obtain a target image; and an enlarged image display module, which is used to control the display of the target image in the area enlargement interface.

[0082] In an optional implementation, based on the above solution, the component control device 600 further includes: a region enlargement interface deletion module, which is used to control the deletion of the region enlargement interface displayed in the graphical user interface in response to the end of the mobile touch operation.

[0083] In an optional embodiment, based on the aforementioned scheme, the preset position state includes a control overlapping state, and the status prompt information display module 620 can be configured to: in response to the target interactive component overlapping with other interactive components in the graphical user interface during movement, determine that the position state of the target interactive component is in a control overlapping state; and control the display of status prompt information matching the control overlapping state.

[0084] In an optional embodiment, based on the aforementioned scheme, the preset position state includes an out-of-interface state, and the status prompt information display module 620 can be configured to: in response to the target interactive component exceeding the interface edge of the graphical user interface during movement, determine that the target interactive component is in an out-of-interface state; and control the display of status prompt information matching the out-of-interface state.

[0085] In an optional embodiment, based on the aforementioned scheme, the component control device 600 also includes: an interface exceeding judgment module, which can be configured to: during the movement of the target interactive component, determine whether the interface display size corresponding to the target interactive component satisfies the component size corresponding to the target interactive component; if the interface display size corresponding to the target interactive component does not satisfy the component size corresponding to the target interactive component, determine that the target interactive component exceeds the interface edge of the graphical user interface during the movement.

[0086] In an optional implementation, based on the above solution, the status prompt information display module 620 may be configured to: display status prompt information matching the position status corresponding to the target interactive component in the area magnification interface.

[0087] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0088] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the component control method is implemented.

[0089] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.

[0090] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0091] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0092] The computer program may be carried or transmitted via electrical, magnetic, optical, electromagnetic, infrared, or other signals. The electronic device may convert the signal carrying the computer program into a digital signal, thereby running the computer program. When the computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device may execute) the method steps of various exemplary embodiments of the present disclosure. Exemplarily, the following steps may be included:

[0093] In response to a mobile touch operation on a target interactive component, the target interactive component is controlled to move, and a region magnification interface is displayed in a graphical user interface; wherein the target interactive component is an interactive component in one or more movable interactive components, and the region magnification interface is used to magnify and display interface information of a touch-related region corresponding to the mobile touch operation;

[0094] In response to the position state of the target interactive component being in a preset position state during the movement process, status prompt information matching the position state corresponding to the target interactive component is displayed.

[0095] In an optional implementation, based on the aforementioned solution, the above-mentioned display of the area enlargement interface in the graphical user interface can be achieved through the following steps: according to the movement trajectory corresponding to the movement control operation, the control area enlargement interface is moved and displayed in the graphical user interface.

[0096] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: according to a preset time period, a screenshot of the touch-associated area corresponding to the mobile touch operation is taken during the movement of the target interactive component to obtain an image to be processed; according to a preset magnification factor, the image to be processed is enlarged to obtain a target image; and the target image is controlled to be displayed in the area magnification interface.

[0097] In an optional implementation, based on the above solution, the following steps may also be performed: in response to the end of the mobile touch operation, controlling the deletion of the area magnification interface displayed in the graphical user interface.

[0098] In an optional embodiment, based on the aforementioned scheme, the preset position state includes a control overlapping state, and the above-mentioned response to the position state of the target interactive component during movement being in the preset position state, displaying status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: in response to the target interactive component overlapping with other interactive components in the graphical user interface during movement, determining that the position state of the target interactive component is in a control overlapping state; controlling the display of status prompt information matching the control overlapping state.

[0099] In an optional embodiment, based on the aforementioned scheme, the preset position state includes an out-of-interface state, and the above-mentioned response to the position state of the target interactive component during movement being in the preset position state, displaying status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: in response to the target interactive component exceeding the interface edge of the graphical user interface during movement, determining that the target interactive component is in the out-of-interface state; controlling the display of status prompt information matching the out-of-interface state.

[0100] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: during the movement of the target interaction component, determine whether the interface display size corresponding to the target interaction component satisfies the component size corresponding to the target interaction component; if the interface display size corresponding to the target interaction component does not satisfy the component size corresponding to the target interaction component, determine that the target interaction component exceeds the interface edge of the graphical user interface during the movement.

[0101] In an optional implementation, based on the aforementioned scheme, the above-mentioned display of status prompt information matching the position status corresponding to the target interactive component can be achieved through the following steps: displaying status prompt information matching the position status corresponding to the target interactive component in the area magnification interface.

[0102] In the above steps, in the process of controlling the movement of the target interactive component, the interface information of the touch-associated area corresponding to the mobile touch operation is enlarged and displayed through the area magnification interface, which can avoid the touch object from blocking the touch-associated area, so that the player can intuitively see the interface information corresponding to the touch-associated area, which reduces the difficulty of the player adjusting the component position to a certain extent, and can reduce the number of times the player adjusts the component position, thereby improving the efficiency of component position adjustment; when the position state of the target interactive component is in the preset position state, by displaying the status prompt information matching the position state corresponding to the target interactive component in the area magnification interface, it can further assist the player to adjust the component position more intuitively and efficiently.

[0103] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned component control method. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.

[0104] Reference below Figure 7 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Figure 7 The electronic device 700 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0105] like Figure 7 As shown, the electronic device 700 may include: a processor 710 , a memory 720 , a bus 730 , an I / O (input / output) interface 740 , a network adapter 750 , and a display 760 .

[0106] The memory 720 may include a volatile memory, such as a RAM 721, a cache unit 722, and may also include a non-volatile memory, such as a ROM 723. The memory 720 may also include one or more program modules 724, such program modules 724 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 724 may include each module in the above-mentioned device.

[0107] The processor 710 may include one or more processing units. For example, the processor 710 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.

[0108] The processor 710 may be configured to execute executable instructions stored in the memory 720 , such as executing any one or more method steps in the exemplary embodiment.

[0109] Exemplarily, the processor 710 may perform the following steps:

[0110] In response to a mobile touch operation on a target interactive component, the target interactive component is controlled to move, and a region magnification interface is displayed in a graphical user interface; wherein the target interactive component is an interactive component in one or more movable interactive components, and the region magnification interface is used to magnify and display interface information of a touch-related region corresponding to the mobile touch operation;

[0111] In response to the position state of the target interactive component being in a preset position state during the movement process, status prompt information matching the position state corresponding to the target interactive component is displayed.

[0112] In an optional implementation, based on the aforementioned solution, the above-mentioned display of the area enlargement interface in the graphical user interface can be achieved through the following steps: according to the movement trajectory corresponding to the movement control operation, the control area enlargement interface is moved and displayed in the graphical user interface.

[0113] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: according to a preset time period, a screenshot of the touch-associated area corresponding to the mobile touch operation is taken during the movement of the target interactive component to obtain an image to be processed; according to a preset magnification factor, the image to be processed is enlarged to obtain a target image; and the target image is controlled to be displayed in the area magnification interface.

[0114] In an optional implementation, based on the above solution, the following steps may also be performed: in response to the end of the mobile touch operation, controlling the deletion of the area magnification interface displayed in the graphical user interface.

[0115] In an optional embodiment, based on the aforementioned scheme, the preset position state includes a control overlapping state, and the above-mentioned response to the position state of the target interactive component during movement being in the preset position state, displaying status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: in response to the target interactive component overlapping with other interactive components in the graphical user interface during movement, determining that the position state of the target interactive component is in a control overlapping state; controlling the display of status prompt information matching the control overlapping state.

[0116] In an optional embodiment, based on the aforementioned scheme, the preset position state includes an out-of-interface state, and the above-mentioned response to the position state of the target interactive component during movement being in the preset position state, displaying status prompt information matching the position state corresponding to the target interactive component can be achieved through the following steps: in response to the target interactive component exceeding the interface edge of the graphical user interface during movement, determining that the target interactive component is in the out-of-interface state; controlling the display of status prompt information matching the out-of-interface state.

[0117] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: during the movement of the target interaction component, determine whether the interface display size corresponding to the target interaction component satisfies the component size corresponding to the target interaction component; if the interface display size corresponding to the target interaction component does not satisfy the component size corresponding to the target interaction component, determine that the target interaction component exceeds the interface edge of the graphical user interface during the movement.

[0118] In an optional implementation, based on the aforementioned scheme, the above-mentioned display of status prompt information matching the position status corresponding to the target interactive component can be achieved through the following steps: displaying status prompt information matching the position status corresponding to the target interactive component in the area magnification interface.

[0119] In the above steps, in the process of controlling the movement of the target interactive component, the interface information of the touch-associated area corresponding to the mobile touch operation is enlarged and displayed through the area magnification interface, which can avoid the touch object from blocking the touch-associated area, so that the player can intuitively see the interface information corresponding to the touch-associated area, which reduces the difficulty of the player adjusting the component position to a certain extent, and can reduce the number of times the player adjusts the component position, thereby improving the efficiency of component position adjustment; when the position state of the target interactive component is in the preset position state, by displaying the status prompt information matching the position state corresponding to the target interactive component in the area magnification interface, it can further assist the player to adjust the component position more intuitively and efficiently.

[0120] The bus 730 is used to realize the connection between different components of the electronic device 700, and may include a data bus, an address bus, and a control bus.

[0121] The electronic device 700 can communicate with one or more external devices 800 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 740 .

[0122] The electronic device 700 can communicate with one or more networks through the network adapter 750. For example, the network adapter 750 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 750 can communicate with other modules of the electronic device 700 through the bus 730.

[0123] The electronic device 700 may display a graphical user interface and the like through the display 760 .

[0124] although Figure 7 Not shown, other hardware and / or software modules may also be provided in the electronic device 700, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID (Redundant Arrays of Independent Disks) system, a tape drive, and a data backup storage system.

[0125] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0126] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0127] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A component control method, characterized in that: Providing a graphical user interface by a terminal device, the graphical user interface including one or more movable interactive components, the method comprising: In response to a mobile touch operation on a target interactive component, the target interactive component is controlled to move, and a region magnification interface is displayed in the graphical user interface; wherein the target interactive component is an interactive component among the one or more movable interactive components, and the region magnification interface is used to magnify and display interface information of a touch-associated region corresponding to the mobile touch operation; In response to the position state of the target interactive component being in a preset position state during the movement process, status prompt information matching the position state corresponding to the target interactive component is displayed.

2. The method according to claim 1, characterized in that The step of displaying a region magnification interface in the graphical user interface comprises: According to the movement track corresponding to the movement control operation, the region enlargement interface is controlled to move and display in the graphical user interface.

3. The method according to claim 1, characterized in that The method further comprises: According to a preset time period, during the movement of the target interactive component, a screenshot is taken of the touch-related area corresponding to the mobile touch operation to obtain an image to be processed; According to a preset magnification factor, the image to be processed is magnified to obtain a target image; Controlling the display of the target image in the area magnification interface.

4. The method according to claim 1, characterized in that: The method further comprises: In response to the end of the moving touch operation, the region enlargement interface displayed in the graphical user interface is controlled to be deleted.

5. The method according to claim 1, characterized in that The preset position state includes a control overlapping state, and in response to the position state of the target interactive component being in the preset position state during the movement, displaying status prompt information matching the position state corresponding to the target interactive component includes: In response to the target interactive component overlapping with other interactive components in the graphical user interface during movement, determining that the position state of the target interactive component is in a control overlapping state; Controls display of status prompt information matching the overlapping state of the control.

6. The method according to claim 1, characterized in that The preset position state includes an out-of-interface state, and in response to the position state of the target interactive component being in the preset position state during movement, displaying status prompt information matching the position state corresponding to the target interactive component includes: In response to the target interactive component exceeding an interface edge of the graphical user interface during movement, determining that the target interactive component is in an exceeding interface state; Control and display status prompt information matching the exceeded interface status.

7. The method according to claim 6, characterized in that The method further comprises: During the movement of the target interactive component, determining whether the interface display size corresponding to the target interactive component satisfies the component size corresponding to the target interactive component; If the interface display size corresponding to the target interactive component does not meet the component size corresponding to the target interactive component, it is determined that the target interactive component exceeds the interface edge of the graphical user interface during movement.

8. The method according to claim 1, characterized in that The displaying of status prompt information matching the position status corresponding to the target interactive component includes: Status prompt information matching the position status corresponding to the target interactive component is displayed in the area magnification interface.

9. A component control device, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface includes one or more movable interactive components, and the apparatus includes: A region enlargement interface display module, used for controlling the target interactive component to move in response to a mobile touch operation on the target interactive component, and displaying a region enlargement interface in the graphical user interface; wherein the target interactive component is an interactive component among the one or more movable interactive components, and the region enlargement interface is used for enlarging and displaying interface information of a touch-associated region corresponding to the mobile touch operation; The status prompt information display module is used to display status prompt information matching the position state corresponding to the target interactive component in response to the position state of the target interactive component being in a preset position state during the movement.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

11. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 8 by executing the executable instructions.