Trigger event information processing method and device

By receiving and processing the touch event information sent by the terminal in the cloud server, calculating the target time and sending it to the system kernel, the application-side acceleration problem caused by network jitter is solved, the operation abnormality of the cloud application is reduced, and the stability of the system is improved. .

CN118132294BActive Publication Date: 2024-09-24HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410546400.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2024-09-24
Estimated Expiration
2044-05-06

AI Technical Summary

Technical Problem

In cloud applications, network jitter causes the cloud server to receive multiple touch events, causing large accelerations in application-side operations, resulting in abnormal operations.

Method used

By receiving the touch event information sent by the terminal, the target time is calculated and sent together with the touch position to the system kernel through the virtual input device. The kernel processing logic is modified to use the target time instead of the current system time to process the touch event.

Benefits of technology

It reduces the abnormal operation of cloud applications under network jitter, improves the consistency between touch events and virtual input devices, and reduces the probability of abnormal application responses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118132294B
    Figure CN118132294B
Patent Text Reader

Abstract

The present application provides a trigger event information processing method and device, an electronic device and a storage medium, the method comprising: receiving touch event information sent by a terminal, wherein the touch event information comprises a touch time and a touch position; obtaining a target time according to the touch time, and sending the target time and the touch position to a system kernel through a virtual input device, so as to send the target time and the touch position to a framework layer through the system kernel, thereby reducing operational abnormalities of cloud applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud applications, and in particular to a trigger event information processing method and device, an electronic device and a storage medium. Background Art

[0002] With the development of cloud technology, more and more cloud applications are appearing in people's lives. Cloud applications are based on cloud computing and run in the virtual machines / containers of cloud servers. By collecting the application screen images rendered by cloud applications, an image stream composed of continuous image frames is formed. The cloud server encodes the image stream and sends it to the user terminal. The user terminal decodes and displays each frame of the screen image in sequence. In this mode, the user terminal actually only needs to send the user's operation instructions to the cloud server, and then receive the image stream from the cloud server for playback.

[0003] The applicant has already realized during the research and development that the touch point coordinates of the touch event generated when the user operates the user terminal are sent to the cloud server. After receiving the touch point coordinates, the virtual input device registered in the cloud server sends them to the system kernel, and the kernel encapsulates the touch point coordinates and the current time of the system into complete information of a touch point and passes it to the framework layer for processing (such as obtaining the speed / acceleration of the touch operation). The cloud application obtains the processing results from the framework layer to respond to the touch event. However, since the time encapsulated by the kernel is the current time of the system, in the case of network jitter, the cloud server will receive the touch point coordinates of multiple touch events at the same time. At this time, if these multiple touch events are move events, it will cause the application-side operation to produce a large acceleration, thereby causing abnormal operation of the cloud application. This content belongs to the specific implementation of the applicant's research and development work and does not constitute a recognition of the prior art.

[0004] Therefore, how to provide a solution to reduce operational anomalies of cloud applications has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] In view of the technical problems existing in the prior art, the embodiments of the present application provide a trigger event information processing method and device, an electronic device and a storage medium.

[0006] In a first aspect, an embodiment of the present application provides a trigger event information processing method, which is applied to a cloud server, comprising:

[0007] Receiving touch event information sent by the terminal, wherein the touch event information includes touch time and touch position;

[0008] A target time is obtained according to the touch time, and the target time and the touch position are sent to a system kernel through a virtual input device, so that the target time and the touch position are sent to a framework layer through the system kernel.

[0009] In a second aspect, an embodiment of the present application further provides a trigger event information processing device, which is applied to a cloud server, including:

[0010] A receiving unit, configured to receive touch event information sent by a terminal, wherein the touch event information includes a touch time and a touch position;

[0011] The processing unit is used to obtain a target time according to the touch time, and send the target time and the touch position to a system kernel through a virtual input device, so as to send the target time and the touch position to a framework layer through the system kernel.

[0012] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the trigger event information processing method described in the first aspect are executed.

