CN111870946A - Information processing method, device, equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN111870946A
CN111870946A CN202010787022.2A CN202010787022A CN111870946A CN 111870946 A CN111870946 A CN 111870946A CN 202010787022 A CN202010787022 A CN 202010787022A CN 111870946 A CN111870946 A CN 111870946A
Authority
CN
China
Prior art keywords
candidate
sliding operation
target
determining
wheel
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.)
Granted
Application number
CN202010787022.2A
Other languages
Chinese (zh)
Other versions
CN111870946B (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

Images

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 acting on a wheel area of a vehicle in a first direction in a graphical user interface, determining an operation object according to the number of initial contacts of the first sliding operation, wherein the operation object is a tire or a wheel hub; determining a target candidate object from at least one candidate object corresponding to the operation object, and displaying the target candidate object on the graphical user interface; the target candidate object is installed in the wheel area in response to the second sliding operation of the target candidate object in the second direction different from the first direction, the candidate object of the corresponding type can be called out only through one sliding operation, the operation steps are simplified, the operation object of the first sliding operation is determined according to the number of the initial contacts, misoperation is avoided, the transformation efficiency is improved, the man-machine interaction mode is enriched, and the user substitution feeling is stronger.

Description

Information processing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of human-computer interaction technologies, and in particular, to an information processing method, apparatus, device, and computer-readable storage medium.
Background
Vehicle modifications are the most common play in mobile end racing games, where tires and hubs are the most common modification sites in vehicle modifications.
Currently, the replacement of a tire (or a hub) first requires a player to call up an alternative replacement object by: the player needs to enter the vehicle modification site list by clicking on the site selection entry link, for example, the vehicle modification site may be listed in the tab column, then clicking on the tire (or hub) item in the tab column, confirming 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 replacing the removed tire or hub with the tire or hub selected by the player to complete the installation of a new tire or hub.
However, in the above-mentioned vehicle transformation mode, the player need click the operation many times and just can call out the removable data of changing the object, accomplishes the change transformation of tire or wheel hub, complex operation, and inefficiency, and the interactive mode is single, lacks the substitution and feels, and user experience is poor. Further, since the tire and the hub are adjacent to each other, an erroneous operation is easily caused and usability is poor in the process of detaching the sliding tire or the hub.
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 clicking operation for many times, replacement and transformation of a tire or a wheel hub are completed, the operation is complicated, the efficiency is low, the interaction mode is single, the substitution feeling is lacked, and the sliding of the tire or the wheel hub is easy to be mistakenly operated.
One aspect of the present invention provides an information processing method, including:
in response to a first sliding operation acting on a wheel area of a vehicle in a first direction in 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 hub, and the tire or the hub is located 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 wheel hub;
displaying the target candidate object on the graphical user interface;
in response to a second sliding operation of the target object candidate in a second direction, which is different from the first direction, the target object candidate is mounted into the wheel region.
Another aspect of the present invention provides an information processing apparatus comprising:
the operation object determination module is used for responding to a first sliding operation which acts on a wheel area of a vehicle in the graphical user interface and is towards a first direction, 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 a tire or a wheel hub, and the tire or the wheel hub is located in the wheel area;
the information processing module is used 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 the replacement installation module is used for installing the target candidate into the wheel area in response to a second sliding operation of the target candidate towards a second direction, wherein the second direction is different from the first direction. Another aspect of the present invention provides 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 when running the computer program.
Another aspect of the present invention is to provide a computer-readable storage medium in which a computer program is stored, the computer program implementing the information processing method described above when executed by a processor.
The invention provides an information processing method, an information processing device, an information processing apparatus and a computer readable storage medium, wherein in response to a first sliding operation acting 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, the operation object is a tire or a hub, and the tire or the hub is located 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 wheel hub; displaying the target candidate object on the graphical user interface; the target candidate is installed in the wheel area in response to a second sliding operation of the target candidate in a second direction, the second direction is different from the first direction, the candidate of the part to be replaced can be called out only through one sliding operation, 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, man-machine interaction modes are enriched, the user substitution feeling is stronger, and the user experience is improved.
Drawings
FIG. 1 is a flow chart 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 flow chart 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 provided by 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.
With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terms "first", "second", etc. referred to in the present invention 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 description of the following examples, "plurality" means two or more unless specifically limited otherwise.
The invention finds particular application in racing games operable on mobile terminals for performing retro-fitting replacements of tyres and hubs in vehicles.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
FIG. 1 is a flow chart 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 problems that in the prior art, multiple clicking operations are needed to call out replaceable data of a replacement object, 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 feeling is lacked; and the problem that the operation mode of disassembling the tire or the wheel hub is easy to operate by mistake and the usability is poor, and provides an information processing method.
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, and the like.
As shown in fig. 1, the method comprises the following specific steps:
step S101, responding to a first sliding operation which is acted on the wheel area of the vehicle in the graphical user interface and faces a first direction, 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 a tire or a hub, and the tire or the hub is located in the wheel area.
In this embodiment, a graphical user interface is provided through a display component of the terminal, and a user can trigger a replacement operation of a tire or a wheel hub of a vehicle through a first sliding operation of a vehicle region of the vehicle in a first direction in the graphical user interface.
Specifically, whether the operation object of the first sliding operation is the tire or the hub may be determined by the number of initial contact points of the first sliding operation.
For example, it may be set that the operation object of the first sliding operation with the number of initial contacts of 2 is a tire, and the operation object of the first sliding operation with the number of initial contacts of 1 is a wheel hub. As shown in fig. 2, the tire replacement can be triggered by the sliding operation of two fingers (double contacts) in the counterclockwise direction, which is equivalent to triggering the original tire removal. After selecting one of the candidate tires, the user may also determine to replace the currently selected candidate tire by a sliding operation of two fingers (double touch points) in a clockwise direction, which is equivalent to triggering the installation of the selected candidate tire. The replacement of the hub is triggered by the sliding operation of a single finger (single contact) along the counterclockwise direction, which is equivalent to the detachment 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 sliding operation of a single finger (single contact point) in a clockwise direction, which is equivalent to triggering the installation of the selected alternative hub.
For example, it may be set that the operation object of the first sliding operation with the number of initial contacts of 1 is a tire, and the operation object of the first sliding operation with the number of initial contacts of 2 is a wheel hub.
In this embodiment, the number of the initial contacts of the first sliding operation corresponding to different operation objects may be different, and the specific number of the 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 direction 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 merely for schematically illustrating the number and the general direction of the initial contact points of the first slide operation, and does not define the position of the first slide operation.
In this embodiment, the wheel area may be an area covered by a wheel of the vehicle model in the graphical user interface, or may also be a set area including the wheel in the vehicle model in the graphical user interface, and may be set and changed by a technician according to an actual application scenario, which is not specifically limited in this embodiment.
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 the present embodiment, one or more candidates correspond to the operation object, regardless of whether the operation 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 the 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 alternative 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 alternative object according to the selection operation of the user; or, the mobile terminal may display the candidate objects corresponding to the current operation object in other manners, so that the user selects and determines one of the candidate objects as the target candidate object, which is not specifically limited in this embodiment.
And step S103, displaying the target candidate object on a graphical user interface.
After the target candidate is determined, the target candidate may be displayed on the graphical user interface, so that the user performs an installation operation of the target candidate on the graphical user interface.
Step S104, in response to a second sliding operation of the target object candidate in a second direction, the second direction being different from the first direction, mounts the target object candidate into the wheel region.
In this embodiment, the user may perform a second sliding operation in a second direction on the target candidate displayed on the graphical user interface, and install the target candidate in the wheel region, thereby completing the installation of the target candidate.
Wherein the second direction is different from the first direction.
Illustratively, if the first direction is clockwise, the second direction is counterclockwise; if the first direction is counterclockwise, the second direction is clockwise.
The embodiment of the invention simplifies the operation steps by responding to a first sliding operation of a wheel area of a vehicle in a first direction in a 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, determining a target candidate object from at least one candidate object corresponding to the operation object, displaying the target candidate object on the graphical user interface, responding to a second sliding operation of the target candidate object in a second direction different from the first direction, installing the target candidate object into the wheel area, calling out the candidate object of a part to be replaced by only one sliding operation, determining the operation object according to the number of initial contacts of the first sliding operation, reducing the possibility of misoperation, improving the transformation efficiency, and performing the replacement operation of the tire or the wheel hub through the sliding operation, human-computer interaction modes are enriched, the user substitution sense is stronger, and the user experience is improved.
FIG. 3 is a flow chart 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 is mounted in the wheel region, and includes: the operation object in the wheel region is replaced with the target candidate. As shown in fig. 3, the method comprises the following specific steps:
step S201, responding to a first sliding operation which is acted on the wheel area of the vehicle in the graphical user interface and faces a first direction, 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 a tire or a hub, and the tire or the hub is located in the wheel area.
In this embodiment, the user may trigger the tire or hub replacement operation by performing the first sliding operation in the first direction on the wheel region of the vehicle in the gui.
Specifically, the operation object of the first sliding operation is determined according to the number of initial contacts of the first sliding operation, which may be specifically implemented as follows:
determining a target wheel region according to the position of the initial contact point of the first sliding operation; an operation object of the first sliding operation is determined according to the number of initial contact points of the first sliding operation, and the operation object is located in the target wheel area.
The target wheel area may be an area where any one wheel of the vehicle is located in the graphical user interface.
In this embodiment, a wheel area corresponding to a certain wheel of the vehicle may be an area covered by the wheel in the graphical user interface, or may also be a set area including the wheel in the graphical user interface, or may also be a set area near the wheel in the graphical user interface, and the size and the position of the wheel area may be configured and adjusted by a technician according to an actual application scenario, which is not specifically limited in this embodiment.
Further, determining the operation object of the first sliding operation according to the number of the initial contact points 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 the 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 the hub.
Illustratively, the first preset value is 2 and the second preset value is 1; that is, it is possible to set the tire as the operation object of the first sliding operation in which the number of initial contacts is 2, and the hub as the operation object of the first sliding operation in which the number of initial contacts is 1. As shown in fig. 2, the tire replacement can be triggered by the sliding operation of two fingers (double contacts) in the counterclockwise direction, which is equivalent to triggering the original tire removal. After selecting one of the candidate tires, the user may also determine to replace the currently selected candidate tire by a sliding operation of two fingers (double touch points) in a clockwise direction, which is equivalent to triggering the installation of the selected candidate tire. The replacement of the hub is triggered by the sliding operation of a single finger (single contact) along the counterclockwise direction, which is equivalent to the detachment 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 sliding operation of a single finger (single contact point) in a clockwise direction, which is equivalent to triggering the installation of the selected alternative hub.
For example, the sliding operation with the number of contacts of 2 may be a sliding operation with a single hand and two fingers as shown in the left side of fig. 2, or may be a sliding operation with a single finger and two hands as shown in fig. 4; an object such as a stylus may be used to perform corresponding operations instead of a finger, and this embodiment is not limited in this respect.
Illustratively, the first preset value is 1 and the second preset value is 2; that is, the tire is set as the operation target of the first sliding operation in which the number of initial contacts is 1, and the hub is set as the operation target of the first sliding operation in which the number of initial contacts is 2.
The number of the initial contacts of the first sliding operation corresponding to different operation objects may be different, and the number of the initial contacts of the first sliding operation corresponding to each operation object is not specifically limited herein.
In addition, the gestures shown in fig. 2 and 4 are merely for schematically illustrating the number and the general direction of the initial contact points of the first slide operation, and do not define the position of the first slide operation.
In a preferred embodiment, the first direction is clockwise or counterclockwise. That is, the operation of triggering the tire or hub replacement is a sliding operation in a clockwise direction or a counterclockwise direction, which is more similar to the manner of tire or hub replacement in real life, and the user's sense of substitution 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.
For example, 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 the corresponding operation end points; 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 a preset angle threshold and the offset distance is less than a preset distance threshold, it may be determined that the current sliding operation is the first sliding operation in the clockwise direction or the counterclockwise direction.
Wherein the offset distance of the sliding operation with respect to the tire center means: the offset distance of each sampling point on the track of the sliding operation is the maximum value, and the offset distance of the sampling point refers to the difference between the distance between the sampling point and the center of the tire and the distance between the initial position corresponding to the initial contact point and the center of the tire.
Optionally, the preset angle threshold and the preset distance threshold may be set and replaced according to an actual application scenario, and this embodiment is not specifically limited here. 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 two initial contacts in the clockwise direction, assuming that the starting positions of the two contacts are located at a trigger starting point a and a trigger starting point B, respectively, the operation end point corresponding to the trigger starting point a is a1, and the operation end point corresponding to the trigger starting point B is B1; according to a preset reference line, firstly, respectively calculating an offset angle a of a connecting line of the triggering starting point A and the tire center relative to the reference line in the clockwise direction, an offset angle a1 of a connecting line of the operating end point A1 and the tire center relative to the reference line in the clockwise direction, an offset angle B of a connecting line of the triggering starting point B and the tire center relative to the reference line in the clockwise direction, and an offset angle B1 of a connecting line of the operating end point B1 and the tire center relative to the reference line in the clockwise direction; then, the offset angle of the current sliding operation may be: (a1-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 tire center as the origin. The coordinate system involved 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 position of the contact point at preset time intervals during the sliding operation. The preset time interval may be set and changed according to an actual application scenario, and this embodiment is not specifically limited herein. For example, the preset time interval may be 33 milliseconds.
Step S202, a target candidate is determined from at least one candidate corresponding to the operation object, wherein the at least one candidate comprises a candidate tire or a candidate hub.
In the present embodiment, one or more candidates correspond to the operation object, regardless of whether the operation 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 the target candidate object.
In an optional implementation manner, determining a target candidate object from at least one candidate object corresponding to an operation object may specifically be implemented in the following manner:
in response to the end of the first sliding operation, displaying object icons corresponding to at least one candidate object in a list form on a graphical user interface; and in response to the selection operation of any object icon in the list, determining the candidate object corresponding to the selected object icon as the target candidate object.
The operation of selecting any object icon in the list may be a click, a long press, a re-press operation, or a sliding operation in a specified direction (e.g., upward) on any object icon, and the embodiment is not limited in this embodiment.
Specifically, in response to the end of the first sliding operation, after the operation object of the first sliding operation is determined, at least one candidate object corresponding to the current operation object may be acquired, and object icons corresponding to the candidate objects one to one may be displayed in a graphical user interface in a list form, so as to be conveniently viewed and selected by a user.
In an alternative embodiment, the operation object is detached from and hidden in the wheel region while the graphical user interface displays object icons corresponding to at least one object candidate in a list format. Such as: after the operation object is subjected to clockwise or counterclockwise sliding operation, the object icons corresponding to the alternative objects one to 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 wheel hub, and the disassembling process can be displayed in an animation form as an example.
For example, a user may select an object icon as a target object by clicking on the object icon in the graphical user interface.
Further, in response to the selection operation of any object icon in the list, the candidate corresponding to the selected object icon is determined as the target candidate.
In another optional implementation, determining the target candidate object from the at least one candidate object corresponding to the operation object may specifically be implemented in the following manner:
displaying a first candidate within a preset range of the wheel region in response to the end of the first sliding operation, wherein the first candidate is any one of the at least one candidate; in response to a third sliding operation of the first candidate in a third direction, switching the first candidate to a second candidate, wherein the second candidate is any candidate except the first candidate in the at least one candidate; and determining the second candidate as the target candidate in response to the end of the third sliding operation.
The preset range may be an area range separated from an edge of the wheel area by a preset distance, and the area range may be represented in any shape. The third direction may be upward, downward, leftward, rightward, or any other direction, and may be configured and adjusted according to the actual application scenario, and this embodiment 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 the operation object of the first sliding operation is determined, any one candidate object in at least one candidate object corresponding to the current operation object may be displayed within a preset range of a wheel region in the graphical user interface as the first candidate object; if the user wants to view other candidate objects, the displayed candidate objects can be switched through a third sliding operation of the first candidate object in a third direction; and switching the first candidate to the second candidate in response to a third sliding operation of the first candidate in a third direction, and determining the second candidate as the target candidate in response to the end of the third sliding operation.
And if the user does not perform a third sliding operation in a third direction on the first candidate object, determining the currently displayed first candidate object as the target candidate object by default.
And step S203, displaying the target candidate object on a graphical user interface.
For example, the target candidate may be displayed within a preset range of the wheel region.
In this embodiment, after the user selects one target candidate, the mobile terminal does not directly replace the target candidate with the vehicle, but displays the currently selected target candidate in the area around the current operation object, so that the user can compare the effect of the currently selected target candidate with the effect of the original operation object.
If the user is not satisfied with the effect of the currently selected target candidate object, another candidate object can be continuously selected through the selection operation, the mobile terminal responds to the selection operation of 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 a favorite candidate object.
For example, the selected target candidate may be displayed at a position offset by a fixed coordinate from the center position of the current operation object, without directly replacing the existing operation object on the vehicle, so that the user may conveniently compare and view the currently selected target candidate and the existing object on the vehicle.
For example, the coordinates of the center point of the original operation object are (X1, Y1), then the center point corresponding to the currently selected target object candidate may be at the position of (X1-80, Y1+ 80).
Step S204, in response to a second sliding operation of the target object candidate in the second direction, replaces the operation object in the wheel region with the target object candidate.
Wherein the second direction is different from the first direction. Illustratively, if the first direction is clockwise, the second direction is counterclockwise; if the first direction is counterclockwise, the second direction is clockwise.
If the user is satisfied with the effect of the currently selected target candidate, the user may determine to replace the operation object in the wheel region with the target candidate through a second sliding operation of the target candidate in the second direction, so as to install the currently selected target candidate into the corresponding wheel region.
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 first direction in the graphical user interface in step S201, the directions are different, and the determination manners of the sliding operations are the same, which is not described herein again.
For example, as shown in fig. 2 and 4, if the first sliding operation of the wheel region of the vehicle in the first direction in the graphical user interface in step S201 is a sliding operation of the dual-contact counterclockwise (or clockwise) direction, the second sliding operation of the target candidate object in the second direction in the graphical user interface in this step may be a sliding operation of the dual-contact clockwise (or counterclockwise) direction.
If the first sliding operation of the wheel region of the vehicle model in the graphical user interface in the first direction in step S201 is a sliding operation of a single-contact point in a counterclockwise (or clockwise) direction, the second sliding operation of the target candidate object in the graphical user interface in the second direction in this step may be a sliding operation of a single-contact point in a clockwise (or counterclockwise) direction.
In this step, in response to a second sliding operation of the target candidate in the graphical user interface in a second direction, the mobile terminal installs the currently selected target candidate into the corresponding wheel region.
Optionally, in response to the second sliding operation of the target candidate in the graphical user interface to the second direction, the mobile terminal may further install the currently selected target candidate into each wheel region of the vehicle, and replace each wheel of the vehicle uniformly.
And 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 towards a second direction, the mobile terminal can also play an installation animation to show a replacement effect to the user.
In addition, in response to a second sliding operation of the target candidate in the graphical user interface in the second direction, the playing and installing animation may be performed in parallel with the replacing of the operation object in the wheel region with the target candidate in step S204, or the playing and installing animation may be performed before the replacing of the operation object in the wheel region with the target candidate in step S204, which is not specifically limited in this embodiment.
In the embodiment of the invention, the object icons corresponding to at least one candidate object one to one are displayed in a list form on a graphical user interface in response to the end of the first sliding operation; in response to the selection operation of any object icon in the list, determining a candidate object corresponding to the selected object icon as a target candidate object; or displaying a first candidate within a preset range of the wheel region by responding to the end of the first sliding operation, wherein the first candidate is any one of the at least one candidate; in response to a third sliding operation of the first candidate in a third direction, switching the first candidate to a second candidate, wherein the second candidate is any candidate except the first candidate in the at least one candidate; 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 alternative objects by himself and display the target alternative objects in the preset range of the wheel area, so that the user can compare the effect of the currently selected target alternative objects with the effect of the original operation object, man-machine interaction modes are enriched, the user substitution sense 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 device 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 determination module 301 is configured to determine, in response to a first sliding operation acting on a wheel region of the vehicle in a first direction in the graphical user interface, an operation object of the first sliding operation according to the number of initial contacts of the first sliding operation, where the operation object is a tire or a hub, and the tire or the hub is located in the wheel region.
The information processing module 302 is configured to determine a target candidate from at least one candidate corresponding to the operation object, where the at least one candidate includes a candidate tire or a candidate hub.
The display module 303 is configured to display the target candidate on the graphical user interface.
The alternate installation module 304 is configured to install the target candidate into the wheel region in response to a second sliding operation of the target candidate in a second direction, which is different from the first direction.
The apparatus provided in the embodiment of the present invention may be specifically configured to execute the method embodiments provided in the foregoing embodiments, and specific functions are not described herein again.
The embodiment of the invention simplifies the operation steps by responding to a first sliding operation of a wheel area of a vehicle in a first direction in a 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, determining a target candidate object from at least one candidate object corresponding to the operation object, displaying the target candidate object on the graphical user interface, responding to a second sliding operation of the target candidate object in a second direction different from the first direction, installing the target candidate object into the wheel area, calling out the candidate object of a part to be replaced by only one sliding operation, determining the operation object according to the number of initial contacts of the first sliding operation, reducing the possibility of misoperation, improving the transformation efficiency, and performing the replacement operation of the tire or the wheel hub through the sliding operation, human-computer interaction modes are enriched, the user substitution sense is stronger, and the user experience is improved.
In an optional embodiment, the information processing module is further configured to:
in response to the end of the first sliding operation, displaying object icons corresponding to at least one candidate object in a list form on a graphical user interface; and in response to the selection operation of any object icon in the list, determining the candidate object corresponding to the selected object icon as the target candidate object.
In an optional implementation, the information processing module is further configured to:
displaying a first candidate within a preset range of the wheel region in response to the end of the first sliding operation, wherein the first candidate is any one of the at least one candidate; in response to a third sliding operation of the first candidate in a third direction, switching the first candidate to a second candidate, wherein the second candidate is any candidate except the first candidate in the at least one candidate; and determining the second candidate as the target candidate 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 within a preset range of the wheel area.
In an optional implementation, the operation object determining module is further configured to:
determining a target wheel region according to the position of the initial contact point of the first sliding operation; an operation object of the sliding operation is determined according to the number of initial contact points of the first sliding operation, and the operation object is located in the target wheel area.
In an alternative embodiment, the replacement installation module is further configured to:
the operation object in the wheel region is replaced with the target candidate.
In an optional implementation, the operation object determining module is further configured to:
if the initial contact point number of the first sliding operation is a first preset value, determining that the operation object of the first sliding operation is a tire; and if the initial contact point number of the first sliding operation is a second preset value, determining that the operation object of the first sliding operation is the hub.
In an alternative embodiment, the first direction is 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 configured to execute the method embodiments provided in the foregoing embodiments, and specific functions are not described herein again.
In the embodiment of the invention, the object icons corresponding to at least one candidate object one to one are displayed in a list form on a graphical user interface in response to the end of the first sliding operation; in response to the selection operation of any object icon in the list, determining a candidate object corresponding to the selected object icon as a target candidate object; or displaying a first candidate within a preset range of the wheel region by responding to the end of the first sliding operation, wherein the first candidate is any one of the at least one candidate; in response to a third sliding operation of the first candidate in a third direction, switching the first candidate to a second candidate, wherein the second candidate is any candidate except the first candidate in the at least one candidate; 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 alternative objects by himself and display the target alternative objects in the preset range of the wheel area, so that the user can compare the effect of the currently selected target alternative objects with the effect of the original operation object, man-machine interaction modes are enriched, the user substitution sense 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 computer programs stored on the memory 1002 and executable on the processor 1001.
When the processor 1001 runs the computer program, the information processing method provided by any one of the method embodiments described above is implemented.
The embodiment of the invention simplifies the operation steps by responding to a first sliding operation of a wheel area of a vehicle in a first direction in a 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, determining a target candidate object from at least one candidate object corresponding to the operation object, displaying the target candidate object on the graphical user interface, responding to a second sliding operation of the target candidate object in a second direction different from the first direction, installing the target candidate object into the wheel area, calling out the candidate object of a part to be replaced by only one sliding operation, determining the operation object according to the number of initial contacts of the first sliding operation, reducing the possibility of misoperation, improving the transformation efficiency, and performing the replacement operation of the tire or the wheel hub through the sliding operation, human-computer interaction modes are enriched, the user substitution sense is stronger, and the user experience is improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when being executed by a processor, the computer program implements the information processing method provided in any of the above method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made 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 will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (11)

1. An information processing method for providing a graphical user interface through a display component of a terminal, comprising:
in response to a first sliding operation acting on a wheel area of a vehicle in a first direction in 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 hub, and the tire or the hub is located 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 wheel hub;
displaying the target candidate object on the graphical user interface;
in response to a second sliding operation of the target object candidate in a second direction, which is different from the first direction, the target object candidate is mounted into the wheel region.
2. The method of claim 1,
the determining a target candidate from at least one candidate corresponding to the operation object includes:
in response to the end of the first sliding operation, displaying object icons corresponding to the at least one candidate object in a list form on the graphical user interface;
and in response to the selection operation of any one object icon in the list, determining the candidate object corresponding to the selected object icon as the target candidate object.
3. The method according to claim 1, wherein the determining a target candidate from among the at least one candidate corresponding to the operation object comprises:
displaying a first candidate within a preset range of the wheel region in response to the end of the first sliding operation, wherein the first candidate is any one of the at least one candidate; in response to a third sliding operation of the first candidate in a third direction, switching the first candidate to a second candidate, wherein the second candidate is any one of the at least one candidate except the first candidate;
and determining the second candidate as the target candidate in response to the end of the third sliding operation.
4. The method according to any one of claims 1-3, wherein said displaying the target candidate on the graphical user interface comprises:
and displaying the target candidate object within a preset range of the wheel area.
5. The method according to claim 1, wherein the determining the operation object of the sliding operation according to the number of initial contact points of the first sliding operation comprises:
determining a target wheel area according to the position of the initial contact point of the first sliding operation;
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 located in the target wheel area.
6. The method of claim 1, wherein the target candidate is installed into the wheel region, comprising:
replacing the operation object in the wheel region with the target candidate object.
7. The method according to claim 1, wherein the determining the operation object of the first sliding operation according to the number of initial contact points of the first sliding operation comprises:
if the initial contact point number of the first sliding operation is a first preset value, determining that the 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.
8. The method of claim 1, wherein the first direction is a clockwise direction or a counterclockwise direction.
9. The method of claim 8, wherein the sliding operation is offset by an angle greater than a preset angle threshold.
10. 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 executing the computer program, implements the method of any of claims 1 to 9.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 9.
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 true CN111870946A (en) 2020-11-03
CN111870946B 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 (6)

* 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
US20160279525A1 (en) * 2014-03-24 2016-09-29 James Curtis Wilkins Computerized car racing game system
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

Patent Citations (6)

* 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
US20160279525A1 (en) * 2014-03-24 2016-09-29 James Curtis Wilkins Computerized car racing game system
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
CN111870946B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN107551537B (en) Method and device for controlling virtual character in game, storage medium and electronic equipment
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN108379839B (en) Control response method and device and terminal
CN108205430B (en) Double-screen mobile terminal, corresponding control method and storage medium
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
CN102880401B (en) A kind of method and mobile terminal simplifying user interface buttons
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
CN109960558B (en) Virtual object control method and device, computer storage medium and electronic equipment
CN103873672A (en) Mobile terminal
JP5522755B2 (en) INPUT DISPLAY CONTROL DEVICE, THIN CLIENT SYSTEM, INPUT DISPLAY CONTROL METHOD, AND PROGRAM
CN109865285B (en) Information processing method and device in game and computer storage medium
CN106161763B (en) Control method and device and electronic equipment
CN110032296B (en) Method and device for determining virtual object in terminal, terminal and storage medium
JP2020533706A (en) How to steer virtual objects, devices and storage media
CN103530045A (en) Menu item starting method and mobile terminal
CN111773703B (en) Game object display method, game object display device, storage medium and terminal equipment
CN110347324A (en) Shortcut call method, device, storage medium and meeting all-in-one machine
CN111708471A (en) Control processing method and related device
CN112799571B (en) Display control method, device, terminal and storage medium for secondary confirmation
CN112764834A (en) Control action binding method, device, equipment and storage medium
CN111870946A (en) Information processing method, device, equipment and computer readable storage medium
CN106909380B (en) Touch screen drive loading method and system based on mobile terminal
WO2018082256A1 (en) Terminal and application switching method thereof
CN102902470A (en) Input interface switching method and input interface switching device
CN110362353A (en) Peripheral hardware control method, peripheral controller, storage medium and electronic equipment

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