Touch message processing method and system, vehicle and storage medium

By running the foreground process on the terminal device, receiving and converting initial touch messages, and exchanging data between the foreground process and the background process, the problem of unable to effectively process touch messages of background applications is solved, and the effective processing of touch messages of background applications and the display of operation results is realized.

CN119576196APending Publication Date: 2025-03-07GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411571051.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The prior art cannot effectively process touch messages of background applications, resulting in the inability to effectively process touch messages of background applications.

Method used

By running the foreground process on the terminal device, receiving the initial touch message on the touch screen, and converting it into target format data matching the transmission protocol, and then exchanging data between the foreground process and the background process, the background process can obtain and process the target touch message.

Benefits of technology

It realizes data exchange between the foreground process and the background process, controls the background application to perform target operations, and displays the operation results on the touch screen, thus solving the problem of unable to effectively process the touch messages of the background application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576196A_ABST
    Figure CN119576196A_ABST
Patent Text Reader

Abstract

The invention discloses a touch message processing method and system, a vehicle and a storage medium. The method can be at least applied to the field of information interaction, a touch screen is provided through terminal equipment, and the terminal equipment can be used for running a foreground process to execute the following method: receiving an initial touch message acting on the touch screen, the initial touch message being used for requesting a background application to execute a target operation; at least one target attribute of the initial touch message is converted into target format data matched with a transmission protocol, and the transmission protocol is used for communication between a foreground process and a background process corresponding to a background application; the method comprises the following steps: performing data exchange between a foreground process and a background process to enable the background process to obtain target format data and convert the target format data into a target touch message; and displaying the target operation result on the touch screen. The technical problem that the touch message of the background application cannot be effectively processed is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information interaction, and in particular to a touch message processing method, system, vehicle and storage medium. Background Art

[0002] At present, when there is a touch message acting on the touch screen, the touch message is often received by the foreground application. However, since the background application itself cannot receive the above touch message, it will lead to the technical problem of being unable to effectively process the touch message of the background application.

[0003] With respect to the above-mentioned technical problem of being unable to effectively process touch messages of background applications, no effective solution has been proposed yet. Summary of the invention

[0004] Embodiments of the present invention provide a method, system, vehicle and storage medium for processing touch messages, so as to at least solve the technical problem that touch messages of background applications cannot be effectively processed.

[0005] According to one aspect of an embodiment of the present invention, a method for processing a touch message is provided. A touch screen is provided by a terminal device, and the terminal device can be used to run a foreground process to execute the following method: receiving an initial touch message acting on the touch screen, wherein the initial touch message is used to request a background application to perform a target operation; converting at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between a foreground process and a background process corresponding to the background application; exchanging data between the foreground process and the background process, so that the background process obtains the target format data and converts the target format data into a target touch message, wherein the target touch message is used to control the background application to perform a target operation and obtain a target operation result; and displaying the target operation result on the touch screen.

[0006] Optionally, at least one target attribute of the initial touch message is converted into target format data that matches the transmission protocol, including: extracting the target attribute from multiple attributes of the initial touch message, wherein the importance of the target attribute to the target operation result is greater than the importance of attributes other than the target attribute to the target operation result; encapsulating the target attribute into target object data according to the object data structure; and converting the target object data into target format data that matches the transmission protocol.

[0007] Optionally, the target format data includes target base data, and converting the target object data into target format data matching the transmission protocol includes: serializing the target object data to obtain target base data matching the transmission protocol.

[0008] Optionally, displaying the target operation result on the touch screen includes: displaying an operation screen of the target operation result on the touch screen, wherein the operation screen is obtained by mapping the target operation result to the foreground process through the background process.

[0009] According to another aspect of an embodiment of the present invention, a method for processing a touch message is provided. A touch screen is provided by a terminal device, the terminal device is used to run a foreground process, the touch screen is used to display the operation result of a background application, and the background application is used to run the background process to execute the following method: acquiring target format data by exchanging data between the foreground process and the background process, wherein the target format data matches the transmission protocol, and the target format data is converted from at least one target attribute of the initial touch message, the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application, the initial touch message acts on the touch screen, and the initial touch message is used to request the background application to perform the target operation; converting the target format data into a target touch message; in response to the target touch message, controlling the background application to perform the target operation and obtaining the target operation result; sending the target operation result to the touch screen for display.

[0010] Optionally, converting the target format data into a target touch message includes: deserializing the target format data to obtain target object data, wherein the target object data is used to represent target properties encapsulated in an object data structure; and converting the target object data into a target touch message.

[0011] Optionally, the target object data is converted into a target touch message, including: distributing the target object data to a target function module corresponding to the target operation in the background application; using the target function module to map the target object data to a target touch area to obtain a target touch message for the target touch area, wherein the target touch area is generated based on a hot zone of the background application.

[0012] According to another aspect of an embodiment of the present invention, a touch message processing system is provided. The system may include: a client and a server, wherein the client is used to receive an initial touch message acting on a touch screen of a terminal device using a foreground process, wherein the client is installed on the terminal device, and the initial touch message is used to request a background application on the server to perform a target operation; converting at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application; the server is used to obtain target format data using the background process by exchanging data between the foreground process and the background process; converting the target format data into a target touch message; in response to the target touch message, controlling the background application to perform the target operation and obtain the target operation result; and sending the target operation result to the touch screen for display.

[0013] According to another aspect of an embodiment of the present invention, a device for processing touch messages is also provided. The device may include: a receiving unit, configured to receive an initial touch message acting on a touch screen, wherein the initial touch message is used to request a background application to perform a target operation; a first conversion unit, configured to convert at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between a foreground process and a background process corresponding to the background application; an exchange unit, configured to exchange data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into a target touch message, wherein the target touch message is used to control the background application to perform a target operation and obtain a target operation result; and a display unit, configured to display the target operation result on the touch screen.