[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the trigger event information processing method as described in the first aspect.

[0014] In summary, the trigger event information processing method and device, electronic device and storage medium provided in the embodiments of the present application, by sending the target time obtained based on the touch time to the kernel, and modifying the kernel's processing logic to no longer process the system's current time but to process the target time, can solve the problem that the kernel uses the system's current time for processing, and the application-side operation generates acceleration when the network jitters, thereby reducing the operational abnormalities of cloud applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A flowchart of an embodiment of a trigger event information processing method provided in an embodiment of the present application;

[0016] Figure 2 A schematic diagram of the structure of an embodiment of a trigger event information processing device provided in an embodiment of the present application;

[0017] Figure 3A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0019] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0020] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0021] Reference Figure 1 FIG. 1 is a flow chart of a trigger event information processing method provided in an embodiment of the present application. The trigger event information processing method is applied to a cloud server and includes:

[0022] S10, receiving touch event information sent by the terminal, wherein the touch event information includes touch time and touch position;

[0023] In this embodiment, it should be noted that the touch time can be the timestamp of the touch event generation / collection or the time when the touch event is generated / collected relative to the power-on time of the terminal, and the touch position can be the position information of the touch point, including the ratio of the distance of the touch point from the interface / screen boundary to the corresponding boundary length, or the coordinates of the touch point on the interface / screen.

[0024] S11. Obtain a target time according to the touch time, and send the target time and the touch position to a system kernel through a virtual input device, so as to send the target time and the touch position to a framework layer through the system kernel.

[0025] It should be noted that the target time can be the touch time, or the touch time relative to the boot time of the cloud server. It is understandable that the time processing in the cloud server can be aimed at the length of time from the system boot time, so the touch time can be converted into the touch time relative to the boot time of the cloud server.

[0026] Specifically, if the touch time is a timestamp, the conversion process may include: calculating the system power-on timestamp of the cloud server based on the receiving time of the touch time and the timestamp at the receiving time; calculating the power-on time of the touch time relative to the cloud server based on the system power-on timestamp and the touch time of the cloud server.

[0027] If the touch time is the time when the touch event is generated / collected relative to the power-on time of the terminal, the conversion process may include: calculating the touch time relative to the time when the connection is established based on the touch time and the first time of the terminal; calculating the touch time relative to the power-on time of the cloud server based on the touch time relative to the time when the connection is established and the second time of the cloud server, wherein the first time of the terminal and the second time of the cloud server are respectively the times recorded when the connection (such as a websocket connection) between the terminal and the cloud server is established (the time is relative to the power-on time of each system).

[0028] The trigger event information processing method provided in the embodiment of the present application sends a target time obtained based on the touch time to the kernel, and modifies the kernel's processing logic to no longer process the system's current time but to process the target time. This can solve the problem that the kernel uses the system's current time for processing, causing acceleration in application-side operations when network jitter occurs, thereby reducing operational abnormalities of cloud applications.

[0029] Based on the aforementioned method embodiment, the touch event information may further include the event type, the touch point identifier, and the touch point identifiers of all other down events;

[0030] The method may further comprise:

[0031] If the number of touch point identifiers of all other down events is not 0, and the preset touch point information list of down events is not empty, then for each down event in the touch point information list, determine whether the touch point identifier of the down event is the same as the touch point identifier in the touch event information, wherein the touch point information list includes the touch time, touch position and touch point identifier of at least one down event;

[0032] If the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates a down event, the touch point information of the down event in the touch point information list is deleted, and the touch point information list is updated based on the touch event information; or if the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates an up event, the touch point information of the down event in the touch point information list is deleted.

[0033] In this embodiment, it should be noted that a list of touch point information for a down event can be maintained in the cloud server, which may specifically include: event type, touch time, touch position and touch point identifier (such as an index). For down events and up events, the touch event information sent by the terminal to the cloud server may include: event type, touch time, touch position, touch point identifier and touch point identifiers of all other down events.

[0034] Each time the cloud server receives touch event information of a down event or an up event, it will determine whether the number of touch point identifiers of all other down events in the touch event information is 0, and whether the preset touch point information list of the down event is empty. If the number of touch point identifiers of all other down events is not 0, and the touch point information list is not empty, then for each down event in the touch point information list, it is determined whether the touch point identifier of the down event is the same as the touch point identifier in the touch event information. If the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates a down event, the touch point information of the down event in the touch point information list is deleted, and the touch point information list is updated based on the touch event information; or if the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates an up event, the touch point information of the down event in the touch point information list is deleted.

[0035] If the touch point identifier of the down event is different from the touch point identifier in the touch event information, determine whether the touch point identifier of the down event is one of the touch point identifiers of all other down events; if the touch point identifier of the down event is not one of the touch point identifiers of all other down events, delete the touch point information of the down event in the touch point information list.

