Information processing method and device, electronic equipment and storage medium

Responding to the scaling operation through the posture changes of the mobile terminal device, the problem of users needing to frequently use both hands when zooming image resources on the mobile terminal device is solved, and the image resources are scaled with one hand is realized, which improves the user experience.

CN119987607APending Publication Date: 2025-05-13NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510060370.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, when a user zooms in image resources on a mobile terminal device, he or she needs to frequently use both hands to operate, resulting in cumbersome operations and affecting the user experience.

Method used

The posture change of the mobile terminal device is used to respond to the scaling operation, and the posture sensor is used to obtain the posture change information of the device, and determine whether the preset scaling trigger event is satisfied, thereby realizing the function of scaling image resources with one hand.

Benefits of technology

The purpose of scaling image resources with one hand is achieved, improving the user's operation experience and reducing the cumbersomeness of two-hand operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987607A_ABST
    Figure CN119987607A_ABST
Patent Text Reader

Abstract

The invention provides an information processing method and device, electronic equipment and a storage medium, a graphical user interface is provided through mobile terminal equipment, the graphical user interface comprises image resources, and the method comprises the following steps: in response to a first posture adjustment operation for the mobile terminal equipment, obtaining first posture change information of the mobile terminal equipment, and judging whether the first posture change information meets a preset zooming trigger event, and if the first posture change information meets the preset zooming trigger event, executing zooming operation on the image resource according to the first posture change information. Therefore, the image resource can be zoomed based on the posture change of the mobile terminal equipment, the purpose of zooming the image resource by a single hand is achieved, and the user operation experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, electronic device and storage medium. Background Art

[0002] During user operations, users usually reduce or enlarge image resources such as photos, pictures, navigation maps, game maps, game scenes, etc. displayed on the interface to meet user needs in different scenarios.

[0003] In the related art, when users zoom in or out on image resources, they need to frequently use both hands to operate. Generally, they hold the screen with their left hand and use two fingers of their right hand to zoom in and out and swipe the screen to achieve the purpose of zooming; or they hold the screen with both hands and use one finger of each hand (such as the left and right thumbs) to slide on the screen to zoom in or out.

[0004] However, this method requires users to frequently use both hands to scale image resources, which is cumbersome and affects the user's operating experience. Summary of the invention

[0005] In view of this, the embodiments of the present application provide an information processing method, device, electronic device and storage medium to perform zooming operations on image resources based on the posture changes of the mobile terminal device, so as to achieve the purpose of zooming image resources with one hand and improve the user operation experience.

[0006] In a first aspect, an embodiment of the present application provides an information processing method, which provides a graphical user interface through a mobile terminal device, wherein the graphical user interface includes image resources, and the method includes:

[0007] In response to a first posture adjustment operation on the mobile terminal device, obtaining first posture change information of the mobile terminal device, and determining whether the first posture change information satisfies a preset zoom trigger event;

[0008] If the first posture change information satisfies the preset zoom trigger event, a zoom operation is performed on the image resource according to the first posture change information.

[0009] In a second aspect, an embodiment of the present application further provides an information processing device, which provides a graphical user interface through a mobile terminal device, wherein the graphical user interface includes image resources, and the device includes:

[0010] an acquisition module, configured to respond to a first posture adjustment operation on the mobile terminal device, acquire first posture change information of the mobile terminal device, and determine whether the first posture change information satisfies a preset zoom trigger event;

[0011] A processing module is configured to perform a zoom operation on the image resource according to the first posture change information if the first posture change information satisfies the preset zoom trigger event.

[0012] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory through the bus, and the processor executes the machine-readable instructions to execute any one of the methods described in the first aspect.

[0013] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any one of the first aspects is executed.

[0014] The present application provides an information processing method, device, electronic device and storage medium, which provides a graphical user interface through a mobile terminal device, and the graphical user interface includes image resources, wherein the method includes: responding to a first posture adjustment operation on the mobile terminal device, obtaining first posture change information of the mobile terminal device, judging whether the first posture change information satisfies a preset zoom trigger event, and if the first posture change information satisfies the preset zoom trigger event, performing a zoom operation on the image resource according to the first posture change information. Thus, the image resource can be zoomed in and out based on the posture change of the mobile terminal device, so as to achieve the purpose of zooming the image resource with one hand, and improve the user operation experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 1 ;

[0017] Figure 2 Schematic diagram of the position of the mobile terminal device provided in the embodiment of the present application Figure 1 ;

[0018] Figure 3 Schematic diagram of the position of the mobile terminal device provided in the embodiment of the present application Figure 2 ;

[0019] Figure 4Schematic diagram of the information processing method provided in the embodiment of the present application Figure 2 ;

[0020] Figure 5 Schematic diagram of the position of the mobile terminal device provided in the embodiment of the present application Figure 3 ;

[0021] Figure 6 A schematic diagram of a graphical user interface provided in an embodiment of the present application;

[0022] Figure 7 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 3 ;

[0023] Figure 8 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 4 ;

[0024] Fig. 9 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 5 ;

[0025] Fig.10 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 6 ;

[0026] Fig.11 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0027] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0029] During user operation, users usually zoom in or out on the image resources displayed on the application interface. Taking the strategy game (SLG) application as an example, users usually use the game map to collect resources, deal with attacks on map enemies or strongholds, etc. However, since the game map is too large, when players perform such actions based on the game map, in order to find the target more easily, they will zoom out the game map to find the target in the game map with a larger scale. When the target is found, the game map will be zoomed in to focus on the specific target for operation, which is more convenient for players to click.

[0030] In the related art, when a user uses a mobile terminal device to zoom in and out a game map, the user needs to frequently use both hands to operate, that is, the left hand holds the screen, and the right hand uses two fingers to zoom in and out and swipe the screen to achieve the purpose of zooming the map. However, this method requires the user to frequently use both hands to zoom in and out image resources, which is cumbersome and affects the user's operating experience.

[0031] Based on this, the present application can perform zooming operations on image resources based on the posture changes of the mobile terminal device, so as to achieve the purpose of zooming in and out of image resources with one hand, thereby improving the user operation experience.

[0032] In one embodiment of the present application, the information processing method can be run on a local terminal device or a server. When the information processing method 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.

[0033] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. 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 information processing method are completed on the cloud game server, and 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 cloud game server in the cloud performs information processing. 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.

[0034] 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 by an electronic device and run conventionally. 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.

[0035] In a possible implementation, an embodiment of the present invention provides an information processing method that provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.

