A control method for a virtual vehicle and related apparatus

By displaying disembarkation controls and a vehicle instruction interface within the virtual vehicle, users can directly select their target exit, thus solving the problem of multiple interactive operations in existing technologies. This achieves efficient virtual vehicle exit control, improving game operability and resource utilization efficiency.

CN116920388BActive Publication Date: 2026-11-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210339699.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-01
Publication Date
2026-11-03
Estimated Expiration
2042-04-01

AI Technical Summary

Technical Problem

The existing control mechanism of virtual vehicles is difficult to meet the needs of sophisticated games. Players need to perform multiple interactive operations to exit the virtual vehicle from a non-adjacent exit, which increases the number of terminal device responses and wastes processing resources.

Method used

By displaying the exit control and showing the vehicle indicator interface to indicate available exits, users can directly select the target exit, thereby exiting the virtual vehicle from a non-adjacent exit and reducing the number of operations.

Benefits of technology

It improves motion control efficiency, reduces the number of responses from terminal devices, saves processing resources, and enhances the operability and playability of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116920388B_ABST
    Figure CN116920388B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a control method for a virtual vehicle and a related device. When a target object is in the virtual vehicle, a get-off control for the virtual vehicle is displayed. In response to a specified operation on the get-off control, a vehicle indication interface can be displayed. The vehicle indication interface includes an indication mark for indicating available exits of the virtual vehicle. The available exits are adjacent exits of the virtual vehicle that are not occupied by the target object. The available exits are exits that are not adjacent to the seat occupied by the target object. A user can select a target exit from the available exits through the indication mark of the vehicle indication interface, so as to control the target object to exit the virtual vehicle from the target exit. Thus, the target object can exit the virtual vehicle from the target exit that is not adjacent to the seat occupied by the target object. The number of operations is reduced, the efficiency of action control is improved, the number of responses of the terminal device is reduced, and processing resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of game technology, and in particular to a control method and related apparatus for virtual vehicles. Background Technology

[0002] With the development of gaming technology, game genres have become increasingly diverse. Virtual vehicles, as auxiliary devices in game scenarios, are used to help virtual objects controlled by players move quickly within the game environment. Through terminal devices with game applications installed, players can gain additional gaming experiences by using virtual vehicles. For example, in shooting games, players can control virtual objects to quickly move to designated locations by riding in virtual vehicles, and gain defensive bonuses from the virtual vehicles during the ride, increasing their survival rate when attacked.

[0003] Generally, virtual vehicles are designed with multiple seating positions for multiple virtual objects to ride. When the virtual object controlled by the player is in one of the seating positions of the virtual vehicle, the player can trigger the "get off" control to control the virtual object to exit the virtual vehicle from the vehicle exit adjacent to the seating position, for example, get off the vehicle.

[0004] However, this control mechanism for exiting virtual vehicles is difficult to meet the current sophisticated game requirements. When players need to exit a virtual vehicle from a designated exit that is not adjacent to the location where the virtual object is riding, they must perform multiple interactive operations to achieve this. The additional interactive operations increase the number of response times of the terminal device and waste processing resources. Summary of the Invention

[0005] To address the aforementioned technical problems, this application provides a control method for virtual vehicles, which enables target objects to change seats and disembark by operating a single control, thereby reducing the number of operations, improving motion control efficiency, reducing the number of responses from terminal devices, and saving processing resources.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] In a first aspect, embodiments of this application provide a control method for a virtual vehicle, the method comprising:

[0008] When the target is riding in a virtual vehicle, a disembarkation control for the virtual vehicle is displayed;

[0009] In response to a specified operation on the disembarkation control, a vehicle indication interface is displayed, the vehicle indication interface including an indicator for indicating the available exits of the virtual vehicle, the available exits being the vehicle exits adjacent to the unoccupied seats of the virtual vehicle;

[0010] In response to the selection of a target exit from the available exits via the indicator on the vehicle indicator interface, the target object is controlled to exit the virtual vehicle from the target exit.

[0011] Secondly, embodiments of this application provide a control device for a virtual vehicle, including:

[0012] The control display unit is used to display a disembarkation control for the virtual vehicle when the target object is riding in the virtual vehicle;

[0013] The interface display unit is used to display a vehicle indication interface in response to a specified operation on the disembarkation control. The vehicle indication interface is used to indicate the available exits of the virtual vehicle. The available exits are the vehicle exits adjacent to the unoccupied seats of the virtual vehicle.

[0014] The vehicle exit control unit is used to control the target object to exit the virtual vehicle from the target exit in response to the selection of a target exit from the available exits via the vehicle indication interface.

[0015] Thirdly, embodiments of this application disclose a computer device, the device including a processor and a memory:

[0016] The memory is used to store program code and transmit the program code to the processor;

[0017] The processor is configured to execute the control method for virtual vehicles as described in any one of the first aspects, according to the instructions in the program code.

[0018] Fourthly, embodiments of this application disclose a computer-readable storage medium for storing a computer program for executing the control method for a virtual vehicle as described in any one of the first aspects.

[0019] Fifthly, embodiments of this application disclose a computer program product including instructions that, when run on a computer, cause the computer to execute the control method for a virtual vehicle.

[0020] As can be seen from the above technical solution, when the target object is riding in the virtual vehicle, a disembarkation control for the virtual vehicle is displayed. In response to a specified operation on the disembarkation control, a vehicle instruction interface can be displayed. The vehicle instruction interface includes indicators for indicating the available exits of the virtual vehicle. The available exits are the vehicle exits adjacent to the unoccupied seats of the virtual vehicle, which are exits not adjacent to the seat occupied by the target object. The user can select the target exit from the available exits through the indicators on the vehicle instruction interface, thereby controlling the target object to exit the virtual vehicle from the target exit. That is, the user only needs to perform a specified operation on the disembarkation control to call up the vehicle instruction interface, and select the target exit from the available exits through the vehicle instruction interface to realize that the target object can exit the virtual vehicle from the target exit not adjacent to its seat. This operation on a single control, compared with changing seats through a seat-changing control and exiting the vehicle from the exit adjacent to other seats through the disembarkation control, reduces the number of operations, improves the efficiency of motion control, reduces the number of responses of the terminal device, and saves processing resources. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A schematic diagram illustrating a control method for a virtual vehicle in a practical application scenario, provided by an embodiment of this application;

[0023] Figure 2 A signaling diagram for a control method for a virtual vehicle provided in an embodiment of this application;

[0024] Figure 3A A schematic diagram illustrating a control method provided in an embodiment of this application;

[0025] Figure 3B A schematic diagram of the seating arrangement of a virtual vehicle provided in an embodiment of this application;

[0026] Figure 4A and 4B A schematic diagram of the control method provided in an embodiment of this application;

[0027] Figure 5 A schematic diagram of various vehicle instruction interfaces provided in the embodiments of this application;

[0028] Figure 6A and 6B A schematic diagram of the control method provided in an embodiment of this application;

[0029] Figure 7 A schematic diagram of various vehicle instruction interfaces provided in the embodiments of this application;

[0030] Figure 8 A schematic diagram of a vehicle instruction interface provided in an embodiment of this application;

[0031] Figure 9 A schematic diagram of an exit vehicle provided in an embodiment of this application;

[0032] Figure 10A A schematic diagram of the control method provided in an embodiment of this application;

[0033] Figure 10B and Figure 10C A schematic diagram of the exit vehicle provided in an embodiment of this application;

[0034] Figure 11 A schematic diagram of one embodiment of the control device for a virtual vehicle provided in this application;

[0035] Figure 12 A structural diagram of a terminal device provided in an embodiment of this application;

[0036] Figure 13 This is a structural diagram of a server provided in an embodiment of this application. Detailed Implementation

[0037] The embodiments of this application will now be described with reference to the accompanying drawings.

[0038] Generally, virtual vehicles are designed with multiple seating positions for multiple virtual objects. When a player-controlled virtual object is in one of the seating positions, the player can trigger the "get off" control to exit the virtual vehicle from an adjacent exit, such as getting off. However, this exit control mechanism is insufficient for the sophisticated demands of modern games. When exiting the virtual vehicle from a specific exit not adjacent to the current seating position, the player must perform multiple interactive operations. For example, they must trigger a seat-changing control to move to another seat adjacent to the specified exit, and then trigger the "get off" control to exit the vehicle from the specified exit. This additional interaction increases the number of response times on the terminal device, wasting processing resources.