[0036] For example, suppose the cloud server receives a touch event message of (F2, 2, 1), and the corresponding touch point is P2. F2 includes event type, touch time and touch position. The event type in F2 indicates a down event, 2 represents the identifier of P2, and 1 represents the touch point identifier of all other down events (referring to all other down events except the event corresponding to P2). At this time, the touch point information list in the cloud server stores the touch point information of the touch points identified as 1, 2 and 3 (all of which are the touch point information of the down event). At this time, the touch point information list can be traversed. First, for the identifier 1 in the touch point information list, 1≠2 (i.e., the identifier of P2), and 1∈{1} (i.e., the set of touch point identifiers of all other down events), the touch point information of the touch point identified as 1 in the touch point information list is retained.

[0037] Next, for the identifier 2 in the touch point information list, 2=2 (i.e., the identifier of P2), and the event corresponding to P2 is a down event, the touch point information of the touch point identified as 2 in the touch point information list is deleted, and the event type, touch time, touch position, and touch point identifier in the touch event information are written into the touch point information list. In this example, the event corresponding to P2 is a down event, and if the event corresponding to P2 is an up event, the touch point information of the touch point identified as 2 in the touch point information list needs to be deleted.

[0038] Then, for the identifier 3 in the touch point information list, 3≠2 (ie, the identifier of P2), and 3 does not belong to {1} (ie, the set of touch point identifiers of all other down events), the touch point information of the touch point identified as 3 in the touch point information list needs to be deleted.

[0039] If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates a down event, clear the touch point information list, and update the touch point information list based on the touch event information; or

[0040] If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates an up event, clearing the touch point information list; or

[0041] If the number of touch point identifiers of all other down events is not 0, and the touch point information list is empty, the touch point information list is updated based on the touch event information.

[0042] For example, assuming that the touch event information received by the cloud server is (F2, 2, 1) in the previous example, and the touch point information list in the cloud server does not store the touch point information of any touch point, then the event type, touch time, touch position and touch point identifier in the touch event information corresponding to the touch point identified as 1 need to be updated into the touch point information list. At the same time, since the event corresponding to P2 is a down event, the event type, touch time, touch position and touch point identifier in the touch event information also need to be written into the touch point information list. In this example, the event corresponding to P2 is a down event, and if the event corresponding to P2 is an up event, then only the event type, touch time, touch position and touch point identifier in the touch event information corresponding to the touch point identified as 1 need to be written into the touch point information list, and the event type, touch time, touch position and touch point identifier in the touch event information do not need to be written into the touch point information list.

[0043] As another example, suppose the touch event information received by the cloud server is (F2, 2,), where the touch event information does not contain the touch point identifiers of all other down events. The meanings of F2 and 2 refer to the corresponding meanings in the previous example, and the touch point information list in the cloud server stores the touch point information of the touch points identified as 1, 2, and 3 (all of which are touch point information of down events). At this time, the touch point information list needs to be cleared. At the same time, since the event corresponding to P2 is a down event, the event type, touch time, touch position, and touch point identifier in the touch event information also need to be written into the touch point information list. In this example, the event corresponding to P2 is a down event, and if the event corresponding to P2 is an up event, only the touch point information list needs to be cleared, and the event type, touch time, touch position, and touch point identifier in the touch event information do not need to be written into the touch point information list.

[0044] It should be noted that each time the cloud server receives touch event information of a down event or an up event, it will process it according to the above processing logic. When the current processing logic is executed or the current processing logic is executed and the touch point information list is updated (written or deleted) or each round of traversal operation is executed or each round of traversal operation is executed and the touch point information list is updated or the touch point information list is updated, the touch time and touch position in the latest touch point information list can be sent to the system kernel through the virtual input device, or the touch time relative to the boot time of the cloud server and the touch position can be sent to the system kernel through the virtual input device.

[0045] The above embodiment provides a solution to the problem that the cloud server fails to receive up events and down events sent by the terminal due to network anomalies. Through the above solution, the consistency of touch events generated by the terminal and touch events input by the virtual input device in the cloud server can be improved, and the probability of cloud application response abnormalities can be further reduced.

[0046] Based on the foregoing method embodiment, the first value may be 100 ms, and the second value may be 3.

[0047] Reference Figure 2 FIG. 1 is a schematic diagram of a structure of a trigger event information processing device provided in an embodiment of the present application, and the device is applied to a cloud server, including:

