CN116339603A - Reverse control method and device for vehicle-mounted display and electronic equipment - Google Patents

Reverse control method and device for vehicle-mounted display and electronic equipment Download PDF

Info

Publication number
CN116339603A
CN116339603A CN202310187686.9A CN202310187686A CN116339603A CN 116339603 A CN116339603 A CN 116339603A CN 202310187686 A CN202310187686 A CN 202310187686A CN 116339603 A CN116339603 A CN 116339603A
Authority
CN
China
Prior art keywords
time
vehicle
information
touch
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310187686.9A
Other languages
Chinese (zh)
Inventor
黄启立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN202310187686.9A priority Critical patent/CN116339603A/en
Publication of CN116339603A publication Critical patent/CN116339603A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a back control method, a device and electronic equipment for vehicle-mounted display, relates to the computer technology, and particularly relates to the technical fields of vehicle-mounted display, display control and the like. The specific implementation scheme is as follows: in response to receiving a touch operation performed on the vehicle-mounted screen, performing at least one touch position acquisition operation; generating at least one piece of reverse control data comprising first time information and position information according to at least one touch position acquisition operation; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; and sequentially sending the at least one reverse control data to the terminal equipment so that the terminal equipment can execute response operation on each reverse control data. The touch response determined according to the second time information and the position information is not abnormal. In addition, the overall response fluency determined by the second time information and the position information corresponding to each of the countercontrol data is good.

Description

Reverse control method and device for vehicle-mounted display and electronic equipment
Technical Field
The disclosure relates to the technical fields of vehicle-mounted display, display control and the like in the technical field of computers, and in particular relates to a reverse control method, device and electronic equipment for vehicle-mounted display.
Background
As the demand of users grows, more and more vehicles are equipped with a central host screen. The user can make a communication connection with the central control host using the terminal device, and then display the content that can be displayed in the terminal device in the screen of the central control host through the above communication connection.
The user can switch or adjust the display content on the screen of the central control host by performing corresponding operations on the terminal device. However, in some application scenarios, such as a driving scenario of a user, it is inconvenient to use the terminal device to switch or adjust the display content of the central control host screen, so that it is necessary to switch or adjust the display content of the central control host screen by operating the central control host screen by the user in the vehicle and further performing back control on the terminal device.
In the scheme of performing reverse control on terminal equipment through a central control host screen at present, the problem that response of the terminal equipment is inconsistent with reverse control operation of the central control host screen exists, and therefore user experience is poor.
Disclosure of Invention
The disclosure provides a countercontrol method and device for vehicle-mounted display and electronic equipment.
According to a first aspect of the present disclosure, a countercontrol method for vehicle-mounted display is provided, and the countercontrol method is used for a vehicle-mounted host, wherein the vehicle-mounted host is in communication connection with a terminal device, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal device; the method comprises the following steps: in response to receiving a touch operation performed on the vehicle-mounted screen, performing at least one touch position acquisition operation; generating at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; the at least one reverse control data is sequentially sent to the terminal equipment, so that the terminal equipment can execute the following response operation on each reverse control data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the countercontrol data, wherein the initial moment is the moment when the terminal equipment receives the countercontrol data corresponding to the pressing operation in the touch operation.
According to a second aspect of the present disclosure, a countercontrol method for vehicle-mounted display is provided, and is applied to a terminal device, where the terminal device is in communication connection with a vehicle-mounted host, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal device; the method comprises the following steps: receiving current reverse control data sent by a vehicle-mounted host, wherein the reverse control data is generated by the vehicle-mounted host in response to receiving touch position acquisition operation executed on a touch operation of a vehicle-mounted screen, the current reverse control data comprises first time information and position information, and the position information comprises a position acquired by one touch position acquisition operation corresponding to the current reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; determining second time information corresponding to current reverse control data according to duration time and initial time determined by the first time information, wherein the initial time is the time when reverse control data corresponding to pressing operation in the touch operation is received; and determining response information corresponding to the inverse control data according to the position information and the second time information.
According to a third aspect of the present disclosure, there is provided a countercontrol device for vehicle-mounted display, which is disposed on a vehicle-mounted host, the vehicle-mounted host is connected with a terminal device in a communication manner, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal device; the device comprises: the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for responding to the received touch operation executed on a vehicle-mounted screen and executing at least one touch position acquisition operation; the generating unit is used for generating at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; the sending unit is used for sequentially sending the at least one feedback data to the terminal equipment so that the terminal equipment can execute the following response operation on each feedback data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the countercontrol data, wherein the initial moment is the moment when the terminal equipment receives the countercontrol data corresponding to the pressing operation in the touch operation.
According to a fourth aspect of the present disclosure, there is provided a countercontrol device for vehicle-mounted display, which is disposed at a terminal device, the terminal device being in communication connection with a vehicle-mounted host, and a vehicle-mounted screen of the vehicle-mounted host displaying display content transmitted by the terminal device; the device comprises: the device comprises a receiving unit, a control unit and a control unit, wherein the receiving unit is used for receiving current reverse control data sent by a vehicle-mounted host, the reverse control data is generated by the vehicle-mounted host in response to receiving touch position acquisition operation executed on a touch operation of a vehicle-mounted screen, the current reverse control data comprises first time information and position information, and the position information comprises a position acquired by one touch position acquisition operation corresponding to the current reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; the first determining unit is used for determining second time information corresponding to current reverse control data according to the duration time and the initial time determined by the first time information, wherein the initial time is the time when the reverse control data corresponding to the pressing operation in the touch operation is received; and the response unit is used for determining response information corresponding to the inverse control data according to the position information and the second time information.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method provided in the first or second aspect.
According to a sixth aspect of the present disclosure there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method provided in the first or second aspect.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising: a computer program stored in a readable storage medium from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the method of the first or second aspect.
According to the scheme of the disclosure, in response to receiving a touch operation performed on a vehicle-mounted screen, performing at least one touch position acquisition operation; generating at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; the at least one reverse control data is sequentially sent to the terminal equipment, so that the terminal equipment can execute the following response operation on each reverse control data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the countercontrol data, wherein the initial moment is the moment when the terminal equipment receives the countercontrol data corresponding to the pressing operation in the touch operation. Because the first time information is used for determining the duration of the touch operation when each piece of reverse control data is generated, the second time information determined by the first time information filters the data transmission time from the vehicle-mounted host to the terminal equipment; even if the data transmission takes a long time, the terminal device can obtain the time information of the real touch screen behavior. Therefore, the touch response determined by the terminal equipment according to the second time information and the position information is not abnormal. In addition, the overall response determined by the second time information and the position information corresponding to each of the counter control data is smooth. The problems of errors, unsmooth overall response and frame jumping of the response of the terminal equipment to the reverse control data caused by the interference of the time used for data transmission are solved. The user experience may be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a scene diagram in which embodiments of the present disclosure may be implemented;
FIG. 2 is a schematic diagram according to a first embodiment of the present disclosure;
FIG. 3 is a schematic diagram according to a second embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of the present disclosure;
FIG. 5 is a schematic diagram according to a third embodiment of the present disclosure;
FIG. 6 is a schematic diagram according to a fourth embodiment of the present disclosure;
FIG. 7 is a schematic diagram according to a fifth embodiment of the present disclosure;
FIG. 8 is a schematic block diagram of an example electronic device that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows a scenario diagram of an embodiment of the present disclosure, as shown in fig. 1, in-vehicle host 12 in vehicle 11 and user's terminal device (e.g., mobile terminal) 13 are communicatively connected through a wireless network or a wired network. The terminal device 13 may transmit the display contents of video, pictures, etc. to the in-vehicle host 13 and display them in the in-vehicle screen 14.
In these application scenarios, the user may perform a triggering (e.g., sliding) operation on the on-vehicle screen, and the on-vehicle host performs reverse control (for short, reverse control) on the terminal device according to the triggering operation. Specifically, the vehicle-mounted host sends the reverse control data to the terminal equipment according to the triggering operation, so that the terminal equipment responds according to the reverse control data. The response includes determining display content that matches the feedback data. The display content may be displayed in an in-vehicle screen and/or a screen of the terminal device.
In one example, in order to implement the triggering operation performed by the user on the vehicle-mounted screen, so as to control the response of the terminal device, one countercontrol manner is that the vehicle-mounted host directly sends the coordinate data (x, y) of the identified triggering operation (such as sliding operation) to the terminal device, and after receiving the coordinate data, the terminal device adds a local time parameter to the coordinate data, and encapsulates the coordinate data into an event. The time parameter here is generated by the terminal device from the reception timings of the plurality of coordinate data of the trigger operation received. The terminal device determines the distance and direction of the sliding based on the locally encapsulated event and responds accordingly, for example by switching the display content based on the determined sliding distance and direction.
Taking one sliding operation as an example, the on-board host machine can divide the sliding operation into three events as a whole: a press (Action Down) event, a slide (Action Move) event, and a lift (Action Up) event.
The first event of the touch operation is an action_Down event, the vehicle-mounted host takes the coordinate of the touch operation detected for the first time as the coordinate of the action_Down event, and the action_Down event comprising the coordinate is sent to the terminal equipment. After receiving the action_down event, the terminal device takes the time point of receiving the event locally as the time (Down time) of the local pressing operation, and supplements an EventTime (the EventTime is the same value as the Down time at the moment), and packages the EventTime together into a MotionEvent.
When a user continuously slides the vehicle-mounted screen, the vehicle-mounted host continuously detects a plurality of coordinates in the sliding operation process, and generates action_move events corresponding to the coordinates respectively. And then transmitting a plurality of action_move events including the coordinates to the terminal device. For each action_move event, the terminal device may copy the Down time from the action_down event, then take the time of locally receiving the action_move event as the EventTime, and package the coordinates corresponding to the action_move event and the Down time and the EventTime into a MotionEvent.
The EventTime is not the EventTime of the actual sliding operation of the on-vehicle screen, but reaches the terminal device after a series of transmissions, and the terminal device uses the time point at the moment when the action_move event is received as the EventTime. For the terminal device, the sliding distance is processed according to the EventTime of a plurality of action_move events, if the transmission time of an action_move event is too long, the EventTime corresponding to the action_move event determined by the terminal device is distorted, so that the sliding distance is distorted, the whole touch response is not smooth, and even the phenomenon of picture jumping occurs. In addition, for a quick sliding operation performed on the on-vehicle screen, since the action_move event transmission time is long, the terminal device determines EventTime according to the time when the action_move event is received. The terminal equipment misjudges the quick interaction as slow sliding according to the Down time and EventTime in the MotionEvent, so that error response occurs to the quick sliding operation.
When the user finishes the sliding operation on the vehicle-mounted screen, the vehicle-mounted host detects coordinates (for example, coordinates when the finger lifts) at the end of the sliding operation of the user, and generates an action_up event. And the vehicle-mounted host sends the action_Up event to the terminal equipment. The terminal device copies the DownTime from the action_down event, and then takes the time of locally receiving the action_up event as EventTime. And packaging the coordinates, the Down Time and the EventTime into a MotionEvent event. Because the EventTime is the time for locally receiving the action_up event, if the data transmission time is longer, the acting time of the sliding operation determined by the terminal device according to the DownTime and the EventTime may be different from the actual acting time of the sliding operation, so that an error occurs in the response of the sliding operation of the terminal device, and the picture displayed by the vehicle-mounted screen is abnormal.
As can be seen, in the countercontrol method in the above example, the response of the terminal device to the countercontrol operation initiated from the vehicle-mounted screen has the problems of large error, unsmooth whole touch response, and even frame jumping.
The disclosure provides a reverse control method, a device and electronic equipment for vehicle-mounted display, which are applied to the fields of vehicle-mounted display, display control and the like in computer technology, so as to achieve the aim of improving the problems of larger error, unsmooth whole touch control response and even frame jumping of terminal equipment in response to reverse control operation.
Referring to fig. 2, fig. 2 is a schematic diagram of a first embodiment of the present disclosure. The reverse control method for vehicle-mounted display, provided by the embodiment, is applied to a vehicle-mounted host, the vehicle-mounted host is in communication connection with terminal equipment, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal equipment. As shown in fig. 2, the method includes:
s201, in response to receiving a touch operation executed on the vehicle-mounted screen, executing at least one touch position acquisition operation.
The in-vehicle screen here may be a touch screen.
The touch operation may be a click operation or a slide operation. The clicking operation may be a single-click operation, a double-click operation, or a multi-click operation.
The sliding operation herein may be a single-finger sliding operation, a two-finger sliding operation, a multi-finger sliding operation, or the like.
The execution body of the embodiment may be an in-vehicle host.
The user can execute touch operation on the vehicle-mounted screen, and the vehicle-mounted screen can sense the position of the touch operation according to the touch operation.
Various operating systems can be operated on the vehicle-mounted host, the vehicle-mounted host can interact with the vehicle-mounted screen by utilizing the operating systems, and the position of touch operation is obtained from the vehicle-mounted screen.
In some application scenarios, the vehicle-mounted host may determine the location acquisition frequency according to the duration and/or the touch speed of the touch operation of the user on the vehicle-mounted screen.
For example, for a click touch operation, the in-vehicle host may obtain the location of one or a small number of touch operations from the in-vehicle screen.
For the sliding operation, the vehicle-mounted host computer can determine the frequency of acquiring the position according to the sliding time length and the sliding speed, and then acquire the multiple touch positions according to the frequency.
For each touch operation, the touch operation may include three stages of operations, a pressing operation, a sliding operation, and a lifting operation. For the click operation, the sliding distance corresponding to the sliding operation can be considered to be zero.
After detecting that the pressing operation occurs, the execution body may acquire a position corresponding to the touch operation from the vehicle-mounted screen at least once until the lifting operation is detected.
S202, generating at least one piece of reverse control data comprising first time information and position information according to position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining duration of the touch operation in the touch position acquisition operation.
The above-mentioned position information may include coordinate information such as coordinates of a touch operation at the time of execution of the touch position acquisition operation on the on-vehicle screen. Illustratively, the coordinates herein may be coordinates in a plane coordinate system established with the upper left corner of the in-vehicle screen as the origin.
Each touch position acquisition operation in step S201 may correspond to one piece of time information. The time information corresponding to each touch position acquisition operation is used for determining the duration of the touch operation at the execution time of the touch position acquisition operation.
Illustratively, the time information may include duration information determined by a time corresponding to a pressing operation in the present touch operation and an execution time of the present touch position acquisition operation. The time length information can be regarded as the time length information of the current touch position acquisition operation.
For example, the time of the pressing operation is time ase:Sub>A, the execution time of the secondary touch position acquisition operation is time B, and the duration information may be B-ase:Sub>A.
The first time information of the countercontrol data may include a duration of the touch position obtaining operation corresponding to the countercontrol data.
In some embodiments, the first time information includes a first time and a second time, the first time is a time when the pressing operation in the touch operation is detected, and the second time is an execution time of the touch position acquisition operation.
In these embodiments, the time information of each touch location acquisition operation may include a first time and a second time. The first time corresponding to each touch position obtaining operation may be the time when the pressing operation is detected, and the second time may be the execution time of the touch position obtaining operation.
In these embodiments, the first time information including the first time and the second time is sent to the terminal device, and the duration of the touch operation corresponding to the countercontrol data on the vehicle-mounted screen is calculated by the terminal device through the first time and the second time, so that the calculation amount of the vehicle-mounted host can be reduced, and the resource occupation of the vehicle-mounted host can be reduced.
In some application scenarios, in order to reduce the amount of data sent to the terminal device, so as to reduce the occupation of the vehicle-mounted host resources, instead of generating corresponding inverse control data for each touch position acquisition operation, inverse control data is generated for a plurality of touch position acquisition operations at intervals.
In these application scenarios, each of the above-mentioned countercontrol data may be generated based on the position information acquired by the touch position acquisition operation closest to the time of generating the countercontrol data. Correspondingly, the first time information in the countercontrol data may be time information corresponding to the last touch position acquisition operation.
In some embodiments, for a feedback data, the displacement determined by the position information in the feedback data is positively correlated with the duration indicated by the first time information in the feedback data; the displacement is determined by a position in the position information and an initial position, and the initial position is a position corresponding to a pressing operation in the touch operation.
In these embodiments, the touch operation may be a sliding operation. The pressing operation here may be a pressing operation in a sliding operation. The initial position may be a position obtained from the in-vehicle screen by performing the touch position obtaining operation when a pressing operation in the touch operation is received.
For each of the reverse control data, the position in the reverse control data may be differenced from the initial position, and the displacement (sliding distance) corresponding to the reverse control data may be determined.
During the sliding operation, the sliding distance will increase with increasing duration of the sliding operation.
In these embodiments, the touch operation is determined to be the sliding operation when the displacement determined by the position information and the duration determined by the first time information are determined to be in positive correlation by the position information and the first time information in each of the reverse control data.
S203, sequentially sending at least one piece of reverse control data to the terminal equipment, so that the terminal equipment performs the following response operation on each piece of reverse control data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the reverse control data, wherein the initial moment is the moment when the terminal equipment receives the reverse control data corresponding to the pressing operation in the touch operation.
The vehicle-mounted host can sequentially send the at least one reverse control data to the terminal equipment according to a wired or wireless communication connection mode.
In practice, the inverse control data sequence may be generated according to the generation time of each inverse control data. And transmitting the reverse control data in the reverse control data sequence sequentially from first to last according to the generation time.
The terminal device may perform the above-described response operation on each of the reverse control data when receiving the reverse control data.
The terminal device controlling the on-vehicle screen to display the target display content may include the terminal device transmitting the target display content to the on-vehicle screen, and displaying the target display content by the on-vehicle screen.
In this embodiment, at least one touch position acquisition operation is performed in response to receiving a touch operation performed on the vehicle-mounted screen; generating at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; at least one piece of reverse control data is sequentially sent to the terminal equipment, so that the terminal equipment can execute the following response operation on each piece of reverse control data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the reverse control data, wherein the initial moment is the moment when the terminal equipment receives the reverse control data corresponding to the pressing operation in the touch operation. Because the first time information is used for determining the duration of the touch operation when each piece of reverse control data is generated, the second time information determined by the first time information filters the data transmission time from the vehicle-mounted host to the terminal equipment; even if the data transmission takes a long time, the terminal device can obtain the time information of the real touch screen behavior. Therefore, the touch response determined by the terminal equipment according to the second time information and the position information is not abnormal. In addition, the overall response determined by the second time information and the position information corresponding to each of the counter control data is smooth. The problems of errors, unsmooth overall response and frame jumping of the response of the terminal equipment to the reverse control data caused by the interference of the time used for data transmission are solved. The user experience may be improved.
In some embodiments, the step 202 includes the steps of:
firstly, at least one first reverse control event is generated according to at least one touch position acquisition operation.
Next, for each first override event, one override data corresponding to the first override event is generated.
In these embodiments, the first override event herein may include a press down event, a slide event, and a lift up event.
The vehicle-mounted host can package the position information and the time information corresponding to at least one touch position acquisition operation into a first reverse control event. For example, a press event (action_down event) is generated based on the acquired press operation position information and time information. For the touch position acquisition operation in the sliding operation process, a first countercontrol event can be generated every preset number of touch position acquisition operations. For a first override event, at least one sub-event may be included in the first override event. The at least one sub-event may be present in a sub-event list. Each sub-event may correspond to a touch location acquisition operation from a previous first counter-control event to the first counter-control event. Because the touch position obtaining operations are sequentially executed according to time, the sub events can be sequentially arranged in the sub event list according to the sequence of the execution time of the corresponding touch position obtaining operations.
For the sliding operation, the execution body may execute the touch position acquisition operation a plurality of times during the sliding process. In the sliding process, the executing body can acquire operation at preset times of touch position intervals, and encapsulates a sliding event (action_move event). Each sliding event may include a plurality of sub-events arranged in time sequence. Each sub-event corresponds to a touch position acquisition operation between the sliding event and the previous sliding event. Thus, each sub-event may include the position information acquired by the touch position acquisition operation corresponding to the sub-event and the time information corresponding to the touch position acquisition operation.
For the lift operation, the execution body may generate a lift event (action_up event) based on the acquired lift operation position information and time information.
And each operation is packaged into an event, so that event processing is facilitated by using an event response mechanism of the vehicle-mounted host operating system.
In some application scenarios, for each first countercontrol event, countercontrol data corresponding to the first countercontrol event is generated according to a sub-event in the first countercontrol event.
In these application scenarios, the sub-event may be any one of at least one sub-event corresponding to the first countercontrol event. Illustratively, the sub-event may be a latest sub-event corresponding to a time in the plurality of sub-events corresponding to the first countercontrol event.
In these application scenarios, for a first override event comprising a plurality of sub-events, override data for the first override event is generated from one of the sub-events. The data volume sent to the terminal equipment can be reduced, and the occupation of the resources of the vehicle-mounted host computer is reduced.
In some embodiments, the step 202 includes the steps of:
firstly, generating at least one first reverse control event according to at least one touch position acquisition operation; each first opposite control event comprises at least one sub event, and one sub event corresponds to a touch position acquisition operation between the last first opposite control event and the first opposite control event.
And secondly, generating the inverse control data corresponding to at least one sub-event for at least one sub-event of each first inverse control event respectively.
The vehicle-mounted system can package the position information and the time information corresponding to at least one touch position acquisition operation into a first reverse control event. For the touch position acquisition operation in the sliding operation process, a first countercontrol event can be generated every preset number of touch position acquisition operations. For a first override event, at least one sub-event may be included in the first override event. The at least one sub-event may be sequentially arranged in the sub-event list according to the sequence of the execution time of the corresponding touch position acquisition operation.
For each first countercontrol event, generating countercontrol data corresponding to at least one sub-event in the first countercontrol event respectively.
Specifically, for each sub-event, inverse control data corresponding to the sub-event may be generated. Each sub-event may correspond to one of the override data. In this way, the first control event may correspond to a plurality of inverse control data.
And sequentially sending the plurality of reverse control data corresponding to the first reverse control event to the terminal equipment. So that the terminal device responds according to the countercontrol data.
In the application scenes, the reverse control data corresponding to each sub-event in the first reverse control event are generated and sent to the terminal equipment, so that the terminal equipment can generate finer response information according to the reverse control data, and further the problem of frame jumping caused by event deletion in response of the terminal equipment to touch operation can be solved.
Referring to fig. 3, fig. 3 is a schematic diagram of a second embodiment of the disclosure. The back control method for vehicle-mounted display provided by the embodiment is applied to terminal equipment, the terminal equipment is in communication connection with a vehicle-mounted host, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal equipment. As shown in fig. 3, the method includes:
S301, receiving current reverse control data sent by a vehicle-mounted host, wherein the reverse control data is generated by the vehicle-mounted host in response to receiving touch position acquisition operation executed by touch operation on a vehicle-mounted screen, the current reverse control data comprises first time information and position information, and the position information comprises a position acquired by one touch position acquisition operation corresponding to the current reverse control data; the first time information is used for determining duration of the touch operation in the touch position acquisition operation.
The terminal device here may be various terminal devices such as a mobile terminal, a laptop, a personal digital assistant, etc.
The vehicle-mounted screen can detect touch operation of a user in real time. And determining a touch position according to the touch operation of the user.
The system application on the vehicle-mounted host computer can monitor whether touch operation occurs on the vehicle-mounted screen in real time. A touch operation (e.g., a pressing operation is monitored) occurs on the in-vehicle screen, and the touch position may be acquired from the in-vehicle screen a plurality of times during the duration of the touch operation. For the in-vehicle host, each time the touch position is acquired from the in-vehicle screen may be regarded as one touch position acquisition operation.
The vehicle-mounted host computer can generate at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining duration of the touch operation in the touch position acquisition operation.
Specifically, the specific implementation of generating the feedback data by the vehicle-mounted host machine may refer to the relevant portion of the embodiment shown in fig. 2, which is not described herein.
The in-vehicle host computer can send each reverse control data to the terminal device.
S302, determining second time information corresponding to the current reverse control data according to the duration time determined by the first time information and an initial time, wherein the initial time is the time when the reverse control data corresponding to the pressing operation in the touch operation is received.
The reverse control data corresponding to the pressing operation refers to reverse control data corresponding to the pressing operation in the continuous touch operation, which is received by the terminal device in the continuous touch operation process.
The terminal device may store the initial time as a corresponding pressing operation timestamp of the home terminal (i.e., home terminal DownTime). For the reverse control data received each time, the duration of the touch operation corresponding to the reverse control data can be determined according to the first time information in the reverse control data, and the second time information of the home terminal can be determined according to the home terminal down time and the duration. The second time information is used for determining the touch operation action time of the local terminal corresponding to the reverse control data.
In some embodiments, the step S302 includes the following steps:
firstly, determining duration of touch operation when touch position acquisition operation corresponding to current countercontrol data is executed from first time information.
Second, the sum of the initial time and the duration is taken as a third time.
And finally, generating second time information corresponding to the current inverse control data comprising the initial time and the third time.
In some application scenarios, the first time information includes a duration of a touch operation corresponding to the countercontrol data of the vehicle-mounted host side. In these application scenarios, the duration included in the control-reversing data of the pressing operation sent by the in-vehicle host side may be 0.
In these application scenarios, for each countercontrol data, the duration may be directly extracted from the countercontrol data. And then, taking the time determined by the sum of the duration time and the DownTime in the reverse control data as the time acted by the touch operation corresponding to the reverse control data on the terminal equipment side, taking the time as a third time, and taking the local DownTime as an initial time. Generating second time information including the initial time and the third time. In these application scenarios, the first time information sent by the vehicle-mounted host includes the duration, so that the terminal device side can quickly respond to the touch operation.
In these embodiments, since the duration of the touch operation of the vehicle-mounted host side corresponding to the current countercontrol data is determined from the first time information, then the third time is determined according to the duration and the initial time of the home terminal. And the third time indicates the time to which the touch operation corresponding to the terminal equipment side is continued currently. The third moment is the moment to which the real touch operation corresponding to the terminal equipment side is applied, and the data transmission time is filtered. Therefore, according to the second time information, the terminal equipment side can accurately respond to the countercontrol data.
In some embodiments, the first time information includes a first time and a second time, where the first time is a time when the vehicle-mounted host detects the pressing operation for the first time, and the second time is an execution time of the one-time touch position obtaining operation for generating the current feedback data.
In these embodiments, determining, from the first time information, the duration of the touch operation in the touch position acquisition operation corresponding to the current countercontrol data includes:
and calculating the time interval between the second moment and the first moment, and taking the time interval as the duration.
In these embodiments, the time interval may be calculated by calculating a time difference between the second time and the first time.
In these embodiments, the vehicle-mounted host sends the first time information including the first time and the second time to the terminal device, and the terminal device determines the duration of the touch operation corresponding to the current countercontrol data according to the first time and the second time, so that the calculation amount of the vehicle-mounted host can be reduced, and the resource occupation of the vehicle-mounted host can be reduced.
S303, determining response information corresponding to the current inverse control data according to the position information and the second time information.
The terminal equipment can convert the touch position indicated by the position information sent by the vehicle-mounted host into a screen operation position corresponding to the terminal equipment side according to the preset mapping relation between the vehicle-mounted screen and the terminal screen coordinates.
The response information of the current countercontrol data may be determined according to the screen operation position and the second time information.
The response information includes display content switching, start display content, end display content, and the like.
After determining the second time information of the local terminal touch operation corresponding to the countercontrol data and determining the screen operation position corresponding to the local terminal in the step S303, the response information of the current countercontrol data may be determined according to the screen operation response method carried by the relevant terminal device.
In some embodiments, the method further comprises: and controlling the vehicle-mounted screen to display the response information.
After determining the response information, the terminal device may send the response information to the vehicle-mounted screen for display. The user can browse the reverse control data response information on the vehicle-mounted screen.
In this embodiment, current countercontrol data sent by a vehicle-mounted host is received, wherein the current countercontrol data is generated by the vehicle-mounted host in response to receiving a current touch position acquisition operation executed on a touch operation of a vehicle-mounted screen, and the current countercontrol data comprises first time information and position information, and the position information comprises a position acquired by a one-time touch position acquisition operation corresponding to the current countercontrol data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation; determining second time information corresponding to the current reverse control data according to the duration time and the initial time determined by the first time information, wherein the initial time is the time when the reverse control data corresponding to the pressing operation in the touch operation is received; and determining target display contents corresponding to the countercontrol data according to the position information and the second time information, and controlling the vehicle-mounted screen to display the target display contents. Because the first time information is used for determining the duration of the touch operation when each piece of reverse control data is generated, the second time information determined by the first time information filters the data transmission time from the vehicle-mounted host to the terminal equipment; even if the data transmission takes a long time, the terminal device can obtain the time information of the real touch screen behavior. Therefore, the touch response determined by the terminal equipment according to the second time information and the position information is not abnormal. In addition, the overall response determined by the second time information and the position information corresponding to each of the counter control data is smooth. The problems of errors, unsmooth overall response and frame jumping of the response of the terminal equipment to the reverse control data caused by the interference of the time used for data transmission are solved. The user experience may be improved.
In some embodiments, the terminal device runs a system application and a preset application running on the system application; in these embodiments, the steps S301 and S302 may be performed by the predetermined application. Namely:
the method comprises the steps that a preset application receives current reverse control data sent by a vehicle-mounted host; and determining second time information according to the first time information in the current countercontrol data and the initial time.
The preset application also performs the following operations:
replacing the first time information in the current reverse control data with the second time information, and packaging the replaced reverse control data into a second reverse control event; and sending the second back control event to the system application.
In these embodiments, the step S303 includes: and the system application extracts the position information and the second time information from the second back control event, determines response information corresponding to the back control data according to the position information and the second time information, and controls the vehicle-mounted screen to display the response information.
In these embodiments, the above-described preset application may be an application that provides display content to an in-vehicle screen. The preset Application may support a plurality of Application programs (APP).
The preset application can communicate with the vehicle-mounted host and the vehicle-mounted screen through an interface through which the system application passes.
After the vehicle-mounted host computer sends the current reverse control data, the preset application can receive the reverse control data through the interface. And performs processing as in step S302 on the counter control data to determine second time information.
In these embodiments, a preset application on the terminal device generates a second countercontrol event according to the countercontrol data replaced by the time information, and sends the second countercontrol event to the system application for processing, so that the response of the countercontrol data is determined by using the event processing rule of the system application. The speed of the response of the terminal device to determine the countercontrol data can be increased.
Referring to fig. 4, a schematic flow chart of the present disclosure is shown. As shown in figure 4 of the drawings,
the vehicle terminal can comprise a vehicle-mounted touch screen and a vehicle-mounted host. The vehicle-mounted host can run a preset application. The terminal device may be in communication with the vehicle host. Specifically, a preset application may be run in the terminal device. The preset application of the terminal device can be in communication connection with the preset application of the vehicle-mounted host. After the communication connection is established between the preset application of the vehicle-mounted host and the preset application of the preset terminal equipment. The preset application on the terminal device may send the connection to the system application of the terminal device. The service is initialized and bound by the system application. The initialization and binding service can establish an association relation between the vehicle-mounted screen and the system application, and the system application can use the vehicle-mounted screen as a screen of the system application. In addition, a mapping relationship between the vehicle-mounted screen coordinates and the terminal equipment screen coordinates, etc. can be established.
(1) When the vehicle terminal touches, the vehicle-mounted host monitors that the pressing operation occurs, and determines that the touch operation occurs. And executing touch position acquisition operation, and acquiring position information of the pressing operation from the vehicle-mounted screen. And generates an ActionDown event. And then generating the inverse control data of the ActionDown event. The countercontrol data includes the above-mentioned position information (e.g., coordinates X, Y), and first time information. The first time information includes a down time_real (a pressed time stamp, i.e., a first time) and an eventtime_real (a time stamp of an occurrence event, i.e., a second time of the inverse control data of an ActionDown event). And the vehicle-mounted host sends the reverse control data of the ActionDown event to a preset application of the terminal equipment.
(2) After receiving the reverse control data corresponding to the first touch event action_Down, the preset application of the terminal equipment obtains a timestamp (moment) Down time of the reverse control data of the received action_Down event; taking the DownTime as the initial moment of the home terminal, and determining the EventTime (event occurrence moment) of the home terminal, wherein the EventTime is equal to the downTime because the EventTime is an action_Down event. And generating second time information comprising the initial time and the third time by taking EventTime as the third time. For the countercontrol data of the action_Down event, the terminal device encapsulates the X, Y and DownTime, eventTime into a second touch event (movationevent object) and sends the second touch event to the system application. I.e. DownTime, eventTime, coordinates to the system application. Take over by the event distribution system of the system application. The system application performs touch response according to the second touch event, and the view at the uppermost layer (the vehicle-mounted screen and/or the terminal equipment screen) can generate touch behavior.
In this process, downtime_real is saved for use in later steps.
(3) During the continuous process of the touch operation (such as the sliding process), the vehicle-mounted host machine can execute the touch position acquisition operation on the vehicle-mounted screen. For each touch position acquisition operation, the vehicle-mounted host can generate an action_move event, and the event can correspond to the acquired touch position and first time information. The first time information may include a duration of the touch location acquisition operation. And the vehicle-mounted host continuously transmits the reverse control data corresponding to the plurality of action_move events to the terminal equipment preset application.
In some application scenarios, (3) when the vehicle-mounted terminal starts to send the reverse control data corresponding to the action_move event, the action_move event which is too frequent can be packaged in the history parameter in the movationevent object. The history is a list, each sub-item in the list representing a contiguous Action _ Move sub-event. For an action_move event, the inverse control data of the action_move event can be generated according to the last sub-event. And then the reverse control data is sent to a preset application of the terminal equipment. The resource occupation of the vehicle-mounted terminal can be reduced, and the vehicle-mounted terminal is prevented from being blocked.
In other application scenarios, (3) sub-events of the on-board host history are all torn down. And generating the inverse control data corresponding to each sub-event. And sending the inverse control data of the sub-event to a preset application of the terminal equipment.
Each of the feedback data may include a position parameter (e.g., coordinates X, Y) acquired by a touch position acquisition operation that generates the feedback data, and first time information. The first time of the first time information is equal to downTime_real; the second time is the execution time of the touch position acquisition operation (i.e. the event occurrence time of the action_move event).
(4) When the terminal equipment receives the countercontrol data of the action_move event, the following processing is carried out on the countercontrol data:
a. acquiring the DownTime saved in (2).
b. The value of EventTime_real is subtracted from Down Time_real to obtain a duration Interval. The duration is the duration of the touch operation at the occurrence time of the action_move event.
c. And (3) assigning the sum of the Down time and the Interval to EventTime, wherein the EventTime is the actual EventTime of the touch operation corresponding to the terminal equipment, and the delay of the transmission process is ignored.
d. For the reverse control data of the action_move event, the terminal device preset application encapsulates the position parameter DownTime, eventTime into a second touch event (movationevent object). The movationevent object is then sent to the system application. Take over by the event distribution system of the system application. And determining the sliding behavior corresponding to the terminal equipment by the system application. The view at the uppermost level (the in-vehicle screen and/or the screen of the terminal device) will undergo a sliding action.
(5) When the lifting operation occurs on the screen of the vehicle, the vehicle-mounted host monitors that the lifting operation occurs, and determines that the touch operation is finished. And executing touch position acquisition operation, and acquiring position information of lifting operation from the vehicle-mounted screen. And generates an Action _ Up event. And then generating the inverse control data of the action_Up event. The countercontrol data includes the above-mentioned position information (e.g., coordinates X, Y), and first time information. The first time information includes a down time_real (a time stamp of a pressing operation, that is, a first time) and an eventtime_real (a time stamp of occurrence of an action_up event, that is, a second time of inverse control data of the action_up event). And the vehicle-mounted host sends the reverse control data of the action_Up event to a preset application of the terminal equipment.
(6) After receiving the countercontrol data corresponding to the action_up event, the preset application of the terminal device can refer to the processing procedure of (4) for processing the countercontrol data, which is not described herein.
The overall response fluency determined by the terminal equipment according to the second time information and the position information corresponding to the reverse control data is good. The problems that the response of the terminal equipment to the reverse control data is wrong, the whole response is not smooth and the picture is jumped are solved. The user experience may be improved.
Fig. 5 is a schematic diagram of a third embodiment of the present disclosure, where the countercontrol device for vehicle-mounted display provided in the present embodiment is disposed on a vehicle-mounted host, and the vehicle-mounted host is communicatively connected to a terminal device, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal device; as shown in fig. 5, the apparatus 500 includes:
an obtaining unit 501, configured to perform at least one touch location obtaining operation in response to receiving a touch operation performed on the vehicle-mounted screen;
the generating unit 502 is configured to generate at least one countercontrol data including first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation;
a sending unit 503, configured to send at least one feedback data to the terminal device in sequence, so that the terminal device performs the following response operation on each feedback data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the reverse control data, wherein the initial moment is the moment when the terminal equipment receives the reverse control data corresponding to the pressing operation in the touch operation.
In some embodiments, the generation unit includes a first generation module 5021 and a second generation module 5022; wherein:
the first generating module 5021 is configured to generate at least one first countercontrol event according to at least one touch position obtaining operation;
the second generating module 5022 is configured to generate, for each first countercontrol event, countercontrol data corresponding to the first countercontrol event.
In some embodiments, the generation unit includes a third generation module 5023 and a fourth generation module 5024; the third generating module 5023 is configured to generate at least one first countercontrol event according to at least one touch position obtaining operation; each first counter-control event comprises at least one sub-event, and one sub-event corresponds to a touch position acquisition operation between the last first counter-control event and the first counter-control event;
the fourth generating module 5024 is configured to generate, for at least one sub-event of each first inverse control event, inverse control data corresponding to the at least one sub-event, respectively.
In some embodiments, the first time information includes a first time and a second time, the first time is a time when a pressing operation in the touch operation is detected, and the second time is an execution time of the touch position acquisition operation.
In some embodiments, for a feedback data, the displacement determined from the position information in the feedback data is positively correlated with the duration indicated by the first time information in the feedback data;
the displacement is determined by a position in the position information and an initial position, and the initial position is a position corresponding to a pressing operation in the touch operation.
Fig. 6 is a schematic diagram of a fourth embodiment of the present disclosure, where the countercontrol device for vehicle-mounted display provided in the present embodiment is disposed at a terminal device, and the terminal device is communicatively connected to a vehicle-mounted host, and a vehicle-mounted screen of the vehicle-mounted host displays display content transmitted by the terminal device; as shown in fig. 6, a back control apparatus 600 for in-vehicle display includes:
the receiving unit 601 is configured to receive current feedback data sent by the vehicle-mounted host, where the feedback data is generated by the vehicle-mounted host in response to receiving a touch position acquisition operation performed on a touch operation of the vehicle-mounted screen, the current feedback data includes first time information and position information, and the position information includes a position acquired by a primary touch position acquisition operation corresponding to the current feedback data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation;
A first determining unit 602, configured to determine, according to the duration determined by the first time information and an initial time, second time information corresponding to current feedback data, where the initial time is a time when feedback data corresponding to a pressing operation in a touch operation is received;
and a response unit 603 for determining response information corresponding to the countercontrol data according to the position information and the second time information.
In some embodiments, the first determining unit 602 includes a first determining module 6021, a second determining module 6022, and a fifth generating module 6023; wherein:
a first determining module 6021, configured to determine, from the first time information, a duration of a touch operation when the touch position obtaining operation corresponding to the current countercontrol data is performed;
a second determining module 6022, configured to take the sum of the initial time and the duration as a third time;
a fifth generation module 6023 for generating second time information including the initial time and the third time.
In some embodiments, the first time information includes a first time and a second time, where the first time is a time when the pressing operation in the current touch operation is detected; the second moment is the execution moment of the touch detection operation; wherein:
The second determination module 6022 is further configured to: and calculating the time interval between the second moment and the first moment, and taking the time interval as the duration.
In some embodiments, a system application and a preset application running on the system application are run on the terminal device; wherein the receiving unit 601 further includes a first receiving module 6011; the first determining unit 602 further includes a third determining module 6024; the response unit 603 further includes a response module 6031; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first receiving unit 6011 is configured to receive current countercontrol data sent by the vehicle-mounted host by using a preset application;
a third determining module 6024, configured to determine, by using the preset application, second time information corresponding to the current countercontrol data according to the duration and the initial time determined by the first time information, where the second time information is executed by the preset application; replacing the first time information in the current feedback control data with the second time information, and packaging the replaced current feedback control data into a second feedback control event; sending a second back control event to the system application;
the response module 6031 is configured to extract the position information and the second time information from the second countercontrol event by using the system application, and determine response information corresponding to the countercontrol data according to the position information and the second time information.
In some embodiments, the response unit 603 further includes a display module 6032. The display module 6032 is configured to:
and controlling the vehicle-mounted screen to display the response information.
Fig. 7 is a schematic diagram of a fifth embodiment of the present disclosure, and as shown in fig. 7, an electronic device 700 in the present embodiment may include: a processor 701 and a memory 702.
A memory 702 for storing a program; the memory 702 may include a volatile memory (english: volatile memory), such as a random-access memory (RAM), such as a static random-access memory (SRAM), a double data rate synchronous dynamic random-access memory (DDR SDRAM), etc.; the memory may also include a non-volatile memory (English) such as a flash memory (English). The memory 702 is used to store computer programs (e.g., application programs, functional modules, etc. that implement the methods described above), computer instructions, etc., which may be stored in one or more of the memories 702 in partitions. And the above-described computer programs, computer instructions, data, etc. may be called by the processor 701.
The computer programs, computer instructions, etc., described above may be stored in one or more of the memories 702 in partitions. And the above-described computer programs, computer instructions, etc. may be invoked by the processor 701.
A processor 701 for executing a computer program stored in a memory 702 to implement the steps of the method according to the above embodiment.
Reference may be made in particular to the description of the embodiments of the method described above.
The processor 701 and the memory 702 may be separate structures or may be integrated structures integrated together. When the processor 701 and the memory 702 are separate structures, the memory 702 and the processor 701 may be coupled by a bus 703.
The electronic device in this embodiment may execute the technical scheme in the above method, and the specific implementation process and the technical principle are the same, which are not described herein again.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
According to an embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the solution provided by any one of the above embodiments.
According to an embodiment of the present disclosure, the present disclosure also provides a computer program product comprising: a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any one of the embodiments described above.
FIG. 8 illustrates a schematic block diagram of an example electronic device that may be used to implement embodiments of the present disclosure. The electronic device 800 may be a terminal device or a server. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the respective methods and processes described above, for example, the generation operation process of the electronic case report. For example, in some embodiments, the operational process of generating the electronic case report may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 800 via ROM 802 and/or communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the above-described electronic case report generation operation processing may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the electronic case report generation operation processing in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (23)