[0039] To address the aforementioned technical problems, this application provides a control method for virtual vehicles. Users only need to perform a specified operation on the disembarkation control to bring up the vehicle instruction interface, and select the target exit from the available exits through the vehicle instruction interface. This allows the virtual object to exit the vehicle from the target exit that is not adjacent to its seat, reducing the number of operations, improving motion control efficiency, reducing the number of responses from the terminal device, and saving processing resources.

[0040] The control method for virtual vehicles provided in this application can be implemented using computer equipment, which can be a terminal device or a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Terminal devices include, but are not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, and vehicle terminals. Terminal devices and servers can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this connection.

[0041] To facilitate understanding of the technical solutions provided in the embodiments of this application, the following will introduce a control method for virtual vehicles provided in the embodiments of this application in conjunction with a practical application scenario.

[0042] refer to Figure 1 , Figure 1 This is a schematic diagram of a control method for a virtual vehicle in a practical application scenario provided by an embodiment of this application. In this practical application scenario, there are a server and a terminal device. The terminal device has a competitive game application installed on it. The server and the terminal device can interact through a network. The terminal device is, for example, a mobile phone.

[0043] During game operation, the terminal device is used to display the target object controlled by the user, as well as the virtual vehicle that the target object is riding in, as shown in 1A. The virtual vehicle 10 is, for example, a car. When the target object is riding in the virtual vehicle 10, the exit control 11 for the virtual vehicle 10 can be displayed. The target object is riding in the middle left seat of the virtual vehicle 10. As indicated by the downward arrow in the figure, the exit control 11 is displayed on the right side of the terminal device screen.

[0044] Users can perform a specified operation on the exit control 11, such as a long press. Based on this specified operation, the terminal device can display a vehicle indication interface 12. The vehicle indication interface 12 includes indicators for indicating the available exits of the virtual vehicle 10. The available exits are the vehicle exits adjacent to the unoccupied seats of the virtual vehicle 10. The unoccupied seats are determined based on the riding status parameters of the virtual vehicle. The riding status parameters can be provided by the server. The server can obtain the riding status of other users for the virtual vehicle 10, thereby determining the unoccupied seats of the virtual vehicle 10.

[0045] The signage can be for unoccupied seats, such as seat number 122. Figure 1 As can be seen from B, the front right seat, the rear left seat, and the rear right seat are unoccupied seats. When the virtual vehicle 10 is a car, the available exit is the door adjacent to the empty seat of that car. However, since the target's seat is not empty at this time, the exit adjacent to the target's seat is not a usable exit. Figure 1 As shown in B, the available exits include the front right door, the rear left door, and the rear right door. The vehicle indicator interface 12 can also display the seat identifier 121 of the target's seat, allowing the player to more intuitively determine the relative positions of the available exits and the target's seat. The vehicle indicator interface 12 can be displayed in the same location as the exit control, while the exit control 11 is hidden.

[0046] After displaying the vehicle instruction interface 12, the user can select the target exit from the available exits using the indicator on the vehicle instruction interface 12, thereby controlling the target object to exit the virtual vehicle 10 from the target exit. The user can select the target exit from the available exits by sliding. For example, as shown in 1B, the user slides to the upper right to the position of the seat indicator on the front left. This seat indicator can be highlighted as the active seat indicator 12A. After the user cancels the sliding operation, the seat located on the front right in the virtual vehicle is selected. Correspondingly, the door on the front right is the target exit, and the target object can get off the vehicle from the door on the front right, as shown in 1C.

[0047] In other words, users only need to perform a specified operation on the exit control to call up the vehicle instruction interface 12, and select the target exit from the available exits through the vehicle instruction interface 12. This allows the target object to exit the virtual vehicle 10 from the target exit that is not adjacent to its seat, without triggering the seat change control, reducing the number of operations, improving the efficiency of motion control, reducing the number of responses of the terminal device, and saving processing resources.

[0048] Next, with reference to the accompanying drawings, a control method for a virtual vehicle provided by an embodiment of this application will be described.

[0049] See Figure 2 , Figure 2 A signaling diagram for a control method for a virtual vehicle provided in this application embodiment, the method comprising:

[0050] S101, When the target object is riding in a virtual vehicle, display the disembarkation control for the virtual vehicle.

[0051] In this embodiment, virtual vehicles can assist player-controlled virtual objects in moving quickly within the game scene. While riding in a virtual vehicle, the virtual object receives a defensive bonus, increasing its survivability when attacked. See [link to relevant documentation]. Figure 3A The diagram shown is a schematic of a control method in an embodiment of this application. The virtual vehicle 10 can be, for example, a virtual vehicle.

[0052] The virtual vehicle 10 can be designed with multiple seating positions for multiple virtual objects to ride in. These seating positions may include a driver's seat and at least one passenger seat. The driver's seat could be, for example, the seat on the front left side of the virtual vehicle 10. The other seats in the virtual vehicle 10 are passenger seats. Each seat in the virtual vehicle 10 can have a seat number, determined by its position within the virtual vehicle 10. For example, the seats can be named in a left-to-right, front-to-back order. See [reference needed]. Figure 3B The diagram shown is a schematic diagram of the seating arrangement of a virtual vehicle in an embodiment of this application. The virtual vehicle 10 is presented in the form of a top view and includes 6 seats, of which seat number 1 is the driver's seat.

[0053] Taking a target object in a virtual object as an example, when the distance between the target object and the virtual vehicle 10 is less than a certain threshold, it indicates that the target object is close to the virtual vehicle 10, and a boarding control for the virtual vehicle 10 can be displayed. The boarding control can include two types: a riding control 13 and a driving control 14. See [link / reference] Figure 3A As shown. When the driver's seat is unoccupied, driving controls 14 for the virtual vehicle 10 can be displayed. If a trigger operation is received for driving controls 14, the target object can be controlled to sit in the driver's seat of the virtual vehicle 10, at which point the player can control the virtual vehicle 10. When the passenger seat is unoccupied, riding controls 13 for the virtual vehicle 10 can be displayed. If a trigger operation is received for riding controls 13, the target object can be controlled to sit in the passenger seat of the virtual vehicle 10. When the seats in the virtual vehicle 10 have seat numbers, one of the passenger seats can be selected according to the seat number to control the target object to sit in the selected passenger seat. For example, the selected passenger seat can be the passenger seat with the smallest seat number among the unoccupied seats. When both the driver's seat and the passenger seat are unoccupied, driving controls 14 and riding controls 13 for the virtual vehicle 10 can be displayed, see [link to documentation]. Figure 3A As shown.

[0054] In this embodiment of the application, when it is determined that the target object is riding in the virtual vehicle 10, a disembarkation control for the virtual vehicle 10 can be displayed, see [link to relevant documentation]. Figure 4A and 4B The diagram shown is a schematic representation of the control method provided in an embodiment of this application. Figure 4A The location of the target object in virtual vehicle 10 is indicated by a solid arrow. Figure 4B Virtual vehicle 10 is Figure 4A The virtual vehicle 10 is shown in a top view. Seat icons with steering wheel symbols correspond to the driver's seat, seat icons with dark gray human figures correspond to occupied seats, seat icons with light gray human figures correspond to the target's seat, and seat icons without human figures correspond to unoccupied seats. The target is seated in the left-hand middle row of the virtual vehicle 10. The exit control is displayed on the right side of the virtual vehicle 10. The display position of the exit control is independent of the driving or riding mode of the virtual vehicle 10; the display position is fixed in different modes. If a trigger operation is obtained for the exit control, the target can be controlled to exit the virtual vehicle 10. This trigger operation can be considered a direct exit operation, such as a click operation.

[0055] However, this method only allows the target to exit the virtual vehicle 10 from the vehicle exit adjacent to their seat, which is insufficient for the current sophisticated game settings. In reality, in many scenarios, players often need to exit the vehicle from a designated vehicle exit. For example, if the target's seat faces the first side of the virtual vehicle 10, and there is an enemy attack on the first side of the virtual vehicle 10, exiting from the vehicle exit adjacent to the seat would be detrimental to the target's survival. Exiting from the second side of the virtual vehicle 10 and using it as cover is a better option. Another example is if the target's seat is located to the right rear of the virtual vehicle 10, and there is a supply or building entrance to the left front of the virtual vehicle 10. Exiting from the vehicle exit adjacent to the seat would require the target to move around the virtual vehicle 10 to the left front, which would take a long time. Exiting from the vehicle exit to the left front would reduce the path and shorten the target's movement time.