[0048] The receiving unit 20 is used to receive the touch event information sent by the terminal, wherein the touch event information includes the touch time and the touch position;

[0049] The processing unit 21 is used to obtain a target time according to the touch time, and send the target time and the touch position to a system kernel through a virtual input device, so as to send the target time and the touch position to a framework layer through the system kernel.

[0050] The trigger event information processing device provided in the embodiment of the present application sends a target time obtained based on the touch time to the kernel, and modifies the kernel's processing logic to no longer process the system's current time but to process the target time. This can solve the problem that the kernel uses the system's current time for processing, causing acceleration in application-side operations when network jitter occurs, thereby reducing operational abnormalities of cloud applications.

[0051] Based on the above device embodiment, the touch event information may further include the event type, the touch point identifier, and the touch point identifiers of all other down events;

[0052] The processing unit may also be used for:

[0053] If the number of touch point identifiers of all other down events is not 0, and the preset touch point information list of down events is not empty, then for each down event in the touch point information list, determine whether the touch point identifier of the down event is the same as the touch point identifier in the touch event information, wherein the touch point information list includes the touch time, touch position and touch point identifier of at least one down event;

[0054] If the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates a down event, the touch point information of the down event in the touch point information list is deleted, and the touch point information list is updated based on the touch event information; or if the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates an up event, the touch point information of the down event in the touch point information list is deleted.

[0055] Based on the above device embodiment, the processing unit may also be used for:

[0056] If the touch point identifier of the down event is different from the touch point identifier in the touch event information, determining whether the touch point identifier of the down event is one of the touch point identifiers of all other down events;

[0057] If the touch point identifier of the down event is not one of the touch point identifiers of all other down events, the touch point information of the down event in the touch point information list is deleted.

[0058] Based on the above device embodiment, the processing unit may also be used for:

[0059] If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates a down event, clear the touch point information list, and update the touch point information list based on the touch event information; or

[0060] If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates an up event, clearing the touch point information list; or

[0061] If the number of touch point identifiers of all other down events is not 0, and the touch point information list is empty, the touch point information list is updated based on the touch event information.

[0062] The trigger event information processing device provided in the embodiment of the present application has an implementation process that is consistent with the trigger event information processing method provided in the embodiment of the present application, and the effect that can be achieved is also the same as the trigger event information processing method provided in the embodiment of the present application, which will not be repeated here.

[0063] like Figure 3 As shown, an electronic device provided by an embodiment of the present application includes: a processor 30, a memory 31 and a bus 32, wherein the memory 31 stores machine-readable instructions executable by the processor 30, and when the electronic device is running, the processor 30 communicates with the memory 31 through the bus 32, and the processor 30 executes the machine-readable instructions to perform the steps of the trigger event information processing method as described above.

[0064] Specifically, the above-mentioned memory 31 and processor 30 can be general-purpose memories and processors, which are not specifically limited here. When the processor 30 runs the computer program stored in the memory 31, the above-mentioned trigger event information processing method can be executed.

[0065] Corresponding to the above-mentioned trigger event information processing method, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned trigger event information processing method are executed.

[0066] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A trigger event information processing method, applied to a cloud server, characterized in that: include: Receiving touch event information sent by the terminal, wherein the touch event information includes touch time and touch position; Obtaining a target time according to the touch time, sending the target time and the touch position to the system kernel through a virtual input device, so that the target time and the touch position are sent to the framework layer through the system kernel, where the target time is the touch time relative to the boot time of the cloud server; The obtaining the target time according to the touch time includes: If the touch time is a timestamp, then the system startup timestamp of the cloud server is calculated based on the receiving time of the touch time and the timestamp of the receiving time; the startup time of the touch time relative to the cloud server is calculated based on the system startup timestamp of the cloud server and the touch time; or If the touch time is the time when the touch event is generated or collected relative to the power-on time of the terminal, the touch time relative to the time when the connection is established is calculated based on the touch time and the first time of the terminal; the touch time relative to the power-on time of the cloud server is calculated based on the touch time relative to the time when the connection is established and the second time of the cloud server, wherein the first time of the terminal and the second time of the cloud server are the times recorded respectively relative to the power-on time of their respective systems when the connection between the terminal and the cloud server is established.

