CN102279703B - Image slide display method of vehicular multimedia equipment based on single chip microcomputer - Google Patents

Image slide display method of vehicular multimedia equipment based on single chip microcomputer Download PDF

Info

Publication number
CN102279703B
CN102279703B CN2011101845853A CN201110184585A CN102279703B CN 102279703 B CN102279703 B CN 102279703B CN 2011101845853 A CN2011101845853 A CN 2011101845853A CN 201110184585 A CN201110184585 A CN 201110184585A CN 102279703 B CN102279703 B CN 102279703B
Authority
CN
China
Prior art keywords
touch point
screen
touch
image
point
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.)
Active
Application number
CN2011101845853A
Other languages
Chinese (zh)
Other versions
CN102279703A (en
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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN2011101845853A priority Critical patent/CN102279703B/en
Publication of CN102279703A publication Critical patent/CN102279703A/en
Application granted granted Critical
Publication of CN102279703B publication Critical patent/CN102279703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses an image slide display method of vehicular multimedia equipment based on a single chip. The method comprises the following steps: (1) reading the coordinates of the current touch point on a touch screen; (2) judging the horizontal moving direction of the current touch point relative to a starting point which is the starting touch point of a continuous slide; if the current touch point moves leftwards, changing the horizontal valid display pixel of the image signal, and executing the step (3); if the current touch point moves rightwards relative to the starting point, changing the horizontal non-display pixel of the touch screen, and executing the step (3); and if the image is static, executing the step (3); and (3) repeating the steps (1) and (2). Compared with the prior art, the method disclosed by the invention has the advantage of realizing image slide display without increasing the equipment hardware cost.

Description

A kind of image slide display method of SCM Based vehicle-mounted multimedia equipment
Technical field
The present invention relates to the image's dynamic display field, particularly a kind of image slide display method of SCM Based vehicle-mounted multimedia equipment.
Background technology
The single-chip microcomputer vehicle-mounted multimedia equipment is generally driven chip, is touched chip and form by decoding chip, MCU, touch-screen, screen, and this type of vehicle-mounted multimedia equipment enjoys favor because of cheap, and is very high in the occupation rate of existing market.This class vehicle-mounted multimedia equipment drives chip by the decoding chip outputting video signal to screen, drives chip by the MCU control flow vision signal is shown on the screen.This class vehicle-mounted multimedia equipment has a shortcoming: can't realize the dynamic display effect of similar slip, show too stiff dullness, so that feel not directly perceived, dumb during client's touch operation.
Present vehicle-mounted multimedia equipment can realize dynamic display effect only based on the vehicle mounted multimedia of ARM framework and based on these two kinds of the vehicle-mounted multimedia equipments of figure display chip, but cost ratio single-chip microcomputer vehicle mounted multimedia is high.
Summary of the invention
In order to overcome the deficiencies in the prior art, the object of the present invention is to provide a kind of image slide display method of SCM Based vehicle-mounted multimedia equipment.
Purpose of the present invention is achieved through the following technical solutions: a kind of image slide display method of SCM Based vehicle-mounted multimedia equipment may further comprise the steps:
(1) touches chip and read the coordinate of the current touch point on the touch-screen;
(2) the initial touch point that slides with one-time continuous is as starting point, and single-chip microcomputer judges that current touch point is with respect to the tangential movement direction of starting point; If to left movement, single-chip microcomputer calculates the displacement of touch point with respect to starting point in current touch point, and according to the initial display pixel P of the displacement computed image signal of touch point 1, the effective display pixel of level that obtains picture signal is P 1~ P 1 0, P wherein 1 0Be the total pixel of the level of controllable picture signal, P 1<P 1 0Screen drives the effective display pixel of level of chip drives touch-screen display image signals, reaches image and is moved to the left; Carry out afterwards step (3);
If current touch point moves right with respect to starting point, single-chip microcomputer calculates the displacement of touch point, calculates the initial display pixel P of touch-screen according to the displacement of touch point 2, obtain the non-display pixel 0 ~ P of level of touch-screen 2, P wherein 2<P 2 0, P 2 0The total pixel of level for the touch-screen demonstration; It is 0 ~ P in pixel that screen drives the chip drives touch-screen 2Scope in do not show image, at P 2~ P 2 0Show image in the scope, reach image and move right; Carry out afterwards step (3);
If image freeze is carried out step (3);
(3) repeating step (1) ~ (2).
Step (2) if described current touch point with respect to starting point to left movement, single-chip microcomputer calculates the displacement of touch point, is specially:
Calculate the displacement of touch point: L according to following formula 1=P 2 0(x 0-x)/l 0, P wherein 2 0Be the total pixel of level that touch-screen shows, x is the horizontal ordinate of current touch point, x 0Be initial horizontal ordinate, l 0Horizontal total length for touch-screen.
If described current touch point moves right with respect to starting point, single-chip microcomputer calculates the displacement of touch point, is specially:
Calculate the displacement L of touch point according to following formula 2: L 2=P 2 0(x-x 0)/l 0, P wherein 2 0Be total pixel that touch-screen shows, x is the horizontal ordinate of current touch point, x 0Be initial horizontal ordinate, l 0Horizontal total length for touch-screen.
The initial display pixel P of described displacement computed image signal according to the touch point 1, specifically calculate according to following formula:
P 1=L 1
The described initial display pixel P that calculates touch-screen according to the displacement of touch point 2, specifically calculate according to following formula:
P 2=L 2
The described single-chip microcomputer of step (2) is judged current touch point with respect to the tangential movement direction of starting point, is specially and carries out following steps:
Whether the horizontal ordinate of (2-1) judging current touch point is less than the horizontal ordinate of starting point;
If judge that then the tangential movement direction of current touch point is as left;
If not, then carry out step (2-2);
Whether the horizontal ordinate of (2-2) judging current touch point is greater than the horizontal ordinate of starting point;
If judge that then the tangential movement direction of current touch point is as to the right;
If not, judge that then current touch point is static.
Compared with prior art, the present invention has the following advantages and effect: the present invention has realized that on the basis of existing single-chip microcomputer vehicle-mounted multimedia equipment the slip of image shows, overcome existing single-chip microcomputer vehicle-mounted multimedia equipment and shown too dull shortcoming, made the user feel in use more directly perceived, flexible; Simultaneously, compare with the existing vehicle-mounted multimedia equipment that slidably shows, the single-chip microcomputer vehicle-mounted multimedia equipment of using the demonstration of this method realization image slide has cheap advantage.
Description of drawings
Fig. 1 is the structured flowchart of the single-chip microcomputer vehicle-mounted multimedia equipment used of the present invention.
Fig. 2 is the flow chart of steps of the image slide display method of SCM Based vehicle-mounted multimedia equipment of the present invention.
Fig. 3 for the image slide display method of SCM Based vehicle-mounted multimedia equipment of invention in the touch point effect synoptic diagram when moving to left.
Fig. 4 is the effect synoptic diagram of the image slide display method of SCM Based vehicle-mounted multimedia equipment of the present invention when moving right in the touch point.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited to this.
Embodiment
The image slide display method of a kind of SCM Based vehicle-mounted multimedia equipment in the present embodiment is based on common single-chip microcomputer vehicle-mounted multimedia equipment, as shown in Figure 1, this equipment comprises: touch-screen, touch chip (AK4183), screen drive chip (TW8816) and single-chip microcomputer (MN10131G), and touch-screen, touch chip, screen driving chip are connected with single-chip microcomputer respectively.
As shown in Figure 2, the image slide display method of a kind of SCM Based vehicle-mounted multimedia equipment of the present invention may further comprise the steps:
(1) touches chip and read the coordinate of the current touch point on the touch-screen;
The initial touch point that (2-1) slides with one-time continuous is as starting point, and single-chip microcomputer judges that current touch point is with respect to the tangential movement direction of starting point: whether the horizontal ordinate of judging current touch point is less than the horizontal ordinate of starting point;
If judge that then the tangential movement direction of current touch point is as left;
If not, then carry out step (2-2);
Whether the horizontal ordinate of (2-2) judging current touch point is greater than the horizontal ordinate of starting point;
If then judge the tangential movement direction of current touch point to the right;
If not, judge that then current touch point is static.
If to left movement, single-chip microcomputer calculates the displacement of touch point: L with respect to starting point in current touch point 1=P 2 0(x 0-x)/l 0, P wherein 2 0Be the total pixel of level that touch-screen shows, x is the horizontal ordinate of current touch point, x 0Be initial horizontal ordinate, l 0Horizontal total length for touch-screen; Single-chip microcomputer is according to the initial display pixel P of the displacement computed image signal of touch point 1=L 1, the effective display pixel of level that obtains picture signal is P 1~P 1 0, P wherein 1 0Be the total pixel of the level of controllable picture signal, P 1<P 1 0Screen drives the effective display pixel of level of chip drives touch-screen display image signals, reaches image and is moved to the left; Carry out afterwards step (3).
What present embodiment adopted is the vision signal of 720*480, and namely controllable horizontal valid pixel scope is 0 ~ 720, the total pixel P of the level of controllable picture signal 1 0=720.If obtain L 1=500, single-chip microcomputer is then with 500 ~ 720 as effective display pixel scope of image and send to screen and drive chip, and screen drives the chip drives touch-screen and shows image.Its effect synoptic diagram as shown in Figure 3, the partial display of the effective display pixel of the level of image 11 (be zone 2.) is on touch-screen 12,1. the zone is the controllable horizontal display pixel of vision signal, namely reaches the effect that image moves to left.
If current touch point moves right with respect to starting point, single-chip microcomputer calculates the displacement L of touch point according to following formula 2: L 2=P 2 0(x-x 0)/l 0Calculate the initial display pixel P of touch-screen according to the displacement of touch point 2=L 2, obtain the non-display pixel 0 ~ P of level of touch-screen 2, P wherein 2<P 2 0, P 2 0The total pixel of level for the touch-screen demonstration; It is 0 ~ P in pixel that screen drives the chip drives touch-screen 2Scope in do not show image, at P 2~ P 2 0Show image in the scope, reach image and move right; Carry out afterwards step (3).
The pixel that the touch-screen that present embodiment adopts shows is 0 ~ 800, total pixel P 2 0Be 800.If obtain L 2=500, single-chip microcomputer then calculates the initial display pixel P of touch-screen 2=L 2, with 0 ~ 500 as the non-display pixel of the level of touch-screen, and sending to screen and drive chip, screen drives the chip drives touch-screen, shows image at the pixel of touch-screen 500 ~ 800.Its effect synoptic diagram as shown in Figure 3, the initial display position of image 11 on touch-screen moves to right, wherein 3. the zone is the total pixel of level of touch- screen 12,4. the zone is the non-display pixel of level, namely reaches the effect that image moves to right.
If image freeze is carried out step (3);
(3) repeating step (1) ~ (2).
Above-described embodiment is the better embodiment of the present invention; but embodiments of the present invention are not limited by the examples; other any do not deviate from change, the modification done under Spirit Essence of the present invention and the principle, substitutes, combination, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (4)

1. the image slide display method of a SCM Based vehicle-mounted multimedia equipment is characterized in that, may further comprise the steps:
(1) touches chip and read the coordinate of the current touch point on the touch-screen;
(2) the initial touch point that slides with one-time continuous is as starting point, and single-chip microcomputer judges that current touch point is with respect to the tangential movement direction of starting point; If to left movement, single-chip microcomputer calculates the displacement of touch point: L according to following formula with respect to starting point in current touch point 1=P 2 0(x 0-x)/l 0, P wherein 2 0Be the total pixel of level that touch-screen shows, x is the horizontal ordinate of current touch point, x 0Be initial horizontal ordinate, l 0Horizontal total length for touch-screen; And according to the initial display pixel P of the displacement computed image signal of touch point 1, the effective display pixel of level that obtains picture signal is P 1~ P 1 0, P wherein 1 0Be the total pixel of the level of controllable picture signal, P 1<P 1 0; Screen drives the effective display pixel of level of chip drives touch-screen display image signals, reaches image and is moved to the left; Carry out afterwards step (3);
If current touch point moves right with respect to starting point, single-chip microcomputer calculates the displacement L of touch point according to following formula 2: L 2=P 2 0(x-x 0)/l 0, P wherein 2 0Be total pixel that touch-screen shows, x is the horizontal ordinate of current touch point, x 0Be initial horizontal ordinate, l 0Horizontal total length for touch-screen; Calculate the initial display pixel P of touch-screen according to the displacement of touch point 2, obtain the non-display pixel 0 ~ P of level of touch-screen 2, P wherein 2<P 2 0, P 2 0The total pixel of level for the touch-screen demonstration; It is 0 ~ P in pixel that screen drives the chip drives touch-screen 2Scope in do not show image, at P 2~ P 2 0Show image in the scope, reach image and move right; Carry out afterwards step (3);
If image freeze is carried out step (3);
(3) repeating step (1) ~ (2).
2. the image slide display method of a kind of SCM Based vehicle-mounted multimedia equipment according to claim 1 is characterized in that, the initial display pixel P1 of described displacement computed image signal according to the touch point specifically calculates according to following formula:
P 1=L 1
3. the image slide display method of a kind of SCM Based vehicle-mounted multimedia equipment according to claim 1 is characterized in that, the described initial display pixel P that calculates touch-screen according to the displacement of touch point 2, specifically calculate according to following formula:
P 2=L 2
4. the image slide display method of a kind of SCM Based vehicle-mounted multimedia equipment according to claim 1, it is characterized in that, the described single-chip microcomputer of step (2) is judged current touch point with respect to the tangential movement direction of starting point, is specially and carries out following steps:
Whether the horizontal ordinate of (2-1) judging current touch point is less than the horizontal ordinate of starting point;
If judge that then the tangential movement direction of current touch point is as left;
If not, then carry out step (2-2);
Whether the horizontal ordinate of (2-2) judging current touch point is greater than the horizontal ordinate of starting point;
If judge that then the tangential movement direction of current touch point is as to the right;
If not, judge that then current touch point is static.
CN2011101845853A 2011-09-28 2011-09-28 Image slide display method of vehicular multimedia equipment based on single chip microcomputer Active CN102279703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101845853A CN102279703B (en) 2011-09-28 2011-09-28 Image slide display method of vehicular multimedia equipment based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101845853A CN102279703B (en) 2011-09-28 2011-09-28 Image slide display method of vehicular multimedia equipment based on single chip microcomputer

Publications (2)

Publication Number Publication Date
CN102279703A CN102279703A (en) 2011-12-14
CN102279703B true CN102279703B (en) 2013-03-20

Family

ID=45105177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101845853A Active CN102279703B (en) 2011-09-28 2011-09-28 Image slide display method of vehicular multimedia equipment based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN102279703B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10762691B2 (en) * 2017-09-08 2020-09-01 Microsoft Technology Licensing, Llc Techniques for compensating variable display device latency in image display

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727325A (en) * 2009-12-30 2010-06-09 中国电信股份有限公司 Method and device for realizing image container control with effect of convex lens
CN101794192A (en) * 2010-02-10 2010-08-04 深圳市同洲电子股份有限公司 Picture processing method of touch screen terminal and touch screen terminal
CN102147659A (en) * 2011-03-21 2011-08-10 中兴通讯股份有限公司 Terminal and display content processing method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011022842A (en) * 2009-07-16 2011-02-03 Sony Corp Display apparatus, display method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727325A (en) * 2009-12-30 2010-06-09 中国电信股份有限公司 Method and device for realizing image container control with effect of convex lens
CN101794192A (en) * 2010-02-10 2010-08-04 深圳市同洲电子股份有限公司 Picture processing method of touch screen terminal and touch screen terminal
CN102147659A (en) * 2011-03-21 2011-08-10 中兴通讯股份有限公司 Terminal and display content processing method thereof

Also Published As

Publication number Publication date
CN102279703A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
CN102789327B (en) Method for controlling mobile robot on basis of hand signals
CN106598342B (en) The multisystem of intelligent whiteboard TV uses the design method of a touch frame simultaneously
KR101851916B1 (en) High-speed display interface
CN102446032B (en) Information input method and terminal based on camera
EP2584446A3 (en) Gui applications for use with 3d remote controller
CN103116467A (en) Video progress and volume control method based on multi-point touch control
WO2013189224A1 (en) Cursor display position determination method and device
CN103116432A (en) Three-dimensional operating control method and device of touch screen and mobile terminal thereof
WO2022017139A1 (en) Parking display method and vehicle
CN104536650A (en) Parallax page turning man-machine interaction method based on IOS
US20130176214A1 (en) Touch control method
CN103853495A (en) Vehicle-mounted device touch control device and method
CN104898902A (en) Touch display device, driving circuit and driving method thereof, and electronic device
CN102279703B (en) Image slide display method of vehicular multimedia equipment based on single chip microcomputer
CN104142730A (en) Method for mapping gesture tracking results to mouse events
WO2012071334A3 (en) 3d pointing device with up-down-left-right mode switching and integrated swipe detector
CN102314267B (en) A kind of method that realizes of wireless infrared interaction and device
CN103699265A (en) Touch display system utilizing stylus and operation method of touch display system
CN103927108A (en) Multi-finger touch control volume adjusting method of vehicle stereo
CN104536679B (en) A kind of interactive display method, device and terminal
CN202331413U (en) Information interaction displaying system
CN102630035A (en) Viewer position detecting and prompting method for 3D television
CN204374884U (en) A kind of device of vehicle-mounted 3D gesture HMI menu changing method
CN106608580A (en) Virtual landscape system used in elevator car
CN102135826B (en) Touch device scroll control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HUIZHOU DESAY SV AUTO. ELECTRONICS CO., LTD.

Free format text: FORMER OWNER: HUIZHOU DESAY AUTOMOTIVE ELECTRONICS CO., LTD.

Effective date: 20130104

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 516006 HUIZHOU, GUANGDONG PROVINCE TO: 516000 HUIZHOU, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20130104

Address after: 516000 Guangdong province Huizhou City Zhongkai high tech Zone and five West Road No. 103

Applicant after: Huizhou Desay SV Auto. Electronics Co., Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Industrial Development Zone No. 15 District

Applicant before: Huizhou Desay Automotive Electronics Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 516000 Guangdong province Huizhou Zhongkai high tech Zone and five West Road No. 103

Patentee after: HUIZHOU DESAY SV AUTOMOTIVE CO., LTD.

Address before: 516000 Guangdong province Huizhou Zhongkai high tech Zone and five West Road No. 103

Patentee before: Huizhou Desay SV Auto. Electronics Co., Ltd.