[0056] Currently, when players need to exit a vehicle from a designated exit that is not adjacent to the seat occupied by the target, they must perform multiple interactive operations, which increases the number of response times on the terminal device and wastes processing resources. Specifically, when a target is confirmed to be riding in a virtual vehicle, a seat-changing control for that vehicle can be displayed. In one implementation, the player can click the seat-changing control to quickly change seats, and then click the exit control to exit the virtual vehicle. This involves using two clicks to control the target's seat change and exit. However, this method can only change seats to pre-set seats, which cannot meet the aforementioned refined game settings. It also requires more response times, and there is a certain distance between the exit control and the seat-changing control, resulting in long movement distances and low operational efficiency for the player when performing these operations. In another implementation, the player can long-press the seat-changing control to bring up the seat panel, select a seat in the seat panel, and then click the exit control to exit the virtual vehicle. This involves using one long-press operation and two clicks to control the target's seat change and exit. This method allows for precise seat changes, but it is cumbersome, increases the number of response times on the terminal device, and is inconvenient to react in time when attacked by enemies, which is detrimental to the survival of the target.

[0057] S102, in response to a specified operation on the disembarkation control, displays the vehicle instruction interface.

[0058] In this embodiment, in response to a specified operation on the disembarkation control 11, a vehicle indication interface can be displayed. The vehicle indication interface includes indicators for indicating available exits of the virtual vehicle. Available exits are the vehicle exits adjacent to unoccupied seats in the virtual vehicle 10. Unoccupied seats in the virtual vehicle 10 can be determined based on the occupancy status parameters of the virtual vehicle 10. Since the seat occupied by the target object is not an unoccupied seat, the vehicle exit adjacent to the target object's seat is not an available exit. Correspondingly, if it is determined according to the occupancy status parameters of the virtual vehicle 10 that there are no available exits, the vehicle indication interface does not need to be displayed. Specifically, in response to a specified operation on the disembarkation control, if the virtual vehicle does not have available exits, a prompt indicating "No available exits" can be displayed, for example, by popping up a prompt box displaying the text "No available exits". The disembarkation control 11 can be hidden when displaying the vehicle indication interface.

[0059] The designated operation for the exit control 11 can be considered a seat-changing exit operation. This designated operation differs from the trigger operation for the exit control when the target object directly exits the vehicle from the adjacent vehicle exit, allowing for different exit methods using different operations. In this embodiment, the designated operation for the exit control 10 can be a long press operation. In response to the designated operation for the exit control, a vehicle indicator interface is displayed. Specifically, the vehicle indicator interface is displayed when the long press duration for the exit operation reaches a first preset duration. That is, the long press operation is not canceled when the vehicle indicator interface is displayed; therefore, the press after the first preset duration can still be used to select the indicator in the vehicle indicator interface, reducing the number of operations. As an example, the first preset duration can be 0.2 seconds.

[0060] In this embodiment, the specified operation for the disembarkation control 11 can be a long-press cancellation operation. After obtaining the long-press operation for the disembarkation control, if the long-press operation is cancelled, it is determined that the long-press cancellation operation has been obtained, and the operation of displaying the vehicle indicator interface can be executed. That is to say, the long-press operation is cancelled before the vehicle indicator interface is displayed. The selection of the indicator in the vehicle indicator interface can be achieved through touch operation on the vehicle indicator interface. In this way, one operation achieves one function, which is beneficial for distinguishing between different operations.

[0061] Specifically, the vehicle indicator interface can be polygonal, circular, or other shapes. The indicator signs in the vehicle indicator interface used to indicate available exits can include at least one of the following: seat signs for unoccupied seats, exit signs for available exits, exit direction controls corresponding to available exits, or directional guidance controls corresponding to available exits. The selection of indicator signs in the vehicle indicator interface can be used to determine the selection of available exits. See [link to relevant documentation]. Figure 5 , Figure 5 This is a schematic diagram of various vehicle instruction interfaces provided in the embodiments of this application.

[0062] The multiple indicator signs used to indicate different available exits can have different indicator patterns, such as different indicator numbers, different colors, different directions, or different shapes, so that the available exits can be determined according to the different indicator patterns; or, the multiple indicator signs used to indicate different available exits can be located in different positions in the vehicle indicator interface, and the position of the indicator in the vehicle indicator interface can correspond to the position of the corresponding available exit in the virtual vehicle. In this way, the available exits can be determined by the position of the indicator in the vehicle indicator interface. At this time, the indicator signs can have different indicator patterns, or they can have the same indicator pattern. Of course, some indicator signs can have the same indicator pattern, and some indicator signs can have different indicator patterns.

[0063] When the available exit indicator is for an unoccupied seat, the available exit indicated by the seat indicator is the vehicle exit adjacent to that unoccupied seat. For example, if the seat indicator at the upper right indicates an unoccupied seat to the right front, the available exit indicated by that seat indicator is the vehicle exit to the right front. See also... Figure 5 As shown in Figure A, the seat markers 122 for different unoccupied seats can have different marker patterns. For example, each unoccupied seat marker can have its own seat number. The seat marker numbered 2 is used to indicate the vehicle exit adjacent to the front right seat of the virtual vehicle; see also Figure 5 As shown in B, the seat identifier 122 can be located in different positions in the vehicle instruction interface 12, such as the seat identifier located in the upper right corner of the vehicle instruction interface, which is used to indicate the vehicle exit adjacent to the front right seat of the virtual vehicle. At this time, the seat identifiers 122 of different unoccupied seats can have the same identifier pattern.

[0064] In some possible implementations, the exit signs for different available exits can have different marking patterns; for example, each available exit sign can have its own orientation, thus determining the corresponding available exit based on the different marking patterns. In other possible implementations, see [link to relevant documentation]. Figure 5 As shown in C, the exit sign 124 can be located in different positions in the vehicle instruction interface 12, such as the exit sign located in the upper right corner of the vehicle instruction interface, which is used to indicate the available exit on the front right side of the virtual vehicle.

[0065] The exit direction control corresponding to the available exit is used to indicate whether the available exit is located on the first or second side of the virtual vehicle. For example, see [link to example]. Figure 5 As shown in Figure D, the exit direction control 125 corresponding to the available exits includes a left-side direction control and a right-side direction control, which are used to indicate the available exits located on the left or right side of the virtual vehicle, respectively. Different exit direction controls can have different identification patterns; for example, each exit direction control can have a different orientation, pointing to the left and right sides of the virtual vehicle, respectively, thus determining the corresponding available exit based on the different identification patterns. The exit direction controls can be located in different positions on the vehicle indicator interface; for example, an exit direction control located on the left side of the vehicle indicator interface is used to indicate the available exit located on the left side of the virtual vehicle.

[0066] The directional guide controls for available exits indicate the direction of the available exit relative to the seat occupied by the target object. For example, if the directional guide control faces upward and to the right, it indicates an available exit located to the right and in front of the target object's seat. Different available exits may have different indicator patterns for their corresponding directional guide controls; for example, each directional guide control may have a different orientation, pointing to the location of the available exit. The available exit can be determined based on the different indicator patterns. (Refer to...) Figure 5 As shown in Figure E, the directional guidance control 126 is an arrow pointing to the upper right corner, indicating the available exit located at the front right of the virtual vehicle. (See reference...) Figure 5 As shown in F, the direction guide control 126 is a fan-shaped graphic. The direction indicated by the fan-shaped graphic is from the center outwards, pointing to the upper right corner of the direction guide control, which indicates the available exit in the virtual vehicle located at the right front. The direction guide control can be located in different positions in the vehicle indication interface. For example, the direction guide control located in the upper right corner of the vehicle indication interface indicates the available exit in the virtual vehicle located at the right front.

[0067] In this embodiment, the virtual indicator interface may also display a vehicle identifier 123. The available exit corresponding to the identifier can be determined based on its position relative to the vehicle identifier 123. (See [link to relevant documentation]). Figure 5 C, for example, the exit sign 124 located slightly above and to the right of vehicle sign 123, is used to indicate the available exit on the front right side of virtual vehicle 10, see [link / reference]. Figure 5 D, for example, the exit direction control 125 located to the right of vehicle identifier 123, is used to indicate the available exit on the right side of virtual vehicle 10.