[0014] Optionally, the first conversion unit includes: an extraction module, used to extract target attributes from multiple attributes of the initial touch message, wherein the importance of the target attribute to the target operation result is greater than the importance of attributes other than the target attribute to the target operation result; an encapsulation module, used to encapsulate the target attribute into target object data according to the object data structure; and a first conversion module, used to convert the target object data into target format data matching the transmission protocol.

[0015] Optionally, the target format data includes target base data, and the first conversion module includes: a conversion submodule, which is used to perform serialization processing on the target object data to obtain target base data that matches the transmission protocol.

[0016] Optionally, the display unit includes: a display module, configured to display an operation screen of the target operation result on the touch screen, wherein the operation screen is obtained by mapping the target operation result to the foreground process through a background process.

[0017] According to another aspect of an embodiment of the present invention, another device for processing touch messages is provided. The device may include: an acquisition unit, used to acquire target format data by exchanging data between a foreground process and a background process, wherein the target format data matches a transmission protocol, and the target format data is converted from at least one target attribute of an initial touch message, the transmission protocol is used for communication between a foreground process and a background process corresponding to a background application, the initial touch message acts on a touch screen, and the initial touch message is used to request the background application to perform a target operation; a second conversion unit, used to convert the target format data into a target touch message; a control unit, used to control the background application to perform a target operation in response to the target touch message, and obtain a target operation result; a sending unit, used to send the target operation result to the touch screen for display.

[0018] Optionally, the second conversion unit includes: a processing module for deserializing the target format data to obtain target object data, wherein the target object data is used to represent target properties encapsulated in an object data structure; and a second conversion module for converting the target object data into a target touch message.

[0019] Optionally, the second conversion module includes: a distribution sub-module, used to distribute the target object data to a target function module corresponding to the target operation in the background application; a mapping sub-module, used to map the target object data to a target touch area using the target function module to obtain a target touch message of the target touch area, wherein the target touch area is generated based on a hot zone of the background application.

[0020] According to another aspect of an embodiment of the present invention, a vehicle is provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the above methods when running.

[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein when the executable program runs, the device where the storage medium is located is controlled to execute any one of the above methods.

[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, any one of the above methods is implemented.

[0023] In an embodiment of the present invention, when processing a touch message, an initial touch message acting on the touch screen can be received. At least one target attribute of the received initial touch message can be converted into target format data that matches the transmission protocol. By exchanging data between the foreground process and the background process, the background process can obtain the target format data, and the obtained target format data can be converted into a target touch message, thereby controlling the background application to perform the target operation, obtain the target operation result, and display the above-mentioned target operation result on the touch screen of the terminal device. Since the embodiment of the present invention performs data exchange between the foreground process and the background process, the background application can be controlled to perform the target operation through the cross-process communication method, obtain the target operation result, and display the above-mentioned target operation result on the touch screen, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process the touch messages of the background application, and then achieving the technical effect of being able to effectively process the touch messages of the background application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0025] Improper limitation of the present invention. In the accompanying drawings:

[0026] FIG. 1( a ) is a schematic diagram of an application scenario of a method for processing a touch message according to an embodiment of the present invention;

[0027] FIG1( b ) is a flow chart of a method for processing a touch message according to an embodiment of the present invention;

[0028] FIG1( c ) is a schematic diagram of another method for processing a touch message according to an embodiment of the present invention;

[0029] FIG2( a ) is a flow chart of a method for responding to a cross-process screen touch message according to an embodiment of the present invention;

[0030] FIG2( b ) is a schematic diagram of data interaction between a vehicle and a server according to an embodiment of the present invention;

[0031] Figure 3 is a structural block diagram of a touch message processing system according to an embodiment of the present invention;

[0032] FIG. 4 ( a ) is a structural block diagram of a touch message processing device according to an embodiment of the present invention;

[0033] FIG4( b ) is a structural block diagram of another device for processing touch messages according to an embodiment of the present invention;

[0034] Figure 5 is a structural block diagram of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] According to an embodiment of the present invention, a method for processing a touch message is provided, wherein a touch screen is provided by a terminal device, and the terminal device can be used to run a foreground process to execute the method for processing a touch message of the embodiment of the present invention.

[0038] It should be noted that the foreground process can be used to represent the process corresponding to the application that is directly displayed on the graphical user interface or interacts with the user, and the foreground process can be run on the terminal device. Among them, the graphical user interface can be displayed on the touch screen. The foreground process usually has a higher priority, can immediately respond to the user's touch operation, receive the initial touch message acting on the touch screen, and will continue to run while the user uses the application. In contrast, the background process runs on the server side (for example, in the background) and is not directly displayed on the graphical user interface.

[0039] As an optional implementation, the above-mentioned method for processing touch messages may be, but is not limited to, applied to an application scenario as shown in FIG. 1 (a). FIG. 1 (a) is a schematic diagram of an application scenario of a method for processing touch messages according to an embodiment of the present invention. As shown in FIG. 1 (a), in the application scenario, the terminal device 10 may, but is not limited to, communicate with the server 13 through the network 11, and the server 13 may, but is not limited to, perform operations on the database, such as write data operations or read data operations. The above-mentioned terminal device 10 may, but is not limited to, include a touch screen, a processor, and a memory. The above-mentioned touch screen may be a human-computer interaction screen. The above-mentioned human-computer interaction screen may, but is not limited to, be used to display a virtual machine on the terminal device 10, etc. The above-mentioned vehicle 12 may, but is not limited to, be used to respond to the above-mentioned human-computer interaction operation, perform corresponding operations, or generate corresponding instructions, and send the generated instructions to the server 13.