[0036] Figure 1 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 1 The execution subject of this embodiment may be a mobile terminal device, such as a mobile phone, a tablet, etc. A graphical user interface is provided through the mobile terminal device, and the graphical user interface includes image resources.

[0037] Among them, the image resources included in the graphical user interface may be, for example, game maps, navigation maps, pictures, etc. The game map refers to the map presented after the game software is started through the mobile terminal device, such as a game sandbox map. The navigation map refers to the map presented after the map software is started through the mobile terminal device. The picture refers to the picture presented after the picture software is started through the mobile terminal device. The picture software may be, for example, picture editing software, photo album, etc.

[0038] like Figure 1 As shown, the method may include:

[0039] S101: In response to a first posture adjustment operation on a mobile terminal device, first posture change information of the mobile terminal device is obtained, and it is determined whether the first posture change information satisfies a preset zoom trigger event.

[0040] Among them, the first posture adjustment operation is used to adjust the posture of the mobile terminal device. For example, the first posture adjustment operation is a flip operation (i.e., tilt operation) for the mobile terminal device. The user flips the mobile terminal device in any direction (i.e., tilts) to adjust the posture of the mobile terminal device.

[0041] In response to the first posture adjustment operation, first posture change information of the mobile terminal device is obtained, wherein the first posture change information may be posture change information corresponding to the first posture adjustment operation. For example, if the user flips the mobile terminal device in any direction, the first posture change information may include the flipping amplitude (i.e., flipping angle, tilt angle, rotation angle), flipping direction, etc.

[0042] In some embodiments, taking a user holding a mobile terminal device as an example, see Figure 2-Figure 3 , the terminal device has an upper end, a lower end, a left end and a right end, then the flip direction can be the upper end of the mobile terminal device away from the screen direction (that is, the lower end of the mobile terminal device is facing the screen direction), the lower end of the mobile terminal device away from the screen direction (that is, the upper end of the mobile terminal device is facing the screen direction), the left end of the mobile terminal device away from the screen direction (that is, the right end of the mobile terminal device is facing the screen direction), and the right end of the mobile terminal device away from the screen direction (that is, the left end of the mobile terminal device is facing the screen direction).

[0043] It is determined whether the first posture change information satisfies a preset zoom trigger event, wherein the preset zoom trigger event is used to trigger the zooming of the image resource, and the preset zoom trigger event may include: a preset zoom-out trigger event and a preset zoom-in trigger event.

[0044] In some embodiments, the preset zoom-out trigger event and the preset zoom-in trigger event may correspond to different flip directions and flip amplitude thresholds. If the flip direction in the first posture change information is the flip direction corresponding to the preset zoom-out trigger event, and the flip angle in the first posture change information reaches the zoom-out flip amplitude threshold corresponding to the preset zoom-out trigger event, then it is determined that the first posture change information satisfies the preset zoom-out trigger event. If the flip direction in the first posture change information is the flip direction corresponding to the preset zoom-in trigger event, and the flip angle in the first posture change information reaches the zoom-in flip amplitude threshold corresponding to the preset zoom-in trigger event, then it is determined that the first posture change information satisfies the preset zoom-in trigger event.

[0045] S102: If the first posture change information satisfies a preset zoom trigger event, a zoom operation is performed on the image resource according to the first posture change information.

[0046] If the first posture change posture information satisfies the preset zoom-out trigger event, the zoom-out parameter is obtained according to the flip angle in the first posture change information, and a zoom-out operation is performed on the image resource according to the zoom-out parameter. If the first posture change information satisfies the preset zoom-in trigger event, the zoom-in parameter is obtained according to the flip angle in the first resource change information, and a zoom-in operation is performed on the image resource according to the zoom-in parameter, wherein the zoom operation includes a zoom-out operation and a zoom-in operation.

[0047] In this embodiment, by adjusting the posture of the mobile terminal device with one hand, the image resource is zoomed based on the posture change of the mobile terminal device, so that the purpose of zooming the image resource can be completed with one hand, thereby improving the user operation experience.

[0048] In an optional implementation, the first posture change information includes: a posture adjustment direction and an adjustment amplitude in the posture adjustment direction, and the preset zoom trigger event includes: a preset zoom-in trigger event and a preset zoom-out trigger event;

[0049] If the posture adjustment direction is the first direction, and the adjustment amplitude is greater than the preset magnification adjustment threshold, determining that the first posture change information satisfies the preset magnification trigger event;

[0050] If the posture adjustment direction is the second direction, and the adjustment amplitude is greater than the preset reduction adjustment threshold, it is determined that the first posture change information satisfies the preset reduction trigger event.

[0051] Among them, the first direction is the direction corresponding to the preset zoom trigger event, for example, the upper end of the mobile terminal is facing the screen direction, and the left end of the mobile terminal device is facing the screen direction. The preset zoom adjustment threshold is the adjustment threshold corresponding to the preset zoom trigger event. The preset zoom adjustment threshold can be a zoom flip angle threshold, such as 3°, and the adjustment amplitude can be the flip angle. That is to say, when the posture adjustment direction is the first direction and the flip angle is greater than 3°, it is determined that the first posture change information meets the preset zoom trigger event, and the zoom operation can be performed on the image resource.

[0052] Similarly, the second direction is the direction corresponding to the preset zoom-out trigger event, for example, the lower end of the mobile terminal is facing the screen direction and the right end of the mobile terminal device is facing the screen direction. The preset zoom-out adjustment threshold is the adjustment threshold corresponding to the preset zoom-out event. The preset zoom-out adjustment threshold can be a zoom-out flip angle threshold, for example, 3°, and the adjustment range is the flip angle. That is to say, when the posture adjustment direction is the second direction and the flip angle is greater than 3°, it is determined that the first posture change information satisfies the preset zoom-out trigger event, and the zoom-out operation can be performed on the image resource.

[0053] The preset enlargement adjustment threshold and the preset reduction adjustment threshold may both be positive values, for example, the preset enlargement adjustment threshold and the preset reduction adjustment threshold are both 3°, the first direction is the + direction, and the second direction is the - direction, that is, the scaling of the image resource will not be triggered within the range of (-3°, 3°). It is worth noting that the above is only an exemplary description, and the values ​​of the preset enlargement adjustment threshold and the preset reduction adjustment threshold may be equal or unequal, and may be selected according to actual conditions, and this embodiment does not specifically limit this.

[0054] In this embodiment, a preset zoom-in adjustment threshold and a preset zoom-out adjustment threshold are set to provide a certain error tolerance, thereby avoiding zooming operations on image resources due to erroneous operations such as user hand shaking, thereby further improving the user operation experience.

[0055] In an optional implementation, the first direction is a direction in which the upper end of the mobile terminal device is away from the screen, and the second direction is a direction in which the upper end of the mobile terminal device is toward the screen; or,

[0056] The first direction is a direction in which the upper end of the mobile terminal device faces the screen, and the second direction is a direction in which the upper end of the mobile terminal device faces away from the screen.

[0057] Figure 2 Schematic diagram of the position of the mobile terminal device provided in the embodiment of the present application Figure 1 , Figure 3 Schematic diagram of the position of the mobile terminal device provided in the embodiment of the present application Figure 2 ,like Figure 2 , Figure 3 As shown, the user holds a mobile terminal device, and the mobile terminal device has an upper end, a lower end, a left end, and a right end. The first direction is the direction in which the upper end of the mobile device is away from the screen (that is, the lower end of the mobile terminal is facing the screen). Figure 3 As shown, the second direction is the direction where the upper end of the mobile terminal is toward the screen (i.e., the lower end of the mobile terminal is away from the screen), wherein the upper end of the mobile terminal device is away from the screen direction can be understood as rotating up, and the upper end of the mobile terminal device is toward the screen direction can be understood as rotating down.

[0058] It is worth mentioning that Figure 2 , Figure 3 This is only an exemplary description. In actual application, the first direction may be the direction in which the upper end of the mobile terminal device faces the screen, and the second direction may be the direction in which the upper end of the mobile terminal device faces away from the screen.

[0059] Figure 4 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, in an optional implementation, the above step S101, in response to the first posture adjustment operation on the mobile terminal device, obtaining the first posture change information of the mobile terminal device, may include:

[0060] S201. In response to a first posture adjustment operation, obtain current posture information of a mobile terminal device.

[0061] In response to the first posture adjustment operation, current posture information of the mobile terminal device is acquired, wherein the current posture information of the mobile terminal device is posture information of the mobile terminal device after the posture of the mobile terminal device is adjusted by the first posture adjustment operation.

[0062] S202: Acquire first posture change information according to current posture information and reference posture information of the mobile terminal device.

[0063] The reference posture information of the mobile terminal device is the posture information of the mobile terminal device before the posture of the mobile terminal device is adjusted by the first posture adjustment operation, for example, it may be the posture information of the mobile terminal device when the user normally holds the mobile terminal device.

[0064] The posture change information between the current posture information and the reference posture information of the mobile terminal device is determined as the first posture change information, wherein the first posture change information includes: a posture adjustment direction and an adjustment amplitude in the posture adjustment direction.

[0065] In an optional implementation, before the above step S202, according to the current posture information and the reference posture information of the mobile terminal device, obtaining the first posture change information, the method may further include:

[0066] In response to a trigger operation input to the graphical user interface, an operation state of adjusting the zoom of the image resource by the gesture of the mobile terminal device is entered, and reference gesture information is collected by the gesture sensor.

[0067] The trigger operation for the graphical user interface input may be any one of a double-click operation, a long-press operation, and a re-press operation on the graphical user interface, which is not particularly limited in this embodiment.

[0068] For example, the attitude sensor may be a gyroscope, a level, etc., and the reference attitude information of the mobile terminal device collected by the attitude sensor may include a reference angle of the mobile terminal device.

[0069] In response to a trigger operation input to the graphical user interface, an operation state of adjusting the zoom of the image resource by the posture of the mobile terminal device is entered, and in this operation state, reference posture information of the mobile terminal device is collected by a posture sensor.

[0070] That is to say, after the user triggers the operation through the graphical user interface input, the operation state of adjusting the zoom of the image resource through the posture of the mobile terminal device is entered. At this time, the posture information of the current mobile terminal device is considered to be the reference posture information. The user holds the mobile terminal device, and the current holding state can be accurately found through the posture sensor. Among them, the reference posture information can be defined as the horizontal value of the posture sensor, that is, the reference angle is 0°.

[0071] Accordingly, the above S201, in response to the first posture adjustment operation, obtaining the current posture information of the mobile terminal device may include:

[0072] In response to the first posture adjustment operation, current posture information is collected through the posture sensor.

[0073] In response to a first posture adjustment operation on a mobile terminal device, current posture information of the mobile terminal is collected through a posture sensor. The current posture information may include the current angle of the mobile terminal. Based on the current angle and the reference angle, the position adjustment direction (i.e., the flip direction) of the mobile terminal device can be determined. For example, if the reference angle is 0° and the current angle is +30°, the flip direction is the first direction. For another example, if the reference angle is +15° and the current angle is +30°, the flip direction is the first direction. For another example, if the reference angle is 0° and the current angle is -30°, the flip direction is the second direction. The adjustment amplitude (flip angle) in the position adjustment direction can also be determined, wherein the flip angle is the difference between the absolute value of the current angle and the absolute value of the reference angle. For example, the flip angle corresponding to the current angle +30° and the reference angle 0° is 30°, and the flip angle corresponding to the current angle -30° and the reference angle 0° is 30°.

[0074] The reference posture information of the mobile terminal device collected by the posture sensor may include the reference angle of the mobile terminal device. The reference posture information may be defined as the horizontal value of the posture sensor, such as 0°. The current posture information of the mobile terminal device collected by the posture sensor may include the current angle of the mobile terminal device, such as +30°, -30°.

[0075] In some embodiments, in response to a trigger operation on a graphical user interface input, a prompt message is pushed to prompt the user to maintain the current hand-held state for a preset time period.

[0076] The preset duration may be, for example, 3s or 4s. The user inputs a touch operation through a graphical user interface and pushes a prompt message to prompt the user to maintain the current hand-held state for a preset duration, so as to facilitate the collection of reference posture information of the mobile terminal device.

[0077] Figure 5 Schematic diagram of the position of the mobile terminal device provided in the embodiment of the present application Figure 3 ,like Figure 5 As shown, the user holds the mobile terminal device, and the user inputs a touch operation through the graphical user interface, and a prompt message "Please maintain the current holding posture for 3 seconds" is displayed, and the reference posture information of the mobile terminal device when the user holds the mobile terminal device is collected.

[0078] In an optional implementation, the triggering operation of the graphical user interface input includes: an opening operation for a switch control in the graphical user interface.

[0079] Among them, the graphical user interface includes a switch control, and the user inputs a trigger operation for the switch control to enter an operating state for adjusting the scaling of image resources through the posture of the mobile terminal device, and the current hand-held state can be accurately detected through the posture sensor to collect the reference posture information of the mobile terminal device.

[0080] The activation operation for the gesture sensor may be any one of a single-click operation, a double-click operation, a long-press operation, and a heavy-press operation, and this embodiment does not specifically limit this.

[0081] Figure 6 A schematic diagram of a graphical user interface provided in an embodiment of the present application, such as Figure 6 As shown, the graphical user interface includes a switch control. The user clicks the switch control to enter the operation state of adjusting the zoom of the image resource through the posture of the mobile terminal device, and the current posture information of the mobile terminal device can be collected as the reference posture information through the posture sensor.

[0082] In some embodiments, for example in strategy games, the switch control is closed by default. Each time the user goes online, the switch control can be turned on by the user to enter the operating state of adjusting the scaling of image resources through the posture of the mobile terminal device and collect the baseline posture information of the mobile terminal device.

[0083] In an optional embodiment, the method may further include:

[0084] In response to a closing operation on the switch control, an operation state of adjusting the zoom of the image resource by the gesture of the mobile terminal device is exited.

[0085] The user can also input a closing operation for the switch control as required, and in response to the closing operation, control the gesture sensor to close to exit the operation state of adjusting the zoom of the image resource through the gesture of the mobile terminal device.

[0086] That is to say, in order to avoid frequent scaling operations of image resources through mobile terminal devices, users can also input a closing operation for the switch control to exit the operating state of adjusting the scaling of image resources in the posture of the mobile terminal device, making user operations more flexible and improving the user operation experience.

[0087] Figure 7 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 3 ,like Figure 7 As shown, in an optional implementation, the above step S102, performing a scaling operation on the image resource according to the first posture change information, may include:

[0088] S301. Obtain a scaling parameter according to a posture adjustment direction and an adjustment amplitude in the posture adjustment direction.

[0089] S302: Perform a scaling operation on the image resource according to the scaling parameters.

[0090] Among them, whether to perform a zoom-in operation or a zoom-in operation on the image resource can be determined according to the posture adjustment direction. For example, if the posture adjustment direction is the first direction, it is determined to perform a zoom-in operation on the image resource. If the posture adjustment direction is the second direction, it is determined to perform a zoom-out operation on the image resource.

[0091] There is a certain corresponding relationship between the adjustment amplitude and the scaling parameter in the posture adjustment direction. The larger the adjustment amplitude, the larger the scaling parameter, and the smaller the adjustment amplitude, the smaller the scaling parameter. The scaling parameter may be a scaling ratio.

[0092] The scaling parameters include reduction parameters and enlargement parameters. If the posture adjustment direction is the first direction, it is the enlargement parameter; if the posture adjustment direction is the second direction, it is the reduction parameter.

[0093] A reduction parameter or an enlargement parameter is determined according to the adjustment range, and then a reduction operation is performed on the image resource according to the reduction parameter, or an enlargement operation is performed on the image resource according to the enlargement parameter.

[0094] Figure 8 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 4 ,like Figure 8 As shown, in an optional implementation, the above step S302, performing a scaling operation on the image resource according to the scaling parameter, may include:

[0095] S401: If the scaling parameter exceeds a preset scaling threshold, a scaling operation is performed on the image resource according to the preset scaling threshold.

[0096] Among them, the scaling parameters include reduction parameters and enlargement parameters, and the preset scaling thresholds include preset reduction thresholds and preset enlargement thresholds. If the reduction parameter exceeds the preset reduction threshold, it means that the reduction parameter exceeds the reduction limit, and the image resource can be reduced according to the preset reduction threshold.

[0097] If the enlargement parameter exceeds the preset enlargement threshold, it means that the enlargement parameter exceeds the enlargement limit, and then the image resource can be enlarged according to the preset enlargement threshold.

[0098] In an optional embodiment, the method may further include:

[0099] If the scaling parameter exceeds the preset scaling threshold, a scaling prompt is pushed to indicate that the image resource has been scaled to the preset scaling threshold.

[0100] The zoom prompt includes a zoom-out prompt and an zoom-in prompt, wherein the zoom-out prompt is used to indicate that the image has been zoomed out to a preset zoom-out threshold, and the zoom-in prompt is used to indicate that the image resource has been zoomed in to a preset zoom-in threshold.

[0101] If the reduction parameter exceeds the preset reduction threshold, a reduction prompt is pushed to indicate that the image resource has been reduced to the preset reduction threshold, or if the enlargement parameter exceeds the preset enlargement threshold, a magnification prompt is pushed to indicate that the image resource has been reduced to the preset enlargement threshold.

[0102] In some embodiments, pushing the zoom prompt may include: the mobile terminal device shaking at a preset frequency.

[0103] For example, in a strategy game, the user can rotate the mobile terminal device to turn it upside down, thereby advancing the virtual camera of the game and zooming in the game map. If the zoom-in parameter exceeds the preset zoom-in threshold, that is, when the mobile terminal device is zoomed in to the limit, the mobile terminal device shakes to inform the user that the zoom-in limit has been reached. Alternatively, the user rotates the mobile terminal device to turn it down, thereby zooming out the virtual camera of the game and zooming out the game map. If the zoom-out parameter exceeds the preset zoom-out threshold, that is, when the mobile terminal device is zoomed out to the limit, the mobile terminal device shakes to inform the user that the zoom-out limit has been reached.

[0104] S402: If the scaling parameter does not exceed a preset scaling threshold, a scaling operation is performed on the image resource according to the scaling parameter.

[0105] If the reduction parameter does not exceed the preset reduction threshold, a reduction operation is performed on the image resource according to the reduction parameter, or if the enlargement parameter does not exceed the preset enlargement threshold, a enlargement operation is performed on the image resource according to the enlargement parameter.

[0106] In this embodiment, the zoom has a certain limit. When the zoom parameter exceeds the preset zoom threshold, the zoom operation is performed on the image resource based on the preset zoom threshold, thereby avoiding infinite zooming caused by excessive adjustment of the mobile terminal device by the user, further improving the user operation experience.

[0107] Fig. 9 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 5 ,like Fig. 9 As shown, in an optional implementation, the above step S102, performing a scaling operation on the image resource according to the first posture change information, may include:

[0108] S501: In response to a display area adjustment operation for an image resource, adjust the display area of ​​the image resource.