[0068] In this embodiment of the application, the vehicle indicator interface also displays a reminder icon to indicate the direction of the attack against the target object. See [link to relevant documentation]. Figure 5 A and Figure 5 C. The virtual instruction interface displays a reminder icon 129, which is located in the lower left corner of the vehicle instruction interface. It is used to indicate that the attack on the target object is coming from the left rear. Based on the reminder icon 129, the user can determine whether to select an available exit located in the direction of the attack as the target exit.

[0069] In this embodiment of the application, the vehicle indication interface also displays the seat identifier of the seat where the target object is sitting, wherein the position of the seat identifier of the target object in the vehicle indication interface corresponds to the position of the seat where the target object is sitting in the virtual vehicle.

[0070] When the indicator is for an unoccupied seat, the unoccupied seat indicator and the seat indicator for the target vehicle can be displayed using different indicator patterns, or they can be distinguished by their different positions on the vehicle indicator interface. See [link to relevant documentation]. Figure 5 A and Figure 5 B. If there are X unoccupied seats, the vehicle indicator interface 12 will display seat labels 122 for the X unoccupied seats and seat label 121 for the seat occupied by the target. When the indicator is an exit sign for an available exit, the relative position between the exit sign 124 and the seat label 121 for the seat occupied by the target can correspond to the relative position between the available exit and the seat occupied by the target. See [reference needed]. Figure 5 C; When the exit direction control is set to indicate an available exit, the relative position between the exit direction control 125 and the seat identifier 121 of the target object's seat can correspond to the relative position between the available exit corresponding to the exit direction control and the target object's seat. See [link / reference] Figure 5 D; When the directional control 126 indicates an available exit, the relative position between the directional control 126 and the seat identifier 121 of the seat occupied by the target object can correspond to the relative position between the available exit corresponding to the directional control and the seat occupied by the target object. See [link / reference] Figure 5 E and Figure 5 F.

[0071] When the vehicle instruction interface also displays the seat identifier of the target's seat, the position of the seat identifier in the vehicle instruction interface can be determined before displaying the vehicle instruction interface. After adjusting the identifier position so that the distance between it and the position of the disembarkation control is less than a second preset distance, the interface area for displaying the vehicle instruction interface is determined based on the identifier position, so that the vehicle instruction interface can be displayed based on this interface area. See [link to relevant documentation]. Figure 6A and Figure 6B The diagram shown is a schematic representation of the control method provided in an embodiment of this application. Figure 6A The location of the target object within the virtual vehicle is indicated by a solid arrow. Figure 6B The virtual vehicle in the game is Figure 6A The image shows a top view of the virtual vehicle 10, with the target object sitting in the left-hand seat in the middle row of the virtual vehicle. The virtual instruction interface is displayed on the right side of the virtual vehicle 10, and the seat identifier of the target object's seat and the display position of the disembarkation control are aligned.

[0072] The position of the seat identifier of the target object's seat in the vehicle indicator interface can be represented by the position of the center point of the seat identifier of the target object's seat in the vehicle indicator interface. The position of the disembarkation control can be represented by the position of the center point of the disembarkation control. The second preset distance can be a small positive number close to 0. In this way, after the vehicle indicator interface 12 is displayed, the distance between the seat identifier 121 of the target object's seat and the originally displayed disembarkation control 11 is close to zero, and their centers are aligned, which helps to reduce the movement distance during operation. See [link to relevant documentation]. Figure 6A and Figure 6B .

[0073] After displaying the vehicle instruction interface, the updated unoccupied seats of the virtual vehicle can be obtained. The vehicle instruction interface can be updated based on the updated occupancy status parameters of the unoccupied seats. The updated unoccupied seats can be determined based on the updated occupancy status parameters of the virtual vehicle. The update of the vehicle instruction interface can be based on a certain time period, thus realizing the real-time update of the vehicle instruction interface. The indicator icons in the vehicle instruction interface that indicate the available exits in the virtual vehicle are all currently selectable indicator icons, and the available exits they indicate are also unoccupied, reducing the possibility of erroneous indications.

[0074] S103, in response to the selection of a target exit from the available exits via the indicator on the vehicle indicator interface, controls the target object to exit the virtual vehicle from the target exit.

[0075] In this embodiment, the vehicle indicator interface has indicator icons. When a user selects an indicator icon through the vehicle indicator interface, the user can select the available exit corresponding to the selected indicator icon as the target exit from the available exits. This allows the user to control the target object to exit the virtual vehicle from the target exit. By giving the exit control the function of selecting available exits, the user can control the selection of exits and exit from the virtual vehicle with fewer operations. The interaction is more precise and convenient, and these operations can be completed in a very short time. This helps to increase the player's operating space, improve the game's competitiveness, operability, and playability, and enhance the user's gaming experience.

[0076] When the designated operation for the disembarkation control is a long press, the vehicle indicator interface can be displayed when the press duration reaches the first preset duration. The long press is not canceled while the vehicle indicator interface is displayed; therefore, the selected indicator can be determined based on the press after the first preset duration. The long press after the first preset duration can be either a slide or a fixed-point long press. When the disembarkation control and the seat label of the target vehicle are aligned, the initial position of the long press on the vehicle indicator interface is the seat label position of the target vehicle. These two forms will be explained in detail below.

[0077] When a long press is followed by a slide after a first preset duration, the system can obtain the press position during the slide. Based on the press position when the long press is canceled and the position of the indicator marking available exits in the vehicle indicator interface, a target exit can be selected from the available exits. Specifically, the selected indicator can be determined based on the distance between the press position when the long press is canceled and the indicator in the vehicle indicator interface, and the available exit corresponding to the selected indicator is taken as the target exit. Alternatively, the slide direction can be determined based on the press position during the preset time period before and after the long press is canceled, and the indicator whose direction matches the slide direction is selected, and the available exit corresponding to the selected indicator is taken as the target exit.

[0078] Taking an example where the indicator includes seat signs for unoccupied seats, and the selected indicator is determined based on distance, the target exit is selected from available exits based on the relationship between the press position when the long-press operation is canceled and the position of the indicator. Specifically, if the distance between the press position when the long-press operation is canceled and the target seat sign in the seat signs is less than a first threshold, the available exit corresponding to the target seat sign is determined as the target exit. The available exit corresponding to the target seat sign is the vehicle exit adjacent to the target seat indicated by the target seat sign. (Refer to...) Figure 7 The above is a schematic diagram of various vehicle instruction interfaces provided in the embodiments of this application. Figure 7 A. If the long press operation is canceled after sliding to the seat icon in the upper right corner, then the seat icon in the upper right corner is the selected target seat icon. The available exit corresponding to the target seat icon is the exit to the right front, which is considered the target exit. The first threshold can be determined based on the actual situation. The area formed by points outside the seat icon that are less than the first threshold distance from the seat icon is considered the hot zone of the seat icon. If the press position when the long press operation is canceled is within the hot zone, then the seat icon is considered selected. When the indicator includes an exit icon for an available exit or a directional guide control corresponding to an available exit, the selection method for the target exit can refer to the selection method described above when the indicator is an unoccupied seat icon.

[0079] Taking an indicator that includes a directional guide control corresponding to an available exit, and where the selected indicator is determined based on the sliding direction, as an example, the target exit is selected from the available exits based on the relationship between the press position when the long-press operation is canceled and the position of the indicator. Specifically, if the angle between the sliding direction during the preset time period before and after the long-press operation is canceled and the direction indicated by the target directional guide control is less than a preset angle, and the distance between the starting point and the starting point of the target directional guide control is less than a first distance, and the distance between the ending point and the ending point of the target directional guide control is less than a second distance, then the available exit corresponding to the target directional guide control is determined as the target exit. See [link to relevant documentation]. Figure 7B. Swiping to the upper right corner and then long-pressing cancels the action. This swipe matches the directional guide control for the available exit on the right front, and the available exit on the right front becomes the target exit. The preset angle can be determined according to the actual situation. When the indicator includes an exit sign for an available exit or a seat sign for an unoccupied seat, the selection method for the target exit can refer to the selection method when the indicator is the directional guide control for an available exit.

[0080] When the indicator includes an exit direction control corresponding to an available exit, the target exit is selected from the available exits based on the relationship between the press position when the long press operation is canceled and the position of the indicator. Specifically, based on the relationship between the press position when the long press operation is canceled and the position of the exit direction control in the vehicle indicator interface, the target exit is determined to be on the target side of the virtual vehicle, and then the target exit is selected from the available exits located on the target side.