[0040] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] FIG1( b ) is a flow chart of a method for processing a touch message according to an embodiment of the present invention. As shown in FIG1( b ), the method may be applied to a terminal device, and the method may include the following steps:

[0042] Step S112, receiving an initial touch message acting on the touch screen.

[0043] In the technical solution provided in step S112 of the present invention, the initial touch message may be used to request the background application to perform a target operation. For example, the initial touch message may be a touch message acting on a touch screen, which may also be referred to as a touch screen message, and the target operation may be a rendering operation to be performed by the background application, which may also be referred to as a response operation, which is only used as an example and is not specifically limited.

[0044] In this embodiment, the touch screen may be provided by a terminal device, and may include the following types of touch screens: resistive touch screens, capacitive touch screens, pressure-sensitive touch screens, infrared touch screens, and surface acoustic wave touch screens, which are only given as examples and are not specifically limited.

[0045] In this embodiment, the initial touch message acting on the touch screen is an initial touch message triggered on the touch screen, and the terminal device can receive the above initial touch message acting on the touch screen by running a foreground process. For example, the terminal device can receive a touch message acting on a pressure-sensitive touch screen by running a foreground process, which is only an example and not specifically limited here.

[0046] Step S114, converting at least one target attribute of the initial touch message into target format data matching the transmission protocol.

[0047] In the technical solution provided in the above step S114 of the present invention, after receiving the initial touch message acting on the touch screen, at least one target attribute of the initial touch message can be converted into target format data matching the transmission protocol.

[0048] In this embodiment, the above transmission protocol can be used for communication between the foreground process and the background process corresponding to the background application, and can be a protocol for data exchange between the foreground process and the background process corresponding to the background application. Optionally, the above transmission protocol can be but is not limited to the Transmission Control Protocol (TCP).

[0049] In this embodiment, the target attribute can be used to indicate the attribute of the initial touch message acting on the touch screen. The target attribute can include at least one of the following attributes: position information (position), count information (count), time information (time), and phase information (phase), etc. The position information can be used to indicate the coordinates corresponding to the area acting on the touch screen, the count information can be used to indicate the relationship between the touch operation acting on the touch screen and the single-point touch operation and the multi-point touch operation, the time information can be used to indicate the time interval between two touch operations acting on the touch screen, and the phase information can be used to indicate the current phase of the touch operation acting on the touch screen. This is only an example and is not specifically limited.

[0050] In this embodiment, the above counting information can be used to indicate that the touch operation on the touch screen is a single-point touch operation, and can also be used to indicate that the touch operation on the touch screen is a multi-point touch operation, which is only used as an example and not specifically limited.

[0051] In this embodiment, if the time information is that the time interval of the touch operation on the touch screen is 0s, the touch operation can be a single-click touch operation. If the time information is that the time interval of the touch operation on the touch screen is 0.15s, the touch operation can be a double-click touch operation. This is only an example and is not specifically limited.

[0052] In this embodiment, the above stage information may be that the current stage of the touch operation on the touch screen belongs to the push stage, or the current stage of the touch operation on the touch screen belongs to the move stage, or the current stage of the touch operation on the touch screen belongs to the pop stage, which is only used as an example and is not specifically limited. Among them, the push stage can be used to indicate the stage where the user starts to move the finger to touch the touch screen, the move stage can be used to indicate the stage where the user moves the finger out and ends touching the touch screen, and the pop stage can be used to indicate the stage where the user moves the finger and briefly stays on the touch screen.

[0053] In this embodiment, the target format data may be used to represent base data that matches the transmission protocol. The target format data may include target base data that matches the transmission protocol. For example, the target base data may be, but is not limited to, binary data, which is only used as an example and is not specifically limited.

[0054] In this embodiment, after receiving the initial touch message acting on the touch screen, the terminal device converts at least one target attribute of the initial touch message into target format data matching the transmission protocol. Optionally, in this embodiment, based on receiving the initial touch message acting on the touch screen, the terminal device can extract at least one target attribute from multiple attributes of the initial touch message. By performing format conversion on the extracted target attribute, target format data matching the transmission protocol can be obtained.

[0055] It should be noted that the above method of converting at least one target attribute of the initial touch message into target format data matching the transmission protocol is only an example and is not specifically limited here. Any process and method capable of converting at least one target attribute of the initial touch message into target format data matching the transmission protocol is within the protection scope of the embodiments of the present invention and will not be described one by one here.

[0056] Step S116, by exchanging data between the foreground process and the background process, the background process acquires the target format data and converts the target format data into a target touch message.

[0057] In the technical solution provided in step S116 of the present invention, the target touch message can be used to control the background application to perform the target operation and obtain the target operation result. The target operation result can be used to represent the rendering result that meets the target attribute to be displayed on the touch screen, and the rendering result can at least include the operation screen, which is only used as an example and is not specifically limited.

[0058] In this embodiment, the data exchanged between the foreground process and the background process may include at least one of the following data: target format data, a target request for requesting the transmission of target format data, and a response message sent by the background process to the foreground process in response to the target request, etc., which are only given as examples here and are not specifically limited.

[0059] In this embodiment, after converting at least one target attribute of the initial touch message into target format data matching the transmission protocol, the terminal device exchanges data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into a target touch message. Optionally, on the basis of converting the target format data matching the transmission protocol, the terminal device exchanges data between the foreground process and the background process so that the background process obtains the target format data matching the transmission protocol, and deserializes the obtained target format data to obtain the target object data. The obtained target object data is converted into a target touch message, thereby controlling the background application to perform the target operation and obtaining the target operation result to be displayed on the touch screen. Among them, the target object data can be used to represent the target attribute encapsulated in the object data structure.

[0060] It should be noted that the above method of exchanging data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into the target touch message is only an example, and no specific limitation is made here. As long as the process and method can exchange data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into the target touch message, it is within the protection scope of the embodiments of the present invention, and no examples are given here one by one.

[0061] Step S118: displaying the target operation result on the touch screen.

[0062] In the technical solution provided in the above step S118 of the present invention, after the terminal device exchanges data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into the target touch message, the target operation result can be displayed on the touch screen, that is, the rendering result that meets the target attribute can be displayed. For example, the above rendering result can be displayed with the dynamic effect of air conditioning blowing, which is only used as an example here and is not specifically limited.

[0063] As an optional example, in the above steps S112 to S118 of the present invention, when the same route as the last driving is chosen for this driving, the AI ​​driver can be activated. The AI ​​driver receives the initial touch message acting on the touch screen. Then, the AI ​​driver converts at least one target attribute of the initial touch message into target format data matching the transmission protocol, and exchanges data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into a target touch message. Finally, the AI ​​driver displays the target operation result on the touch screen.

[0064] It should be noted that the vehicle control method of the present invention can also be applied to at least the following scenarios: assisted driving scenario and passive driving scenario (which can be referred to as human driving scenario). Among them, the assisted driving scenario can be used to indicate a scenario in which the vehicle control system provides assistance during the driving process, but the driver still needs to maintain control and supervision of the driving, and the passive driving scenario can be used to indicate a scenario in which the driver controls the vehicle to complete the driving operation.

[0065] In the artificial intelligence AI driver of autonomous driving vehicles, commuting mode usually refers to a driving mode designed for commuting or daily commuting. Among them, the AI ​​driver can control the terminal device to receive the initial touch message acting on the touch screen. Then, the AI ​​driver controls the terminal device to convert at least one target attribute of the received initial touch message into target format data matching the transmission protocol, and exchanges data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into a target touch message. Finally, the AI ​​driver controls the terminal device to display the target operation result on the touch screen.

[0066] In the above steps S112 to S118 of the present invention, when processing a touch message, an initial touch message acting on the touch screen can be received. At least one target attribute of the received initial touch message can be converted into target format data matching the transmission protocol. By exchanging data between the foreground process and the background process, the background process can obtain the target format data, and the obtained target format data can be converted into a target touch message, thereby controlling the background application to perform the target operation, obtaining the target operation result, and displaying the above target operation result on the touch screen of the terminal device. Since the embodiment of the present invention performs data exchange between the foreground process and the background process, the background application can be controlled to perform the target operation through the cross-process communication mode, obtain the target operation result, and display the above target operation result on the touch screen, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process the touch message of the background application, and then achieving the technical effect of being able to effectively process the touch message of the background application.

[0067] The above method of this embodiment is further introduced below.

[0068] As an optional implementation method, step S114 converts at least one target attribute of the initial touch message into target format data that matches the transmission protocol, including: extracting the target attribute from multiple attributes of the initial touch message; encapsulating the target attribute into target object data according to the object data structure; and converting the target object data into target format data that matches the transmission protocol.

[0069] In this embodiment, the importance of the target attribute to the target operation result may be greater than the importance of the attributes other than the target attribute in the multiple attributes to the target operation result. The multiple attributes may include at least one of the following attributes: position information, count information, time information, stage information, and trigger information, etc. The trigger information may be used to indicate the trigger time of the touch operation on the touch screen, which is only used as an example and is not specifically limited.

[0070] In this embodiment, the above object data structure can be used to represent the storage format of object data. The object data may include target object data, which may be but not limited to structured object data (for example, Proto object data), which is only used as an example and is not specifically limited.

[0071] In this embodiment, after receiving the initial touch message acting on the touch screen, the terminal device extracts the target attribute from the multiple attributes of the initial touch message. Optionally, based on receiving the initial touch message acting on the touch screen, the terminal device sorts the importance of the multiple attributes to the target operation result, and according to the obtained importance sorting, at least one target attribute can be extracted from the multiple attributes of the initial touch message. Since the target attribute can be extracted according to the importance sorting, the technical effect of improving the accuracy of determining the target attribute is achieved.

[0072] In this embodiment, after extracting the target attribute from the multiple attributes of the initial touch message, the terminal device encapsulates the target attribute into target object data according to the object data structure. Optionally, in this embodiment, on the basis of extracting the target attribute, the terminal device encapsulates the extracted target attribute according to the object data structure to obtain the target object data. Since the extracted target attribute is encapsulated according to the object data structure, the technical effect of improving the efficiency of encapsulating the attribute is achieved.

[0073] In this embodiment, after the terminal device encapsulates the target attributes into target object data according to the object data structure, the target object data is converted into target format data that matches the transmission protocol. Optionally, in this embodiment, on the basis of encapsulating the target attributes into target object data, the terminal device performs format conversion on the encapsulated target object data to obtain target format data that matches the transmission protocol. Since the format conversion of the encapsulated target object data is performed according to the transmission protocol, the technical effect of improving the conversion efficiency of the target object data is achieved.

[0074] The following further describes the method of converting the target object data into target format data matching the transmission protocol in this embodiment.

[0075] As an optional implementation manner, converting the target object data into target format data matching the transmission protocol includes: serializing the target object data to obtain target binary data matching the transmission protocol.

[0076] In this embodiment, the target format data may include target base data. For example, the target base data may be, but is not limited to, binary data, which is only used as an example and is not specifically limited.

[0077] In this embodiment, after extracting the target attribute from the multiple attributes of the initial touch message, the terminal device serializes the target object data to obtain the target binary data that matches the transmission protocol. Optionally, based on the extracted target attribute, the terminal device in this embodiment serializes the encapsulated target object data to obtain the target binary data that matches the transmission protocol. For example, by serializing the encapsulated Proto object data, binary data that matches the TCP protocol can be obtained. Since the format of the encapsulated target object data is converted according to the transmission protocol, the technical effect of improving the conversion efficiency of the target object data is achieved.

