CN109284151A - Display methods, display device and readable storage medium storing program for executing - Google Patents
Display methods, display device and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109284151A CN109284151A CN201710592727.7A CN201710592727A CN109284151A CN 109284151 A CN109284151 A CN 109284151A CN 201710592727 A CN201710592727 A CN 201710592727A CN 109284151 A CN109284151 A CN 109284151A
- Authority
- CN
- China
- Prior art keywords
- resolution
- display
- target resolution
- textual interface
- target
- 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.)
- Granted
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention provides a kind of display methods, display device and readable storage medium storing program for executing.Applied to embedded real-time operating system, which comprises receive the target resolution of current setting by the first textual interface for resolution ratio to be arranged;The second frame buffer is created according to the display data and target resolution of the first textual interface, and generates the display data for meeting the second textual interface of target resolution;The display data of second textual interface are stored into the second frame buffer;Display controller is arranged according to target resolution to be shown the second textual interface on the screen of display terminal according to the display data of the second textual interface so that display controller reads the display data of the second textual interface from the second frame buffer.Through the embodiment of the present invention, resolution ratio is modified using display controller cooperation frame buffer in embedded real-time operating system, making embedded real-time operating system after actuation still can flexibly change the resolution ratio of textual interface.
Description
Technical field
The present invention relates to display fields, more particularly to a kind of display methods, display device and readable storage medium storing program for executing.
Background technique
With the rapid development of computer technology and being constantly progressive for chip manufacturing process, the application of embedded system is increasingly
Extensive: from circuit arrangements such as civilian TV, mobile phones to weapon systems such as military aircraft, tanks, grow on trees embedded system
The figure of system.In the application and development of embedded system, embedded real-time operating system (Real-time Operation
System, RTOS) it can support multitask, so that program development is more easier, it is convenient for safeguarding, while can be improved the steady of system
Qualitative and reliability.Embedded real-time operating system has been increasingly becoming a developing direction of embedded system development.
Currently, embedded real-time operating system has a problem that, i.e., textual interface and graphical interfaces after system starting
Resolution ratio not can be switched, and when if necessary to switch resolution ratio, need restarting systems.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of display methods, display device and the readable storage medium storing program for executing to solve the above problems.
One aspect according to an embodiment of the present invention provides a kind of display methods, is applied to embedded real-time operation system
System, which comprises
The target resolution of current setting, first character are received by the first textual interface for resolution ratio to be arranged
The display data at interface are stored in the first frame buffer zone;
The second frame buffer is created according to the display data of first textual interface and the target resolution, and raw
At the display data for the second textual interface for meeting the target resolution;
The display data of second textual interface are stored into second frame buffer;
Display controller is set according to the target resolution, so that the display controller is read from the second frame buffer
The display data for taking second textual interface, according to the display data of second textual interface by second textual interface
It is shown on the screen of display terminal.
Optionally, the target resolution of current setting is received in first textual interface by for resolution ratio to be arranged
Later, further includes:
When the target resolution and predefined resolution match received, shown using the target resolution
Show, wherein the predefined resolution ratio includes the resolution ratio that at least one described display controller is supported.
Optionally, the target resolution of current setting is received in first textual interface by for resolution ratio to be arranged
Later, further includes:
When the target resolution and predefined resolution ratio that receive mismatch, then the target resolution is replaced
It is shown for default resolution.
It is optionally, described that display controller is arranged according to the target resolution, comprising:
The setting value that resolution ratio is directed in the register of the display controller is updated according to the target resolution.
Optionally, the method also includes:
When into graphical interfaces, control the graphical interfaces according to the target resolution the display terminal screen
Upper display.
Other side according to an embodiment of the present invention provides a kind of display device, is deployed in embedded real-time operation
System, described device include:
Target resolution receiving module, for receiving current setting by the first textual interface for resolution ratio to be arranged
The display data of target resolution, first textual interface are stored in the first frame buffer zone;
Frame buffer creation module, for according to first textual interface display data and the target resolution
The second frame buffer is created, and generates the display data for meeting the second textual interface of the target resolution;
Data memory module, for storing the display data of second textual interface to second frame buffer
In;
Display controller setup module, for the display controller to be arranged according to the target resolution, so that described
Display controller reads the display data of second textual interface from the second frame buffer, according to second textual interface
Display data second textual interface is shown on the screen of display terminal.
Optionally, after the target resolution receiving module, further includes:
Target resolution display module, for when the target resolution that receives and predefined resolution match,
It is shown using the target resolution, wherein the predefined resolution ratio includes that at least one described display controller is supported
Resolution ratio.
Optionally, after the target resolution receiving module, further includes:
Default resolution display module, when the target resolution and predefined resolution ratio that receive mismatch, then
The target resolution is replaced with default resolution to show.
Optionally, the display controller setup module is specifically used for updating the display according to the target resolution
The setting value of resolution ratio is directed in the register of controller.
Optionally, described device further include:
Graphical interfaces display module controls the graphical interfaces and differentiates according to the target when for entering graphical interfaces
Rate is shown on the screen of the display terminal.
Another aspect according to an embodiment of the present invention provides a kind of readable storage medium storing program for executing, when in the storage medium
Instruction by electronic equipment processor execute when so that electronic equipment is able to carry out above-mentioned display methods.
According to an embodiment of the present invention, the target point of current setting is received by the first textual interface for resolution ratio to be arranged
Resolution;The second frame buffer is created according to the display data and target resolution of the first textual interface, and generates and meets target
The display data of second textual interface of resolution ratio;The display data of second textual interface are stored into the second frame buffer;
Display controller is set according to target resolution, so that display controller reads the second textual interface from the second frame buffer
It shows data, is shown the second textual interface on the screen of display terminal according to the display data of the second textual interface.Pass through
The embodiment of the present invention is modified resolution ratio using display controller cooperation frame buffer in embedded real-time operating system, is made embedding
Entering formula real time operating system after actuation still can flexibly change the resolution ratio of textual interface.
When further, into graphical interfaces, graphical interfaces is controlled according to target resolution on the screen of display terminal
It has been shown that, it is same to realize the resolution ratio for flexibly changing graphical interfaces, improve the usage experience of user.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of according to embodiments of the present invention one display methods;
Fig. 2 is a kind of step flow chart of according to embodiments of the present invention two display methods;
Fig. 3 is a kind of structural schematic diagram of according to embodiments of the present invention three display device.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one
A kind of display methods provided in an embodiment of the present invention is discussed in detail.
Referring to Fig.1, a kind of display methods provided in an embodiment of the present invention is shown, embedded real-time operation system is applied to
System, which comprises
Step 101, the target resolution of current setting is received by the first textual interface for resolution ratio to be arranged, it is described
The display data of first textual interface are stored in the first frame buffer zone.
In the present embodiment, embedded OS is " for controlling, monitoring or the dress of auxiliary operation machine and equipment
It sets ".Specifically, when extraneous event or data generate, embedded OS can receive and be given with sufficiently fast speed
The result of processing, processing can control production process again within the defined time or make quick response to processing system,
And control the harmonious operation of all real-time tasks.In response of the fields such as Industry Control, military equipment, aerospace to system
There is harsh requirement in time, uses embedded real-time operating system (Embedded Real-time Operation at this time
System, RTOS), such as VxWorks, μ C/OS-II, eCOS and Linux, HOPEN OS etc..By taking VxWorks system as an example, it is
The first textual interface is initially entered after system starting, the display data of the first textual interface are stored in the first frame buffer zone, in figure
Program operation can return to the first textual interface after finishing or closing.The target point of current setting is received in the first textual interface
Resolution.Specifically, it is driven in advance in the frame buffer of vxWorks BSP (board support package, board suppot package)
Resolution ratio is set in file, function is set, receives the target point of user setting using resolution ratio setting function in the first textual interface
Resolution.For example, default resolution is 800 × 600, it is 1024 by the target resolution that the first textual interface receives current setting
×768。
Step 102, the second frame is created according to the display data of first textual interface and the target resolution to delay
Area is deposited, and generates the display data for meeting the second textual interface of the target resolution.
It is provided with the frame buffer (framebuffer) of storage display interface in the present embodiment, in memory, is receiving mesh
After marking resolution ratio, the display data of the first textual interface are read from the first frame buffer.Specifically, text is driven in M6845Vga
Screen equipment initialization function is defined in part, screen equipment initialization function reads the first textual interface from the first frame buffer
Display data.
After reading the display data of the first textual interface, the first textual interface is calculated by current resolution and is converted to target
Memory space needed for after resolution ratio, creation and matched second frame of storage size needed for target resolution are slow in memory
Deposit area.Specifically, it is slow to calculate the second frame for the size of memory space needed for screen equipment initialization function calculates target resolution
The size in area is deposited, calculating, which finishes, calls screen driving initialization function, and screen drives initialization function according to the second frame buffer
Size create the second frame buffer in memory.
When creating the second frame buffer, the second textual interface, point of the second textual interface are generated according to the first textual interface
Resolution is target resolution.Specifically, screen equipment initialization function is by the display data of the first textual interface according to target point
Resolution resets the display data for generating the second textual interface for meeting target resolution.For example, screen equipment initializes letter
The display data for the first textual interface that number is 800 × 600 according to resolution ratio generate the second character that resolution ratio is 1024 × 768
The display data at interface.
Step 103, the display data of second textual interface are stored into second frame buffer.
In the present embodiment, after the display data for creating the second frame buffer and the second textual interface of generation, by the second character
The display data at interface are stored into the second frame buffer.For example, screen drives initialization function creating the second frame buffer
Afterwards, the address of the second frame buffer is returned into screen equipment initialization function, screen equipment initialization function is according to receiving
Address will be in the second frame buffer of display data writing region of the second textual interface of generation.
Step 104, display controller is arranged according to the target resolution, so that the display controller is slow from the second frame
The display data that second textual interface is read in area are deposited, according to the display data of second textual interface by described second
Textual interface is shown on the screen of display terminal.
In the present embodiment, display controller controls the display content of display terminal screen, can create the second frame buffer
While area, display controller is set, the hardware logic of display controller is made to support displaying target resolution ratio.Specifically, system
Display controller is arranged using default resolution after starting, after receiving target resolution, uses modification display controller letter
Number resets display controller according to target resolution.For example, after the starting of VxWorks system, according to default resolution 800
× 600 setting display controllers are arranged after receiving target resolution 1024 × 768 according to target resolution 1024 × 768
Display controller.
After the completion of the parameter setting of display controller, display controller reads the second textual interface from the second frame buffer
Display data, the second textual interface is shown on the screen of display terminal.
In conclusion receiving current setting by the first textual interface for resolution ratio to be arranged in the embodiment of the present invention
Target resolution;The second frame buffer is created according to the display data and target resolution of the first textual interface, and is generated
Meet the display data of the second textual interface of target resolution;The display data of second textual interface are stored to the second frame and are delayed
It deposits in area;Display controller is set according to target resolution, so that display controller reads the second word from the second frame buffer
Second textual interface is shown the screen in display terminal according to the display data of the second textual interface by the display data for according with interface
On.Through the embodiment of the present invention, it is differentiated in embedded real-time operating system using display controller cooperation frame buffer modification
Rate, making embedded real-time operating system after actuation still can flexibly change the resolution ratio of textual interface.
Embodiment two
Referring to Fig. 2, a kind of display methods provided in an embodiment of the present invention is shown, is applied to embedded real-time operation system
System, which comprises
Step 201, the target resolution of current setting is received by the first textual interface for resolution ratio to be arranged, it is described
The display data of first textual interface are stored in the first frame buffer zone.
Step 202, it when the target resolution and predefined resolution match received, is differentiated using the target
Rate is shown, wherein the predefined resolution ratio includes the resolution ratio that at least one described display controller is supported.
In the present embodiment, receive target resolution after, judge target resolution whether with predefined resolution match.Specifically
Ground, resolution ratio, which is arranged after function receives target resolution, calls resolution ratio result queries function, and resolution ratio result queries function exists
It is searched and the matched resolution ratio of target resolution in predefined resolution ratio.Predefined resolution ratio may include at least one display control
The resolution ratio that device processed is supported.For example, predefined in resolution ratio result queries function display controller support resolution ratio 800 ×
600,1024 × 768,1280 × 1024, resolution ratio setting function calls resolution after receiving target resolution 1024 × 768
Rate result queries function, resolution ratio result queries function is found in the resolution ratio that display controller is supported and target resolution
1024 × 768 matched resolution ratio.
When the target resolution and predefined resolution match received, shown using the target resolution
Show.Specifically, when finding resolution ratio matched with target resolution in predefined resolution ratio, illustrate display controller branch
Target resolution is held, then is shown using target resolution.For example, predefined resolution ratio 800 × 600,1024 × 768,
There are target resolutions 1024 × 768 in 1280 × 1024, then are shown, that is, used using target resolution 1024 × 768
Target resolution 1024 × 768 executes step 204-207.
Step 203, when the target resolution and predefined resolution ratio that receive mismatch, then by the target point
Resolution replaces with default resolution and is shown.
In the present embodiment, when not finding resolution ratio matched with target resolution in predefined resolution ratio, explanation
Display controller does not support target resolution, then target resolution is replaced with default resolution and shown, i.e., using default
Resolution ratio is shown.Default resolution is one in predefined resolution ratio, is 800 × 600 under normal conditions.For example, working as
The resolution ratio of preceding textual interface is 1024 × 768, and the target resolution received is 1152 × 864, in predefined resolution ratio 800
Do not found in × 600,1024 × 768,1280 × 1024 with the matched resolution ratio of target resolution 1152 × 864, then with silent
Recognize the replacement target resolution 1152 × 864 of resolution ratio 800 × 600 to be shown, i.e., is executed using default resolution 800 × 600
Step 204-207.
Step 204, the second frame is created according to the display data of first textual interface and the target resolution to delay
Area is deposited, and generates the display data for meeting the second textual interface of the target resolution.
Step 205, the display data of second textual interface are stored into second frame buffer.
Step 206, setting for resolution ratio in the register of the display controller is updated according to the target resolution
Value is set, so that the display controller reads the display data of second textual interface from the second frame buffer, according to institute
The display data for stating the second textual interface show second textual interface on the screen of display terminal.
In the present embodiment, after embedded real-time operating system starting, posting for display controller is arranged according to default resolution
It is directed to the setting value of resolution ratio in storage, after receiving target resolution, determines that display controller supports target resolution, then presses
The setting value that resolution ratio is directed in the register of display controller is updated according to target resolution.Alternatively, point at current character interface
Resolution is different from the target resolution received, and display controller supports target resolution, updates and shows according to target resolution
The setting value of resolution ratio is directed in the register of controller.
When step 207, into graphical interfaces, control the graphical interfaces according to the target resolution the display eventually
It is shown on the screen at end.
In the present embodiment, when entering graphical interfaces after the completion of textual interface operation, the display program of graphical interfaces is called,
Control graphical interfaces is shown according to target resolution.For example, the resolution ratio of graphical interfaces is 800 × 600, work as textual interface
After being shown according to target resolution 1280 × 1024, into the display of graphical interfaces, the display of graphical interfaces is called at this time
Program, control graphical interfaces are shown on the screen of display terminal according to target resolution 1280 × 1024.
In conclusion receiving current setting by the first textual interface for resolution ratio to be arranged in the embodiment of the present invention
Target resolution;Judge whether target resolution matches with predefined resolution ratio;According to match condition, the first textual interface
It shows second frame buffer of creation in data and target resolution and default resolution, and generates and meet target resolution
The display data of second textual interface of rate or default resolution;The display data of second textual interface are stored to the second frame and are delayed
It deposits in area;Display controller is set according to target resolution or default resolution, so that display controller is from the second frame buffer
The middle display data for reading the second textual interface show the second textual interface aobvious according to the display data of the second textual interface
Show on the screen of terminal.Through the embodiment of the present invention, slow using display controller cooperation frame in embedded real-time operating system
Area's modification resolution ratio is deposited, making embedded real-time operating system after actuation still can flexibly change the resolution ratio of textual interface.
When further, into graphical interfaces, control graphical interfaces according to target resolution the display terminal screen
It is shown on curtain, it is same to realize the resolution ratio for flexibly changing graphical interfaces, improve the usage experience of user.
It should be noted that for the aforementioned method embodiment, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, and related movement is not necessarily essential to the invention.
Embodiment three
A kind of display device provided in an embodiment of the present invention is discussed in detail.
Referring to Fig. 3, a kind of display device provided in an embodiment of the present invention is shown, display terminal, the display are deployed in
Terminal includes display controller, and described device includes:
Target resolution receiving module 301, for currently being set by the first textual interface reception for resolution ratio to be arranged
The display data of the target resolution set, first textual interface are stored in the first frame buffer zone;
Frame buffer creation module 302, for for according to first textual interface display data and the mesh
It marks resolution ratio and creates the second frame buffer, and generate the display data for meeting the second textual interface of the target resolution;
Data memory module 303, for storing the display data of second textual interface to second frame buffer
Qu Zhong;
Display controller setup module 304, for the display controller to be arranged according to the target resolution, so that institute
The display data that display controller reads second textual interface from the second frame buffer are stated, according to second character boundary
The display data in face show second textual interface on the screen of display terminal.
Optionally, after the target resolution receiving module, further includes:
Target resolution display module, for when the target resolution that receives and predefined resolution match,
It is shown using the target resolution, wherein the predefined resolution ratio includes that at least one described display controller is supported
Resolution ratio.
Optionally, after the target resolution receiving module, further includes:
Default resolution display module, when the target resolution and predefined resolution ratio that receive mismatch, then
The target resolution is replaced with default resolution to show.
Optionally, the display controller setup module is specifically used for updating the display according to the target resolution
The setting value of resolution ratio is directed in the register of controller.
Optionally, graphical interfaces display module controls the graphical interfaces according to the mesh when for entering graphical interfaces
Mark resolution ratio is shown on the screen of the display terminal.
In conclusion receiving current setting by the first textual interface for resolution ratio to be arranged in the embodiment of the present invention
Target resolution;The second frame buffer is created according to the display data and target resolution of the first textual interface, and is generated
Meet the display data of the second textual interface of target resolution;The display data of second textual interface are stored to the second frame and are delayed
It deposits in area;Display controller is set according to target resolution, so that display controller reads the second word from the second frame buffer
Second textual interface is shown the screen in display terminal according to the display data of the second textual interface by the display data for according with interface
On.Through the embodiment of the present invention, it is differentiated in embedded real-time operating system using display controller cooperation frame buffer modification
Rate, making embedded real-time operating system after actuation still can flexibly change the resolution ratio of textual interface.
When further, into graphical interfaces, control graphical interfaces according to target resolution the display terminal screen
It is shown on curtain, it is same to realize the resolution ratio for flexibly changing graphical interfaces, improve the usage experience of user.
Example IV
The embodiment of the invention provides a kind of readable storage medium storing program for executing, when the instruction in the storage medium is by the processing of terminal
When device executes, enable the terminal to execute a kind of method for starting application program, which comprises
The target resolution of current setting, first character are received by the first textual interface for resolution ratio to be arranged
The display data at interface are stored in the first frame buffer zone;
The second frame buffer is created according to the display data of first textual interface and the target resolution, and raw
At the display data for the second textual interface for meeting the target resolution;
The display data of second textual interface are stored into second frame buffer;
Display controller is set according to the target resolution, so that the display controller is read from the second frame buffer
The display data for taking second textual interface, according to the display data of second textual interface by second textual interface
It is shown on the screen of display terminal.
Optionally, the target resolution of current setting is received in first textual interface by for resolution ratio to be arranged
Later, further includes:
When the target resolution and predefined resolution match received, after being executed using the target resolution
Continuous step, wherein the predefined resolution ratio includes the resolution ratio that at least one described display controller is supported.
Optionally, the target resolution of current setting is received in first textual interface by for resolution ratio to be arranged
Later, further includes:
When the target resolution and predefined resolution ratio that receive mismatch, then institute is replaced using default resolution
It states target resolution and executes subsequent step.
It is optionally, described that the display controller is arranged according to target resolution, comprising:
The setting value that resolution ratio is directed in the register of the display controller is updated according to the target resolution.
Optionally, the method also includes:
When into graphical interfaces, control the graphical interfaces according to the target resolution the display terminal screen
Upper display.
In conclusion receiving current setting by the first textual interface for resolution ratio to be arranged in the embodiment of the present invention
Target resolution;The second frame buffer is created according to the display data and target resolution of the first textual interface, and is generated
Meet the display data of the second textual interface of target resolution;The display data of second textual interface are stored to the second frame and are delayed
It deposits in area;Display controller is set according to target resolution, so that display controller reads the second word from the second frame buffer
Second textual interface is shown the screen in display terminal according to the display data of the second textual interface by the display data for according with interface
On.Through the embodiment of the present invention, it is differentiated in embedded real-time operating system using display controller cooperation frame buffer modification
Rate, making embedded real-time operating system after actuation still can flexibly change the resolution ratio of textual interface.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore
Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited,
This is not just detailed one by one.
The technical solution of display methods is not solid with any certain computer, virtual system or other equipment provided herein
There is correlation.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has this hair
Structure required by the system of bright scheme is obvious.In addition, the present invention is also not directed to any particular programming language.It should
Understand, can use various programming languages and realize summary of the invention described herein, and language-specific is done above
Description is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) are some or complete in displaying scheme according to an embodiment of the present invention to realize
The some or all functions of portion's component.The present invention be also implemented as a part for executing method as described herein or
The device or device program (for example, computer program and computer program product) of person's whole.Such realization is of the invention
Program can store on a computer-readable medium, or may be in the form of one or more signals.Such signal
It can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (11)
1. a kind of display methods, which is characterized in that be applied to embedded real-time operating system, which comprises
The target resolution of current setting, first textual interface are received by the first textual interface for resolution ratio to be arranged
Display data be stored in the first frame buffer zone;
The second frame buffer is created according to the display data of first textual interface and the target resolution, and generates symbol
Close the display data of the second textual interface of the target resolution;
The display data of second textual interface are stored into second frame buffer;
Display controller is set according to the target resolution, so that the display controller reads institute from the second frame buffer
The display data for stating the second textual interface show second textual interface according to the display data of second textual interface
On the screen of display terminal.
2. the method according to claim 1, wherein in first character boundary by for resolution ratio to be arranged
Face receives after the target resolution of current setting, further includes:
When the target resolution and predefined resolution match received, shown using the target resolution,
Wherein the predefined resolution ratio includes the resolution ratio that at least one described display controller is supported.
3. the method according to claim 1, wherein in first character boundary by for resolution ratio to be arranged
Face receives after the target resolution of current setting, further includes:
When the target resolution and predefined resolution ratio that receive mismatch, then the target resolution is replaced with silent
Recognize resolution ratio to be shown.
4. method according to claim 1, which is characterized in that it is described that display controller is arranged according to the target resolution,
Include:
The setting value that resolution ratio is directed in the register of the display controller is updated according to the target resolution.
5. method according to claim 1, which is characterized in that the method also includes:
When into graphical interfaces, controls the graphical interfaces and shown on the screen of the display terminal according to the target resolution
Show.
6. a kind of display device, which is characterized in that be deployed in embedded real-time operating system, described device includes:
Target resolution receiving module, for receiving the target of current setting by the first textual interface for resolution ratio to be arranged
The display data of resolution ratio, first textual interface are stored in the first frame buffer zone;
Frame buffer creation module, for according to the display data of first textual interface and target resolution creation
Second frame buffer, and generate the display data for meeting the second textual interface of the target resolution;
Data memory module, for storing the display data of second textual interface into second frame buffer;
Display controller setup module, for the display controller to be arranged according to the target resolution, so that the display
Controller reads the display data of second textual interface from the second frame buffer, according to the aobvious of second textual interface
Registration is shown on the screen of display terminal according to by second textual interface.
7. device according to claim 6, which is characterized in that after the target resolution receiving module, further includes:
Target resolution display module, for using when the target resolution and predefined resolution match received
The target resolution is shown, wherein the predefined resolution ratio includes point that at least one described display controller is supported
Resolution.
8. device according to claim 6, which is characterized in that after the target resolution receiving module, further includes:
Default resolution display module, when the target resolution and predefined resolution ratio that receive mismatch, then by institute
It states target resolution and replaces with default resolution and shown.
9. device according to claim 6, which is characterized in that
The display controller setup module, specifically for updating the deposit of the display controller according to the target resolution
The setting value of resolution ratio is directed in device.
10. device according to claim 6, which is characterized in that described device further include:
Graphical interfaces display module controls the graphical interfaces and exists according to the target resolution when for entering graphical interfaces
It is shown on the screen of the display terminal.
11. a kind of readable storage medium storing program for executing, which is characterized in that when the instruction in the storage medium is held by the processor of electronic equipment
When row, so that electronic equipment is able to carry out the display methods as described in one or more in claim to a method 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710592727.7A CN109284151B (en) | 2017-07-19 | 2017-07-19 | Display method, display device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710592727.7A CN109284151B (en) | 2017-07-19 | 2017-07-19 | Display method, display device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109284151A true CN109284151A (en) | 2019-01-29 |
CN109284151B CN109284151B (en) | 2022-06-07 |
Family
ID=65184694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710592727.7A Active CN109284151B (en) | 2017-07-19 | 2017-07-19 | Display method, display device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109284151B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347382A (en) * | 2021-05-26 | 2021-09-03 | 随锐科技集团股份有限公司 | Display method, embedded terminal and computer readable storage medium |
CN113655975A (en) * | 2021-08-10 | 2021-11-16 | 北京百度网讯科技有限公司 | Image display method, image display device, electronic apparatus, and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071558A (en) * | 2007-06-25 | 2007-11-14 | 威盛电子股份有限公司 | Image display method |
KR20080085500A (en) * | 2007-03-20 | 2008-09-24 | 엘지전자 주식회사 | Control method of monitor using computer |
CN103092578A (en) * | 2011-10-28 | 2013-05-08 | 浙江大华技术股份有限公司 | Displaying method under embedded Linux platform |
CN103106058A (en) * | 2013-01-25 | 2013-05-15 | Tcl集团股份有限公司 | Double-screen display method and intelligent display terminal based on android platform |
CN103793233A (en) * | 2014-02-27 | 2014-05-14 | 中南大学 | Method for achieving user interface graphic display based on uboot |
CN104981766A (en) * | 2014-04-28 | 2015-10-14 | 华为终端有限公司 | Method for displaying data on screen and display control device |
-
2017
- 2017-07-19 CN CN201710592727.7A patent/CN109284151B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080085500A (en) * | 2007-03-20 | 2008-09-24 | 엘지전자 주식회사 | Control method of monitor using computer |
CN101071558A (en) * | 2007-06-25 | 2007-11-14 | 威盛电子股份有限公司 | Image display method |
CN103092578A (en) * | 2011-10-28 | 2013-05-08 | 浙江大华技术股份有限公司 | Displaying method under embedded Linux platform |
CN103106058A (en) * | 2013-01-25 | 2013-05-15 | Tcl集团股份有限公司 | Double-screen display method and intelligent display terminal based on android platform |
CN103793233A (en) * | 2014-02-27 | 2014-05-14 | 中南大学 | Method for achieving user interface graphic display based on uboot |
CN104981766A (en) * | 2014-04-28 | 2015-10-14 | 华为终端有限公司 | Method for displaying data on screen and display control device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347382A (en) * | 2021-05-26 | 2021-09-03 | 随锐科技集团股份有限公司 | Display method, embedded terminal and computer readable storage medium |
CN113655975A (en) * | 2021-08-10 | 2021-11-16 | 北京百度网讯科技有限公司 | Image display method, image display device, electronic apparatus, and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109284151B (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8429605B2 (en) | Finite state machine architecture for software development | |
US10635464B2 (en) | Information processing device, simulation method, and program | |
RU2014136806A (en) | HIERARCHLY ORGANIZED CONTROL GALLERIES | |
US11287940B2 (en) | HMI development support device, HMI development support method, and non-transitory computer-readable recording medium | |
EP2940633A1 (en) | Mobile computing application for industrial automation manufacturing data | |
KR20140114519A (en) | Apparatus and Method for executing object using voice command | |
CN109284151A (en) | Display methods, display device and readable storage medium storing program for executing | |
CN110046094A (en) | The switching method of running environment and the switching device of running environment | |
US11215957B2 (en) | Functional unit and control apparatus wherein a functional unit synchronized with another functional unit on basis of an outside trigger signal having a synchronized period | |
CN110673842A (en) | Visual programming method and system, storage medium and equipment | |
CN104331262A (en) | QT-embedded synchronous display method and system as well as numerical control machine tool | |
US20170346702A1 (en) | Computer implemented method for displaying a user interface | |
US20150277413A1 (en) | System construction support apparatus | |
CN107943474A (en) | A kind of programmed method of intelligent robot | |
CN105204907B (en) | Browser starts method and apparatus | |
US10146200B2 (en) | Apparatus and method for updating operating system in programmable logic controller | |
CN112162800B (en) | Page display method, page display device, electronic equipment and computer readable storage medium | |
JP5058063B2 (en) | Control system development support device | |
US11321052B2 (en) | Development support device, development support method, and non-transitory computer readable medium | |
EP3048544A1 (en) | Method for generating CAD models | |
CN114237557B (en) | Method for debugging logic system design, electronic equipment and storage medium | |
CN105843657A (en) | Startup item control method and device | |
CN104407763A (en) | Content input method and system | |
CN104331222A (en) | Method and equipment for inputting character by utilizing input method | |
CN111258895A (en) | Execution instruction processing method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Applicant after: Loongson Zhongke Technology Co.,Ltd. Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Applicant before: LOONGSON TECHNOLOGY Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |