CN102662615B - Embedded equipment and picture displaying method and system of embedded equipment - Google Patents

Embedded equipment and picture displaying method and system of embedded equipment Download PDF

Info

Publication number
CN102662615B
CN102662615B CN201210081610.XA CN201210081610A CN102662615B CN 102662615 B CN102662615 B CN 102662615B CN 201210081610 A CN201210081610 A CN 201210081610A CN 102662615 B CN102662615 B CN 102662615B
Authority
CN
China
Prior art keywords
picture
display
attribute information
width
buffer area
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
CN201210081610.XA
Other languages
Chinese (zh)
Other versions
CN102662615A (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.)
Kunming filtech Electronic System Engineering Co. Ltd.
Original Assignee
China Security and Surveillance Technology PRC Inc
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 China Security and Surveillance Technology PRC Inc filed Critical China Security and Surveillance Technology PRC Inc
Priority to CN201210081610.XA priority Critical patent/CN102662615B/en
Publication of CN102662615A publication Critical patent/CN102662615A/en
Application granted granted Critical
Publication of CN102662615B publication Critical patent/CN102662615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention belongs to the technical field of embedded man-machine interfaces and provides embedded equipment and a picture displaying method and a picture displaying system of the embedded equipment, wherein the method comprises the following steps: receiving a picture displaying signal; calling the attribute information and special effect displaying mode of a pre-stored picture corresponding to the picture displaying signal, and calling pre-stored picture pixel data with corresponding size to a memory according to the attribute information of the called picture; and displaying the picture pixel data called into the memory through the called special effect displaying mode. The picture displaying method for the embedded equipment pre-stores the special effect displaying mode and displays corresponding picture pixel data by the called special effect displaying mode after receiving the picture displaying signal, therefore, compared with the prior art, the special effect displaying of the embedded equipment is realized, the displaying effect is rich, and the ornamental property is improved.

Description