[0078] The method for displaying the target operation result on the touch screen of this embodiment is further described below.

[0079] As an optional implementation method, step S118, displaying the target operation result on the touch screen, includes: displaying an operation screen of the target operation result on the touch screen, wherein the operation screen is obtained by mapping the target operation result to the foreground process through the background process.

[0080] In this embodiment, the operation screen may be obtained by mapping the target operation result to the foreground process through the background process. For example, the operation screen may be a rendering service screen that meets the target attribute.

[0081] In this embodiment, after the terminal device exchanges data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into the target touch message, the operation screen of the target operation result is displayed on the touch screen. Optionally, on the basis of projecting the obtained rendering service screen onto the touch screen for display, the terminal device can control the display of the rendering service screen that meets the target attributes on the touch screen, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, and then realizing the technical effect of effectively processing the touch message of the background application.

[0082] According to an embodiment of the present invention, a method for processing a touch message is also provided, wherein a touch screen is provided by a terminal device, the terminal device is used to run a foreground process, the touch screen is used to display the operation result of a background application, and the background application is used to run a background process to execute the method for processing a touch message in an embodiment of the present invention.

[0083] As an optional implementation, FIG1(c) is a schematic diagram of another method for processing a touch message according to an embodiment of the present invention. As shown in FIG1(c), the method can be applied to a server, and the method can include the following steps:

[0084] Step S122, obtaining target format data by exchanging data between the foreground process and the background process, wherein the target format data matches the transmission protocol, and the target format data is converted from at least one target attribute of the initial touch message, the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application, the initial touch message acts on the touch screen, and the initial touch message is used to request the background application to perform the target operation.

[0085] In the technical solution provided in step S122 of the present invention, the background application can enable the background process to obtain target format data matching the transmission protocol through the data exchange process between the foreground process and the background process. For example, binary data matching the TCP protocol can be obtained, which is only used as an example and is not specifically limited.

[0086] Step S124, converting the target format data into a target touch message.

[0087] In the technical solution provided in the above step S124 of the present invention, after the target format data is acquired by exchanging data between the foreground process and the background process, the target format data is converted into a target touch message. Optionally, in this embodiment, on the basis of acquiring the target format data, the background application performs deserialization processing on the acquired target format data, and the acquired target format data can be converted into a target touch message. For example, the acquired binary data can be deserialized, and the acquired binary data can be converted into a target touch message, which is only used as an example and is not specifically limited.

[0088] Step S126, in response to the target touch message, controlling the background application to execute the target operation and obtaining the target operation result.

[0089] In the technical solution provided by the above step S126 of the present invention, in this embodiment, the above target operation can be a rendering operation triggered by a simulated touch message. The simulated touch message can be an initial touch message acting on the touch screen simulated according to at least one of the following judgment conditions: judging whether the position of the touch operation is within the quadrilateral area, judging whether the touch operation is a single-point touch operation or a multi-point touch operation according to count, judging whether the touch operation is a single-click touch operation or a double-click touch operation according to time, and judging whether the touch operation is a pressing stage, a pop-up stage, or a short-stay stage according to phase. This is only an example for illustration and is not specifically limited.

[0090] In this embodiment, after the target format data is converted into a target touch message, in response to the target touch message, the background application is controlled to perform the target operation to obtain the target operation result. Optionally, in this embodiment, based on the target touch message obtained by conversion, the background application runs a background process, and can respond to the target touch message obtained by conversion, thereby controlling the background application to perform the target operation in response to the simulated touch message, and obtain a rendering result that meets the target attributes to be displayed on the touch screen. For example, the background application can be controlled to perform a rendering operation in response to the simulated touch message to obtain a rendering service screen to be displayed on the touch screen, which is only an example and not specifically limited here.

[0091] Step S128: Send the target operation result to the touch screen for display.

[0092] In the technical solution provided in step S128 of the present invention, in response to the target touch message, the background application is controlled to perform the target operation, and after obtaining the target operation result, the target operation result is sent to the touch screen for display. Optionally, in this embodiment, on the basis of obtaining the target operation result, the background application sends the obtained target operation result to the touch screen, so that the touch screen can display the target operation result. For example, the obtained rendering service screen is sent to the touch screen, so that the touch screen can display the above rendering service screen, which is only used as an example here and is not specifically limited.

[0093] In the above steps S122 to S128 of the present invention, when processing touch messages, target format data can be obtained by exchanging data between the foreground process and the background process. The acquired target format data can be converted into a target touch message, and in response to the converted target touch message, the background application can be controlled to perform a target operation, obtain a target operation result, and send the obtained target operation result to the touch screen for display. Since the embodiment of the present invention performs data exchange between the foreground process and the background process, the background application can be controlled to perform a target operation, obtain a target operation result, and display the obtained target operation result on the touch screen through the cross-process communication method, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process touch messages of background applications, and further achieving the technical effect of being able to effectively process touch messages of background applications.

[0094] The method of converting the target format data into the target touch message of this embodiment is further described below.

[0095] As an optional implementation manner, step S124, converting the target format data into a target touch message, includes: deserializing the target format data to obtain target object data; and converting the target object data into a target touch message.

[0096] In this embodiment, the target object data may be used to represent the target attribute encapsulated in the object data structure. The object data structure may be used to represent the storage format of the object data. The object data may include the target object data, which may be but not limited to the Proto object data, which is only used as an example and is not specifically limited.

[0097] In this embodiment, after acquiring the target format data by exchanging data between the foreground process and the background process, the target format data is deserialized to obtain the target object data. Optionally, based on acquiring the target format data, the background application deserializes the acquired target format data to obtain the target object data. For example, the background application deserializes the acquired binary data to obtain Proto object data. Since the acquired target format data is reversely processed, the technical effect of improving the processing efficiency of binary data is achieved.

[0098] In this embodiment, after the target format data is deserialized to obtain the target object data, the target object data is converted into a target touch message. Optionally, based on the target object data, the background application of this embodiment can obtain a target touch message for the target touch area by mapping the target object data to the target touch area. For example, by mapping the obtained Proto object data to the configured touch area, the target touch message of the configured touch area can be obtained. Since the Proto object data is mapped to the configured touch area, the target touch message of the touch area can be obtained, thereby achieving a technical effect of improving the conversion efficiency of touch messages.

[0099] The method of converting the target object data into the target touch message of this embodiment is further described below.

[0100] As an optional implementation method, the target object data is converted into a target touch message, including: distributing the target object data to a target function module corresponding to the target operation in the background application; using the target function module to map the target object data to the target touch area to obtain a target touch message for the target touch area.

[0101] In this embodiment, the target touch area may be generated based on a hotspot of a background application. The target touch area may be a configured touch area, and the hotspot may be represented by a polygonal area. For example, the polygonal area may be, but is not limited to, a quadrilateral area, which is only used as an example and is not specifically limited.

[0102] In this embodiment, the target function module may be a rendering service module, which is merely used as an example and is not specifically limited.

[0103] In this embodiment, after the target format data is deserialized to obtain the target object data, the target object data is distributed to the target function module corresponding to the target operation in the background application. Optionally, in this embodiment, based on obtaining the target object data, the background application distributes the obtained target object data to the target function module corresponding to the target operation in the background application. For example, the background application distributes the obtained Proto object data to the rendering business module corresponding to the rendering operation in the background application. Since the obtained Proto object data can be distributed to the corresponding rendering business module, the technical effect of improving the rendering efficiency of the data is achieved.

[0104] In this embodiment, after the target object data is distributed to the target function module corresponding to the target operation in the background application, the target object data is mapped to the target touch area using the target function module to obtain the target touch message of the target touch area. Optionally, in this embodiment, based on the distribution of the target object data to the target function module, the background application uses the above-mentioned target function module to map the target object data to the target touch area according to the target attribute, thereby obtaining the target touch message of the target touch area. Since the target object data is mapped to the configured touch area, the target touch message of the touch area can be obtained, thereby achieving the technical effect of improving the conversion efficiency of touch messages.

[0105] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.

[0106] At present, when there is a touch message acting on the touch screen, the touch message is often received by the foreground application. However, since the background application itself cannot receive the touch message, the transmission efficiency of the touch message between the foreground application and the background application is affected, resulting in a technical problem that the touch message of the background application cannot be effectively processed.

[0107] However, an embodiment of the present invention proposes a method for processing touch messages. By exchanging data between the foreground process and the background process, the background application can be controlled to execute the target operation, obtain the target operation result, and display the above-mentioned target operation result on the touch screen, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process the touch messages of the background application, and further achieving the technical effect of being able to effectively process the touch messages of the background application.

[0108] In this embodiment, through the cross-process response method of the touch message of the screen, data exchange can be realized between the foreground process and the background process, thereby controlling the background application to perform the target operation, obtain the target operation result, and display the above target operation result on the touch screen. For example, Figure 2 (a) is a flowchart of a cross-process response method of the touch message of the screen according to an embodiment of the present invention. As shown in Figure 2 (a), the cross-process response method of the touch message of the screen may include the following steps:

[0109] Step S211, using the foreground process to display a rendering service screen on the touch screen.

[0110] After the foreground process is used to display the rendering service screen on the touch screen, the process proceeds to step S212 to receive a touch message acting on the touch screen using the foreground process.

[0111] After using the foreground process to receive the touch message acting on the touch screen, enter step S213, use the foreground process to encapsulate the touch message and obtain Proto object data.

[0112] In the technical solution provided in the above step S213 of the present invention, at least one target attribute can be extracted from multiple attributes of the touch message, and the extracted target attribute is packaged into a message to obtain Proto object data.

[0113] After the touch message is encapsulated by the foreground process to obtain the Proto object data, step S214 is entered to serialize the obtained Proto object data to obtain binary data, and the obtained binary data is sent to the background process through TCP communication.

[0114] After serializing the obtained Proto object data to obtain binary data, and sending the obtained binary data to the background process through TCP communication, the process proceeds to step S215, and the background application deserializes the obtained binary data to obtain the Proto object data.

[0115] After the obtained binary data is deserialized to obtain the Proto object data, the process proceeds to step S216, where the background application distributes the obtained Proto object data to a rendering business module in the background application that corresponds to the rendering operation.

[0116] After distributing the obtained Proto object data to the rendering business module corresponding to the rendering operation in the background application, step S217 is entered. The background application uses the rendering business module to map the Proto object data to the configured touch area to obtain the screen touch message of the configured touch area.

[0117] In the technical solution provided in the above step S217 of the present invention, the location information of the Proto object data is mapped to the configured touch area using the rendering service module to obtain the screen touch message of the configured touch area.

[0118] In this embodiment, the touch area can be determined by a pre-edited hot zone (for example, a hot zone of a quadrilateral area). By determining whether the position of the touch operation is within the quadrilateral area, determining whether the touch operation is a single-point touch operation or a multi-point touch operation according to count, determining whether the touch operation is a single-click touch operation or a double-click touch operation according to time, and determining whether it is a pressing stage, a pop-up stage, or a short-stay stage according to phase, a touch message acting on the touch screen can be simulated.

[0119] After using the rendering service module to map the Proto object data to the configured touch area and obtain the screen touch message of the configured touch area, enter step S218, the background application controls the background process, performs the rendering operation, and obtains the rendering service screen, and projects the obtained rendering service screen onto the touch screen for display.