[0081] Specifically, the target exit is determined to be on the target side of the virtual vehicle based on the relationship between the press position when the long press operation is canceled and the position of the exit direction control in the vehicle indicator interface. This can be achieved by: 1) determining that the target exit is on the target side indicated by the target exit direction control if the distance between the press position when the long press operation is canceled and the target exit direction control is less than a first threshold; or 2) determining that the target exit is on the target side indicated by the target exit direction control if the angle between the sliding direction during the preset time period before and after the long press operation is canceled is less than a preset angle, and the distance between the starting point and the starting point of the target exit direction control is less than a first distance, and the distance between the ending point and the ending point of the target exit direction control is less than a second distance. The target exit is then determined from the available exits on the target side. This can be achieved by: selecting the available exit with the smallest or largest exit number from the available exits on the target side as the target exit; or selecting the available exit closest to the seat occupied by the target object from the available exits on the target side as the target exit.

[0082] When a long press operation, following a first preset duration, is a fixed-point long press (i.e., the press duration on the vehicle indicator interface exceeds a second preset duration, and the positional change of the press location is less than a second threshold), an available exit that meets preset conditions relative to the target object's seat can be determined as the target exit according to preset rules. For example, seat number 1 (usually the driver's seat) can be designated as the target seat, or the seat with the smallest difference between its number and the target object's seat number can be designated as the target seat. The vehicle exit adjacent to the target seat can then be designated as the target exit. For instance, if the target object's seat number is 3, and the unoccupied seats are numbered 2, 5, and 6, and seat number 1 is already occupied, then the vehicle exit adjacent to the target seat (seat number 2) can be designated as the target exit. The second preset duration can be 0.2 seconds or 0.3 seconds, etc.

[0083] When a long press operation, following a first preset duration, is considered a fixed-point long press, the available exit corresponding to that duration can be determined as the target exit. Specifically, the press position in the vehicle indicator interface can be obtained, along with the seat number of the unoccupied seat adjacent to the available exit corresponding to the target's seat. If the press duration in the vehicle indicator interface exceeds a second preset duration, and the positional change of the press position is less than a second threshold, then the press following the first preset duration is determined to be a fixed-point long press. When the long press operation is canceled, a target identifier satisfying a preset order condition can be determined from the indicator based on the seat number order and the press duration. The available exit corresponding to this target identifier is the target exit. The seat numbers can be arranged in ascending order, and the seat numbers can be cyclically arranged, with the seat number arranged again in ascending order after the seat with the largest number.

[0084] For example, when the pressing duration of the pressing operation is within the first range, the first seat after the seat occupied by the target object can be determined as the target seat according to the seat number order, and the indicator corresponding to the target seat can be used as the target indicator that meets the preset order conditions; when the pressing duration of the pressing operation is within the second range, the second seat after the seat occupied by the target object can be determined as the target seat according to the seat number, and the indicator corresponding to the target seat can be used as the target indicator that meets the preset order conditions, and so on.

[0085] When the designated operation for the disembarkation control is a long press, the activated indicator can be highlighted relative to the inactive indicator in the vehicle indicator interface. The activated indicator is used to identify the candidate indicator corresponding to the long press operation. This allows the available exit corresponding to the candidate indicator when the long press operation is canceled to be identified as the target exit. Users can identify the activated indicator by highlighting it, cancel the long press operation when selecting that indicator, and activate other indicators by long pressing when not selecting that indicator. The long press operation, after a first preset duration, can be either a slide or a long press. When the disembarkation control and the seat label of the target vehicle are aligned, the initial position of the long press operation in the vehicle indicator interface is the seat label position of the target vehicle. These two forms will be explained in detail below.

[0086] When a long press is followed by a slide after a first preset duration, the press position in the vehicle indicator interface can be obtained. Based on the relationship between the press position when the long press is canceled and the position of the indicator showing available exits in the vehicle indicator interface, the active indicator can be determined from the indicators. Specifically, the active indicator can be determined based on the distance between the press position when the long press is canceled and the indicator in the vehicle indicator interface; alternatively, the slide direction can be determined based on the press position during the preset time period before and after the long press is canceled, and the indicator whose direction matches the slide direction is the active indicator.

[0087] Taking the example of indicating that the indicator includes the seat icon of an unoccupied seat, and determining the activated indicator based on distance, after obtaining the press position of the long press operation in the vehicle indicator interface, if the distance between the press position and the seat icon of the target unoccupied seat is less than a first threshold, the seat icon of the target seat is determined as the activated seat icon. (Refer to...) Figure 7 A, the seat identifier in the upper right corner is the active seat identifier 12A, which is grayed out. (See reference) Figure 7 C. Seat number 2 (front right seat) has an activated seat identifier 12A, which is grayed out. That is, the area formed by points outside the seat identifier and within a distance of less than a first threshold is considered the hot zone of that seat identifier. If the press position when the long-press operation is canceled is within this hot zone, then the seat identifier is considered activated. When the indicator includes an exit identifier for an available exit, an exit direction control corresponding to an available exit, or a direction guide control corresponding to an available exit, the selection method for the activated indicator can refer to the selection method for an unoccupied seat identifier mentioned above. Figure 7 D, the exit indicator in the upper right corner is the activated exit indicator 12C, which is grayed out. (See reference) Figure 7E, the exit direction control on the right is the active exit direction control 12D, which is grayed out.

[0088] Taking an indicator that includes a directional guide control corresponding to an available exit, and where the selected indicator is determined based on the sliding direction, as an example, after obtaining the press position of the long-press operation in the vehicle indicator interface, if the angle between the sliding direction within a preset time period and the indicator direction of the target directional guide control is less than a preset angle, and the distance between the starting point and the starting point of the target directional guide control is less than a first distance, and the distance between the ending point and the ending point of the target directional guide control is less than a second distance, then the target directional guide control is selected as the activated directional guide control. (Refer to...) Figure 7 B and Figure 7 F, the directional guide control in the upper right corner is the activated directional guide control 12B, which is grayed out.