2. The method according to claim 1, characterized in that The touch event information also includes the event type, touch point identifier, and touch point identifiers of all other down events; The method further comprises: If the number of touch point identifiers of all other down events is not 0, and the preset touch point information list of down events is not empty, then for each down event in the touch point information list, determine whether the touch point identifier of the down event is the same as the touch point identifier in the touch event information, wherein the touch point information list includes the touch time, touch position and touch point identifier of at least one down event; If the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates a down event, the touch point information of the down event in the touch point information list is deleted, and the touch point information list is updated based on the touch event information; or if the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates an up event, the touch point information of the down event in the touch point information list is deleted.

3. The method according to claim 2, characterized in that Also includes: If the touch point identifier of the down event is different from the touch point identifier in the touch event information, determining whether the touch point identifier of the down event is one of the touch point identifiers of all other down events; If the touch point identifier of the down event is not one of the touch point identifiers of all other down events, the touch point information of the down event in the touch point information list is deleted.

4. The method according to claim 2, characterized in that Also includes: If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates a down event, clearing the touch point information list, and updating the touch point information list based on the touch event information; or If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates an up event, clear the touch point information list; or If the number of touch point identifiers of all other down events is not 0, and the touch point information list is empty, the touch point information list is updated based on the touch event information.

5. A trigger event information processing device, applied to a cloud server, characterized in that: include: A receiving unit, configured to receive touch event information sent by a terminal, wherein the touch event information includes a touch time and a touch position; A processing unit, configured to obtain a target time according to the touch time, and send the target time and the touch position to a system kernel through a virtual input device, so as to send the target time and the touch position to a framework layer through the system kernel, wherein the target time is the touch time relative to the boot time of the cloud server; The obtaining the target time according to the touch time includes: If the touch time is a timestamp, then the system startup timestamp of the cloud server is calculated based on the receiving time of the touch time and the timestamp of the receiving time; the startup time of the touch time relative to the cloud server is calculated based on the system startup timestamp of the cloud server and the touch time; or If the touch time is the time when the touch event is generated or collected relative to the power-on time of the terminal, the touch time relative to the time when the connection is established is calculated based on the touch time and the first time of the terminal; the touch time relative to the power-on time of the cloud server is calculated based on the touch time relative to the time when the connection is established and the second time of the cloud server, wherein the first time of the terminal and the second time of the cloud server are the times recorded respectively relative to the power-on time of their respective systems when the connection between the terminal and the cloud server is established.

6. The device according to claim 5, characterized in that The touch event information also includes the event type, touch point identifier, and touch point identifiers of all other down events; The processing unit is further used for: If the number of touch point identifiers of all other down events is not 0, and the preset touch point information list of down events is not empty, then for each down event in the touch point information list, determine whether the touch point identifier of the down event is the same as the touch point identifier in the touch event information, wherein the touch point information list includes the touch time, touch position and touch point identifier of at least one down event; If the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates a down event, the touch point information of the down event in the touch point information list is deleted, and the touch point information list is updated based on the touch event information; or if the touch point identifier of the down event is the same as the touch point identifier in the touch event information, and the event type in the touch event information indicates an up event, the touch point information of the down event in the touch point information list is deleted.

7. The device according to claim 6, characterized in that The processing unit is further used for: If the touch point identifier of the down event is different from the touch point identifier in the touch event information, determining whether the touch point identifier of the down event is one of the touch point identifiers of all other down events; If the touch point identifier of the down event is not one of the touch point identifiers of all other down events, the touch point information of the down event in the touch point information list is deleted.

8. The device according to claim 6, characterized in that The processing unit is further used for: If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates a down event, clearing the touch point information list, and updating the touch point information list based on the touch event information; or If the number of touch point identifiers of all other down events is 0, and the touch point information list is not empty, and the event type in the touch event information indicates an up event, clear the touch point information list; or If the number of touch point identifiers of all other down events is not 0, and the touch point information list is empty, the touch point information list is updated based on the touch event information.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the trigger event information processing method according to any one of claims 1 to 4 are executed.

10. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the trigger event information processing method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Control method of vehicle-mounted screen

    CN114115673A

  • Display device and touch event identification method

    CN114237419A

  • Cloud application control method and system, cloud equipment, local equipment and storage medium

    CN116405528A

  • Control method and device for equipment, equipment, medium and vehicle

    CN117971083A

  • Device control method, apparatus, system, electronic device and cloud server

    WO2020168571A1