[0120] In the technical solution provided in the above step S218 of the present invention, the background process is controlled to perform a rendering operation on the simulated touch message, so as to obtain a rendering service screen, and the obtained rendering service screen is projected onto the touch screen for display.

[0121] In this embodiment, through the data exchange between the vehicle and the server, the background application can be controlled to perform the rendering operation, obtain the rendering service screen, and display the above-obtained rendering service screen on the touch screen. For example, FIG2 (b) is a schematic diagram of data interaction between a vehicle and a server according to an embodiment of the present invention. As shown in FIG2 (b), if the vehicle 222 uploads binary data to the server 221, the server 221 can send the obtained rendering service screen to the vehicle 222 to display the rendering service screen on the touch screen of the terminal device in the vehicle 222.

[0122] In this embodiment, through the cross-process response method of the screen's touch message, data exchange can be achieved between the foreground process and the background process, thereby controlling the background application to perform the target operation, obtaining the target operation result, and displaying the above-mentioned target operation result on the touch screen, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process the touch messages of the background application, and further achieving the technical effect of being able to effectively process the touch messages of the background application.

[0123] According to another aspect of the embodiment of the present invention, corresponding to the embodiment of the above-mentioned method for processing a touch message, the present specification also provides a system for processing a touch message for executing the above-mentioned method for processing a touch message. Figure 3 is a structural block diagram of a touch message processing system according to an embodiment of the present invention, such as Figure 3 As shown, the touch message processing system 300 may include: a client 301 and a server 302 .

[0124] The client 301 is used to receive an initial touch message acting on the touch screen of a terminal device using a foreground process, wherein the client is installed on the terminal device, and the initial touch message is used to request a background application on a server to perform a target operation; at least one target attribute of the initial touch message is converted into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application.

[0125] In the technical solution provided by the above-mentioned client 301 of the present invention, through the above-mentioned client, the foreground process can be used to receive the initial touch message acting on the touch screen of the terminal device, and at least one target attribute of the received initial touch message can be converted into target format data matching the transmission protocol.

[0126] The server 302 is used to obtain target format data by using the background process through data exchange between the foreground process and the background process; convert the target format data into a target touch message; respond to the target touch message, control the background application to perform the target operation and obtain the target operation result; send the target operation result to the touch screen for display.

[0127] In the technical solution provided by the server 302 of the present invention, the server may be a cloud platform.

[0128] In this embodiment, the server can exchange data between the foreground process and the background process, and use the background process to obtain the target format data. Then, the server can convert the target format data into a target touch message. Then, the server can control the background application to perform the target operation in response to the converted target touch message, obtain the target operation result, and send the obtained target operation result to the touch screen for display.

[0129] According to another aspect of an embodiment of the present invention, corresponding to the embodiment of the above-mentioned method for processing touch messages, the present specification also provides a touch message processing device for executing the above-mentioned method for processing touch messages. FIG4 (a) is a structural block diagram of a touch message processing device according to an embodiment of the present invention. As shown in FIG4 (a), the touch message processing device 400 may include: a receiving unit 402, a first conversion unit 404, an exchange unit 406 and a display unit 408.

[0130] The receiving unit 402 is used to receive an initial touch message acting on the touch screen, wherein the initial touch message is used to request a background application to perform a target operation.

[0131] The first conversion unit 404 is used to convert at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between a foreground process and a background process corresponding to a background application.

[0132] The exchange unit 406 is used to exchange data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into a target touch message, wherein the target touch message is used to control the background application to perform the target operation and obtain the target operation result.

[0133] The display unit 408 is used to display the target operation result on the touch screen.

[0134] Optionally, the first conversion unit 404 includes: an extraction module, used to extract the target attribute from multiple attributes of the initial touch message, wherein the importance of the target attribute to the target operation result is greater than the importance of the attributes other than the target attribute to the target operation result; an encapsulation module, used to encapsulate the target attribute into target object data according to the object data structure; and a first conversion module, used to convert the target object data into target format data matching the transmission protocol.

[0135] Optionally, the target format data includes target base data, and the first conversion module includes: a conversion submodule, which is used to perform serialization processing on the target object data to obtain target base data that matches the transmission protocol.

[0136] Optionally, the display unit 408 includes: a display module, configured to display an operation screen of the target operation result on the touch screen, wherein the operation screen is obtained by mapping the target operation result to the foreground process through the background process.

[0137] In this embodiment, the following units are provided in the touch message processing device: a receiving unit, used to receive an initial touch message acting on the touch screen, wherein the initial touch message is used to request the background application to perform a target operation; a first conversion unit, used to convert at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between a foreground process and a background process corresponding to the background application; an exchange unit, used to exchange data between the foreground process and the background process so that the background process obtains the target format data and converts the target format data into a target touch message, wherein the target touch message is used to control the background application to perform the target operation and obtain a target operation result; a display unit, used to display the target operation result on the touch screen, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process touch messages of background applications, and further achieving the technical effect of being able to effectively process touch messages of background applications.

[0138] According to another aspect of an embodiment of the present invention, corresponding to the embodiment of the above-mentioned method for processing touch messages, the present specification also provides a touch message processing device for executing the above-mentioned method for processing touch messages. FIG4 (b) is a structural block diagram of another touch message processing device according to an embodiment of the present invention. As shown in FIG4 (b), the touch message processing device 410 may include: an acquisition unit 412, a second conversion unit 414, a control unit 416 and a sending unit 418.

[0139] The acquisition unit 412 is used to acquire target format data by exchanging data between the foreground process and the background process, wherein the target format data matches the transmission protocol, and the target format data is converted from at least one target attribute of the initial touch message, the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application, the initial touch message acts on the touch screen, and the initial touch message is used to request the background application to perform the target operation.

[0140] The second conversion unit 414 is configured to convert the target format data into a target touch message.

[0141] The control unit 416 is used to control the background application to execute the target operation and obtain the target operation result in response to the target touch message.

