CN109683969A - A kind of displaying method of terminal and device of vxworks operating system - Google Patents
A kind of displaying method of terminal and device of vxworks operating system Download PDFInfo
- Publication number
- CN109683969A CN109683969A CN201811573197.2A CN201811573197A CN109683969A CN 109683969 A CN109683969 A CN 109683969A CN 201811573197 A CN201811573197 A CN 201811573197A CN 109683969 A CN109683969 A CN 109683969A
- Authority
- CN
- China
- Prior art keywords
- fragment
- terminal
- buffer area
- character data
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The present embodiments relate to displaying method of terminal, device, terminal and the storage mediums of a kind of VXWorks operating system.Method includes: acquisition character data, and character data is stored in buffer area, carries out fragment processing to the character data of buffer area, to check complete character content on the display screen of terminal, it is not necessary to modify systems and application, is operated more simple and convenient.
Description
Technical field
The present invention relates to computer operating system technical fields, more particularly to a kind of terminal of VXWorks operating system
Display methods, device, terminal and storage medium.
Background technique
The terminal display of VXWorks operating system is once only able to display in limited character since screen size is fixed
Holding, usual display can only once show 80*25 character, if the file size of display is more than 80*25 character,
VXWorks operating system can cover previous content, only show on 80*25 last character to screen, at this time can not be complete
Show all contents, it is greatly inconvenient to the user of VXWorks operating system.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of vxworks operating system displaying method of terminal,
Device, terminal and storage medium can show complete content on the display screen of terminal.
In a first aspect, the embodiment of the invention provides a kind of displaying method of terminal of vxworks operating system, for eventually
End, the terminal include display screen and at least one key, comprising:
Obtain character data;
The character data is stored in buffer area;
Fragment processing is carried out to the character data of the buffer area.
In some embodiments, before the buffer area by character data deposit, the method also includes:
The screen Display Characters Per Frame of the display screen is set;
At least one described key is configured.
In some embodiments, the character data to the buffer area carries out fragment processing, comprising:
If the screen Display Characters Per Frame is less than the number of characters of the character data, fragment processing is carried out.
In some embodiments, if the screen Display Characters Per Frame is less than the number of characters of the character data,
Carry out fragment processing, comprising:
Total score the piece number is obtained according to the screen Display Characters Per Frame and the number of characters of the character data;
According to the total score the piece number, determine each fragment in the initial position of the buffer area;
Each fragment is recorded in the initial position of the buffer area.
In some embodiments, the method also includes:
Obtain button operation instruction;
The fragment for determining display character is instructed according to the button operation, and obtains the fragment of display character in the buffering
The initial position in area;
The corresponding word of the fragment is shown in the display screen in the initial position of the buffer area according to the fragment
Symbol.
Second aspect, the embodiment of the invention also provides a kind of terminal display devices of vxworks operating system, for eventually
End, the terminal include display screen and at least one key, comprising:
Module is obtained, for obtaining character data;
Cache module, for the character data to be stored in buffer area;
Fragment processing module carries out fragment processing for the character data to the buffer area.
In some embodiments, described device further include:
Setup module, for the screen Display Characters Per Frame of the display screen to be arranged;And at least one described key
It is configured.
In some embodiments, described device further include:
Fragment handles submodule, if being less than the number of characters of the character data for the screen Display Characters Per Frame,
Carry out fragment processing.
The third aspect, the embodiment of the invention also provides a kind of terminals, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
A processor executes, so that at least one described processor is able to carry out above-mentioned method.
Fourth aspect, the embodiment of the invention also provides a kind of non-volatile computer readable storage medium storing program for executing, the calculating
Machine readable storage medium storing program for executing is stored with computer executable instructions, when the computer executable instructions are executed by terminal, makes institute
It states terminal and executes above-mentioned method.
The displaying method of terminal of vxworks operating system provided in an embodiment of the present invention, by obtaining character data, by institute
Character data deposit buffer area is stated, fragment processing is carried out to the character data of the buffer area, and fragment is switched by key,
So that each fragment shows different character contents, on the one hand, can completely show character content on the display screen of terminal
It shows and.On the other hand, the less hardware interface of dependence on external supply, and it is not necessary to modify system and application, behaviour in use
Make simple.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the displaying method of terminal of vxworks operating system of the present invention and the application scenarios schematic diagram of device;
Fig. 2 is the flow chart of one embodiment of the displaying method of terminal of vxworks operating system of the present invention;
Fig. 3 is screen Display Characters Per Frame in one embodiment of the displaying method of terminal of vxworks operating system of the present invention
It is arranged and the flow chart of key setting steps;
Fig. 4 is fragment processing step in one embodiment of the displaying method of terminal of vxworks operating system of the present invention
Flow chart;
Fig. 5 is that button operation step is executed in one embodiment of the displaying method of terminal of vxworks operating system of the present invention
Rapid flow chart;
Fig. 6 is the structural block diagram of one embodiment of the terminal display device of vxworks operating system of the present invention;
Fig. 7 is the structural block diagram of another embodiment of the terminal display device of vxworks operating system of the present invention;
Fig. 8 is the hardware structural diagram of one embodiment of terminal of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The displaying method of terminal of vxworks operating system provided by the invention can be executed by terminal 10, and terminal 10 can be with
It is such as smart phone, tablet computer, PC, laptop computer.User can pass through any suitable type, Yi Zhonghuo
The a variety of user interaction devices of person are interacted with terminal 10, these user interaction devices can be mouse, key, touch screen etc..
In one embodiment, terminal 10 includes host (not shown), shows screen 13 and at least one key 14,
Terminal 10 passes through the address information of address bus receiving host, obtains the control signal of host by control bus, and pass through number
It is connected according to bus with key 14.Bus is a kind of computer-internal structure, it is set by central processing unit, memory, input, output
The highway of standby transmitting information, a component of computer are connected by bus, and external equipment passes through corresponding interface circuit again
It is connected with bus, carries out the interaction of data.
Terminal 10 can be realized by the hardware and software function module being arranged thereon shows character on display screen 13.
The application layer that user passes through network first enters the interface of file system offer, and character data content is passed to virtual character and is shown
Show driving, as shown in Figure 1, virtual character display driving by configuration management module, buffer management module, management by district module with
And display control module is constituted, for corresponding use, it is a driving, and for the driving of bottom and hardware, it is one
Upper layer application.
The management that content is shown to character is realized in virtual character display driving, is realized by hardware and driving layer in display screen
The 13 display character of curtain.When being operated on key 14, terminal can be associated according to display is input operation instruction
Information.For example, then one screen history content of rollback, that is, show the content of page up when user presses " Page Up " key, if
User presses " PageDown " key, then shows next screen historical content, thus can Self-operating according to demand, finally at end
The complete file in vxworks operating system can be checked on the display screen at end.
In the conventional technology, in the case that vxworks operating system has the driving of hardware serial ports, by serial port of mainboard and external
Perhaps desktop computer is connected by Serial Port Line and installs serial port terminal software on notebook or desktop computer notebook, while also being wanted
Modify vxworks operating system and application program, make it through serial ports and export character, on notebook or desktop computer by
Terminal software log recording function, after showing complete file content, by opening in this external computer on terminal software
Recording diaries, indirect real time inspection are located at the entire file on vxworks operating system.
Therefore, traditional technology the prior art has at least the following problems:
1, hardware interface, that is, serial ports, system drive, that is, serial port drive and Serial Port Line are relied on.
2, existing system and application need to be modified.
3, troublesome in poeration.It need to prepare external computer, need to install serial port terminal software in external computer and to open day
Remember writing function, after finally also receiving complete file content output, returns and look into journal file and could check entire file indirectly
Content.
In the present embodiment, by obtaining character data, character data is stored in buffer area, to the character data of buffer area
Fragment processing is carried out, to check complete character content on the display screen of terminal, it is not necessary to modify system and application, operations
It is more simple and convenient.
As shown in Fig. 2, the embodiment of the invention provides a kind of displaying method of terminal of vxworks operating system, for eventually
End, terminal include display screen and at least one key, and key can be the key in keyboard, can also be the key in terminal, packet
Include following steps:
Step 202, character data is obtained.
Character data is the content that be finally shown on terminal display, and character is the font of a unit, class word
The essential information of shape unit or symbol, character data are the lteral datas for not having computing capability, it includes Chinese character, English words
Symbol, numerical character and other II characters of ASC, length, that is, character number range are 0-255 characters, are obtained first all types of
Character data.
Step 204, character data is stored in buffer area.
Buffer area is one section of memory headroom, for temporarily storing the character data to be shown passed over from application layer.
Character data buffer area is passed to after acquisition character data temporarily to store.
Step 206, fragment processing is carried out to the character data of buffer area.
Fragment is a kind of technology of traditional database, and large database is divided into portion that is smaller, faster, more easily managing by it
Point.In vxworks operating system, fragment be the character data of buffer area is divided into can be shown on terminal display it is more
A complete content is shown in a fragment, each fragment, and the content that the last one fragment is shown can be imperfect, according to reality
The character data on border determines.
In the present embodiment, by obtaining character data, character data is stored in buffer area, to the character data of buffer area
Fragment processing is carried out, to check complete character content on the display screen of terminal, it is not necessary to modify system and application, operations
It is more simple and convenient.
In some embodiments, as shown in figure 3, character data is stored in front of buffer area, further includes:
Step 302, the screen Display Characters Per Frame of setting display screen.
Screen Display Characters Per Frame includes screen line number and screen columns, and screen Display Characters Per Frame is arranged by screen line number and screen
Several product compositions, in the present embodiment, all settings are carried out in configuration management module, and setting screen line number is silent
Recognizing value is 80, and screen columns default value is 25, wherein screen line number and the value of screen columns can self-setting tune according to demand
It is whole, without adhering rigidly to restriction in this present embodiment.And slow Qu great little is set, maximum rollback screen number, buffer area work are set
Mode, wherein buffer area operating mode is divided into 0 and 1, and 0 is the operating mode of default, in the Man Shicong Installed System Memory application of buffer area
It deposits, dynamic maximum caches total size, and 1 covers the memory most started when full for buffer area, and not from system application memory, buffer area is big
Small fixation, it should be noted that may also set up 0 as the buffer area memory that covering most starts when full, 1 is the operating mode of default.
Whether setting enables virtual character display driving, and 0 is not enable, and 1 is enables, and certainly, may also set up 0 to enable, 1 is not open
With without adhering rigidly to restriction in this present embodiment, virtual character display driving is by configuration module, buffer zone module, management by district
Module and display control module are constituted, and for corresponding use, it is a driving, for the driving of bottom and hardware, it
It is a upper layer application.
Step 304, at least one key is configured.
Key setting is configured in configuration management module, and setting " Page Up " key and " Page Down " are pressed
Key, wherein the effect of " Page Up " key is one screen history content of rollback, it is settable to press primary " Page Up " key rollback one
Screen history content may also set up by multiple one screen history content of rollback, and the effect of " Page Down " key is that display is next
Screen history content, it is settable to press primary " Page Down " key, it shows next screen historical content, may also set up by repeatedly aobvious
Show next screen display content, without adhere rigidly to the restriction in the present embodiment, due to exit the program, thus setting " ctrl+x "
Combination button is as the key to exit the program.Above-mentioned configuration parameter can be assigned when virtual character driver module initializes
Value, dynamically can also modify and inquire in the process of running, be conducive to flexible choice operation.
In some embodiments, fragment processing is carried out to the character data of buffer area, comprising: if screen Display Characters Per Frame
Less than the number of characters of character data, then fragment processing is carried out.
Screen Display Characters Per Frame is that screen shows that line number and screen show columns, and character data is the word for being temporarily stored in buffer area
Accord with data.The screen line number and screen columns and buffer area obtained in configuration management module first keeps in number of characters, if screen
Curtain line number and screen columns product are less than buffer area and keep in number of characters, that is, show that screen size does not accommodate the temporary word in buffer area
Number is accorded with, then carries out fragment processing.Similarly, it if screen line number and screen columns product, which are greater than buffer area, keeps in number of characters, that is, shows
Screen can accommodate buffer area and keep in number of characters, then do not need to carry out fragment processing.
In one embodiment, as shown in figure 4, if screen Display Characters Per Frame is less than the number of characters of character data, into
Row fragment is handled
Step 402, total score the piece number is obtained according to screen Display Characters Per Frame and the number of characters of character data.
Screen Display Characters Per Frame is the product of screen line number and screen columns, can obtain total fragment according to above-mentioned formula
Number.
Step 404, according to total score the piece number, determine each fragment in the initial position of buffer area.
Specifically, first fragment is 0 in the position of buffer area, second fragment is (2-1) * screen in the position of buffer area
Curtain Display Characters Per Frame, third fragment are (3-1) * screen Display Characters Per Frame in the position of buffer area, and n-th fragment is in buffer area
Position be (N-1) * screen Display Characters Per Frame.
Step 406, each fragment is recorded in the initial position of buffer area.
Specifically, creating the model array Array that a length is total score the piece number first, the member in array Array is set
The each initialization value of element is that -1, -1 expression current value is invalid, is not initial position of the fragment in buffer area.Array (0) indicates the
For one fragment in the initial position of buffer area, array (1) indicates second fragment in the initial position of buffer area, array (2) table
Show third fragment in the initial position of buffer area, array (N-1) indicate n-th fragment in the initial position of buffer area, wherein N
For natural number.Fragment is indicated with array in the initial position of buffer area, is conducive to quickly search the fragment needed.
In some embodiments, the displaying method of terminal of vxworks operating system, as shown in Figure 5, further includes:
Step 502, button operation instruction is obtained.
Button operation instruction includes " Page Down " key command, and " Page Up " key command, wherein " Page Up "
Key is one screen history content of rollback, and " Page Down " key is the next screen historical content of display.
Step 504, the fragment for determining display character is instructed according to button operation, and the fragment for obtaining display character is buffering
The initial position in area.
Step 506, the corresponding character of fragment is shown in display screen in the initial position of buffer area according to fragment.
Specifically, initial position is identified with initializing variable cur_i ndex, initializing variable is for recording current point
For piece in the initial position of buffer area, default value is -1, indicates that current value is invalid, is not initial position of the fragment in buffer area.It obtains
First element value of access group exits the program if it is -1, if it is greater than or be equal to 0, then illustrate first element save
For effective fragment in the initial position of buffer area, updating initializing variable is first element value of array got.Then it adjusts
The corresponding character content of fragment is shown on the display screen of terminal with terminal, then waits for button operation.
Since array Array is for recording each fragment in the position of buffer area, so first fragment is in buffer area
Initial position is recorded as Array (0), wherein 0 refers to initializing variable cur_index, for recording current slice in buffer area
Initial position.When key be " PageUp ", then judge whether the initial transformation amount cur_index in array is greater than 0, if more than
0, then cur_index-1, that is, return to a upper fragment and call terminal, show that a upper fragment is corresponding on the display screen of terminal
Character content, for example, be greater than 0 when the initializing variable in group number is 1, then position of the fragment to be shown in array=just
Beginningization variable -1 is equal to 0, that is, indicates that fragment to be shown is the 1st fragment in array, and the 1st fragment is used in array
Array (0) indicates, call terminal at this time and shown on the display screen of terminal array for 0 fragment character content, i.e., the
The character content of 1 fragment, if initializing variable cur_index be less than or equal to 0, it is without any processing, continue until by
Key operation;If key is " Page Down ", judge whether initial transformation amount cur_index is greater than total score the piece number, if being less than total
Fragment number, then cur_index=cur_index+1, that is, show next fragment and call terminal, shows on the display screen of terminal
Show the corresponding character content of next fragment, for example, fragment sum be 4, when the initializing variable in group number be 1, less than 4, then want
Position=initializing variable+1 of the fragment of display in array is equal to 2, that is, indicates that fragment to be shown is the in array
2 fragments, the 2nd fragment are indicated in array with Array (1), are called terminal at this time and are shown on the display screen of terminal
The character content of the fragment of Array (1), i.e., the character content of the 2nd fragment, if initializing variable is greater than or equal to total fragment
Number, then it is without any processing, carry out waiting button operation;If key is " ctrl+x ", buffer area is discharged, is exited the program.
It should be noted that not necessarily there is centainly successive between above steps in above-mentioned each embodiment
Sequentially, those of ordinary skill in the art, according to an embodiment of the present invention to describe to be appreciated that in different embodiments, above-mentioned each step
Suddenly there can be the different sequences that executes, also i.e., it is possible to execute parallel, execution etc. can also be exchanged.
Correspondingly, the embodiment of the invention also provides a kind of terminal display device of vxworks operating system, for eventually
End, terminal includes display screen and at least one key, as shown in fig. 6, the terminal display device 600 of vxworks operating system,
Include:
Module 602 is obtained, for obtaining character data.
Cache module 604, for character data to be stored in buffer area.
Fragment processing module 606 carries out fragment processing for the character data to buffer area.
The terminal display device of vxworks operating system provided in an embodiment of the present invention, by obtaining character data, by word
It accords with data and is stored in buffer area, fragment processing is carried out to the character data of buffer area, to check on the display screen of terminal
Whole character content, it is not necessary to modify systems and application, operate more simple and convenient.
Optionally, in the other embodiments of device, Fig. 7, device 600 are please referred to further include:
Setup module 608, for the screen Display Characters Per Frame of display screen to be arranged;And at least one key is set
It sets.
Optionally, in the other embodiments of device, Fig. 7, device 600 are please referred to further include:
Fragment handles submodule 610, if being less than the number of characters of character data for screen Display Characters Per Frame, is divided
Piece processing.
Optionally, in the other embodiments of device, Fig. 7, device 600 are please referred to further include:
Module 602 is obtained, for obtaining total score according to the number of characters of the screen Display Characters Per Frame and the character data
The piece number.
Determining module 612, for determining each fragment in the initial position of buffer area according to total score the piece number.
Logging modle 614, for being recorded to each fragment in the initial position of buffer area.
Optionally, in the other embodiments of device, Fig. 7, device 600 are please referred to further include:
Module 602 is obtained, for obtaining button operation instruction;Point for determining display character is instructed according to the button operation
Piece, and obtain initial position of the fragment in the buffer area of display character.
Display module 616, for showing the corresponding word of fragment in display screen in the initial position of buffer area according to fragment
Symbol.
It is mentioned it should be noted that the embodiment of the present invention can be performed in the terminal display device of above-mentioned vxworks operating system
The displaying method of terminal of the vxworks operating system of confession has the corresponding functional module of execution method and beneficial effect.Do not exist
The technical detail of detailed description in the terminal display device embodiment of vxworks operating system, reference can be made to institute of the embodiment of the present invention
The displaying method of terminal of the vxworks operating system of offer.
Fig. 8 is the hardware structural diagram of terminal provided in an embodiment of the present invention, as shown in figure 8, the terminal 10 includes:
One or more processors 11 and memory 12, in Fig. 8 by taking a processor 11 as an example.
Processor 11 can be connected with memory 12 by bus or other modes, to be connected as by bus in Fig. 8
Example.
Memory 12 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, the terminal such as the vxworks operating system in the embodiment of the present invention are aobvious
Show the corresponding program instruction/module of method (for example, attached acquisition module 602 shown in fig. 6, cache module 604 and fragment processing mould
Block 606).Non-volatile software program, instruction and module of the processor 11 by operation storage in memory 12, to hold
The various function application and data processing of row terminal, the i.e. terminal of the vxworks operating system of realization above method embodiment
Display methods.
Memory 12 may include storing program area and storage data area, wherein storing program area can storage program area,
Application program required at least one function;Storage data area, which can be stored, shows dress according to the terminal of vxworks operating system
That sets uses created data etc..In addition, memory 12 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.One
In a little embodiments, it includes the memory remotely located relative to processor 11 that memory 12 is optional, these remote memories can be with
By being connected to the network to the terminal display device of vxworks operating system.The example of above-mentioned network include but is not limited to internet,
Intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 12, are held when by one or more of terminals 10
When row, the displaying method of terminal of the vxworks operating system in above-mentioned any means embodiment is executed, for example, executing above retouch
Method and step 302 method and step into step 304, Fig. 4 of the method and step 202 into step 206, Fig. 3 in the Fig. 2 stated
402 method and step 502 into step 406, Fig. 5 is to step 506;Module 602 in module 602 to 606, Fig. 7 in realization Fig. 6
To 616 function.
The terminal of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those of ordinary skill in the art can be understood that each embodiment
The mode of general hardware platform can be added to realize by software, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can
With understand all or part of the process realized in above-described embodiment method be can be instructed by computer program it is relevant hard
Part is completed, and the program can be stored in a computer-readable storage medium, the program is when being executed, it may include as above
State the process of the embodiment of each method.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-
OnlyMemory, ROM) or random access memory (Random Access Memory, RAM) etc..
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
It under the thinking of invention, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with
It is realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity, they do not have
Have and is provided in details;Although the present invention is described in detail referring to the foregoing embodiments, the ordinary skill people of this field
Member is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill
Art feature is equivalently replaced;And these are modified or replaceed, each reality of the present invention that it does not separate the essence of the corresponding technical solution
Apply the range of a technical solution.
Claims (10)
1. a kind of displaying method of terminal of vxworks operating system, is used for terminal, the terminal includes display screen and at least one
A key, which comprises the following steps:
Obtain character data;
The character data is stored in buffer area;
Fragment processing is carried out to the character data of the buffer area.
2. displaying method of terminal according to claim 1, which is characterized in that described that the character data is stored in buffer area
Before, the method also includes:
The screen Display Characters Per Frame of the display screen is set;
At least one described key is configured.
3. displaying method of terminal according to claim 2, which is characterized in that the character data to the buffer area into
The processing of row fragment, comprising:
If the screen Display Characters Per Frame is less than the number of characters of the character data, fragment processing is carried out.
4. displaying method of terminal according to claim 3, which is characterized in that if the screen Display Characters Per Frame is small
In the number of characters of the character data, then fragment processing is carried out, comprising:
Total score the piece number is obtained according to the screen Display Characters Per Frame and the number of characters of the character data;
According to the total score the piece number, determine each fragment in the initial position of the buffer area;
The initial position of each fragment buffer area described in total fragment is recorded.
5. displaying method of terminal according to claim 4, which is characterized in that the method also includes:
Obtain button operation instruction;
The fragment for determining display character is instructed according to the button operation, and obtains the fragment of display character in the buffer area
Initial position;
The corresponding character of the fragment is shown in the display screen in the initial position of the buffer area according to the fragment.
6. a kind of terminal display device of vxworks operating system, is used for terminal, the terminal includes display screen and at least one
A key characterized by comprising
Module is obtained, for obtaining character data;
Cache module, for the character data to be stored in buffer area;
Fragment processing module carries out fragment processing for the character data to the buffer area.
7. device according to claim 6, which is characterized in that described device further include:
Setup module, for the screen Display Characters Per Frame of the display screen to be arranged;And at least one described key is carried out
Setting.
8. device according to claim 7, which is characterized in that described device further include:
Fragment handles submodule, if being less than the number of characters of the character data for the screen Display Characters Per Frame, carries out
Fragment processing.
9. a kind of terminal characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the described in any item methods of claim 1-5.
10. a kind of non-volatile computer readable storage medium storing program for executing, which is characterized in that the computer-readable recording medium storage has
Computer executable instructions make the terminal perform claim requirement when the computer executable instructions are performed by terminal
The described in any item methods of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811573197.2A CN109683969A (en) | 2018-12-21 | 2018-12-21 | A kind of displaying method of terminal and device of vxworks operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811573197.2A CN109683969A (en) | 2018-12-21 | 2018-12-21 | A kind of displaying method of terminal and device of vxworks operating system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109683969A true CN109683969A (en) | 2019-04-26 |
Family
ID=66188726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811573197.2A Pending CN109683969A (en) | 2018-12-21 | 2018-12-21 | A kind of displaying method of terminal and device of vxworks operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683969A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010011364A1 (en) * | 1998-01-07 | 2001-08-02 | Everett W. Stoub | System for converting scrolling display to non-scrolling columnar display |
CN1790336A (en) * | 2005-12-20 | 2006-06-21 | 无锡永中科技有限公司 | Document display method |
CN101662616A (en) * | 2009-09-17 | 2010-03-03 | 北京中科智网传媒技术有限公司 | Character rolling display method |
CN102141916A (en) * | 2011-01-19 | 2011-08-03 | 深圳创维数字技术股份有限公司 | Embedded equipment and method for displaying language word on OSD interface |
US20110310103A1 (en) * | 2010-06-18 | 2011-12-22 | Hsiang Jieh | Type-setting method for a text image file |
CN102339216A (en) * | 2010-07-15 | 2012-02-01 | 江苏国光信息产业股份有限公司 | Chinese character display method based on VxWorks operating system |
US20120233187A1 (en) * | 2009-11-19 | 2012-09-13 | Hisense Mobile Communications Technology Co., Ltd. | Method and apparatus for decoding and reading txt file |
US20160117146A1 (en) * | 2014-10-24 | 2016-04-28 | Lenovo (Singapore) Pte, Ltd. | Selecting multimodal elements |
-
2018
- 2018-12-21 CN CN201811573197.2A patent/CN109683969A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010011364A1 (en) * | 1998-01-07 | 2001-08-02 | Everett W. Stoub | System for converting scrolling display to non-scrolling columnar display |
CN1790336A (en) * | 2005-12-20 | 2006-06-21 | 无锡永中科技有限公司 | Document display method |
CN101662616A (en) * | 2009-09-17 | 2010-03-03 | 北京中科智网传媒技术有限公司 | Character rolling display method |
US20120233187A1 (en) * | 2009-11-19 | 2012-09-13 | Hisense Mobile Communications Technology Co., Ltd. | Method and apparatus for decoding and reading txt file |
US20110310103A1 (en) * | 2010-06-18 | 2011-12-22 | Hsiang Jieh | Type-setting method for a text image file |
CN102339216A (en) * | 2010-07-15 | 2012-02-01 | 江苏国光信息产业股份有限公司 | Chinese character display method based on VxWorks operating system |
CN102141916A (en) * | 2011-01-19 | 2011-08-03 | 深圳创维数字技术股份有限公司 | Embedded equipment and method for displaying language word on OSD interface |
US20160117146A1 (en) * | 2014-10-24 | 2016-04-28 | Lenovo (Singapore) Pte, Ltd. | Selecting multimodal elements |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11238099B2 (en) | Method and device for obtaining answer, and computer device | |
CN111190718A (en) | Method, device and system for realizing task scheduling | |
US20190317658A1 (en) | Interaction method and device for a flexible display screen | |
WO2006028438A1 (en) | System, method, and apparatus for continuous character recognition | |
CN107832330B (en) | Searching method and terminal equipment | |
CN103970283A (en) | Providing device and method for virtual keyboard operated with two hands | |
CN106168944A (en) | Document conversion method | |
WO2014023181A1 (en) | Method and device for processing tabbed-page | |
CN108920083A (en) | A kind of input method application method and device | |
CN111142871B (en) | Front-end page development system, method, equipment and medium | |
CN109145241B (en) | Browser and content display management method of browser | |
JP2022530725A (en) | Information push methods, devices, equipment and storage media | |
CN107193562A (en) | A kind of image processing method and device | |
CN109683969A (en) | A kind of displaying method of terminal and device of vxworks operating system | |
CN106940619A (en) | A kind of inputting interface transfers method and device, user equipment | |
CN115631251A (en) | Method, apparatus, electronic device, and medium for generating image based on text | |
WO2022143523A1 (en) | Vocabulary display method and apparatus, and electronic device | |
CN114997126A (en) | Electronic form display method and device, electronic equipment and storage medium | |
CN107533697A (en) | Content is not preserved via content channel insertion | |
CN107077272A (en) | Determine to enable direct operated hit test in response to user action | |
CN113641252B (en) | Text input method and device and electronic equipment | |
CN105550043B (en) | A kind of data return method, method of reseptance, return mechanism and reception device | |
US20150199837A1 (en) | Method and apparatus for converting an animated sequence of images into a document page | |
CN109871432A (en) | Look into method and device, the terminal device, computer readable storage medium of words | |
CN110244886B (en) | Information display method and device, computer equipment 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190426 |