[0089] When a long press operation, after a first preset duration, is a fixed-point long press (meaning the change in the press position on the vehicle indicator interface is less than a second threshold), the indicator icon corresponding to the target vehicle's seat that satisfies a preset relationship can be activated according to preset rules. For example, the seat with the smallest difference between its seat number and the target vehicle's seat number (which is less than the target vehicle's seat number) can be designated as the target seat, and its corresponding indicator icon can be activated. The user can cancel the long press operation when exiting the vehicle. For instance, if the target vehicle's seat number is 3, and the unoccupied seats are numbered 2, 5, and 6, then the indicator icon corresponding to the target seat with seat number 2 can be determined as the activated indicator icon.

[0090] When a long press operation, following a first preset duration, is considered a fixed-point long press, the indicator corresponding to the press duration can be determined as the activated indicator. Specifically, the press position in the vehicle indicator interface can be obtained, and the seat number sequence between the target object's seat and the unoccupied seats can be determined as the seat relationship. If the position change of the press position is less than a second threshold, the long press operation following the first preset duration is determined as a fixed-point long press. The activated seat indicator can then be sequentially switched among the unoccupied seat indicators based on a fixed time interval and the seat number sequence of the seat relationship indicator. The fixed time interval can range from 0.1 seconds to 0.3 seconds.

[0091] For example, after displaying the vehicle indicator interface, if the change in the pressing position of the long press operation is less than a second threshold within the first time interval, then when the first time interval is reached, the first seat after the seat occupied by the target object is determined as the target seat according to the seat number order, and the indicator corresponding to the target seat is activated. When the second time interval is reached, the second seat after the seat occupied by the target object is determined as the target seat according to the seat number order, and the indicator corresponding to the target seat is activated, and so on.

[0092] refer to Figure 8 This is a schematic diagram of the vehicle instruction interface provided in this application embodiment. The seat occupied by the target object is the middle row left seat, seat number 3. The unoccupied seats are numbered 2, 5, and 6, corresponding to the front row right seat, the rear row left seat, and the rear row right seat. The seat numbering order can be 2, 5, 6. After the first time interval, the seat identifier of seat number 5 (rear row left seat) is activated as seat identifier 12A and appears gray. After the second time interval, the seat identifier of seat number 6 (rear row right seat) is activated as seat identifier 12A and appears gray. After the third time interval, the seat identifier of seat number 2 (front row right seat) is activated as seat identifier 12A and appears gray. After the fourth time interval, the seat identifier of seat number 5 (rear row left seat) is activated as seat identifier 12A and appears gray, and so on.

[0093] When the designated action for the exit control is a long press to cancel, the long press is canceled before the vehicle indicator interface is displayed. The selection of indicator icons in the vehicle indicator interface can be achieved through touch operations on the vehicle indicator interface. That is, in response to touch operations on the vehicle indicator interface, the target exit can be determined from the available exits. Touch operations on the vehicle indicator interface can be tap, swipe, or long press.

[0094] When the touch operation on the vehicle indicator interface is a click operation, the target exit can be selected from the available exits based on the relationship between the click position and the position of the indicator. Specifically, if the distance between the click position and the target indicator in the indicator is less than a first threshold, the available exit corresponding to the target indicator is determined as the target exit. Furthermore, the activated indicator can be determined based on the relationship between the click position and the indicator, and the activated indicator is highlighted relative to the inactive indicator. For example, if the distance between the click position and the target indicator in the indicator is less than a first threshold, the target indicator is determined as the activated indicator. When the indicator includes an exit direction control corresponding to an available exit, determining the available exit corresponding to the target indicator as the target exit can be specifically done by determining the target exit from the available exits located on the target side indicated by the target indicator; the specific method can be referred to the previous description.

[0095] When the touch operation on the vehicle indicator interface is a swipe operation, if the angle between the swipe operation and the direction indicated by the target indicator is less than a preset angle, and the distance between the starting point and the starting point of the target direction guide control is less than a first distance, and the distance between the ending point and the ending point of the target direction guide control is less than a second distance, the available exit corresponding to the target indicator is determined as the target exit. Furthermore, the activated indicator can be determined based on the positional relationship between the swipe operation's pressing position and the indicator, and the activated indicator is highlighted relative to the inactive indicator. For example, if the angle between the swipe operation and the direction indicated by the target indicator is less than a preset angle, and the distance between the starting point and the starting point of the target direction guide control is less than a first distance, and the distance between the ending point and the ending point of the target direction guide control is less than a second distance, the target indicator is determined as the activated indicator. When the indicator includes an exit direction control corresponding to an available exit, the available exit corresponding to the target indicator is determined as the target exit. Specifically, the target exit can be determined from the available exits located on the target side indicated by the target indicator; the specific method can be referred to the previous description.

[0096] When the touch operation on the vehicle indicator interface is a fixed-point long press operation, that is, when the press duration on the vehicle indicator interface is greater than a second preset duration and the positional change of the press position is less than a second threshold, the available exit that meets the preset conditions with respect to the seat occupied by the target object can be determined as the target exit according to preset rules. For example, the seat with seat number 1 (usually the driver's seat) can be designated as the target seat, or the seat with a seat number less than the seat number occupied by the target object and the smallest difference between the seat number and the seat number occupied by the target object can be designated as the target seat, and the vehicle exit adjacent to the target seat can be designated as the target exit. In addition, the indicator signs of seats that meet the preset relationship with the seat occupied by the target object can be activated according to preset rules.

[0097] When the touch operation on the vehicle indicator interface is a fixed-point long press, the available exit corresponding to the press duration can be determined as the target exit based on the press duration. Specifically, the press position of the touch operation on the vehicle indicator interface can be obtained, along with the seat number of the unoccupied seat adjacent to the available exit corresponding to the target object's seat. If the press duration of the touch operation on the vehicle indicator interface exceeds a second preset duration, and the positional change of the press position is less than a second threshold, then the touch operation is determined to be a fixed-point long press. When the fixed-point long press operation is canceled, a target identifier that meets the preset order conditions can be determined from the indicator based on the seat number order and the press duration of the touch operation. The available exit corresponding to the target identifier is the target exit. The seat number order can be arranged in ascending order, and the seat numbers can be arranged cyclically, with the seat number arranged again in ascending order after the seat with the largest number.

[0098] Furthermore, the activated indicator can be determined based on the press duration of the touch operation. Specifically, the press position of the touch operation in the vehicle indicator interface can be obtained, and the seat number sequence of the seat occupied by the target object and the unoccupied seats can be determined as the seat relationship. If the press duration of the touch operation in the vehicle indicator interface is greater than a second preset duration, and the position change of the press position is less than a second threshold, then the touch operation is determined to be a fixed-point long press operation. The activated seat indicator can be sequentially switched from the unoccupied seat indicators based on a fixed time interval and according to the seat number sequence of the seat relationship indicator. For details, please refer to the previous description.

[0099] The above describes how to determine the target exit based on the selection of the indicator sign. When determining the target exit, you can control the target object to exit the virtual vehicle from the target exit. The target object can switch from its seat to outside the target exit, which is reflected as exiting the virtual vehicle. Alternatively, it can move from its seat to an adjacent seat at the target exit. Moving to outside the target exit is reflected as changing seats before exiting the virtual vehicle, which is more in line with the actual scenario and improves the game experience. Specifically, controlling the target object to exit the vehicle from the target exit can be done by controlling the target object to move from its seat to an adjacent seat at the target exit, and then exiting the virtual vehicle from the target exit.

[0100] For example, if the available exit on the right front is the target exit, the target object can be controlled to move from its seat to the seat on the right front, and then exit the virtual vehicle 10 from that seat. See [link to relevant documentation]. Figure 9 This is a schematic diagram of an exit from a vehicle provided in an embodiment of this application; alternatively, the seat identifier on the left front can be activated as seat identifier 12A by swiping up, see [link to relevant documentation]. Figure 10ATherefore, when the available exit to the left front is the target exit, the target object can be controlled to move from its seat to the seat to the left front, and then exit the virtual vehicle 10 from that seat. (See reference...) Figure 10B and 10C The virtual vehicle 10 in 10C is a top view.

[0101] In this embodiment of the application, if the long press or touch operation in the vehicle indicator interface does not select an indicator, it can be assumed that the user wants to give up getting off the vehicle. In response to the selection of an area other than the indicator in the vehicle indicator interface, the display of the vehicle indicator interface can be canceled. After the display of the vehicle indicator interface is canceled, the display of the getting off control can be restored.

[0102] The foregoing embodiments described the control method for virtual vehicles. The following is a detailed description of the control device for virtual vehicles in this application, using the deployment of the control device for virtual vehicles on a terminal as an example. Please refer to [link to relevant documentation]. Figure 11 , Figure 11 This is a schematic diagram of one embodiment of the control device for a virtual vehicle in this application. As shown in the figure, the control device 1300 for a virtual vehicle includes:

[0103] The control display unit 1301 is used to display a disembarkation control for the virtual vehicle when the target object is riding in the virtual vehicle;

[0104] The interface display unit 1302 is used to display a vehicle indication interface in response to a specified operation on the disembarkation control. The vehicle indication interface is used to indicate the available exits of the virtual vehicle. The available exits are the vehicle exits adjacent to the unoccupied seats of the virtual vehicle.

[0105] The vehicle exit control unit 1303 is used to control the target object to exit the virtual vehicle from the target exit in response to the selection of a target exit among the available exits via the vehicle indication interface.

[0106] Optionally, the indicator may include at least one of the following: a seat indicator for an unoccupied seat, an exit indicator for an available exit, an exit direction control corresponding to an available exit, or a direction guidance control corresponding to an available exit;

[0107] The exit direction control is used to indicate that the available exit is located on the first or second side of the virtual vehicle, and the direction guidance control is used to indicate the direction of the available exit relative to the seat occupied by the target object.

[0108] Optionally, the interface display unit 1302 is specifically used for:

[0109] In response to the long press duration of the disembarkation operation reaching a first preset duration, the vehicle indicator interface is displayed.

[0110] Optionally, the device further includes:

[0111] The press position determination unit is used to obtain the press position of the long press operation on the vehicle indicator interface;

[0112] The target exit selection unit is used to select the target exit from the available exits based on the pressing position when the long press operation is canceled and the positional relationship between the indicator markings indicating available exits in the vehicle indicator interface.

[0113] Optionally, if the indicator includes the seat identifier for the unoccupied seat, the target exit selection unit is specifically used for:

[0114] If the distance between the pressing position when the long press operation is canceled and the target seat identifier in the seat identifier is less than a first threshold, the available exit corresponding to the target seat identifier is determined as the target exit.

[0115] Optionally, if the indicator includes an exit direction control corresponding to the available exit, the target exit selection unit is specifically used for:

[0116] Based on the press position when the long press operation is canceled and the position relationship between the exit direction control in the vehicle indicator interface, it is determined that the target exit is located on the target side of the virtual vehicle;

[0117] The target exit is determined from the available exits located on the target side.

[0118] Optionally, the device further includes:

[0119] The information acquisition unit is used to acquire the pressing position of the long press operation on the vehicle indicator interface, and the seat number sequence of the unoccupied seats adjacent to the available exit corresponding to the indicator of the target object's seat.

[0120] The target identifier determination unit is used to determine a target identifier that meets the preset order conditions from the indicator identifiers according to the seat number order and the pressing duration of the pressing operation when the long press operation is canceled, if the pressing duration of the long press operation in the vehicle indicator interface is greater than the second preset duration and the position change of the pressing position is less than the second threshold. The available exit corresponding to the target identifier is the target exit.

[0121] Optionally, the device further includes:

[0122] The highlighting unit is used to highlight the activated indicator relative to the inactive indicator in the vehicle indicator interface, wherein the activated indicator is used to identify the indicator to be selected corresponding to the long press operation;

[0123] The target exit determination unit is used to determine the available exit corresponding to the selectable identifier when the long press operation is canceled as the target exit.

[0124] Optionally, if the indicator includes a seat sign for an unoccupied seat, the device further includes:

[0125] The press position acquisition unit is used to acquire the press position of the long press operation on the vehicle indicator interface;

[0126] An activation identifier determination unit is used to determine the seat identifier of the target seat as an activated seat identifier if the distance between the pressing position and the seat identifier of the target seat in the unoccupied seats is less than a first threshold.

[0127] Optionally, if the indicator includes a seat sign for an unoccupied seat, the device further includes:

[0128] The information acquisition unit is used to acquire the pressing position of the long press operation in the vehicle indicator interface and determine the seat number sequence of the seat occupied by the target object and the unoccupied seat as the seat relationship;

[0129] The activation identifier switching unit is used to sequentially switch the activated seat identifier from the seat identifiers of the unoccupied seats based on a fixed time interval and according to the seat number order of the seat relationship identifiers if the long press operation on the vehicle indicator interface is longer than a second preset time and the position change of the press position is less than a second threshold.

[0130] Optionally, the vehicle indication interface also displays the seat identifier of the seat occupied by the target object, and the device further includes:

[0131] The identification position determination unit is used to determine the identification position of the seat identification of the seat of the target object in the vehicle indication interface before the vehicle indication interface is displayed;

[0132] The position modulation unit is used to modulate the position of the marker so that the distance between the marker position and the control position of the disembarkation control is less than a second preset distance, and then determine the interface area for displaying the vehicle instruction interface based on the marker position.

[0133] Optionally, if the vehicle indicator interface displays the seat identifier of the unoccupied seat, the seat identifier of the unoccupied seat and the seat identifier of the seat occupied by the target object are displayed using different identifier patterns.

[0134] Optionally, the specified operation is a long press to cancel the operation, and the device further includes:

[0135] Long press operation acquisition unit, used to acquire long press operations for the disembarkation operation;

[0136] An operation determination and acquisition unit is used to determine and acquire the long press cancellation operation if the long press operation is cancelled, so as to execute the operation of displaying the vehicle indicator interface;

[0137] An exit determination unit is configured to determine the target exit from the available exits in response to a touch operation on the vehicle indication interface.

[0138] Optionally, the device further includes:

[0139] The cancel display unit is used to cancel the display of the vehicle indicator interface in response to the selection of an area other than the indicator mark in the vehicle indicator interface.

[0140] Optionally, the device further includes:

[0141] The parameter acquisition unit is used to acquire the updated unoccupied seats of the virtual vehicle after the display vehicle instruction interface;

[0142] The interface update unit is used to update the vehicle indicator interface according to the updated unoccupied seats.

[0143] Optionally, the device further includes:

[0144] The prompting unit is used to respond to a specified operation on the disembarkation control and to prompt that there is no available exit if the virtual vehicle does not have an available exit.

[0145] Optionally, the vehicle exit control unit 1303 is specifically used for:

[0146] In response to the selection of a target exit from the available exits via the vehicle indication interface, the target object is controlled to move from its seat to an adjacent seat at the target exit, and then exit the virtual vehicle from the target exit.

[0147] This application also provides a computer device, which is the computer device described above, and may include a terminal device or a server. The aforementioned control device for virtual vehicles may be configured in this computer device. The computer device will now be described in conjunction with the accompanying drawings.

[0148] If the computer device is a terminal device, please refer to Figure 12 As shown, this application provides a terminal device, taking a mobile phone as an example:

[0149] Figure 12 This diagram illustrates a partial structural representation of a mobile phone related to the terminal device provided in this embodiment. (Reference) Figure 12 The mobile phone includes components such as a radio frequency (RF) circuit 1410, a memory 1420, an input unit 1430, a display unit 1440, a sensor 1450, an audio circuit 1460, a Wi-Fi module 1470, a processor 1480, and a power supply 1490. Those skilled in the art will understand that... Figure 12 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0150] The following is combined Figure 12 A detailed introduction to each component of a mobile phone:

[0151] The RF circuit 1410 can be used to receive and transmit signals during information transmission or calls. In particular, it receives downlink information from the base station and processes it with the processor 1480; in addition, it transmits uplink data to the base station.

[0152] The memory 1420 can be used to store software programs and modules. The processor 1480 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 1420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0153] The input unit 1430 can be used to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1430 may include a touch panel 1431 and other input devices 1432.