[0109] Among them, the range of the image resource is relatively large, but the screen of the mobile terminal device is relatively small, so only the display area of ​​the image resource can be presented on the screen, and the display area includes some virtual objects in the image resource.

[0110] In order to enable the target object in the scaled image resource to be displayed in the display area of ​​the adjusted image resource, before performing a scaling operation on the image resource, an adjustment operation for the display area of ​​the image resource can be input to adjust the display area of ​​the image resource so as to move the target object in the image resource to a screen target position, wherein the screen target position can be, for example, any position within a preset range based on the center of the screen. The virtual objects contained in the display area of ​​the adjusted image resource are different from the virtual objects contained in the display area of ​​the image resource before the adjustment.

[0111] Among them, the display area adjustment operation for the image resource is used to move the target object in the image resource to the target position on the screen. The display area adjustment operation can be implemented with one hand, by sliding the image resource with one hand to move the target object to the target position on the screen.

[0112] S502: Perform a zoom operation on the adjusted image resource according to the first posture change information, so that the target object in the image resource is displayed in a display area of ​​the adjusted image resource.

[0113] After moving the target object in the image resource to the target position on the screen, a scaling operation is performed on the adjusted image resource according to the first posture change information, so that the target object in the image resource is displayed in the display area of ​​the adjusted image resource.

[0114] It is worth noting that if the target object is not moved to the target position on the screen, the target object may not be displayed on the screen after the image resource is scaled. In this case, the user cannot view the target object on the screen.

[0115] For example, in a strategy game, the target object may be a resource collection point, an enemy, or a stronghold. Before performing a scaling operation on an image resource, the display area of ​​the image resource is first adjusted to move the target object into the display area of ​​the image resource. This way, after scaling the image resource, the target object can be seen on the screen, making it easier for users to perform game actions.

[0116] In this embodiment, the user is supported to zoom in and out image resources with one hand, without the need for two hands, and the user is supported to experience the game in more environments, further improving the user operation experience.

[0117] Fig.10 Schematic diagram of the information processing method provided in the embodiment of the present application Figure 6 ,like Fig.10 As shown, in an optional implementation, after the above step S102, according to the first posture change information, performs a scaling operation on the image resource, the method may further include:

[0118] S601: In response to a second posture adjustment operation on a mobile terminal device, second posture change information of the mobile terminal device is acquired.

[0119] Among them, the second posture adjustment operation is used to adjust the posture of the mobile terminal device. For example, the second posture adjustment operation is a flip operation (i.e., tilt operation) for the mobile terminal device. The user flips the mobile terminal device in any direction (i.e., tilts) to adjust the posture of the mobile terminal device.

[0120] In response to a second posture adjustment operation on the mobile terminal device, second posture change information of the mobile terminal device is obtained, wherein the second posture change information is posture change information based on the posture information when the mobile terminal device performs a zoom operation based on the first posture change information as a reference posture information, that is, the second posture change information is used to indicate the posture change between the adjusted posture and the posture when the zoom operation is performed based on the first posture change information after the posture of the mobile terminal device is adjusted using the second posture adjustment operation.

[0121] The second posture change information may include a flip amplitude (i.e., a flip angle, a tilt angle, a rotation angle), a flip direction, etc., wherein the flip angle is the difference between the absolute value of the angle of the mobile terminal device after the posture of the mobile terminal device is adjusted using the second posture adjustment operation and the absolute value of the angle of the mobile terminal device when a zoom operation is performed based on the first posture change information.

[0122] For example, according to the first posture change information, after performing a zoom operation on the image resource, the angle of the mobile terminal device is +30°, and after adjusting the posture of the mobile terminal device using the second posture adjustment operation, the angle of the mobile terminal device is +20°, the flip direction is the second direction, and the flip angle is -20°.

[0123] S602: Determine, according to the second posture change information, whether the second posture change information satisfies a preset zoom trigger event.

[0124] Among them, the preset zoom trigger event includes a preset reduction trigger event and a preset enlargement trigger event. The preset reduction trigger event and the preset enlargement trigger event can correspond to different flip directions and flip amplitude thresholds. The flip amplitude thresholds corresponding to the preset reduction trigger event and the preset enlargement trigger event are both positive values.

[0125] The preset zoom-in adjustment threshold corresponding to the preset zoom-out trigger event and the preset zoom-out adjustment threshold corresponding to the preset zoom-out trigger event are both positive values.

[0126] If the flip angle in the second posture change information is a negative value, it is determined that the second posture change information does not meet the preset zoom trigger event. For example, according to the first posture change information, after performing a zoom operation on the image resource, the angle of the mobile terminal device is +30°. After adjusting the posture of the mobile terminal device using the second posture adjustment operation, the angle of the mobile terminal device is 0°, the flip direction is the second direction, and the flip angle is -30°. The preset zoom-out trigger condition is not met. In this case, it means that the user flips the mobile terminal device back to the horizontal value of turning on the posture sensor.

[0127] For another example, according to the first posture change information, after performing a zoom operation on the image resource, the angle of the mobile terminal device is -30°, and after adjusting the posture of the mobile terminal device using the second posture adjustment operation, the angle of the mobile terminal device is -20°, the flipping direction is the first direction, and the flipping angle is -10°, which does not meet the preset zoom trigger condition.

[0128] S603: If the second posture change information does not satisfy the preset zoom trigger event, control the image resource to maintain the current zoom state.

[0129] If the second posture change information does not satisfy the preset zoom trigger event, the image resource is controlled to maintain the current zoom state. That is, according to the first posture change information, after performing the zoom operation on the image resource, the posture of the mobile terminal device continues to be adjusted. If the second posture change information does not satisfy the preset zoom trigger event, the zoom state of the image resource does not change. For example, the posture of the mobile terminal device is adjusted based on the first posture adjustment operation, and after the image resource has been zoomed, the user flips the mobile terminal device back to the posture before adjustment. At this time, the virtual lens has been advanced or pulled away, and the preset zoom event is not triggered. That is, when the mobile terminal device is restored to the posture before adjustment, the zoom state of the image resource will not change (the zoom state is still determined based on the first posture change information).

[0130] In this embodiment, for the user, the handheld state is a relatively comfortable and easy-to-operate state. After the posture of the mobile terminal device is adjusted based on the first posture adjustment operation and the image resource is scaled, if a second posture adjustment operation is received, but the second posture change information does not meet the preset zoom trigger event, the image resource is controlled to maintain the current zoom state. That is to say, after the user uses the first posture adjustment operation to scale the image resource, the second posture adjustment operation is used to adjust the posture of the mobile terminal device, so that the user can perform various operations based on the scaled image resource, which is more convenient for user operation (such as viewing operation, game operation, etc.), and improves the user operation experience.

[0131] Fig.11This is a schematic diagram of the structure of an information processing device provided in an embodiment of the present application, which can be integrated in a mobile terminal device.

[0132] A graphical user interface is provided through a mobile terminal device, and the graphical user interface includes image resources.

[0133] like Fig.11 As shown, the device may include:

[0134] An acquisition module 701 is used to respond to a first posture adjustment operation on a mobile terminal device, acquire first posture change information of the mobile terminal device, and determine whether the first posture change information satisfies a preset zoom trigger event;

[0135] The processing module 702 is configured to perform a zoom operation on the image resource according to the first posture change information if the first posture change information satisfies a preset zoom trigger event.

[0136] In an optional implementation, the acquisition module 701 is specifically configured to:

[0137] In response to the first posture adjustment operation, obtaining current posture information of the mobile terminal device;

[0138] First posture change information is acquired according to the current posture information and the reference posture information of the mobile terminal device.

[0139] In an optional implementation, the first posture change information includes: a posture adjustment direction and an adjustment amplitude in the posture adjustment direction, and the preset zoom trigger event includes: a preset zoom-in trigger event and a preset zoom-out trigger event;

[0140] If the posture adjustment direction is the first direction, and the adjustment amplitude is greater than the preset magnification adjustment threshold, determining that the first posture change information satisfies the preset magnification trigger event;

[0141] If the posture adjustment direction is the second direction, and the adjustment amplitude is greater than the preset reduction adjustment threshold, it is determined that the first posture change information satisfies the preset reduction trigger event.

[0142] In an optional implementation, the first direction is a direction in which the upper end of the mobile terminal device is away from the screen, and the second direction is a direction in which the upper end of the mobile terminal device is toward the screen; or,

[0143] The first direction is a direction in which the upper end of the mobile terminal device faces the screen, and the second direction is a direction in which the upper end of the mobile terminal device faces away from the screen.

[0144] In an optional implementation, the processing module 702 is specifically configured to:

[0145] Obtaining a scaling parameter according to a posture adjustment direction and an adjustment amplitude in the posture adjustment direction;

[0146] Performs a scaling operation on the image resource according to the scaling parameters.

[0147] In an optional implementation, the processing module 702 is specifically configured to:

[0148] If the scaling parameter exceeds a preset scaling threshold, a scaling operation is performed on the image resource according to the preset scaling threshold;

[0149] If the scaling parameter does not exceed the preset scaling threshold, a scaling operation is performed on the image resource according to the scaling parameter.

[0150] In an optional implementation, the processing module 702 is further configured to:

[0151] If the scaling parameter exceeds the preset scaling threshold, a scaling prompt is pushed to indicate that the image resource has been scaled to the preset scaling threshold.

[0152] In an optional implementation, the processing module 702 is specifically configured to:

[0153] In response to the display area adjustment operation for the image resource, the display area of ​​the image resource is adjusted;

[0154] A zoom operation is performed on the adjusted image resource according to the first posture change information, so that the target object in the image resource is displayed in a display area of ​​the adjusted image resource.

[0155] In an optional implementation, the acquisition module 701 is specifically configured to:

[0156] In response to a second posture adjustment operation on the mobile terminal device, obtaining second posture change information of the mobile terminal device;

[0157] A processing module 702 is used to determine whether the second posture change information satisfies a preset zoom trigger event according to the second posture change information;

[0158] The processing module 702 is further configured to control the image resource to maintain a current zoom state if the second posture change information does not satisfy a preset zoom trigger event.

[0159] In an optional implementation, the processing module 702 is specifically configured to:

[0160] In response to a trigger operation input to a graphical user interface, an operation state of adjusting the zoom of an image resource by a posture of a mobile terminal device is entered, and reference posture information is collected by a posture sensor;

[0161] The acquisition module 701 is specifically used for:

[0162] In response to the first posture adjustment operation, current posture information is collected through the posture sensor.

[0163] In an optional implementation, the triggering operation of the graphical user interface input includes: an opening operation for a switch control in the graphical user interface.

[0164] In an optional implementation, the processing module 702 is further configured to:

[0165] In response to a closing operation on the switch control, an operation state of adjusting the zoom of the image resource by the gesture of the mobile terminal device is exited.

[0166] In this embodiment, the acquisition module is used to respond to the first posture adjustment operation on the mobile terminal device, obtain the first posture change information of the mobile terminal device, and determine whether the first posture change information satisfies the preset zoom trigger event. The processing module is used to perform a zoom operation on the image resource according to the first posture change information if the first posture change information satisfies the preset zoom trigger event. In this way, the image resource can be zoomed in and out based on the posture change of the mobile terminal device, so that the purpose of zooming in and out of the image resource can be achieved with one hand, which improves the user operation experience.

[0167] Fig.12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device may be the above-mentioned mobile terminal device. Fig.12 As shown, the device may include: a processor 801, a memory 802 and a bus 803, the memory 802 stores machine-readable instructions executable by the processor 801, when the mobile terminal device is running, the processor 801 communicates with the memory 802 through the bus 803, and the processor 801 executes the machine-readable instructions to perform the following steps:

[0168] In response to a first posture adjustment operation on the mobile terminal device, first posture change information of the mobile terminal device is obtained, and whether the first posture change information satisfies a preset zoom trigger event;

[0169] If the first posture change information satisfies a preset zoom trigger event, a zoom operation is performed on the image resource according to the first posture change information.

[0170] In an optional implementation, in response to a first posture adjustment operation on a mobile terminal device, obtaining first posture change information of the mobile terminal device includes:

[0171] In response to the first posture adjustment operation, obtaining current posture information of the mobile terminal device;

[0172] First posture change information is acquired according to the current posture information and the reference posture information of the mobile terminal device.

[0173] In an optional implementation, the first posture change information includes: a posture adjustment direction and an adjustment amplitude in the posture adjustment direction, and the preset zoom trigger event includes: a preset zoom-in trigger event and a preset zoom-out trigger event;

[0174] If the posture adjustment direction is the first direction, and the adjustment amplitude is greater than the preset magnification adjustment threshold, determining that the first posture change information satisfies the preset magnification trigger event;

[0175] If the posture adjustment direction is the second direction, and the adjustment amplitude is greater than the preset reduction adjustment threshold, it is determined that the first posture change information satisfies the preset reduction trigger event.

[0176] In an optional implementation, the first direction is a direction in which the upper end of the mobile terminal device is away from the screen, and the second direction is a direction in which the upper end of the mobile terminal device is toward the screen; or,

[0177] The first direction is a direction in which the upper end of the mobile terminal device faces the screen, and the second direction is a direction in which the upper end of the mobile terminal device faces away from the screen.

[0178] In an optional implementation, performing a scaling operation on the image resource according to the first posture change information includes:

[0179] Obtaining a scaling parameter according to a posture adjustment direction and an adjustment amplitude in the posture adjustment direction;

[0180] Performs a scaling operation on the image resource according to the scaling parameters.

[0181] In an optional implementation, performing a scaling operation on the image resource according to the scaling parameter includes:

[0182] If the scaling parameter exceeds a preset scaling threshold, a scaling operation is performed on the image resource according to the preset scaling threshold;

[0183] If the scaling parameter does not exceed the preset scaling threshold, a scaling operation is performed on the image resource according to the scaling parameter.

[0184] In an optional embodiment, the method further comprises:

[0185] If the scaling parameter exceeds the preset scaling threshold, a scaling prompt is pushed to indicate that the image resource has been scaled to the preset scaling threshold.

[0186] In an optional implementation, performing a scaling operation on the image resource according to the first posture change information includes:

[0187] In response to the display area adjustment operation for the image resource, the display area of ​​the image resource is adjusted;

[0188] A zoom operation is performed on the adjusted image resource according to the first posture change information, so that the target object in the image resource is displayed in a display area of ​​the adjusted image resource.

[0189] In an optional implementation, after performing a scaling operation on the image resource according to the first posture change information, the method further includes:

[0190] In response to a second posture adjustment operation on the mobile terminal device, obtaining second posture change information of the mobile terminal device;

[0191] Determining, according to the second posture change information, whether the second posture change information satisfies a preset zoom trigger event;

[0192] If the second posture change information does not satisfy the preset zoom trigger event, the image resource is controlled to maintain the current zoom state.

[0193] In an optional implementation, before acquiring the first posture change information according to the current posture information and the reference posture information of the mobile terminal device, the method further includes:

[0194] In response to a trigger operation input to a graphical user interface, an operation state of adjusting the zoom of an image resource by a posture of a mobile terminal device is entered, and reference posture information is collected by a posture sensor;

[0195] In response to the first posture adjustment operation, obtaining current posture information of the mobile terminal device includes:

[0196] In response to the first posture adjustment operation, current posture information is collected through the posture sensor.

[0197] In an optional implementation, the triggering operation of the graphical user interface input includes: an opening operation for a switch control in the graphical user interface.

[0198] In an optional embodiment, the method further comprises:

[0199] In response to a closing operation on the switch control, an operation state of adjusting the zoom of the image resource by the gesture of the mobile terminal device is exited.

[0200] In this embodiment, the processor executes machine-readable instructions to execute a response to a first posture adjustment operation on the mobile terminal device, obtain first posture change information of the mobile terminal device, determine whether the first posture change information satisfies a preset zoom trigger event, and if the first posture change information satisfies the preset zoom trigger event, perform a zoom operation on the image resource according to the first posture change information. Thus, the image resource can be zoomed in and out based on the posture change of the mobile terminal device, so that the purpose of zooming in and out of the image resource can be achieved with one hand, thereby improving the user operation experience.

[0201] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the following steps:

[0202] In response to a first posture adjustment operation on the mobile terminal device, first posture change information of the mobile terminal device is obtained, and whether the first posture change information satisfies a preset zoom trigger event;

[0203] If the first posture change information satisfies a preset zoom trigger event, a zoom operation is performed on the image resource according to the first posture change information.

[0204] In an optional implementation, in response to a first posture adjustment operation on a mobile terminal device, obtaining first posture change information of the mobile terminal device includes:

[0205] In response to the first posture adjustment operation, obtaining current posture information of the mobile terminal device;

[0206] First posture change information is acquired according to the current posture information and the reference posture information of the mobile terminal device.

[0207] In an optional implementation, the first posture change information includes: a posture adjustment direction and an adjustment amplitude in the posture adjustment direction, and the preset zoom trigger event includes: a preset zoom-in trigger event and a preset zoom-out trigger event;

[0208] If the posture adjustment direction is the first direction, and the adjustment amplitude is greater than the preset magnification adjustment threshold, determining that the first posture change information satisfies the preset magnification trigger event;

[0209] If the posture adjustment direction is the second direction, and the adjustment amplitude is greater than the preset reduction adjustment threshold, it is determined that the first posture change information satisfies the preset reduction trigger event.

[0210] In an optional implementation, the first direction is a direction in which the upper end of the mobile terminal device is away from the screen, and the second direction is a direction in which the upper end of the mobile terminal device is toward the screen; or,

[0211] The first direction is a direction in which the upper end of the mobile terminal device faces the screen, and the second direction is a direction in which the upper end of the mobile terminal device faces away from the screen.

[0212] In an optional implementation, performing a scaling operation on the image resource according to the first posture change information includes:

[0213] Obtaining a scaling parameter according to a posture adjustment direction and an adjustment amplitude in the posture adjustment direction;

[0214] Performs a scaling operation on the image resource according to the scaling parameters.

[0215] In an optional implementation, performing a scaling operation on the image resource according to the scaling parameter includes:

[0216] If the scaling parameter exceeds a preset scaling threshold, a scaling operation is performed on the image resource according to the preset scaling threshold;

[0217] If the scaling parameter does not exceed the preset scaling threshold, a scaling operation is performed on the image resource according to the scaling parameter.

[0218] In an optional embodiment, the method further comprises:

[0219] If the scaling parameter exceeds the preset scaling threshold, a scaling prompt is pushed to indicate that the image resource has been scaled to the preset scaling threshold.

[0220] In an optional implementation, performing a scaling operation on the image resource according to the first posture change information includes:

[0221] In response to the display area adjustment operation for the image resource, the display area of ​​the image resource is adjusted;

[0222] A zoom operation is performed on the adjusted image resource according to the first posture change information, so that the target object in the image resource is displayed in a display area of ​​the adjusted image resource.

[0223] In an optional implementation, after performing a scaling operation on the image resource according to the first posture change information, the method further includes:

[0224] In response to a second posture adjustment operation on the mobile terminal device, obtaining second posture change information of the mobile terminal device;