1. The back control method for the vehicle-mounted display is used for a vehicle-mounted host, wherein the vehicle-mounted host is in communication connection with terminal equipment, and a vehicle-mounted screen of the vehicle-mounted host displays display contents transmitted by the terminal equipment; the method comprises the following steps:
in response to receiving a touch operation performed on the vehicle-mounted screen, performing at least one touch position acquisition operation;
generating at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation;
The at least one reverse control data is sequentially sent to the terminal equipment, so that the terminal equipment can execute the following response operation on each reverse control data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the countercontrol data, wherein the initial moment is the moment when the terminal equipment receives the countercontrol data corresponding to the pressing operation in the touch operation.
2. The method of claim 1, wherein generating at least one feedback data including first time information and position information according to the position information acquired by the at least one touch position acquisition operation comprises:
generating at least one first reverse control event according to at least one touch position acquisition operation;
for each first override event, generating override data corresponding to the first override event.
3. The method of claim 1, wherein generating at least one feedback data including first time information and position information according to the position information acquired by the at least one touch position acquisition operation comprises:
Generating at least one first reverse control event according to at least one touch position acquisition operation; each first counter-control event comprises at least one sub-event, and one sub-event corresponds to a touch position acquisition operation between the last first counter-control event and the first counter-control event;
and generating the inverse control data corresponding to at least one sub-event of each first inverse control event respectively for at least one sub-event of each first inverse control event.
4. A method according to any one of claims 1-3, wherein the first time information includes a first time and a second time, the first time being a time when a pressing operation in the touch operation is detected, the second time being an execution time of the touch position acquisition operation.
5. A method according to any one of claims 1 to 3, wherein,
for a feedback data, the displacement determined by the position information in the feedback data is positively correlated with the duration indicated by the first time information in the feedback data;
the displacement is determined by a position in the position information and an initial position, wherein the initial position is a position corresponding to a pressing operation in the touch operation.
6. The back control method for the vehicle-mounted display is applied to terminal equipment, wherein the terminal equipment is in communication connection with a vehicle-mounted host, and a vehicle-mounted screen of the vehicle-mounted host displays display contents transmitted by the terminal equipment; the method comprises the following steps:
receiving current reverse control data sent by a vehicle-mounted host, wherein the reverse control data is generated by the vehicle-mounted host in response to receiving touch position acquisition operation executed on a touch operation of a vehicle-mounted screen, the current reverse control data comprises first time information and position information, and the position information comprises a position acquired by one touch position acquisition operation corresponding to the current reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation;
determining second time information corresponding to current reverse control data according to duration time and initial time determined by the first time information, wherein the initial time is the time when reverse control data corresponding to pressing operation in the touch operation is received;
and determining response information corresponding to the current countercontrol data according to the position information and the second time information.
7. The method of claim 6, wherein determining second time information corresponding to current override data based on the first time information and the initial time instant comprises:
Determining duration of touch operation when the touch position acquisition operation corresponding to the current countercontrol data is executed from the first time information;
taking the accumulated sum of the initial time and the duration as a third time;
generating the second time information including the initial time and the third time.
8. The method according to claim 7, wherein the first time information includes a first time and a second time, the first time being a time when the pressing operation in the present touch operation is detected; the second time is the execution time of the touch detection operation; and
the determining, from the first time information, the duration of the touch operation when the touch position acquisition operation corresponding to the current countercontrol data is executed, includes:
and calculating a time interval between a second time and the first time, and taking the time interval as the duration.
9. The method according to any one of claims 6-8, further comprising:
and controlling the vehicle-mounted screen to display the response information.
10. The method of claim 6, wherein the terminal device is running a system application and a preset application running on top of the system application; wherein, the liquid crystal display device comprises a liquid crystal display device,
The current reverse control data sent by the vehicle-mounted host machine is received, and second time information corresponding to the current reverse control data is determined according to the duration time and the initial time determined by the first time information and is executed by the preset application; the preset application also performs the following operations:
replacing the first time information in the current reverse control data with the second time information, and packaging the replaced current reverse control data into a second reverse control event; sending the second countercontrol event to a system application; and
the determining the response information corresponding to the countercontrol data according to the position information and the second time information includes:
and the system application extracts the position information and the second time information from the second reverse control event, and determines response information corresponding to the reverse control data according to the position information and the second time information.
11. The back control device for vehicle-mounted display is arranged on a vehicle-mounted host, the vehicle-mounted host is in communication connection with terminal equipment, and a vehicle-mounted screen of the vehicle-mounted host displays display contents transmitted by the terminal equipment; the device comprises:
the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for responding to the received touch operation executed on a vehicle-mounted screen and executing at least one touch position acquisition operation;
The generating unit is used for generating at least one piece of reverse control data comprising first time information and position information according to the position information acquired by at least one touch position acquisition operation; the position information of the reverse control data comprises a position acquired by a primary touch position acquisition operation corresponding to the reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation;
the sending unit is used for sequentially sending the at least one feedback data to the terminal equipment so that the terminal equipment can execute the following response operation on each feedback data: determining second time information of the local terminal according to the duration time and the initial time determined by the first time information in the reverse control data; and determining response information according to the second time information and the position information in the countercontrol data, wherein the initial moment is the moment when the terminal equipment receives the countercontrol data corresponding to the pressing operation in the touch operation.
12. The apparatus of claim 11, wherein the generation unit comprises a first generation module and a second generation module; wherein:
the first generation module is used for generating at least one first reverse control event according to at least one touch position acquisition operation;
The second generation module is used for generating, for each first countercontrol event, countercontrol data corresponding to the first countercontrol event.
13. The apparatus of claim 11, wherein the generation unit comprises a third generation module and a fourth generation module; the third generation module is used for generating at least one first reverse control event according to at least one touch position acquisition operation; each first counter-control event comprises at least one sub-event, and one sub-event corresponds to a touch position acquisition operation between the last first counter-control event and the first counter-control event;
the fourth generation module is configured to generate, for at least one sub-event of each first countercontrol event, countercontrol data corresponding to the at least one sub-event respectively.
14. The apparatus according to any one of claims 11-13, wherein the first time information includes a first time and a second time, the first time being a time at which a pressing operation in the touch operation is detected, the second time being an execution time of the one touch position acquisition operation.
15. The device according to any one of claims 11-13, wherein,
For a feedback data, the displacement determined by the position information in the feedback data is positively correlated with the duration indicated by the first time information in the feedback data;
the displacement is determined by a position in the position information and an initial position, wherein the initial position is a position corresponding to a pressing operation in the touch operation.
16. The back control device for vehicle-mounted display is arranged at a terminal device, the terminal device is in communication connection with a vehicle-mounted host, and a vehicle-mounted screen of the vehicle-mounted host displays display contents transmitted by the terminal device; the device comprises:
the device comprises a receiving unit, a control unit and a control unit, wherein the receiving unit is used for receiving current reverse control data sent by a vehicle-mounted host, the reverse control data is generated by the vehicle-mounted host in response to receiving touch position acquisition operation executed on a touch operation of a vehicle-mounted screen, the current reverse control data comprises first time information and position information, and the position information comprises a position acquired by one touch position acquisition operation corresponding to the current reverse control data; the first time information is used for determining the duration of the touch operation during the touch position acquisition operation;
the first determining unit is used for determining second time information corresponding to current reverse control data according to the duration time and the initial time determined by the first time information, wherein the initial time is the time when the reverse control data corresponding to the pressing operation in the touch operation is received;
And the response unit is used for determining response information corresponding to the inverse control data according to the position information and the second time information.
17. The apparatus of claim 16, wherein the first determination unit comprises a first determination module, a second determination module, and a fifth generation module; wherein:
the first determining module is configured to determine, from the first time information, a duration of a touch operation when the touch position obtaining operation corresponding to the current countercontrol data is performed;
the second determining module is configured to take the sum of the initial time and the duration as a third time;
the fifth generating module is configured to generate the second time information including the initial time and the third time.
18. The apparatus of claim 17, wherein the first time information includes a first time and a second time, the first time being a time when a pressing operation in the present touch operation is detected; the second time is the execution time of the touch detection operation; wherein:
the second determining module is further configured to: and calculating a time interval between a second time and the first time, and taking the time interval as the duration.
19. The apparatus of claim 17, wherein the terminal device is configured to run a system application and a preset application running on top of the system application; wherein the receiving unit further comprises a first receiving unit; the first determining unit further comprises a third determining module; the response unit also comprises a response module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first receiving unit is used for receiving current reverse control data sent by the vehicle-mounted host by utilizing the preset application;
the third determining module is configured to determine, by using the preset application, second time information corresponding to current countercontrol data according to the duration and the initial time determined by the first time information, where the second time information is executed by the preset application; replacing the first time information in the current reverse control data with the second time information, and packaging the replaced current reverse control data into a second reverse control event; sending the second countercontrol event to a system application;
and the response module is used for extracting the position information and the second time information from the second countercontrol event by using the system application, and determining response information corresponding to the countercontrol data according to the position information and the second time information.
20. The apparatus of any one of claims 16-18, further comprising a display module configured to:
and controlling the vehicle-mounted screen to display the response information.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
22. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-10.
23. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of claims 1-10.
CN202310187686.9A 2023-02-24 2023-02-24 Reverse control method and device for vehicle-mounted display and electronic equipment Pending CN116339603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310187686.9A CN116339603A (en) 2023-02-24 2023-02-24 Reverse control method and device for vehicle-mounted display and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310187686.9A CN116339603A (en) 2023-02-24 2023-02-24 Reverse control method and device for vehicle-mounted display and electronic equipment