A kind of embedded device and image display method, system
Technical field
The invention belongs to embedded human-machine interface technical field, particularly relate to a kind of embedded device and image display method, system.
Background technology
Embedded device is application-centered, and based on computing machine, software and hardware can cutting, is applicable to the dedicated computer system that system is strict with function, reliability, cost, volume, power consumption.Usually, embedded device is made up of hardware and software two parts.Hardware components generally includes flush bonding processor and embedded peripherals; Software section comprises embedded OS and embedded application software.
The image display method of the embedded device that prior art provides adopts multi-buffer technique, is placed on respectively by the picture of different displaying contents in different spatial caches, shows after picture processes in corresponding spatial cache.Due to current embedded device be applied to picture display single and without the need to Special display effect when, as: doorway machine, advertisement machine etc., therefore, there is the problem of appreciative value difference in the image display method of the embedded device that prior art provides.
Above-mentioned information disclosed in this background technology this part is only for increasing the understanding to background technology of the present invention, and therefore it may comprise the prior art known to persons of ordinary skill in the art do not formed this state.
Summary of the invention
The object of the embodiment of the present invention is the image display method providing a kind of embedded device, is intended to the problem that the display of image display method picture is single, appreciative value is poor solving the embedded device that prior art provides.
The embodiment of the present invention is achieved in that a kind of image display method of embedded device, said method comprising the steps of:
Receive picture display;
Call attribute information and the Special display effect pattern thereof of the corresponding picture of described picture display prestored, and according to the attribute information of the described picture called, call the picture pixels data of that prestore, corresponding size to video memory;
The picture pixels data of video memory are called with the described Special display effect pattern display of calling.
Another object of the present invention is to the picture display system providing a kind of embedded device, described system comprises:
Signal receiving module, for receiving picture display;
Memory module, the Special display effect pattern of the corresponding picture of described picture display that the attribute information of the corresponding picture of described picture display that the corresponding picture of described picture display received for the described signal receiving module that prestores, described signal receiving module receive and described signal receiving module receive;
Calling module, for calling attribute information and the Special display effect pattern thereof of the corresponding picture of described picture display that described memory module prestores, described signal receiving module receives, and according to the attribute information of the described picture called, call the picture pixels data of that described memory module prestores, corresponding size to video memory;
Display module, the described picture pixels data of video memory are called in the described Special display effect pattern display for calling with described calling module.
Another object of the present invention is to provide a kind of embedded device, comprise a picture display system, described picture display system is the picture display system of embedded device as above; Described embedded device is embedded type mobile communication terminal.
The image display method of the embedded device that the embodiment of the present invention provides presets Special display effect pattern, and after receiving picture display, with the Special display effect pattern called, show corresponding picture pixels data, relative to prior art, achieve the Special display effect of embedded device, display effect is enriched, and improves appreciative value.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the image display method of the embedded device that first embodiment of the invention provides;
Fig. 2 is the process flow diagram of the image display method of the embedded device that second embodiment of the invention provides;
Fig. 3 is the structural drawing of the picture display system of the embedded device that first embodiment of the invention provides;
Fig. 4 is the structural drawing of the picture display system of the embedded device that second embodiment of the invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
For prior art Problems existing, the image display method of the embedded device that the embodiment of the present invention provides presets Special display effect pattern, and after receiving picture display, with the Special display effect pattern preset, shows corresponding picture.
Fig. 1 shows the flow process of the image display method of the embedded device that first embodiment of the invention provides.
In step S101, receive picture display.
In step s 102, call attribute information and the Special display effect pattern thereof of the corresponding picture of picture display prestored, and according to the attribute information of the picture called, call the picture pixels data of that prestore, corresponding size to video memory.This attribute information comprise the display position horizontal ordinate of corresponding picture on display interface, display position ordinate, corresponding picture display width and display height etc.
In step s 103, the picture pixels data of video memory are called with the Special display effect pattern called display.
In first embodiment of the invention, the Special display effect pattern prestored from left to right showing, showing from right to left, show from top to bottom, shows from top to bottom, shows from centre to the right and left, shows from centre to upper and lower both sides, is rolled to the right display from the left side, is rolled to left side display from the right, is rolled to following display from top or shows from being rolled to top below.Step S103 can comprise the following steps again: from initial pixel point in the process of pixel of getting full picture, utilize the iterative algorithm that Special display effect pattern is corresponding, constantly obtain the display position horizontal ordinate of picture on display interface, the display position ordinate of picture on display interface, the display width of picture and the display height of picture; According to the display width of the picture obtained and the display height of picture, obtain a rectangular area of picture as region to be shown; Along with the display width of picture and the display real-time update highly of picture, the picture pixels data of respective calls to video memory are redrawn in display interface.
Particularly, suppose that the coordinate axis of display interface is positive dirction to the right, then when preset Special display effect pattern be from left to right show time, the step of step S103 can comprise the following steps again: arrange a picture address side-play amount, and using the initial value of the display width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; The display width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to the picture address side-play amount after reducing and the corresponding display width that calculates, constantly the picture pixels data calling video memory are redrawn in display interface, picture Special display effect effect from left to right can be obtained.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display width of photo current address offset gauge nomogram sheet is width ', then give picture address side-play amount offset after initial value using the width width of picture in the attribute information called, repeat in turn:
width′=width-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture width width gradually, the corresponding display width width ' of picture is increased to picture width width gradually from 0, thus defines picture display effect from left to right.
When the Special display effect pattern preset be show from right to left time, the step of step S103 can comprise the following steps again: give the display position horizontal ordinate one horizontal ordinate initial value of picture on display interface in the attribute information that calls; One picture address side-play amount is set, and using the initial value of the width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; Photo current address offset amount and horizontal ordinate initial value are sued for peace, obtains the current display position horizontal ordinate of picture on display interface; The width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to picture address side-play amount, the corresponding display width calculated and the current display position horizontal ordinate of picture on display interface after reduction, constantly the picture pixels data calling video memory are redrawn in display interface, picture Special display effect effect from right to left can be obtained.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display width of photo current address offset gauge nomogram sheet is width ', the current display position horizontal ordinate of picture on display interface is x ', then give picture address side-play amount offset as initial value using the display width width of picture in the attribute information called, and give 0 the display position horizontal ordinate of picture on display interface in attribute information be x after initial value, repeat in turn:
x′=offset+x
width′=width-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture display width width gradually, the corresponding display width width ' of picture is increased to picture display width width gradually from 0, the current display position horizontal ordinate of picture on display interface is that x ' reduces gradually, thus defines picture display effect from right to left.
Suppose that the coordinate axis of display interface is positive dirction downwards, then when preset Special display effect pattern be show from top to bottom time, the step of step S103 can comprise the following steps again: arrange a picture address side-play amount, and using the initial value of the display of picture in the attribute information that calls height as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; The display of picture in the attribute information called height and photo current address offset amount are done difference, obtains the corresponding display height of picture; According to the picture address side-play amount after reducing and the corresponding display that calculates highly, constantly the picture pixels data calling video memory are redrawn in display interface, picture Special display effect effect from top to bottom can be obtained.
Suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, and in the picture prestored, display width is that width, display are highly for the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display of photo current address offset gauge nomogram sheet is highly height ', then by the display of picture in the attribute information that calls height height, give picture address side-play amount offset as after initial value, repeat in turn:
height′=height-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture width height gradually, the corresponding display height height ' of picture is increased to picture display height height gradually from 0, thus defines picture display effect from top to bottom.
When the Special display effect pattern preset be show from top to bottom time, the step of step S103 can comprise the following steps again: give the display position ordinate one ordinate initial value of picture on display interface in the attribute information that calls; One picture address side-play amount is set, and using the initial value of the height of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; Photo current address offset amount and ordinate initial value are sued for peace, obtains the current display position ordinate of picture on display interface; The height of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display height of picture; According to the picture address side-play amount after reduction, the corresponding display height calculated and the current display position ordinate of picture on display interface, constantly the picture pixels data calling video memory are redrawn in display interface, picture Special display effect effect from top to bottom can be obtained.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display of photo current address offset gauge nomogram sheet is highly height ', the current display position ordinate of picture on display interface is y ', then give picture address side-play amount offset as initial value using the display height height of picture in the attribute information called, and give 0 the display position ordinate of picture on display interface in attribute information be y after initial value, repeat in turn:
y′=offset+y
height′=height-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture display height height gradually, the corresponding display height height ' of picture is increased to picture display highly height gradually from 0, the current display position ordinate y ' of picture on display interface is reduced to 0 gradually, thus defines picture display effect from top to bottom.
When the Special display effect pattern preset be show from centre to the right and left time, the step of step S103 can comprise the following steps again: give the display position horizontal ordinate one horizontal ordinate initial value of picture on display interface in the attribute information that calls; One picture address side-play amount is set, and using the initial value of the width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; The half of photo current address offset amount and horizontal ordinate initial value are sued for peace, obtains the current display position horizontal ordinate of picture on display interface; The width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to picture address side-play amount, the corresponding display width calculated and the current display position horizontal ordinate of picture on display interface after reduction, constantly the picture pixels data calling video memory are redrawn in display interface, the Special display effect effect of picture from centre to the right and left can be obtained.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display width of photo current address offset gauge nomogram sheet is width ', the current display position horizontal ordinate of picture on display interface is x ', then give picture address side-play amount offset as initial value using the display width width of picture in the attribute information called, and give 0 the display position horizontal ordinate of picture on display interface in attribute information be x after initial value, repeat in turn:
x′=offset/2+x
width′=width-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture display width width gradually, the corresponding display width width ' of picture is increased to picture display width width gradually from 0, the current display position horizontal ordinate x ' of picture on display interface is reduced to 0 gradually from the intermediate width of picture, thus defines picture from the display effect from centre to the right and left.
When the Special display effect pattern preset is from centre to upper and lower both sides display, the step of step S103 can comprise the following steps again: give the display position ordinate one ordinate initial value of picture on display interface in the attribute information called; One picture address side-play amount is set, and using the initial value of the height of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; The half of photo current address offset amount and ordinate initial value are sued for peace, obtains the current display position ordinate of picture on display interface; The height of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display height of picture; According to the picture address side-play amount after reduction, the corresponding display height calculated and the current display position ordinate of picture on display interface, constantly the picture pixels data calling video memory are redrawn in display interface, can obtain picture from centre the Special display effect effect to upper and lower both sides.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display of photo current address offset gauge nomogram sheet is highly height ', the current display position ordinate of picture on display interface is y ', then give picture address side-play amount offset as initial value using the display height height of picture in the attribute information called, and give 0 the display position ordinate of picture on display interface in attribute information be y after initial value, repeat in turn:
y′=offset/2+y
height′=height-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture display height height gradually, the corresponding display height height ' of picture is increased to picture display highly height gradually from 0, the current display position ordinate y ' of picture on display interface is reduced to 0 gradually from the intermediate altitude of picture, thus defines picture from from centre to the display effect on upper and lower both sides.
When the Special display effect pattern preset is that when being rolled to the right display from the left side, the step of step S103 can comprise the following steps again: give the display position horizontal ordinate one horizontal ordinate initial value of picture on display interface in the attribute information called; One picture address side-play amount is set, and using the initial value of the display width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; Photo current address offset amount and horizontal ordinate initial value are sued for peace, obtains the current display position horizontal ordinate of picture on display interface; The display width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to picture address side-play amount, the corresponding display width calculated and the current display position horizontal ordinate of picture on display interface after reduction, constantly the picture pixels data calling video memory are redrawn the corresponding viewing area in display interface, the attribute information of this corresponding viewing area can be expressed as (dx=0, y, width ', height), picture is rolled to the right Special display effect effect from the left side can be obtained.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is sx, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (sx, y, width, height), then according to this attribute information, can sx=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display width of photo current address offset gauge nomogram sheet is width ', the current display position horizontal ordinate of picture on display interface is sx ', then give picture address side-play amount offset as initial value using the display width width of picture in the attribute information called, and give 0 the display position horizontal ordinate of picture on display interface in attribute information be sx after initial value, repeat in turn:
sx′=offset+sx
width′=width-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture display width width gradually, the current display position horizontal ordinate sx ' of picture on display interface is reduced to 0 from picture display width width, and the corresponding display width width ' of picture is increased to picture display width width gradually from 0, the continuous so corresponding viewing area (dx=0 picture pixels data calling video memory redrawn in display interface, y, width ', height), thus define picture from be rolled to from the left side the right display effect.This display effect is similar to and is pushed out on the right of display interface by the picture on the display interface left side, and therefore first the right-hand component of picture is presented on the position of dx.
When the Special display effect pattern preset is that when being rolled to left side display from the right, the step of step S103 can comprise the following steps again: give position, the corresponding viewing area horizontal ordinate one horizontal ordinate initial value on display interface; One picture address side-play amount is set, and using the initial value of the display width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; Photo current address offset amount and horizontal ordinate initial value are sued for peace, obtains the current display position horizontal ordinate of the position, corresponding viewing area on display interface; The display width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to the current display position horizontal ordinate of the position, corresponding viewing area on picture address side-play amount, the corresponding display width calculated and the display interface after reduction, constantly the picture pixels data calling video memory are redrawn the corresponding viewing area in display interface, picture is rolled to left side Special display effect effect from the right can be obtained.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, position, corresponding viewing area horizontal ordinate on display interface is dx, the current display position horizontal ordinate of the position, corresponding viewing area on display interface is dx ', the display position horizontal ordinate of picture on display interface is sx, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (sx, y, width, height), then according to this attribute information, can sx=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display width of photo current address offset gauge nomogram sheet is width ', then give picture address side-play amount offset as initial value using the display width width of picture in the attribute information called, and give 0 the display position horizontal ordinate of picture on display interface in attribute information be dx after initial value, repeat in turn:
dx′=offset+dx
width′=width-offset
offset=offset-1
Picture address side-play amount offset can be made to be reduced to 0 from picture display width width gradually, the current display position horizontal ordinate of the position, corresponding viewing area on display interface is that dx ' is reduced to 0 from picture display width width, and the corresponding display width width ' of picture is increased to picture display width width gradually from 0, constantly like this picture pixels data (sx=0 of video memory will be called, y, width, height) the corresponding viewing area (dx in display interface is redrawn, y, width ', height), thus define picture from the display effect being rolled to the left side from the right.The picture that this display effect is similar on the right of by display interface pushs out toward the display interface left side, and therefore first the left-hand component of picture be presented on the position of dx.
When the Special display effect pattern preset be rolled to from top show below time, the step of step S103 can comprise the following steps again: give the display position ordinate one ordinate initial value of picture on display interface in the attribute information that calls; One picture address side-play amount is set, and using the initial value of the display width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; Photo current address offset amount and ordinate initial value are sued for peace, obtains the current display position ordinate of picture on display interface; The display of picture in the attribute information called height and photo current address offset amount are done difference, obtains the corresponding display height of picture; According to the picture address side-play amount after reduction, the corresponding display height calculated and the current display position ordinate of picture on display interface, constantly the picture pixels data calling video memory are redrawn the corresponding viewing area in display interface, the attribute information of this corresponding viewing area can be expressed as (x, dy=0, width, height '), picture can be obtained and be rolled to following Special display effect effect from top.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is sy, that is to say, the attribute information of the corresponding picture of picture display represents for (x, sy, width, height), then according to this attribute information, can x=0, sy=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display of photo current address offset gauge nomogram sheet is highly height ', the current display position ordinate of picture on display interface is sy ', then give picture address side-play amount offset as initial value using the display height height of picture in the attribute information called, and give 0 the display position ordinate of picture on display interface in attribute information be sy after initial value, repeat in turn:
sy′=offset+sy
height′=height-offset
offset=offset-1
Can make that picture address side-play amount offset is reduced to 0 from picture display height height gradually, the current display position ordinate sy ' of picture on display interface is reduced to 0 from picture display height height, and the corresponding display height height ' of picture is increased to picture display height height gradually from 0, the continuous so corresponding viewing area (x picture pixels data calling video memory redrawn in display interface, dy=0, width, height '), thus define picture and be rolled to following display effect from from top.This display effect is similar to and is pushed out below toward display interface by the picture of display interface top, and therefore first the lower portion of picture is presented on the position of dy.
When the Special display effect pattern preset is that the step of step S103 can comprise the following steps again: give position, the corresponding viewing area ordinate one ordinate initial value on display interface from when being rolled to top display below; One picture address side-play amount is set, and using the initial value of the display of picture in the attribute information that calls height as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; Photo current address offset amount and ordinate initial value are sued for peace, obtains the current display position ordinate of the position, corresponding viewing area on display interface; The display of picture in the attribute information called height and photo current address offset amount are done difference, obtains the corresponding display height of picture; According to the current display position ordinate of the position, corresponding viewing area on the picture address side-play amount after reduction, the corresponding display height calculated and display interface, constantly the picture pixels data calling video memory are redrawn the corresponding viewing area in display interface, picture can be obtained from the Special display effect effect being rolled to top below.
Such as, suppose that the display width of picture in the attribute information called is width, in the attribute information called, the display of picture is highly height, position, corresponding viewing area ordinate on display interface is y, the current display position ordinate of the position, corresponding viewing area on display interface is dy ', the display position horizontal ordinate of picture on display interface is x, the display position ordinate of picture on display interface is y, that is to say, the attribute information of the corresponding picture of picture display represents for (x, y, width, height), then according to this attribute information, can x=0, y=0 is origin coordinates, in the picture prestored, display width is width, display is highly that the picture pixels data call of height is to video memory.Afterwards, suppose that picture address side-play amount is offset, the corresponding display of photo current address offset gauge nomogram sheet is highly height ', then give picture address side-play amount offset as initial value using the display height height of picture in the attribute information called, and give 0 the display position ordinate of picture on display interface in attribute information be dy after initial value, repeat in turn:
dy′=offset+dy
height′=height-offset
offset=offset-1
Picture address side-play amount offset can be made to be reduced to 0 from picture display height height gradually, the current display position ordinate dy ' of the position, corresponding viewing area on display interface is reduced to 0 from picture display height height, and the corresponding display height height ' of picture is increased to picture display height height gradually from 0, constantly like this picture pixels data (x of video memory will be called, y, width, height) the corresponding viewing area (x in display interface is redrawn, dy, width, height '), thus define picture from from the display effect being rolled to top below.This display effect is similar to and is pushed out toward display interface top by picture following for display interface, and therefore first the top part of picture is presented on the position of dy.
The image display method of the embedded device that first embodiment of the invention provides presets Special display effect pattern, and after receiving picture display, with the Special display effect pattern called, show corresponding picture pixels data, relative to prior art, achieve the Special display effect of embedded device, improve display effect and appreciative value.
The image display method of the embedded device provided due to prior art adopts multi-buffer technique, and multi-buffer technique be generally single threaded application program directly and buffer memory mapping, for the picture needing display, be mapped to respective cache, thus need to switch between polylith buffer memory back and forth, execution efficiency is low, occupy this just few memory headroom in embedded device simultaneously, reduce further the execution efficiency of Whole Equipment, for further head it off, the present invention is that a buffer area opened up by the corresponding picture of picture display, the flow process of the image display method of embedded device that theres is provided of second embodiment of the invention as shown in Figure 2.
In step s 201, picture display is received.
In step S202, in internal memory, open up a buffer area, the binary data of the corresponding picture of picture display prestored in internal memory is read in the buffer area opened up.
Particularly, the step of opening up a buffer area in internal memory comprises the following steps again: by the width of picture in the attribute information of the corresponding picture of picture display prestored in internal memory be highly multiplied, obtain the size of buffer area; According to the size of the buffer area obtained and the start address of default buffer area, in internal memory, open up a buffer area.
In step S203, convert the binary data reading in buffer area to pixel data, and the attribute information of the pixel data preserved in buffer area after conversion and the corresponding picture of picture display.This attribute information comprise the display position coordinate of corresponding picture on display interface, corresponding picture display width and display height etc.
In step S204, call attribute information and the Special display effect pattern thereof of the corresponding picture of picture display prestored, and according to the attribute information of the picture called, call the picture pixels data of that prestore, corresponding size to video memory.
Particularly, step S204 is: call attribute information that store in buffer area, the corresponding picture of picture display and Special display effect pattern thereof, and according to the attribute information of the picture called, call the picture pixels data of that store in buffer area, corresponding size to video memory.
Call the picture pixels data of video memory with the Special display effect pattern called display in step S205.When Special display effect pattern is from left to right show, show from right to left, show from top to bottom, show from top to bottom, show from centre to the right and left, show from centre to upper and lower both sides, be rolled to the right display from the left side, be rolled to left side display from the right, be rolled to following display from top, from when being rolled to top display below respectively, step S205 concrete steps as above described in first embodiment of the invention part, do not repeat them here.
Different from first embodiment of the invention, the image display method of the embedded device that second embodiment of the invention provides is on the basis of first embodiment of the invention, also in internal memory, open up a buffer area, and by corresponding for picture display picture-storage in this buffer area, when showing corresponding picture, directly read the pixel data in buffer area, and without the need to adopting existing multi-buffer technique, save memory headroom, improve the execution efficiency of Whole Equipment.
In order to improve the execution efficiency of Whole Equipment further, the image display method of the embedded device that second embodiment of the invention provides have employed two threaded design.Particularly, step S204, step S205 are performed by First Line process control; Step S202, step S203 are performed by the second Thread control; Picture display in step S201 specifically sends to the second thread by the first thread, and the second thread is after execution step S203, return a message to the first thread, this message that the first thread returns according to this second thread, start to perform step S204.By the design of two-wire journey, the second thread is made to open up buffer area and while processing the corresponding picture reading in buffer area, the first thread can complete the display of former frame picture, relative to existing single-threaded display mode, time showing can be carried out faster, improve operational efficiency.
Fig. 3 shows the structure of the picture display system of the embedded device that first embodiment of the invention provides, and for convenience of explanation, illustrate only the part relevant to first embodiment of the invention.
The picture display system of the embedded device that first embodiment of the invention provides comprises: signal receiving module 11, for receiving picture display; Memory module 14, the Special display effect pattern of the corresponding picture of picture display that the attribute information of the corresponding picture of picture display that the corresponding picture of picture display received for the signal receiving module 11 that prestores, signal receiving module 11 receive and signal receiving module 11 receive; Calling module 12, for calling attribute information and the Special display effect pattern thereof of the corresponding picture of picture display that memory module 14 prestores, signal receiving module 11 receives, and according to the attribute information of the picture called, call the picture pixels data of that memory module 14 prestores, corresponding size to video memory; Display module 13, the picture pixels data of video memory are called in the Special display effect pattern display for calling with calling module 12.Attribute information wherein comprise the display position coordinate of corresponding picture on display interface, corresponding picture width and height etc.
In the picture display system of the embedded device that first embodiment of the invention provides, when Special display effect pattern is from left to right show respectively, show from right to left, show from top to bottom, show from top to bottom, show from centre to the right and left, show from centre to upper and lower both sides, the right display is rolled to from the left side, left side display is rolled to from the right, following display is rolled to from top, from when being rolled to top display below, described in the concrete processing procedure of the display module 13 image display method part of embedded device that as above first embodiment of the invention provides, do not repeat them here.
The picture display system of the embedded device that first embodiment of the invention provides presets Special display effect pattern, display module 13 is after receiving picture display, with the Special display effect pattern called, show corresponding picture pixels data, relative to prior art, achieve the Special display effect of embedded device, improve display effect and appreciative value.
The embodiment of the present invention additionally provides a kind of embedded device, comprises the picture display system of an embedded device as above described in first embodiment of the invention.This embedded device is preferably an embedded type mobile communication terminal.
The picture display system of the embedded device provided due to prior art adopts multi-buffer technique, and multi-buffer technique be generally single threaded application program directly and buffer memory mapping, for the picture needing display, be mapped to respective cache, thus need to switch between polylith buffer memory back and forth, execution efficiency is low, occupy this just few memory headroom in embedded device simultaneously, reduce further the execution efficiency of Whole Equipment, for further head it off, the present invention is that a buffer area opened up by the corresponding picture of picture display, the structure of the picture display system of the embedded device that second embodiment of the invention provides is shown as Fig. 4, for convenience of explanation, illustrate only the part relevant to first embodiment of the invention.Wherein, memory module 14 is the internal memory of embedded device.
Particularly, the picture display system of the embedded device that second embodiment of the invention provides comprises: memory module 14, also for the picture that prestores in the mode of binary data; Signal receiving module 11, for receiving picture display; Buffer area creation module 15, for opening up a buffer area in internal memory, reads in the buffer area opened up by the binary data of the corresponding picture of picture display prestored in memory module 14; Pretreatment module 16, binary data for buffer area creation module 15 being read in buffer area converts pixel data to, and the pixel data preserved in buffer area after conversion and the attribute information of the corresponding picture of picture display, this attribute information comprises the display position coordinate of corresponding picture on display interface, the width of corresponding picture and height etc.; Calling module 12, for calling attribute information and the Special display effect pattern thereof of the corresponding picture of picture display that memory module 14 prestores, signal receiving module 11 receives, and according to the attribute information of the picture called, call the picture pixels data of that memory module 14 prestores, corresponding size to video memory; Display module 13, the picture pixels data of video memory are called in the Special display effect pattern display for calling with calling module 12.
Wherein, calling module 12 specifically calls attribute information and the Special display effect pattern thereof of that store in the buffer area that buffer area creation module 15 opens up, that signal receiving module 11 the receives corresponding picture of picture display, and according to the attribute information of the picture called, call picture pixels data that store in the buffer area that buffer area creation module 15 opens up, corresponding size to video memory.
Wherein, when Special display effect pattern be respectively from left to right show, from right to left show, show from top to bottom time, described in the concrete processing procedure of the display module 13 image display method part of embedded device that as above first embodiment of the invention provides, do not repeat them here.Described in the process image display method of embedded device that as above second embodiment of the invention provides that buffer area creation module 15 opens up buffer area, do not repeat them here.
On the basis of the picture display system of the embedded device that the picture display system of the embedded device that second embodiment of the invention provides provides in first embodiment of the invention, also in internal memory, open up a buffer area, and by corresponding for picture display picture-storage in buffer area, after receiving picture display, with the Special display effect pattern preset, corresponding picture is read from buffer area and shows, and without the need to adopting existing multi-buffer technique, save memory headroom, improve the execution efficiency of Whole Equipment.
In order to improve the execution efficiency of Whole Equipment further, the picture display system of the embedded device that second embodiment of the invention provides have employed two threaded design.Particularly, buffer area creation module 15 and pretreatment module 16 by the second Thread control, to complete corresponding function; Calling module 12 and display module 13 by First Line process control, to complete corresponding function.Now, picture display specifically sends to second thread by the first thread, and the second thread is after control pretreatment module 16 executes corresponding function, a message is returned to the first thread, this message that first thread returns according to this second thread, starts to control calling module 12 and performs corresponding function.By the design of two-wire journey, the second thread is made to open up buffer area and while processing the corresponding picture reading in buffer area, the first thread can complete the display of former frame picture, relative to existing single-threaded display mode, time showing can be carried out faster, improve operational efficiency.
The embodiment of the present invention additionally provides a kind of embedded device, comprises the picture display system of the embedded device as above described in second embodiment of the invention.This embedded device is preferably an embedded type mobile communication terminal.
The image display method of the embedded device that the embodiment of the present invention provides presets Special display effect pattern, and after receiving picture display, with the Special display effect pattern called, show corresponding picture pixels data, relative to prior art, achieve the Special display effect of embedded device, improve display effect and appreciative value.Have again, different from existing multi-buffer technique, the image display method of the embedded device that the embodiment of the present invention provides can also open up a buffer area in internal memory, by corresponding for picture display picture-storage in this buffer area, when showing corresponding picture, pixel data in direct reading buffer area, thus save memory headroom, improve the execution efficiency of Whole Equipment.In addition, the image display method of the embedded device that the embodiment of the present invention provides can also adopt two threaded design, the second thread is made to open up buffer area and while processing the corresponding picture reading in buffer area, first thread can complete the display of former frame picture, relative to existing single-threaded display mode, time showing can be carried out quickly, improve operational efficiency.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can control to be correlated with by program completes, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. an image display method for embedded device, is characterized in that, said method comprising the steps of:
Receive picture display;
Call attribute information and the Special display effect pattern thereof of the corresponding picture of described picture display prestored, and according to the attribute information of the described picture called, call the picture pixels data of that prestore, corresponding size to video memory;
Call the picture pixels data of video memory with the described Special display effect pattern display of calling, the described Special display effect pattern prestored comprises and from left to right showing, showing from right to left, show from top to bottom, shows from top to bottom, shows from centre to the right and left, shows from centre to upper and lower both sides, is rolled to the right display from the left side, is rolled to left side display from the right, is rolled to following display from top or shows from being rolled to top below;
When the Special display effect pattern preset be from left to right show time, a picture address side-play amount is set, and using the initial value of the display width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; The display width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to the picture address side-play amount after reducing and the corresponding display width that calculates, constantly the picture pixels data calling video memory are redrawn in display interface.
2. the image display method of embedded device as claimed in claim 1, it is characterized in that, described call the attribute information of the corresponding picture of described picture display and the step of Special display effect pattern thereof prestored before, after the step of described reception picture display, described method is further comprising the steps of:
In internal memory, open up a buffer area, the binary data of the corresponding picture of described picture display prestored in internal memory is read in the described buffer area opened up;
Convert the described binary data reading in described buffer area to pixel data, and the attribute information of the described pixel data preserved in described buffer area after conversion and the corresponding picture of described picture display.
3. the image display method of embedded device as claimed in claim 2, it is characterized in that, described attribute information and the Special display effect pattern thereof calling the corresponding picture of described picture display prestored, and according to the attribute information of the described picture called, call and to prestore, the picture pixels data of corresponding size specifically comprise to the step of video memory: call and store in described buffer area, the attribute information of the corresponding picture of described picture display and Special display effect pattern thereof, and according to the attribute information of the described picture called, call and to store in described buffer area, the picture pixels data of corresponding size are to video memory.
4. the image display method of embedded device as claimed in claim 2, it is characterized in that, described attribute information and the Special display effect pattern thereof calling the corresponding picture of described picture display prestored, and according to the attribute information of the described picture called, call the step of picture pixels data to video memory of that prestore, corresponding size, and the described step calling the picture pixels data of video memory with the described Special display effect pattern display of calling is performed by First Line process control; Describedly in internal memory, open up a buffer area, the binary data of the corresponding picture of described picture display prestored in internal memory is read in the step in the described buffer area opened up, and describedly convert the described binary data reading in described buffer area to pixel data, and the step of the attribute information of described pixel data preserve conversion in described buffer area after and the corresponding picture of described picture display is performed by the second Thread control;
Described picture display sends to described second thread by described first thread, and described second thread describedly converts the described binary data reading in described buffer area to pixel data in execution, and after the step of the attribute information of the described pixel data preserved in described buffer area after conversion and the corresponding picture of described picture display, a message is returned to described first thread, the described message that described first thread returns according to described second thread, start attribute information and the Special display effect pattern thereof of calling the corresponding picture of described picture display prestored described in performing, and according to the attribute information of the described picture called, call and to prestore, the picture pixels data of corresponding size are to the step of video memory.
5. the image display method of embedded device as claimed in claim 1, is characterized in that, the described step calling the picture pixels data of video memory with the described Special display effect pattern display of calling comprises the following steps:
From initial pixel point in the process of pixel of getting completely described picture, utilize the iterative algorithm that described Special display effect pattern is corresponding, constantly obtain the display position horizontal ordinate of described picture on display interface, the display position ordinate of described picture on display interface, the display width of described picture and the display height of described picture;
According to the display width of the described picture obtained and the display height of described picture, obtain a rectangular area of described picture as region to be shown;
Along with the display width of described picture and the display real-time update highly of described picture, the described picture pixels data of respective calls to video memory are redrawn in described display interface.
6. a picture display system for embedded device, is characterized in that, described system comprises:
Signal receiving module, for receiving picture display;
Memory module, the Special display effect pattern of the corresponding picture of described picture display that the attribute information of the corresponding picture of described picture display that the corresponding picture of described picture display received for the described signal receiving module that prestores, described signal receiving module receive and described signal receiving module receive;
Calling module, for calling attribute information and the Special display effect pattern thereof of the corresponding picture of described picture display that described memory module prestores, described signal receiving module receives, and according to the attribute information of the described picture called, call the picture pixels data of that described memory module prestores, corresponding size to video memory;
Display module, the described picture pixels data of video memory are called in described Special display effect pattern display for calling with described calling module, and described Special display effect pattern comprises and from left to right showing, showing from right to left, show from top to bottom, shows from top to bottom, shows from centre to the right and left, shows from centre to upper and lower both sides, is rolled to the right display from the left side, is rolled to left side display from the right, is rolled to following display from top or shows from being rolled to top below;
When the Special display effect pattern preset be from left to right show time, a picture address side-play amount is set, and using the initial value of the display width of picture in the attribute information that calls as this picture address side-play amount; With a pixel wide for step-length reduces this picture address side-play amount; The display width of picture in the attribute information called and photo current address offset amount are done difference, obtains the corresponding display width of picture; According to the picture address side-play amount after reducing and the corresponding display width that calculates, constantly the picture pixels data calling video memory are redrawn in display interface.
7. the picture display system of embedded device as claimed in claim 6, it is characterized in that, described memory module is the internal memory of embedded device, and described memory module is also for the picture that prestores in the mode of binary data, and described system also comprises:
Buffer area creation module, for opening up a buffer area in described memory module, reads in the binary data of the corresponding picture of described picture display prestored in described memory module the described buffer area opened up;
Pretreatment module, converts pixel data to for the binary data that described buffer area creation module is read in described buffer area, and the attribute information of the described pixel data preserved in described buffer area after conversion and the corresponding picture of described picture display;
Described calling module for store in the described buffer area that calls described buffer area creation module and open up, the attribute information of the corresponding picture of picture display that described signal receiving module receives and Special display effect pattern thereof, and according to the attribute information of the picture called, call picture pixels data that store in the buffer area that buffer area creation module opens up, corresponding size to video memory.
8. the picture display system of embedded device as claimed in claim 7, it is characterized in that, described buffer area creation module and described pretreatment module are by the second Thread control, and described calling module and described display module are by First Line process control;
Described first thread sends described picture display to described second thread, described second thread is after the described pretreatment module of control executes, a message is returned to described first thread, the described message that described first thread returns according to described second thread, controls described calling module and starts to perform.
9. an embedded device, comprises picture display system, it is characterized in that, described picture display system is the picture display system of the embedded device as described in any one of claim 6 to 8; Described embedded device is embedded type mobile communication terminal.
CN201210081610.XA 2012-03-23 2012-03-23 Embedded equipment and picture displaying method and system of embedded equipment Active CN102662615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210081610.XA CN102662615B (en) 2012-03-23 2012-03-23 Embedded equipment and picture displaying method and system of embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210081610.XA CN102662615B (en) 2012-03-23 2012-03-23 Embedded equipment and picture displaying method and system of embedded equipment

Publications (2)

Publication Number Publication Date
CN102662615A CN102662615A (en) 2012-09-12
CN102662615B true CN102662615B (en) 2015-01-14

Family

ID=46772117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210081610.XA Active CN102662615B (en) 2012-03-23 2012-03-23 Embedded equipment and picture displaying method and system of embedded equipment

Country Status (1)

Country Link
CN (1) CN102662615B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375793A (en) * 2014-10-15 2015-02-25 武汉润凌科技有限公司 Embedded system background image update-displaying method
CN107273072B (en) * 2016-04-07 2020-09-04 阿里巴巴集团控股有限公司 Picture display method and device and electronic equipment
CN107894906B (en) * 2016-09-30 2021-07-02 阿里巴巴(中国)有限公司 Page picture loading method and device, terminal device and server
CN107656699B (en) * 2017-08-18 2020-11-10 上海车音智能科技有限公司 Picture calling method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118649A (en) * 2007-09-24 2008-02-06 腾讯科技(深圳)有限公司 Photograph processing method and processing system
CN101656782A (en) * 2008-08-22 2010-02-24 深圳市金立通信设备有限公司 Planar special-effect graph user interface system of mobile phone and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118649A (en) * 2007-09-24 2008-02-06 腾讯科技(深圳)有限公司 Photograph processing method and processing system
CN101656782A (en) * 2008-08-22 2010-02-24 深圳市金立通信设备有限公司 Planar special-effect graph user interface system of mobile phone and method

Also Published As

Publication number Publication date
CN102662615A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN108762652B (en) Display control method and device of intelligent terminal, storage medium and intelligent terminal
EP4246504A1 (en) Display screen frequency conversion method, ddic chip, display screen module, and terminal
US20220107821A1 (en) User interface layout method and electronic device
CN108710478B (en) Display screen control method and device, storage medium and intelligent terminal
CN110688081B (en) Method for displaying data on screen and display control device
CN102662615B (en) Embedded equipment and picture displaying method and system of embedded equipment
CN113132526B (en) Page drawing method and related device
US20230116975A1 (en) Image processing method and electronic device
CN102270428A (en) Display device and display interface refresh method and device
US9177534B2 (en) Data transmission for display partial update
CN112328130A (en) Display processing method and electronic equipment
WO2014029247A1 (en) Mobile terminal screen display method and device
US10649711B2 (en) Method of switching display of a terminal and a terminal
WO2021008427A1 (en) Image synthesis method and apparatus, electronic device, and storage medium
CN106653071B (en) A kind of lyric display method and device
WO2021136158A1 (en) Video window picture displaying method and apparatus
US20230419454A1 (en) Control blurring method and apparatus, terminal device, and readable storage medium
CN114442894B (en) Screen display picture adjusting method and device and electronic equipment
US11989385B2 (en) Cursor display method and electronic device
EP4135333A1 (en) Image display method and apparatus, electronic device, and medium
CN110968252B (en) Display method of interactive system, interactive system and electronic equipment
CN114513574B (en) Interface display method, electronic device and storage medium
CN102662614B (en) A kind of embedded device and time display method, system
WO2023066165A1 (en) Animation effect display method and electronic device
WO2023066177A1 (en) Animation effect display method and electronic 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 1306, Press Plaza, Shennan Avenue, Futian District, Guangdong, Shenzhen

Patentee after: Bianco robot Co Ltd

Address before: 518000 Guangdong province Shenzhen city Futian District District Shennan Road Press Plaza room 1306

Patentee before: Anke Smart Cities Technolongy (PRC) Co., Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20170808

Address after: 650000, Yunnan, Kunming Province opened the information industry base, Chun Feng Road, No. 55, Xun International R & D center, 6, 13

Patentee after: Kunming filtech Electronic System Engineering Co. Ltd.

Address before: Room 1306, Press Plaza, Shennan Avenue, Futian District, Guangdong, Shenzhen

Patentee before: Bianco robot Co Ltd

TR01 Transfer of patent right