CN111870946B - Information processing method, apparatus, device and computer readable storage medium - Google Patents

Information processing method, apparatus, device and computer readable storage medium Download PDF

Info

Publication number
CN111870946B
CN111870946B CN202010787022.2A CN202010787022A CN111870946B CN 111870946 B CN111870946 B CN 111870946B CN 202010787022 A CN202010787022 A CN 202010787022A CN 111870946 B CN111870946 B CN 111870946B
Authority
CN
China
Prior art keywords
sliding operation
alternative
candidate object
target candidate
tire
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010787022.2A
Other languages
Chinese (zh)
Other versions
CN111870946A (en
Inventor
李家丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010787022.2A priority Critical patent/CN111870946B/en
Publication of CN111870946A publication Critical patent/CN111870946A/en
Application granted granted Critical
Publication of CN111870946B publication Critical patent/CN111870946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/422Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle automatically for the purpose of assisting the player, e.g. automatic braking in a driving game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks

Abstract

The invention provides an information processing method, an information processing device, information processing equipment and a computer readable storage medium, wherein the method comprises the following steps: in response to a first sliding operation of a wheel region of a vehicle in a first direction acting on a graphical user interface, determining an operation object according to the number of initial contacts of the first sliding operation, the operation object being a tire or a hub; determining a target candidate object from at least one candidate object corresponding to the operation object, and displaying the target candidate object on a graphical user interface; in response to a second sliding operation of the target candidate object in a second direction different from the first direction, the target candidate object is installed in the wheel area, and the candidate object of the corresponding type can be called out only by one sliding operation, so that the operation steps are simplified, the operation object of the first sliding operation is determined according to the number of initial contacts, misoperation is avoided, the transformation efficiency is improved, the man-machine interaction mode is enriched, and the substitution feeling of a user is stronger.

Description

Information processing method, apparatus, device and computer readable storage medium
Technical Field
The present invention relates to the field of man-machine interaction technologies, and in particular, to an information processing method, apparatus, device, and computer readable storage medium.
Background
In mobile-end racing games, vehicle rebuilding is the most common play, with tires and hubs being the most common rebuild sites in vehicle rebuilding.
Currently, replacement of a tire (or hub) first requires a player to call up an alternative replacement object by: the player needs to enter the vehicle modification site list through a click site selection entry link, for example, the vehicle modification site may be listed in the tab field, then click on the tire (or hub) item in the tab field to confirm that the replacement object is the tire (or hub) item, and the terminal device displays the replaceable tire (or hub) data list. The original tire or hub can be removed by sliding the tire or hub of the vehicle, and then the removed tire or hub can be replaced with the tire or hub selected by the player to complete the installation of the new tire or hub.
However, in the vehicle transformation mode, the player needs to click for multiple times to call out the replaceable data of the replacement object, the replacement transformation of the tire or the hub is completed, the operation is complex, the efficiency is low, the interaction mode is single, the substitution sense is lacked, and the user experience is poor. Further, since the tire and the hub are adjacent to each other, erroneous operation is easily caused during the process of disassembling the above-described sliding tire or hub, and usability is poor.
Disclosure of Invention
The invention provides an information processing method, an information processing device, information processing equipment and a computer readable storage medium, which are used for solving the problems that in the prior art, replaceable data of a replacement object can be called out only by multi-time clicking operation, replacement and transformation of a tire or a wheel hub are completed, the operation is complex, the efficiency is low, the interaction mode is single, substitution sense is lacked, and the tire or the wheel hub is easy to disassemble and misoperation when being slid.
An aspect of the present invention provides an information processing method including:
in response to a first sliding operation on a wheel area of a vehicle in a first direction, which is acted on the graphical user interface, determining an operation object of the first sliding operation according to the number of initial contacts of the first sliding operation, wherein the operation object is a tire or a wheel hub, and the tire or the wheel hub is positioned in the wheel area;
determining a target candidate object from at least one candidate object corresponding to the operation object, wherein the at least one candidate object comprises a candidate tire or a candidate hub;
displaying the target candidate object on the graphical user interface;
the target candidate object is mounted into the wheel region in response to a second sliding operation of the target candidate object in a second direction, the second direction being different from the first direction.
Another aspect of the present invention provides an information processing apparatus including:
an operation object determining module, configured to determine an operation object of a first sliding operation according to a number of initial contacts of the first sliding operation in response to a first sliding operation acting on a wheel region of a vehicle in the graphical user interface in a first direction, where the operation object is a tire or a wheel hub, and the tire or the wheel hub is located in the wheel region;
an information processing module for determining a target candidate object from at least one candidate object corresponding to the operation object, wherein the at least one candidate object comprises a candidate tire or a candidate hub;
the display module is used for displaying the target candidate object on the graphical user interface;
and a replacement mounting module configured to mount the target candidate object into the wheel region in response to a second sliding operation of the target candidate object in a second direction, the second direction being different from the first direction. Operation object determination module another aspect of the present invention is to provide a terminal device including:
a processor, a memory, and a computer program stored on the memory and executable on the processor;
Wherein the processor implements the information processing method described above when running the computer program.
Another aspect of the present invention is to provide a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the above-described information processing method.
The invention provides an information processing method, an information processing device, information processing equipment and a computer readable storage medium, wherein an operation object of a first sliding operation is determined according to the number of initial contacts of the first sliding operation by responding to the first sliding operation acting on a wheel area of a vehicle in a graphical user interface, wherein the operation object is a tire or a wheel hub, and the tire or the wheel hub is positioned in the wheel area; determining a target candidate object from at least one candidate object corresponding to the operation object, wherein the at least one candidate object comprises a candidate tire or a candidate hub; displaying the target candidate object on the graphical user interface; in response to the second sliding operation of the target candidate object in the second direction, the target candidate object is installed in the wheel area, the second direction is different from the first direction, the candidate object of the part to be replaced can be called out only by one sliding operation, the operation steps are simplified, the operation object is determined according to the number of initial contacts of the first sliding operation, the possibility of misoperation is reduced, the transformation efficiency is improved, the tire or hub replacement operation is carried out through the sliding operation, the man-machine interaction mode is enriched, the user substitution feeling is stronger, and the user experience is improved.
Drawings
FIG. 1 is a flowchart of an information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a sliding operation according to an embodiment of the present invention;
FIG. 3 is a flowchart of an information processing method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a sliding operation according to an embodiment of the present invention;
FIG. 5 is a schematic view of an offset angle according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Specific embodiments of the present invention have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The terms "first," "second," and the like, herein referred to, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the following description of the embodiments, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The invention has particular application in racing games operable on mobile terminals for performing retrofit replacement of tires and hubs in vehicles.
The following describes the technical scheme of the present invention and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
FIG. 1 is a flowchart of an information processing method according to an embodiment of the present invention; fig. 2 is a schematic diagram of a sliding operation according to an embodiment of the present invention. Aiming at the problem that in the prior art, the replaceable data of a replacement object can be called through repeated clicking operation, the replacement and transformation of a tire or a wheel hub are completed, the operation is complex, the efficiency is low, the interaction mode is single, and the substitution sense is lacked; and the problem that the operation mode for disassembling the tire or the hub is easy to operate by mistake and has poor usability, and an information processing method is provided.
The method in this embodiment is applied to a terminal, which may be a mobile terminal such as a smart phone, a tablet, an AR device, etc., and in other embodiments, the method may also be applied to other devices, where the terminal is schematically illustrated in this embodiment.
As shown in fig. 1, the method specifically comprises the following steps:
in step S101, in response to a first sliding operation on a wheel area of a vehicle in a first direction, which is performed on a graphical user interface, an operation object of the first sliding operation is determined according to the number of initial contacts of the first sliding operation, where the operation object is a tire or a wheel hub, and the tire or the wheel hub is located in the wheel area.
In this embodiment, a graphical user interface is provided through the display component of the terminal, and the user may trigger the replacement operation of the tire or the hub of the vehicle by performing a first sliding operation on the vehicle region of the vehicle in the first direction in the graphical user interface.
Specifically, whether the operation object of the first sliding operation is a tire or a hub can be determined by the number of initial contacts of the first sliding operation.
For example, the operation object of the first sliding operation with the number of initial contacts of 2 may be set to be a tire, and the operation object of the first sliding operation with the number of initial contacts of 1 may be set to be a hub. As shown in fig. 2, the replacement of the tire can be triggered by a sliding operation of two fingers (double contacts) in the counterclockwise direction, which corresponds to triggering the detachment of the original tire. After selecting one of the alternative tires, the user may also determine to change to the currently selected alternative tire by a sliding operation of two fingers (double contacts) in the clockwise direction, which corresponds to triggering the installation of the selected alternative tire. The replacement of the hub is triggered by the sliding operation of a single finger (single contact) in the anticlockwise direction, which is equivalent to the triggering of the disassembly of the original hub. After selecting one of the alternative hubs, the user may also determine to change to the currently selected alternative hub by a single finger (single contact) sliding operation in a clockwise direction, which is equivalent to triggering the installation of the selected alternative hub.
As an example, it is also possible to set the operation object of the first sliding operation of the number of initial contacts 1 as a tire and the operation object of the first sliding operation of the number of initial contacts 2 as a hub.
In this embodiment, the number of initial contacts of the first sliding operation corresponding to different operation objects may be different, and the specific number of initial contacts of the first sliding operation corresponding to each operation object is not specifically limited.
In addition, the first direction may be a clockwise direction or a counterclockwise direction, or may be any of a left direction, a right direction, an upward direction, a downward direction, and the like, and the embodiment is not particularly limited herein.
In addition, the gesture shown in fig. 2 is only for schematically explaining the number and the general direction of the initial contacts of the first sliding operation, and does not limit the position of the first sliding operation.
In this embodiment, the wheel area may be an area covered by the wheels of the vehicle model in the gui, or may also be a setting area including the wheels in the vehicle model in the gui, which may be set and changed by a technician according to an actual application scenario, which is not specifically limited herein.
Step S102, determining a target candidate object from at least one candidate object corresponding to the operation object, wherein the at least one candidate object comprises a candidate tire or a candidate hub.
In this embodiment, one or more alternative objects are associated regardless of whether the object is a tire or a hub. After determining the operation object of the current first sliding operation, the mobile terminal may determine one candidate object from at least one candidate object corresponding to the selected current operation object as a target candidate object.
Optionally, the mobile terminal may display all the candidate objects corresponding to the operation object on the graphical user interface, and determine the target candidate object selected by the user according to the user selection operation; or, the mobile terminal can display the candidate objects corresponding to the current operation object on the graphical user interface one by one according to the operation of the user, and select the target candidate object according to the selection operation of the user; or, the mobile terminal may display the candidate object corresponding to the current operation object in other manners, so that the user may select and determine one of the candidate objects as the target candidate object, which is not specifically limited herein.
Step S103, displaying the target candidate object on the graphical user interface.
After determining the target candidate object, the target candidate object may be displayed on the graphical user interface, so that the user performs an installation operation of the target candidate object on the graphical user interface.
Step S104 of installing the target candidate object into the wheel region in response to a second sliding operation of the target candidate object in a second direction, the second direction being different from the first direction.
In this embodiment, the user may perform a second sliding operation in the second direction on the target candidate object displayed on the graphical user interface, and install the target candidate object into the wheel area, thereby completing the installation of the target candidate object.
Wherein the second direction is different from the first direction.
Illustratively, if the first direction is a clockwise direction, the second direction is a counterclockwise direction; if the first direction is counter-clockwise, the second direction is clockwise.
According to the embodiment of the invention, the operation object of the first sliding operation is determined according to the number of the initial contacts of the first sliding operation in response to the first sliding operation on the wheel area of the vehicle in the first direction in the graphical user interface, the operation object is the tire or the wheel hub, the target alternative object is determined from at least one alternative object corresponding to the operation object, the target alternative object is displayed in the graphical user interface, the target alternative object is installed in the wheel area in response to the second sliding operation on the target alternative object in the second direction different from the first direction, the alternative object of the part to be replaced can be called out only by one sliding operation, the operation steps are simplified, the possibility of misoperation is reduced, the transformation efficiency is improved, the replacement operation of the tire or the wheel hub is enriched through the sliding operation, the human-computer interaction mode is enriched, and the user experience is improved.
FIG. 3 is a flowchart of an information processing method according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a sliding operation according to an embodiment of the present invention; fig. 5 is a schematic diagram of an offset angle according to an embodiment of the present invention. In this embodiment, the target candidate object is installed in the wheel region, including: the operation object in the wheel region is replaced with the target candidate object. As shown in fig. 3, the method specifically comprises the following steps:
in step S201, in response to a first sliding operation on a wheel area of a vehicle in a first direction in a graphical user interface, an operation object of the first sliding operation is determined according to the number of initial contacts of the first sliding operation, where the operation object is a tire or a wheel hub, and the tire or the wheel hub is located in the wheel area.
In this embodiment, the user may trigger the replacement operation of the tire or the hub by performing a first sliding operation in the first direction on the wheel area of the vehicle in the graphical user interface.
Specifically, the determination of the operation object of the first sliding operation according to the number of the initial contacts of the first sliding operation may be specifically implemented as follows:
determining a target wheel area according to the position of the initial contact point of the first sliding operation; and determining an operation object of the first sliding operation according to the number of initial contacts of the first sliding operation, wherein the operation object is positioned in the target wheel area.
The target wheel area may be an area of the graphical user interface where any one of the wheels of the vehicle is located.
In this embodiment, the wheel area corresponding to a certain wheel of the vehicle may be an area covered by the wheel in the gui, or may also be a set area including the wheel in the gui, or may also be a set area near the wheel in the gui, where the size and position of the wheel area may be configured and adjusted by a technician according to an actual application scenario, and this embodiment is not specifically limited herein.
Further, determining the operation object of the first sliding operation according to the number of initial contacts of the first sliding operation may be implemented as follows:
if the number of the initial contacts of the first sliding operation is a first preset value, determining that an operation object of the first sliding operation is a tire; and if the number of the initial contacts of the first sliding operation is a second preset value, determining that the operation object of the first sliding operation is a hub.
Illustratively, the first preset value is 2 and the second preset value is 1; that is, the operation object of the first sliding operation in which the number of initial contacts is 2 may be set to be a tire, and the operation object of the first sliding operation in which the number of initial contacts is 1 may be set to be a hub. As shown in fig. 2, the replacement of the tire can be triggered by a sliding operation of two fingers (double contacts) in the counterclockwise direction, which corresponds to triggering the detachment of the original tire. After selecting one of the alternative tires, the user may also determine to change to the currently selected alternative tire by a sliding operation of two fingers (double contacts) in the clockwise direction, which corresponds to triggering the installation of the selected alternative tire. The replacement of the hub is triggered by the sliding operation of a single finger (single contact) in the anticlockwise direction, which is equivalent to the triggering of the disassembly of the original hub. After selecting one of the alternative hubs, the user may also determine to change to the currently selected alternative hub by a single finger (single contact) sliding operation in a clockwise direction, which is equivalent to triggering the installation of the selected alternative hub.
Illustratively, the sliding operation with the number of contacts of 2 may be a one-finger two-finger sliding operation as shown in the left side of fig. 2, or a two-finger one-finger sliding operation as shown in fig. 4; the object such as a stylus may be used to perform the corresponding operation instead of a finger, and the embodiment is not specifically limited herein.
Illustratively, the first preset value is 1 and the second preset value is 2; that is, the operation object of the first sliding operation in which the number of initial contacts is 1 is set is the tire, and the operation object of the first sliding operation in which the number of initial contacts is 2 is the hub.
The number of initial contacts of the first sliding operation corresponding to different operation objects may be different, and the number of initial contacts of the first sliding operation corresponding to each operation object is not particularly limited.
In addition, the gestures shown in fig. 2 and 4 are only for schematically explaining the number and the general direction of the initial contacts of the first sliding operation, and do not limit the position of the first sliding operation.
As a preferred embodiment, the first direction is clockwise or counter-clockwise. That is, the operation of triggering the replacement of the tire or the hub is a sliding operation in the clockwise direction or the counterclockwise direction, which is more similar to the replacement of the tire or the hub in real life, and the sense of substitution by the user is stronger.
Specifically, for a sliding operation in a clockwise direction or a counterclockwise direction, the offset angle of the sliding operation is greater than a preset angle threshold.
Illustratively, the offset angle of the sliding operation may be determined by:
for a first sliding operation with two initial contacts, determining an offset angle of the first sliding operation according to the initial positions of the two initial contacts of the first sliding operation and the positions of corresponding operation end points of the initial contacts; calculating the initial position of the initial contact, the position of the operation end point and the distance between each sampling point and the center of the tire on the track of the sliding operation, and determining the offset distance of the current sliding operation relative to the center of the tire; if the offset angle is greater than the preset angle threshold and the offset distance is less than the preset distance threshold, it may be determined that the current sliding operation is a first sliding operation in a clockwise direction or a counterclockwise direction.
Wherein the offset distance of the sliding operation with respect to the center of the tire means: the maximum value of the offset distances of the sampling points on the track of the sliding operation means the difference between the distance from the sampling point to the center of the tire and the distance from the starting position of the corresponding initial contact point to the center of the tire.
Alternatively, the preset angle threshold and the preset distance threshold may be set and replaced according to an actual application scenario, which is not specifically limited herein. For example, the preset angle threshold may be 120 °, and the preset distance threshold may be 10 pixels.
For example, as shown in fig. 5, for the sliding operation of the two initial contacts in the clockwise direction, it is assumed that the initial positions of the two contacts are respectively located at a trigger start point a and a trigger start point B, the operation end point corresponding to the trigger start point a is A1, and the operation end point corresponding to the trigger start point B is B1; the offset angle a of the connecting line of the trigger starting point A and the tire center relative to the reference line in the clockwise direction, the offset angle A1 of the connecting line of the operation end point A1 and the tire center relative to the reference line in the clockwise direction, the offset angle B of the connecting line of the trigger starting point B and the tire center relative to the reference line in the clockwise direction, and the offset angle B1 of the connecting line of the operation end point B1 and the tire center relative to the reference line in the clockwise direction can be calculated according to the preset reference line; then, the current shift angle of the sliding operation may be: (a 1-a) + (b 1-b).
Alternatively, the preset reference line may be a ray in the negative axis direction of the Y axis in the coordinate system with the center of the tire as the origin. The coordinate system referred to in this embodiment may be (0, 0) at the point in the upper left corner of the display interface.
Alternatively, each sampling point on the track of the sliding operation may be obtained by sampling the contact position at intervals of a preset time during the sliding operation. The preset time interval may be set and replaced according to an actual application scenario, which is not specifically limited herein. For example, the preset time interval may be 33 milliseconds.
Step S202, determining a target candidate object from at least one candidate object corresponding to the operation object, where the at least one candidate object includes a candidate tire or a candidate hub.
In this embodiment, one or more alternative objects are associated regardless of whether the object is a tire or a hub. After determining the operation object of the current first sliding operation, the mobile terminal may determine one candidate object from at least one candidate object corresponding to the selected current operation object as a target candidate object.
In an alternative embodiment, the determination of the target candidate object from at least one candidate object corresponding to the operation object may be specifically implemented in the following manner:
responsive to the end of the first sliding operation, displaying object icons corresponding to at least one candidate object in a list form on the graphical user interface; in response to a selection operation of any object icon in the list, a candidate object corresponding to the selected object icon is determined as a target candidate object.
The selection operation of any object icon in the list may be a single click, a long press, a heavy press operation, or a sliding operation in a specified direction (such as upward) of any object icon, which is not specifically limited herein.
Specifically, after the operation object of the first sliding operation is determined, at least one candidate object corresponding to the current operation object may be obtained, and object icons corresponding to the candidate objects one by one are displayed in a list form in the graphical user interface so as to be convenient for the user to view and select.
In an alternative embodiment, the operation object is detached and hidden from the wheel area while the graphical user interface displays object icons of at least one alternative object one-to-one correspondence in a list. Such as: after the operation object is subjected to the clockwise or anticlockwise sliding operation, object icons corresponding to the candidate objects one by one can be displayed in a graphical user interface in a list form, and meanwhile, the operation object in the wheel area is disassembled and hidden to present a process of disassembling the tire or the hub, and the disassembly process can be demonstrated in an animation form.
For example, the user may select the candidate object corresponding to the object icon as the target candidate object by clicking on a certain object icon in the graphical user interface.
Further, in response to a selection operation of any object icon in the list, a candidate object corresponding to the selected object icon is determined as a target candidate object.
In another alternative embodiment, the determination of the target candidate object from at least one candidate object corresponding to the operation object may be specifically implemented in the following manner:
in response to the end of the first sliding operation, displaying a first alternative object within a preset range of the wheel region, wherein the first alternative object is any one of the at least one alternative object; switching the first alternative object into a second alternative object in response to a third sliding operation of the first alternative object in a third direction, wherein the second alternative object is any alternative object except the first alternative object in the at least one alternative object; and determining the second candidate object as a target candidate object in response to the end of the third sliding operation.
The predetermined range may be a range of a predetermined distance from an edge of the wheel region, and the range of the predetermined distance may be represented in any shape. The third direction may be an upward direction, a downward direction, a left direction, a right direction, or any other direction, and may be configured and adjusted according to the actual application scenario, which is not specifically limited herein.
Illustratively, the third direction is different from the first direction and the second direction.
Specifically, in response to the end of the first sliding operation, after determining the operation object of the first sliding operation, any one of at least one candidate object corresponding to the current operation object may be displayed as the first candidate object within a preset range of the wheel area in the graphical user interface; if the user wants to view other alternative objects, the displayed alternative objects can be switched through a third sliding operation of the first alternative object to a third direction; the first candidate object is switched to the second candidate object in response to a third sliding operation of the first candidate object in a third direction, and the second candidate object is determined to be the target candidate object in response to the end of the third sliding operation.
And if the user does not perform a third sliding operation on the first candidate object in a third direction, determining the currently displayed first candidate object as a target candidate object by default.
Step S203, displaying the target candidate object on the graphical user interface.
For example, the target candidate object may be displayed within a preset range of the wheel region.
In this embodiment, after the user selects one target candidate object, the mobile terminal does not directly replace the target candidate object in the vehicle, but displays the currently selected target candidate object in the surrounding area of the current operation object, so that the user can compare the effect of the currently selected target candidate object with the effect of the original operation object.
If the effect of the user on the currently selected target candidate object is unsatisfactory, the user can also continue to select another candidate object through the selection operation, the mobile terminal responds to the selection operation on the other candidate object, the target candidate object is updated, and the newly selected target candidate object data is displayed around the operation object until the user selects the favorite candidate object.
In an exemplary embodiment, the selected target candidate object may be displayed at a position offset from the center position of the current operation object by a fixed coordinate, and the operation object existing on the vehicle is not directly replaced, so that a user may conveniently compare and view the currently selected target candidate object with the object existing on the vehicle.
For example, the coordinates of the center point of the original operation object are (X1, Y1), and then the center point corresponding to the currently selected target candidate object may be at the position of (X1-80, y1+80).
Step S204, in response to a second sliding operation of the target candidate object in the second direction, the operation object in the wheel area is replaced with the target candidate object.
Wherein the second direction is different from the first direction. Illustratively, if the first direction is a clockwise direction, the second direction is a counterclockwise direction; if the first direction is counter-clockwise, the second direction is clockwise.
If the user is satisfied with the effect of the currently selected target candidate object, the user can determine to replace the operation object in the wheel area with the target candidate object through a second sliding operation of the target candidate object in the second direction, so that the currently selected target candidate object is installed in the corresponding wheel area, and the installation process can be demonstrated in an animation mode to more visually present the vehicle installation scene.
In this step, the second sliding operation of the target candidate object in the second direction is similar to the first sliding operation of the wheel area of the vehicle in the graphical user interface in the step S201 in the first direction, the directions are different, and the determination manners of the sliding operations are identical, which is not described herein.
For example, as shown in fig. 2 and 4, if the first sliding operation of the wheel area of the vehicle in the graphical user interface in the step S201 is a double-contact counterclockwise (or clockwise) sliding operation, the second sliding operation of the target candidate object in the graphical user interface in the step S may be a double-contact clockwise (or counterclockwise) sliding operation.
If the first sliding operation of the wheel area of the vehicle model in the graphical user interface in the step S201 is a single-contact counterclockwise (or clockwise) sliding operation, the second sliding operation of the target candidate object in the graphical user interface in the step S201 may be a single-contact clockwise (or counterclockwise) sliding operation.
In the step, the mobile terminal installs the currently selected target candidate object into the corresponding wheel area in response to a second sliding operation of the target candidate object in the graphical user interface in a second direction.
Optionally, in response to a second sliding operation of the target candidate object in the graphical user interface in the second direction, the mobile terminal may further install the currently selected target candidate object into each wheel area of the vehicle, and each wheel of the vehicle has been uniformly replaced.
Step S205, playing the installation animation.
The step is an optional step, and in response to a second sliding operation of the target candidate object in the graphical user interface in the second direction, the mobile terminal can also play an installation animation so as to display the replacement effect to the user.
In addition, in response to the second sliding operation of the target candidate object in the graphical user interface in the second direction, the playing of the installation animation and the replacement of the operation object in the wheel region with the target candidate object in step S204 may be performed in parallel, or the playing of the installation animation may be performed before the replacement of the operation object in the wheel region with the target candidate object in step S204, which is not particularly limited herein.
In the embodiment of the invention, at least one object icon corresponding to the candidate objects one by one is displayed in a list form on a graphical user interface by responding to the end of the first sliding operation; in response to a selection operation of any object icon in the list, determining an alternative object corresponding to the selected object icon as a target alternative object; or, displaying a first candidate object within a preset range of the wheel region by responding to the end of the first sliding operation, wherein the first candidate object is any one of the at least one candidate object; switching the first alternative object into a second alternative object in response to a third sliding operation of the first alternative object in a third direction, wherein the second alternative object is any alternative object except the first alternative object in the at least one alternative object; determining the second candidate object as a target candidate object in response to the end of the third sliding operation; the user can select favorite candidate objects by himself and display target candidate objects in the preset range of the wheel area, so that the user can compare the effect of the currently selected target candidate object with the effect of the original operation object, human-computer interaction modes are enriched, the substituting feeling of the user is stronger, and the user experience is improved.
Fig. 6 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present invention. The information processing apparatus provided by the embodiment of the invention can execute the processing flow provided by the embodiment of the information processing method. As shown in fig. 3, the information processing apparatus 30 includes: an operation object determination module 301, an information processing module 302, a display module 303, and a replacement installation module 304.
Specifically, the operation object determining module 301 is configured to determine, in response to a first sliding operation applied to a wheel region of a vehicle in a graphical user interface in a first direction, an operation object of the first sliding operation according to the number of initial contacts of the first sliding operation, the operation object being a tire or a wheel hub, the tire or the wheel hub being located in the wheel region.
The information processing module 302 is configured to determine a target candidate object from at least one candidate object corresponding to the operation object, where the at least one candidate object includes a candidate tire or a candidate hub.
The display module 303 is configured to display the target candidate object on the graphical user interface.
The replacement mounting module 304 is configured to mount the target candidate object into the wheel area in response to a second sliding operation of the target candidate object in a second direction, the second direction being different from the first direction.
The apparatus provided in the embodiment of the present invention may be specifically used to execute the method embodiment provided in the foregoing embodiment, and specific functions are not described herein.
According to the embodiment of the invention, the operation object of the first sliding operation is determined according to the number of the initial contacts of the first sliding operation in response to the first sliding operation on the wheel area of the vehicle in the first direction in the graphical user interface, the operation object is the tire or the wheel hub, the target alternative object is determined from at least one alternative object corresponding to the operation object, the target alternative object is displayed in the graphical user interface, the target alternative object is installed in the wheel area in response to the second sliding operation on the target alternative object in the second direction different from the first direction, the alternative object of the part to be replaced can be called out only by one sliding operation, the operation steps are simplified, the possibility of misoperation is reduced, the transformation efficiency is improved, the replacement operation of the tire or the wheel hub is enriched through the sliding operation, the human-computer interaction mode is enriched, and the user experience is improved.
In an alternative embodiment, the information processing module is further configured to:
responsive to the end of the first sliding operation, displaying object icons corresponding to at least one candidate object in a list form on the graphical user interface; in response to a selection operation of any object icon in the list, a candidate object corresponding to the selected object icon is determined as a target candidate object.
In an alternative embodiment, the information processing module is further configured to:
in response to the end of the first sliding operation, displaying a first alternative object within a preset range of the wheel region, wherein the first alternative object is any one of the at least one alternative object; switching the first alternative object into a second alternative object in response to a third sliding operation of the first alternative object in a third direction, wherein the second alternative object is any alternative object except the first alternative object in the at least one alternative object; and determining the second candidate object as a target candidate object in response to the end of the third sliding operation.
In an alternative embodiment, the display module is further configured to:
and displaying the target candidate object in the preset range of the wheel area.
In an alternative embodiment, the operation object determination module is further configured to:
Determining a target wheel area according to the position of the initial contact point of the first sliding operation; and determining an operation object of the sliding operation according to the number of initial contacts of the first sliding operation, wherein the operation object is positioned in the target wheel area.
In an alternative embodiment, the replacement mounting module is further configured to:
the operation object in the wheel region is replaced with the target candidate object.
In an alternative embodiment, the operation object determination module is further configured to:
if the initial contact number of the first sliding operation is a first preset value, determining that an operation object of the first sliding operation is a tire; and if the initial contact number of the first sliding operation is a second preset value, determining that the operation object of the first sliding operation is a hub.
In an alternative embodiment, the first direction is either clockwise or counter-clockwise.
In an alternative embodiment, the offset angle of the sliding operation is greater than a preset angle threshold.
The apparatus provided in the embodiment of the present invention may be specifically used to execute the method embodiment provided in the foregoing embodiment, and specific functions are not described herein.
In the embodiment of the invention, at least one object icon corresponding to the candidate objects one by one is displayed in a list form on a graphical user interface by responding to the end of the first sliding operation; in response to a selection operation of any object icon in the list, determining an alternative object corresponding to the selected object icon as a target alternative object; or, displaying a first candidate object within a preset range of the wheel region by responding to the end of the first sliding operation, wherein the first candidate object is any one of the at least one candidate object; switching the first alternative object into a second alternative object in response to a third sliding operation of the first alternative object in a third direction, wherein the second alternative object is any alternative object except the first alternative object in the at least one alternative object; determining the second candidate object as a target candidate object in response to the end of the third sliding operation; the user can select favorite candidate objects by himself and display target candidate objects in the preset range of the wheel area, so that the user can compare the effect of the currently selected target candidate object with the effect of the original operation object, human-computer interaction modes are enriched, the substituting feeling of the user is stronger, and the user experience is improved.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 7, the terminal device 100 includes: a processor 1001, a memory 1002, and a computer program stored on the memory 1002 and executable on the processor 1001.
The processor 1001 implements the information processing method provided in any of the method embodiments described above when running a computer program.
According to the embodiment of the invention, the operation object of the first sliding operation is determined according to the number of the initial contacts of the first sliding operation in response to the first sliding operation on the wheel area of the vehicle in the first direction in the graphical user interface, the operation object is the tire or the wheel hub, the target alternative object is determined from at least one alternative object corresponding to the operation object, the target alternative object is displayed in the graphical user interface, the target alternative object is installed in the wheel area in response to the second sliding operation on the target alternative object in the second direction different from the first direction, the alternative object of the part to be replaced can be called out only by one sliding operation, the operation steps are simplified, the possibility of misoperation is reduced, the transformation efficiency is improved, the replacement operation of the tire or the wheel hub is enriched through the sliding operation, the human-computer interaction mode is enriched, and the user experience is improved.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is executed by a processor to realize the information processing method provided by any one of the method embodiments.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of 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.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. An information processing method for providing a graphic user interface through a display assembly of a terminal, comprising:
in response to a first sliding operation on a wheel area of a vehicle in a first direction, which is acted on the graphical user interface, determining a target wheel area according to the position of an initial contact point of the first sliding operation, and determining an operation object of the first sliding operation according to the number of initial contact points of the first sliding operation, wherein the operation object is positioned in the target wheel area and is a tire or a wheel hub;
Displaying object icons corresponding to the at least one candidate object in a list form on the graphical user interface in response to the end of the first sliding operation;
in response to a selection operation of any one of the object icons in the list, determining an alternative object corresponding to the selected object icon as a target alternative object, the at least one alternative object including an alternative tire or an alternative hub;
displaying the target candidate object in a preset range of the wheel area;
the target candidate object is mounted into the wheel region in response to a second sliding operation of the target candidate object in a second direction, the second direction being different from the first direction, and the second sliding operation of the second direction being the same as the number of initial contacts of the first sliding operation of the first direction.
2. The method of claim 1, wherein the determining a target candidate object from at least one candidate object corresponding to the operation object comprises:
displaying a first alternative object within a preset range of the wheel area in response to the end of the first sliding operation, wherein the first alternative object is any one of the at least one alternative object; switching the first alternative object into a second alternative object in response to a third sliding operation of the first alternative object in a third direction, wherein the second alternative object is any alternative object except the first alternative object in the at least one alternative object;
And determining the second candidate object as a target candidate object in response to the end of the third sliding operation.
3. The method of claim 1, wherein the target candidate object is installed into the wheel region, comprising:
and replacing the operation object in the wheel area with the target candidate object.
4. The method according to claim 1, wherein the determining the operation object of the first sliding operation according to the number of initial contacts of the first sliding operation includes:
if the initial contact number of the first sliding operation is a first preset value, determining that an operation object of the first sliding operation is a tire;
and if the initial contact number of the first sliding operation is a second preset value, determining that the operation object of the first sliding operation is a hub.
5. The method of claim 1, wherein the first direction is a clockwise direction or a counter-clockwise direction.
6. The method of claim 5, wherein the sliding operation is offset by an angle greater than a preset angle threshold.
7. A terminal device, comprising:
A processor, a memory, and a computer program stored on the memory and executable on the processor;
wherein the processor, when running the computer program, implements the method according to any of claims 1 to 6.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method according to any of claims 1 to 6.
CN202010787022.2A 2020-08-07 2020-08-07 Information processing method, apparatus, device and computer readable storage medium Active CN111870946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010787022.2A CN111870946B (en) 2020-08-07 2020-08-07 Information processing method, apparatus, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010787022.2A CN111870946B (en) 2020-08-07 2020-08-07 Information processing method, apparatus, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111870946A CN111870946A (en) 2020-11-03
CN111870946B true CN111870946B (en) 2024-01-30

Family

ID=73211027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010787022.2A Active CN111870946B (en) 2020-08-07 2020-08-07 Information processing method, apparatus, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111870946B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101983094A (en) * 2008-04-04 2011-03-02 株式会社万代南梦宫游戏 Game machine, travel simulation method, program, and information storage medium
CN103631496A (en) * 2007-01-05 2014-03-12 苹果公司 Gestures for controlling, manipulating, and editing of media files using touch sensitive devices
CN110215687A (en) * 2019-07-04 2019-09-10 网易(杭州)网络有限公司 Game object selection method and device
CN111228790A (en) * 2020-01-21 2020-06-05 网易(杭州)网络有限公司 Game role display control method and device, electronic equipment and computer medium
CN111459394A (en) * 2020-03-13 2020-07-28 深圳传音控股股份有限公司 Interaction method, terminal and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9770663B2 (en) * 2014-03-24 2017-09-26 James Curtis Wilkins Computerized car racing game system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631496A (en) * 2007-01-05 2014-03-12 苹果公司 Gestures for controlling, manipulating, and editing of media files using touch sensitive devices
CN101983094A (en) * 2008-04-04 2011-03-02 株式会社万代南梦宫游戏 Game machine, travel simulation method, program, and information storage medium
CN110215687A (en) * 2019-07-04 2019-09-10 网易(杭州)网络有限公司 Game object selection method and device
CN111228790A (en) * 2020-01-21 2020-06-05 网易(杭州)网络有限公司 Game role display control method and device, electronic equipment and computer medium
CN111459394A (en) * 2020-03-13 2020-07-28 深圳传音控股股份有限公司 Interaction method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111870946A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN107551537B (en) Method and device for controlling virtual character in game, storage medium and electronic equipment
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
CN108205430B (en) Double-screen mobile terminal, corresponding control method and storage medium
CN108379839B (en) Control response method and device and terminal
US20220152476A1 (en) Method and device for processing information in game, storage medium and electronic device
EP2851765B1 (en) Method for reporting coordinate point of touch screen and mobile terminal
CN110302530B (en) Virtual unit control method, device, electronic equipment and storage medium
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
CN109547647B (en) Electrostatic interference control method and related product
CN110032296B (en) Method and device for determining virtual object in terminal, terminal and storage medium
CN104461631A (en) OTA (over-the-air) technology based system upgrading method and OTA technology based system upgrading device
CN104035702A (en) Method for preventing intelligent terminal operation error and intelligent terminal
CN104620199A (en) Input display control device, thin client system, input display control method, and recording medium
CN112218134A (en) Input method and related equipment
CN111708471A (en) Control processing method and related device
CN111870946B (en) Information processing method, apparatus, device and computer readable storage medium
CN102929506A (en) Method for quickly adding desktop elements to desktop
CN111459823A (en) Game software testing method and device, storage medium and processor
CN111045540A (en) Screen touch response method, device, equipment and computer readable medium
CN111966268B (en) Interface display method and device and electronic equipment
CN113407282A (en) Terminal desktop display method, electronic equipment and computer storage medium
CN114870393A (en) Skill release method and device, computer equipment and storage medium
CN113010078A (en) Touch method and device, storage medium and electronic equipment
CN111381755B (en) Interface content switching method and device and storage medium
CN114432697A (en) Card dispensing method, card dispensing device, card dispensing apparatus, card dispensing device, and storage medium

Legal Events

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