[0154] The display unit 1440 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 1440 may include a display panel 1441.

[0155] The mobile phone may also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.

[0156] Audio circuitry 1460, speaker 1461, and microphone 1462 provide an audio interface between the user and the mobile phone.

[0157] WiFi is a short-range wireless transmission technology. Through the WiFi module 1470, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access.

[0158] The processor 1480 is the control center of the mobile phone. It connects to various parts of the mobile phone through various interfaces and lines. It performs various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in the memory 1420 and calling data stored in the memory 1420.

[0159] The mobile phone also includes a power supply 1490 (such as a battery) that powers the various components.

[0160] In this embodiment, the processor 1480 included in the terminal device also has the following functions:

[0161] When the target is riding in a virtual vehicle, a disembarkation control for the virtual vehicle is displayed;

[0162] In response to a specified operation on the disembarkation control, a vehicle indication interface is displayed, the vehicle indication interface including an indicator for indicating the available exits of the virtual vehicle, the available exits being the vehicle exits adjacent to the unoccupied seats of the virtual vehicle;

[0163] In response to the selection of a target exit from the available exits via the indicator on the vehicle indicator interface, the target object is controlled to exit the virtual vehicle from the target exit.

[0164] If the computer device is a server, this application embodiment also provides a server; please refer to [link to relevant documentation]. Figure 13 As shown, Figure 13This is a structural diagram of a server 1500 provided in an embodiment of this application. The server 1500 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 1522 (e.g., one or more processors) and a memory 1532, and one or more storage media 1530 (e.g., one or more mass storage devices) for storing application programs 1542 or data 1544. The memory 1532 and storage media 1530 can be temporary or persistent storage. The program stored in the storage media 1530 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the server. Furthermore, the CPU 1522 may be configured to communicate with the storage media 1530 and execute the series of instruction operations in the storage media 1530 on the server 1500.

[0165] Server 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input / output interfaces 1558, and / or one or more operating systems 1541, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.

[0166] The steps performed by the server in the above embodiments can be based on Figure 13 The server structure shown.

[0167] In addition, this application embodiment also provides a storage medium for storing a computer program for executing the method provided in the above embodiment.

[0168] This application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the methods provided in the above embodiments.

[0169] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium can be at least one of the following media: read-only memory (ROM), RAM, magnetic disk, or optical disk, etc., and other media capable of storing program code.

