CN101634952A - Interface inputting method of simulation input device - Google Patents
Interface inputting method of simulation input device Download PDFInfo
- Publication number
- CN101634952A CN101634952A CN200910167504A CN200910167504A CN101634952A CN 101634952 A CN101634952 A CN 101634952A CN 200910167504 A CN200910167504 A CN 200910167504A CN 200910167504 A CN200910167504 A CN 200910167504A CN 101634952 A CN101634952 A CN 101634952A
- Authority
- CN
- China
- Prior art keywords
- interface
- input device
- simulation
- input
- inputting interface
- 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
Images
Abstract
The invention discloses an interface inputting method of a simulation input device, which comprises the following steps that: when the input interface is subject to simulation, different states of the input interface can be expressed by different graphs. The interface inputting method solves the problem that different states of the input device cannot be intuitively expressed in different states of the simulation device in relevant art, and further achieves the effect that different states of the input device can be intuitively expressed during simulation.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of method of inputting interface of simulation input device.
Background technology
In the embedded program performance history, be subject to the function of embedded device hardware and the restriction of input and output hardware condition, directly developing on hardware platform and debug to need to expend a large amount of time and manpower and materials.Usually the embedded program exploitation all can be adopted cross compile, emulation, means such as intersection debugging, earlier at personal computer (Personal Computer, abbreviate PC as) enterprising line program exploitation, on the simulated program interface on the PC platform, carry out the simulation and the debugging of development sequence then, reload in the physical device at last and verify.Like this, on stream, a large amount of tests and debugging work all are to finish in simulated environment, have also just accelerated the progress of embedded development greatly.
Fig. 1 is the synoptic diagram according to a mobile phone simulator interface of correlation technique.
Usually the simulated program interface can demonstrate the graphical interfaces that is consistent with real equipment, for example can demonstrate the outward appearance pattern of a mobile phone on the simulator interface of mobile phone, has shown the synoptic diagram of a mobile phone simulator program as Fig. 1.The user can be with cell phone keyboard analogue-key operation among the click figure etc., this just requires simulator program that analog input operation is changed into the software that message informing is given internal operation, and on the interface, carry out corresponding update displayed, for example show that certain button becomes down state.
But when carrying out emulation for the different conditions of some input medias in the equipment, often represent by some complicated forms, inputting interface such as the mobile phone simulator, for each button on the keyboard, when the state that needs display button to be pressed, simulator just must partly be shown as down state with this button, therefore each state that just is necessary for each button part is usually made a width of cloth figure, again because the graphic file number of inputting interface>=press bond number * status number, will cause the graphic file number of inputting interface too much like this, both be not easy to make (need cut), and also be inconvenient to manage.
During at the different conditions of simulation input device in the correlation technique, the different conditions of input media is represented inadequately problem intuitively, do not propose effective solution at present as yet.
Summary of the invention
During at the different conditions of simulation input device in the correlation technique, the different conditions of input media is represented inadequately intuitively problem and propose the present invention, for this reason, fundamental purpose of the present invention is to provide a kind of method of inputting interface of simulation input device, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of method of inputting interface of simulation input device.
Inputting interface method according to simulation input device of the present invention comprises: when inputting interface is carried out emulation, represent the different conditions of inputting interface with different figures.
Preferably, figure is carried out mark, this method also comprises: the zone of upgrading specific input media correspondence by the mark that upgrades figure.
Preferably, the size of figure that is used for representing the different conditions of inputting interface equates.
Preferably, above-mentioned figure is a polygon.
By the present invention, employing is when carrying out emulation to inputting interface, the different conditions of representing inputting interface with different figures, when having solved in the correlation technique different conditions of simulation input device, the different conditions of input media is represented inadequately problem intuitively, and then reached the effect of when emulation, representing the different conditions of input media intuitively.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the synoptic diagram according to a mobile phone simulator interface of correlation technique;
Fig. 2 is according to the use polygon mark input equipment viewing area, location of the embodiment of the invention and the synoptic diagram of update displayed.
Embodiment
Functional overview
When considering the different conditions of simulation input device in the correlation technique, the different conditions of input media is represented directly perceived inadequately, the embodiment of the invention provides a kind of method of inputting interface of simulation input device.
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Method embodiment
According to embodiments of the invention, provide a kind of method of inputting interface of simulation input device.
To specifically introduce this method below:
Fig. 2 is according to the use polygon mark input equipment viewing area, location of the embodiment of the invention and the synoptic diagram of update displayed.
As shown in Figure 2,, suppose a slice M zone (this zone may be irregular) on a certain input equipment correspondence and the interface images, can produce n kind state when the user operates this equipment for general situation.Then need to prepare Show Picture (n opens altogether) of this input equipment under the n kind state, any therein then one Shows Picture to go up and determines the M zone by the mode of polygon convergence mark, promptly outside this polygon scope, represent outside the equipment region, in this polygon scope in the indication equipment zone.So, in simulator program, when the user operates with mouse on the interface,, just can judge on the zone of whether dropping on this input equipment correspondence according to the coordinate of mouse.If the programmed logic of simulator just produces incoming event according to the operation of mouse and passes to inner operating software, and according to the new state update displayed of input equipment.Update displayed only need be carried out the renewal of part at the zone (such as the M zone) at this input equipment place with the picture of new state correspondence.
In said process, each state in the n kind state Shows Picture corresponding to of input equipment, it is on all four that this n opens the size that Shows Picture, the relative position of each input equipment on picture also is on all four, like this, when therein any one sketch the contours of polygon on Showing Picture and come convergence M zone after, just this polygon can be used to judge the corresponding region of each input equipment on Showing Picture, and when update displayed, only need to upgrade this polygon scope with interior part.
In the equipment of reality, for button class input media, may comprise and press and lift when keyboard light is extinguished and keyboard light four kinds of states such as presses and lift when bright, this just need provide four state pictures; For the rotary switch class, may comprise a plurality of gears, as open or closure etc., just need each range state to prepare a state picture.
Like this, the present invention can ideally realize the equipment inputting interface of simulator program by the interfacial state picture of preparing a few width of cloth equipment and the mode that adopts the polygon mark.
Below mainly be modeled as example with the button of mobile phone simulator, the enforcement of this technical scheme is described in further detail.
The present invention mainly comprises four parts such as picture preparation, the exploitation of input judge module, update displayed Development of Module and simulator configuration support.
1, as previously mentioned, the button of mobile phone comprises to be pressed and lifts when keyboard light is extinguished and keyboard light presses and lift etc. four kinds of states when bright, every kind of state need be prepared a width of cloth and Show Picture, though have a plurality of buttons on the mobile phone, but their each comfortable different zones, can only provide four width of cloth states to Show Picture, one width of cloth be keyboard light when extinguishing all buttons all keep lifting state, one width of cloth be keyboard light when extinguishing all buttons keep down states, one width of cloth be keyboard light when bright all buttons all keep lifting state, also have a width of cloth be keyboard light when bright all buttons all keep down state.Because during update displayed, only can be according to the zone of polygonal flag update specific keys.Can be labeled as the corresponding tables that each regional situation is set up a zone number and key assignments information according to polygonal.
2, exploitation input area judge module.This module can externally provide unified interface function to use to the simulator master routine.This function can return this coordinate and whether drop on the input equipment zone according to the coordinate figure of input, and zone number, and the simulator master routine can be tabled look-up according to zone number and be obtained corresponding key assignments information.The inside of function realizes mainly being exactly according to the corresponding color value of coordinate points on the sign picture, judges its affiliated area information.
3, exploitation update displayed module.This module can provide unified interface function for the simulator master routine equally.This function is exported this regional new state video data according to the region labeling and the state value that import into, and the simulator master routine just can use these video datas to upgrade the interface.
4, the configuration support of simulator.Two above-mentioned modules can be compiled into dynamic link library, the name in record storehouse in configuration file.The simulator master routine just can load this dynamic link library according to the information of configuration file when starting, can use above-mentioned two modules.During initial start, the state that lifts when all buttons are in keyboard light and extinguish is got video data and is showed on the interface by the update displayed module; When the user operates with mouse on the interface subsequently, just give the region decision module and judge, do not drop in any key area, then do not deal with fully its coordinate figure; Drop on certain key area, the acquisition key assignments of just tabling look-up produces incoming event, and upgrades interface display.Under this mode, the master routine of simulator can be supported the simulation of many moneys mobile phone, as long as every money mobile phone provides a picture, chained library and configuration file.
Method described in the present invention extends in the simulator exploitation of other plurality of devices.
As can be seen from the above description, the present invention has realized representing intuitively the effect of the different conditions of input media when emulation.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. the method for the inputting interface of a simulation input device is characterized in that, when described inputting interface is carried out emulation, represents the different conditions of described inputting interface with different figures.
2. method according to claim 1 is characterized in that, described figure is carried out mark, and described method also comprises:
Upgrade the zone of specific input media correspondence by the mark that upgrades described figure.
3. method according to claim 1 is characterized in that, is used for representing that the size of described figure of the different conditions of described inputting interface equates.
4. according to each described method in the claim 1 to 3, it is characterized in that described figure is a polygon.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910167504A CN101634952A (en) | 2009-08-20 | 2009-08-20 | Interface inputting method of simulation input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910167504A CN101634952A (en) | 2009-08-20 | 2009-08-20 | Interface inputting method of simulation input device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101634952A true CN101634952A (en) | 2010-01-27 |
Family
ID=41594149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910167504A Pending CN101634952A (en) | 2009-08-20 | 2009-08-20 | Interface inputting method of simulation input device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101634952A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819450A (en) * | 2012-08-21 | 2012-12-12 | 惠州Tcl移动通信有限公司 | Simulator for simulation of hardware device in mobile terminal and implementation method of simulator |
CN102999373A (en) * | 2012-12-06 | 2013-03-27 | Tcl通讯(宁波)有限公司 | Stimulator for stimulating press-key apparatus and implement method of stimulator |
CN103377119A (en) * | 2012-04-23 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Automatic nonstandard control testing method and device |
-
2009
- 2009-08-20 CN CN200910167504A patent/CN101634952A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377119A (en) * | 2012-04-23 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Automatic nonstandard control testing method and device |
CN103377119B (en) * | 2012-04-23 | 2017-07-25 | 腾讯科技(深圳)有限公司 | A kind of non-standard control automated testing method and device |
CN102819450A (en) * | 2012-08-21 | 2012-12-12 | 惠州Tcl移动通信有限公司 | Simulator for simulation of hardware device in mobile terminal and implementation method of simulator |
CN102819450B (en) * | 2012-08-21 | 2016-08-17 | 惠州Tcl移动通信有限公司 | The simulator of a kind of equipment of analog hardware in the terminal and its implementation |
CN102999373A (en) * | 2012-12-06 | 2013-03-27 | Tcl通讯(宁波)有限公司 | Stimulator for stimulating press-key apparatus and implement method of stimulator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8059092B2 (en) | User interface designing apparatus | |
US7934162B2 (en) | Running state migration of platform specific graphical user interface widgets between heterogeneous device platforms | |
US7895522B2 (en) | Layout of platform specific graphical user interface widgets migrated between heterogeneous device platforms | |
KR20200100150A (en) | Methods and systems for managing and displaying virtual content in a mixed reality system | |
KR101117835B1 (en) | Window display system, window display method, program development support device, and server device | |
CN103543993A (en) | Application program building method and system | |
CN111190598B (en) | Gas turbine monitoring software picture configuration method based on control library drag-type development | |
CN103197875B (en) | The display packing of the display picture of electronic equipment and electronic equipment | |
CN106250116B (en) | A kind of software generic skeleton code generation method and system | |
CN109300181A (en) | The animation of the computer of user interface and content item generation display component | |
US9703443B2 (en) | Method and system for creating a free-form visual user interface element | |
GB2311151A (en) | Object browser and manipulation system | |
CN103019738B (en) | The digital control system that a kind of interface can customize and implementation method | |
CN110442510A (en) | A kind of page properties acquisition methods, device and computer equipment, storage medium | |
CN103472743A (en) | Visualized step programming method | |
US20030020730A1 (en) | Method and apparatus for visual synchronization between graphical representations of an organization | |
CN101634952A (en) | Interface inputting method of simulation input device | |
CN112445564A (en) | Interface display method, electronic device and computer readable storage medium | |
Dähler et al. | A graphical tool for the design and prototyping of distributed systems | |
CN102541532A (en) | Software development kit system suitable for vehicle-mounted system simulator | |
CN102043628A (en) | Method and system for developing on screen display (OSD) application software and multimedia terminal | |
KR100843078B1 (en) | Apparatus and method for simulation of User Interface flow | |
CN106776342A (en) | The method and apparatus that a kind of memory object to Mobile solution is analyzed | |
CN116302921A (en) | Chip function debugging method and device, electronic equipment and storage medium | |
CN101833448B (en) | Method and device for displaying information bar based on BUIW platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100127 |