[0142] The sending unit 418 is used to send the target operation result to the touch screen for display.

[0143] Optionally, the second conversion unit 414 includes: a processing module for deserializing the target format data to obtain target object data, wherein the target object data is used to represent target properties encapsulated in an object data structure; and a second conversion module for converting the target object data into a target touch message.

[0144] Optionally, the second conversion module includes: a distribution sub-module, used to distribute the target object data to a target function module corresponding to the target operation in the background application; a mapping sub-module, used to map the target object data to a target touch area using the target function module to obtain a target touch message of the target touch area, wherein the target touch area is generated based on a hot zone of the background application.

[0145] In this embodiment, the following units are provided in the touch message processing device: an acquisition unit, used to acquire target format data by exchanging data between the foreground process and the background process, wherein the target format data matches the transmission protocol, and the target format data is converted from at least one target attribute of the initial touch message, the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application, the initial touch message acts on the touch screen, and the initial touch message is used to request the background application to perform a target operation; a second conversion unit, used to convert the target format data into a target touch message; a control unit, used to control the background application to perform the target operation in response to the target touch message, and obtain the target operation result; a sending unit, used to send the target operation result to the touch screen for display, thereby achieving the purpose of ensuring data exchange between the foreground process and the background process, thereby solving the technical problem of being unable to effectively process touch messages of background applications, and further achieving the technical effect of being able to effectively process touch messages of background applications.

[0146] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein when the executable program runs, the device where the storage medium is located is controlled to execute any one of the above methods.

[0147] According to another aspect of an embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, any one of the above methods is implemented.

[0148] According to another aspect of an embodiment of the present invention, a vehicle is provided, including: a memory storing an executable program; and a processor running the program, wherein the program executes any one of the above methods when running.

[0149] Figure 5 is a structural block diagram of a vehicle according to an embodiment of the present invention. Figure 5As shown, the components of the vehicle 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0150] The vehicle 500 may also include an access device 540 that enables the vehicle 500 to communicate via one or more networks 560. Examples of these networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface (e.g., a network interface controller (NIC)) of wired or wireless type, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and the like.

[0151] In one embodiment of the present disclosure, the above components of the vehicle 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The vehicle structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present invention. Those skilled in the art may add or replace other components as needed.

[0152] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0153] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0154] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units can be a logical function division, and there can be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0155] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0156] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0157] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, referred to as Read-Only Memory), random access memory (RAM, referred to as Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.

[0158] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing a touch message, characterized in that: A touch screen is provided by a terminal device, and the terminal device is used to run a foreground process to execute the following method: Receiving an initial touch message acting on the touch screen, wherein the initial touch message is used to request a background application to perform a target operation; Converting at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between the foreground process and a background process corresponding to the background application; By exchanging data between the foreground process and the background process, the background process acquires the target format data and converts the target format data into a target touch message, wherein the target touch message is used to control the background application to perform the target operation and obtain the target operation result; The target operation result is displayed on the touch screen.

2. The method according to claim 1, characterized in that Converting at least one target attribute of the initial touch message into target format data matching the transmission protocol includes: Extracting the target attribute from the multiple attributes of the initial touch message, wherein the importance of the target attribute to the target operation result is greater than the importance of the attributes other than the target attribute among the multiple attributes to the target operation result; According to the object data structure, encapsulating the target attributes into target object data; The target object data is converted into the target format data matching the transmission protocol.

3. The method according to claim 2, characterized in that The target format data includes target binary data, and converting the target object data into the target format data matching the transmission protocol includes: The target object data is serialized to obtain target binary data matching the transmission protocol.

4. The method according to any one of claims 1 to 3, characterized in that On the touch screen, displaying the target operation result includes: An operation screen of the target operation result is displayed on the touch screen, wherein the operation screen is obtained by mapping the target operation result to the foreground process through the background process.

5. A method for processing a touch message, characterized in that: A touch screen is provided by a terminal device, the terminal device is used to run a foreground process, the touch screen is used to display the operation result of a background application, and the background application is used to run a background process to execute the following method: Acquire target format data by exchanging data between the foreground process and the background process, wherein the target format data matches a transmission protocol and is converted from at least one target attribute of an initial touch message, the transmission protocol is used for communication between the foreground process and the background process corresponding to the background application, the initial touch message acts on the touch screen, and the initial touch message is used to request the background application to perform a target operation; Converting the target format data into a target touch message; In response to the target touch message, controlling the background application to execute the target operation and obtaining a target operation result; The target operation result is sent to the touch screen for display.

6. The method according to claim 5, characterized in that Converting the target format data into a target touch message includes: Deserialize the target format data to obtain target object data, wherein the target object data is used to represent the target attributes encapsulated in an object data structure; The target object data is converted into the target touch message.

7. The method according to claim 6, characterized in that Converting the target object data into the target touch message includes: Distributing the target object data to a target function module corresponding to the target operation in the background application; The target object data is mapped to a target touch area by using the target function module to obtain the target touch message of the target touch area, wherein the target touch area is generated based on a hot zone of the background application.

8. A touch message processing system, characterized in that: include: Client and server, where The client is used to receive an initial touch message acting on a touch screen of a terminal device by using a foreground process, wherein the client is installed on the terminal device, and the initial touch message is used to request a background application on the server to perform a target operation; convert at least one target attribute of the initial touch message into target format data matching a transmission protocol, wherein the transmission protocol is used for communication between the foreground process and a background process corresponding to the background application; The server is used to obtain the target format data by using the background process through data exchange between the foreground process and the background process; convert the target format data into a target touch message; in response to the target touch message, control the background application to perform the target operation and obtain the target operation result; and send the target operation result to the touch screen for display.

9. A vehicle, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 7 when running.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 7.