Publications (1)

Publication Number Publication Date
CN116339603A true CN116339603A (en) 2023-06-27

Family

ID=86886906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310187686.9A Pending CN116339603A (en) 2023-02-24 2023-02-24 Reverse control method and device for vehicle-mounted display and electronic equipment

Country Status (1)

Country Link
CN (1) CN116339603A (en)

Similar Documents

Publication Publication Date Title
US20170115796A1 (en) Method, device and terminal apparatus for recognizing a multi-finger pinching-in or pinching-out gesture
CN113360116A (en) Method, device and equipment for controlling terminal and storage medium
KR20210108324A (en) Method and apparatus for detecting mobile traffic light, electronic device, and storag medium
AU2013284042B2 (en) Adjusting layout size of hyperlink
CN107577404B (en) Information processing method and device and electronic equipment
US20170115866A1 (en) Method, device and terminal apparatus for recognizing multi-finger sliding gesture
EP3699731A1 (en) Method and device for calling input method, and server and terminal
WO2017096797A1 (en) Operating assembly control method and system based on motion sensing
CN116339603A (en) Reverse control method and device for vehicle-mounted display and electronic equipment
US11650832B1 (en) System and method for drawing optimization with pointer input in a remote session
CN107291270B (en) Remote handwriting data transmission method and device
WO2019024507A1 (en) Touch control method and device, and terminal
CN104035813A (en) Cross-platform interaction detection method and device
CN115134523A (en) Remote control method, device, operation terminal, control device and storage medium
WO2021017287A1 (en) Page sliding method and apparatus, and electronic device and computer-readable storage medium
CN113360074B (en) Soft keyboard display method, related device and computer program product
CN112527166B (en) Touch instruction processing method, device, equipment and storage medium
CN108595091A (en) Screen control display methods, device and computer readable storage medium
CN114928540B (en) Preemption method and device, electronic equipment and storage medium
KR102579124B1 (en) Image data correction method, apparatus, electronic device, storage medium, computer program, and autonomous vehicle
CN114428646B (en) Data processing method and device, electronic equipment and storage medium
CN114879889B (en) Processing method, processing device, revocation system, electronic equipment and storage medium
CN111367406B (en) Method, device, equipment and medium for refreshing pull-down of applet window
CN116820378A (en) Control method, device, equipment and system for shared screen of dual-machine system
US11252204B2 (en) Content sharing system, content sharing method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination