US 12,447,905 B2
Vehicle terminal control method, computer device, and storage medium
Shouxin Jiang, Shenzhen (CN); Can Hu, Shenzhen (CN); and Hongbo Li, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Aug. 24, 2023, as Appl. No. 18/455,583.
Application 18/455,583 is a continuation of application No. PCT/CN2022/131057, filed on Nov. 10, 2022.
Claims priority of application No. 202210070015.X (CN), filed on Jan. 21, 2022.
Prior Publication US 2023/0406227 A1, Dec. 21, 2023
Int. Cl. G06F 3/0481 (2022.01); B60R 11/02 (2006.01); B60R 16/023 (2006.01); G06F 3/0362 (2013.01); G06F 3/0485 (2022.01); G06F 3/04886 (2022.01); B60R 11/00 (2006.01)
CPC B60R 11/0264 (2013.01) [B60R 16/023 (2013.01); G06F 3/0362 (2013.01); G06F 3/0481 (2013.01); G06F 3/0485 (2013.01); G06F 3/04886 (2013.01); B60R 2011/0007 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A control method, performed by a vehicle terminal, the vehicle terminal being provided with a touch screen and a hardware peripheral, a mini program relying on a mini program engine running in the vehicle terminal, and the method comprising:
displaying a mini program interface of the mini program, the mini program interface comprising at least two components;
controlling a first component of the at least two components in the mini program interface to perform a first event in response to a physical control operation on the hardware peripheral, comprising:
generating a first touch coordinate based on a first reference point inside a coordinate range of a first component of the at least two components in response to a confirmation operation on the hardware peripheral;
in response to the first component comprising a sub-component, determining whether the first touch coordinate belongs to a coordinate range of the sub-component, wherein the coordinate range of the sub-component is contained in the coordinate range of the first component;
in response to the first touch coordinate not belonging to the coordinate range of the sub-component, generating a first tap-to-click event based on the first touch coordinate;
in response to the first touch coordinate belonging to the coordinate range of the sub-component, re-generating a second touch coordinate based on the coordinate range of the sub-component and generating the first tap-to-click event based on the second touch coordinate; and
transferring the first tap-to-click event to the mini program, a touch coordinate of the first tap-to-click event belonging to the coordinate range of the first component in a focus state, and the first tap-to-click event being configured to trigger the mini program to control the first component to perform a response event; and
controlling a second component of the at least two components in the mini program interface to perform the first event in response to a touch operation on the touch screen.