[0170] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0171] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Moreover, based on the implementation methods provided in the above aspects, this application can be further combined to provide more implementation methods. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for virtual vehicles, characterized in that, The method includes: When the target is riding in a virtual vehicle, a disembarkation control for the virtual vehicle is displayed; In response to a specified operation on the disembarkation control, the position of the seat identifier of the seat occupied by the target object in the vehicle indication interface is determined. After adjusting the position of the identifier to a distance less than a second preset distance from the position of the disembarkation control, the interface area for displaying the vehicle indication interface is determined based on the identifier position. The vehicle indication interface includes an indicator for indicating the available exits of the virtual vehicle. The available exits are the vehicle exits adjacent to the unoccupied seats of the virtual vehicle. The seat identifier of the seat occupied by the target object is aligned with the display position of the disembarkation control. In response to the selection of a target exit from the available exits via the indicator on the vehicle indicator interface, the target object is controlled to exit the virtual vehicle from the target exit.

2. The method according to claim 1, characterized in that, The indicator includes at least one of the following: a seat indicator for an unoccupied seat, an exit indicator for an available exit, an exit direction control corresponding to an available exit, or a direction guidance control corresponding to an available exit; The exit direction control is used to indicate that the available exit is located on the first or second side of the virtual vehicle, and the direction guidance control is used to indicate the direction of the available exit relative to the seat occupied by the target object.

3. The method according to claim 1 or 2, characterized in that, The specified operation is a long press operation, and the response to the specified operation on the disembarkation control, displaying the vehicle indicator interface, includes: In response to the long press duration of the disembarkation operation reaching a first preset duration, the vehicle indicator interface is displayed.

4. The method according to claim 3, characterized in that, The method further includes: Obtain the press position of the long press operation on the vehicle indicator interface; Based on the relationship between the press position when the long press operation is canceled and the position of the indicator marking the available exit in the vehicle indicator interface, the target exit is selected from the available exits.

5. The method according to claim 4, characterized in that, If the indicator includes the seat indicator for the unoccupied seat, the step of selecting the target exit from the available exits based on the position of the press when the long press operation is canceled and the positional relationship between the indicator indicating available exits in the vehicle indicator interface includes: If the distance between the pressing position when the long press operation is canceled and the target seat identifier in the seat identifier is less than a first threshold, the available exit corresponding to the target seat identifier is determined as the target exit.

6. The method according to claim 4, characterized in that, If the indicator includes an exit direction control corresponding to the available exit, the step of selecting the target exit from the available exits based on the press position when the long press operation is canceled and the position relationship between the available exits indicated in the vehicle indicator interface includes: Based on the press position when the long press operation is canceled and the position relationship between the exit direction control in the vehicle indicator interface, it is determined that the target exit is located on the target side of the virtual vehicle; The target exit is determined from the available exits located on the target side.

7. The method according to claim 3, characterized in that, The method further includes: The press position of the long press operation on the vehicle indicator interface is obtained, as well as the seat number sequence of the unoccupied seats adjacent to the available exit corresponding to the indicator of the target object's seat; If the duration of the long press operation on the vehicle indicator interface is greater than the second preset duration, and the position change of the press position is less than the second threshold, when the long press operation is canceled, a target identifier that meets the preset sequence condition is determined from the indicator identifiers according to the seat number order and the duration of the press operation, and the available exit corresponding to the target identifier is the target exit.

8. The method according to claim 3, characterized in that, The method further includes: In the vehicle indicator interface, the activated indicator is highlighted relative to the inactive indicator. The activated indicator is used to identify the indicator to be selected corresponding to the long press operation. The available exit corresponding to the selectable identifier when the long press operation is canceled is determined as the target exit.

9. The method according to claim 8, characterized in that, If the indicator includes a seat indicator for the unoccupied seat, the method further includes: Obtain the press position of the long press operation on the vehicle indicator interface; If the distance between the pressing position and the seat identifier of the target seat in the unoccupied seats is less than a first threshold, the seat identifier of the target seat is determined as the activated seat identifier.

10. The method according to claim 8, characterized in that, If the indicator includes a seat indicator for the unoccupied seat, the method further includes: The press position of the long press operation in the vehicle indicator interface is obtained, and the seat number sequence of the seat occupied by the target object and the unoccupied seat is determined as the seat relationship; If the duration of the long press operation on the vehicle indicator interface is greater than the second preset duration, and the position change of the pressing position is less than the second threshold, the activated seat identifier is sequentially switched from the unoccupied seat identifiers based on a fixed time interval and according to the seat number order of the seat relationship identifiers.

11. The method according to claim 1, characterized in that, If the vehicle indicator interface displays the seat identifier of the unoccupied seat, the seat identifier of the unoccupied seat and the seat identifier of the seat occupied by the target object are displayed using different identifier patterns.

12. The method according to claim 1 or 2, characterized in that, The specified operation is a long press to cancel the operation, and the method further includes: Get the long press operation for the aforementioned getting off the vehicle; If the long press operation is canceled, determine the long press cancellation operation to execute the operation of displaying the vehicle indicator interface; In response to a touch operation on the vehicle indicator interface, the target exit is determined from the available exits.

13. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the selection of an area outside the indicator in the vehicle indicator interface, the display of the vehicle indicator interface is cancelled.

14. The method according to claim 1 or 2, characterized in that, Following the display of the vehicle indicator interface, the method further includes: Obtain the updated unoccupied seats of the virtual vehicle; The vehicle indicator interface is updated based on the updated unoccupied seats.

15. The method according to claim 1 or 2, characterized in that, The method further includes: In response to a specified operation on the disembarkation control, if the virtual vehicle does not have an available exit, a prompt indicating that no exit is available will be displayed.

16. The method according to claim 1 or 2, characterized in that, The control of the target object to exit the virtual vehicle from the target exit includes: Control the target object to move from its seat to an adjacent seat at the target exit, and then exit the virtual vehicle from the target exit.

17. A control device for a virtual vehicle, characterized in that, include: The control display unit is used to display a disembarkation control for the virtual vehicle when the target object is riding in the virtual vehicle; The interface display unit is used to respond to a specified operation on the disembarkation control, determine the position of the seat identifier of the seat occupied by the target object in the vehicle indication interface, adjust the position of the identifier so that the distance between it and the control position of the disembarkation control is less than a second preset distance, and determine the interface area for displaying the vehicle indication interface based on the identifier position. The vehicle indication interface is used to indicate the available exit of the virtual vehicle. The available exit is the vehicle exit adjacent to the unoccupied seat of the virtual vehicle. The seat identifier of the seat occupied by the target object is aligned with the display position of the disembarkation control. The vehicle exit control unit is used to control the target object to exit the virtual vehicle from the target exit in response to the selection of a target exit from the available exits via the vehicle indication interface.

18. The apparatus according to claim 17, characterized in that, The indicator includes at least one of the following: a seat indicator for an unoccupied seat, an exit indicator for an available exit, an exit direction control corresponding to an available exit, or a direction guidance control corresponding to an available exit; The exit direction control is used to indicate that the available exit is located on the first or second side of the virtual vehicle, and the direction guidance control is used to indicate the direction of the available exit relative to the seat occupied by the target object.

19. The apparatus according to claim 17 or 18, characterized in that, The interface display unit is specifically used for: In response to the long press duration of the disembarkation operation reaching a first preset duration, the vehicle indicator interface is displayed.

20. The apparatus according to claim 19, characterized in that, The device further includes: The press position determination unit is used to obtain the press position of the long press operation on the vehicle indicator interface; The target exit selection unit is used to select the target exit from the available exits based on the pressing position when the long press operation is canceled and the positional relationship between the indicator markings indicating available exits in the vehicle indicator interface.

21. The apparatus according to claim 20, characterized in that, If the indicator includes the seat identifier for the unoccupied seat, the target exit selection unit is specifically used for: If the distance between the pressing position when the long press operation is canceled and the target seat identifier in the seat identifier is less than a first threshold, the available exit corresponding to the target seat identifier is determined as the target exit.

22. The apparatus according to claim 20, characterized in that, If the indicator includes an exit direction control corresponding to the available exit, the target exit selection unit is specifically used for: Based on the press position when the long press operation is canceled and the position relationship between the exit direction control in the vehicle indicator interface, it is determined that the target exit is located on the target side of the virtual vehicle; The target exit is determined from the available exits located on the target side.

23. A computer device, characterized in that, The computer device includes a processor and memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the control method for virtual vehicles according to any one of claims 1-16, based on instructions in the program code.

24. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for performing the control method for a virtual vehicle as described in any one of claims 1-16.

25. A computer program product comprising instructions, characterized in that, When it is run on a computer, it causes the computer to perform the control method for virtual vehicles as described in any one of claims 1-16.

Citation Information

Patent Citations

  • Virtual carrier control method, device and equipment and storage medium

    CN110876849A