[0225] Determining, according to the second posture change information, whether the second posture change information satisfies a preset zoom trigger event;

[0226] If the second posture change information does not satisfy the preset zoom trigger event, the image resource is controlled to maintain the current zoom state.

[0227] In an optional implementation, before acquiring the first posture change information according to the current posture information and the reference posture information of the mobile terminal device, the method further includes:

[0228] In response to a trigger operation input to a graphical user interface, an operation state of adjusting the zoom of an image resource by a posture of a mobile terminal device is entered, and reference posture information is collected by a posture sensor;

[0229] In response to the first posture adjustment operation, obtaining current posture information of the mobile terminal device includes:

[0230] In response to the first posture adjustment operation, current posture information is collected through the posture sensor.

[0231] In an optional implementation, the triggering operation of the graphical user interface input includes: an opening operation for a switch control in the graphical user interface.

[0232] In an optional embodiment, the method further comprises:

[0233] In response to a closing operation on the switch control, an operation state of adjusting the zoom of the image resource by the gesture of the mobile terminal device is exited.

[0234] In this embodiment, when the computer program is executed by the processor, it responds to the first posture adjustment operation on the mobile terminal device, obtains the first posture change information of the mobile terminal device, determines whether the first posture change information satisfies the preset zoom trigger event, and if the first posture change information satisfies the preset zoom trigger event, performs a zoom operation on the image resource according to the first posture change information. Thus, the image resource can be zoomed in and out based on the posture change of the mobile terminal device, so that the purpose of zooming in and out of the image resource can be achieved with one hand, which improves the user operation experience.

[0235] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiment. For the specific execution method steps and principles, please refer to the description of the embodiment, which will not be repeated here.

[0236] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only 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 communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0237] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0238] In addition, each functional unit in the embodiments provided in the present application 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.

[0239] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several 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 methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0240] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0241] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. An information processing method, characterized in that: A graphical user interface is provided by a mobile terminal device, wherein the graphical user interface includes image resources, and the method comprises: In response to a first posture adjustment operation on the mobile terminal device, obtaining first posture change information of the mobile terminal device, and determining whether the first posture change information satisfies a preset zoom trigger event; If the first posture change information satisfies the preset zoom trigger event, a zoom operation is performed on the image resource according to the first posture change information.

2. The method according to claim 1, characterized in that The step of acquiring first posture change information of the mobile terminal device in response to a first posture adjustment operation of the mobile terminal device includes: In response to the first posture adjustment operation, obtaining current posture information of the mobile terminal device; The first posture change information is acquired according to the current posture information and the reference posture information of the mobile terminal device.

3. The method according to claim 1, characterized in that The first posture change information includes: a posture adjustment direction and an adjustment amplitude in the posture adjustment direction, and the preset zoom trigger event includes: a preset zoom-in trigger event and a preset zoom-out trigger event; If the posture adjustment direction is the first direction, and the adjustment amplitude is greater than a preset magnification adjustment threshold, determining that the first posture change information satisfies the preset magnification trigger event; If the posture adjustment direction is the second direction, and the adjustment amplitude is greater than a preset reduction adjustment threshold, it is determined that the first posture change information satisfies the preset reduction trigger event.

4. The method according to claim 3, characterized in that: The first direction is the direction in which the upper end of the mobile terminal device is away from the screen, and the second direction is the direction in which the upper end of the mobile terminal device is toward the screen; or The first direction is a direction in which the upper end of the mobile terminal device faces the screen, and the second direction is a direction in which the upper end of the mobile terminal device faces away from the screen.

5. The method according to claim 3, characterized in that: The performing a scaling operation on the image resource according to the first posture change information includes: Acquire a scaling parameter according to the posture adjustment direction and the adjustment amplitude in the posture adjustment direction; The scaling operation is performed on the image resource according to the scaling parameter.

6. The method according to claim 5, characterized in that The performing the scaling operation on the image resource according to the scaling parameter includes: If the scaling parameter exceeds a preset scaling threshold, performing the scaling operation on the image resource according to the preset scaling threshold; If the scaling parameter does not exceed the preset scaling threshold, the scaling operation is performed on the image resource according to the scaling parameter.

7. The method according to claim 6, characterized in that The method further comprises: If the scaling parameter exceeds a preset scaling threshold, a scaling prompt is pushed to indicate that the image resource has been scaled to the preset scaling threshold.

8. The method according to claim 1, characterized in that The performing a scaling operation on the image resource according to the first posture change information includes: In response to a display area adjustment operation for the image resource, adjusting the display area of ​​the image resource; The scaling operation is performed on the adjusted image resource according to the first posture change information, so that the target object in the image resource is displayed in the display area of ​​the adjusted image resource.

9. The method according to claim 1, characterized in that: After performing a scaling operation on the image resource according to the first posture change information, the method further includes: In response to a second posture adjustment operation on the mobile terminal device, acquiring second posture change information of the mobile terminal device; Determining, according to the second posture change information, whether the second posture change information satisfies the preset zoom trigger event; If the second posture change information does not satisfy the preset zoom trigger event, the image resource is controlled to maintain a current zoom state.

10. The method according to claim 2, characterized in that Before acquiring the first posture change information according to the current posture information and the reference posture information of the mobile terminal device, the method further includes: In response to a trigger operation input to the graphical user interface, entering an operation state of adjusting the zoom of the image resource by the posture of the mobile terminal device, and collecting the reference posture information by a posture sensor; The step of obtaining the current posture information of the mobile terminal device in response to the first posture adjustment operation includes: In response to the first posture adjustment operation, the current posture information is collected through the posture sensor.

11. The method according to claim 10, characterized in that The triggering operation for the graphical user interface input includes: an opening operation for a switch control in the graphical user interface.

12. The method according to claim 11, characterized in that The method further comprises: In response to a closing operation on the switch control, an operation state of adjusting the zoom of the image resource through the gesture of the mobile terminal device is exited.

13. An information processing device, characterized in that: A graphical user interface is provided through a mobile terminal device, wherein the graphical user interface includes image resources, and the apparatus comprises: an acquisition module, configured to respond to a first posture adjustment operation on the mobile terminal device, acquire first posture change information of the mobile terminal device, and determine whether the first posture change information satisfies a preset zoom trigger event; A processing module is configured to perform a zoom operation on the image resource according to the first posture change information if the first posture change information satisfies the preset zoom trigger event.

14. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the method described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 12 is executed.