The control method and its program storage medium of electronic device, screen

文档序号:1754946 发布日期:2019-11-29 浏览:19次 中文

阅读说明:本技术 电子装置、屏幕的控制方法及其程序存储介质 (The control method and its program storage medium of electronic device, screen ) 是由 张家铭 于 2013-11-21 设计创作,主要内容包括:本公开书提供一电子装置、一屏幕的一控制方法及其程序存储介质。屏幕包含显示面板及触控面板。显示面板显示根视窗。所有显示内容显示于根视窗上。此控制方法包含下述步骤。接收命令信号。依据该命令信号,利用变换程序来变换屏幕的坐标系统。(Present disclosure provides the control method and its program storage medium of an electronic device, a screen.Screen includes display panel and touch panel.Display panel shows root form.All display contents are shown on root form.This control method includes following step.Receive command signal.According to the command signal, the coordinate system of screen is converted using conversion program.)

1. a kind of control method of the screen of electronic device, wherein the screen includes display panel and touch panel, the display surface Plate shows root form, and all display contents are shown on the root form, which includes:

Receive command signal;And

According to the command signal, the coordinate system of the screen is converted using conversion program, so as to the root form and be shown in this The status Bar of root form is correspondingly moved with icon, and wherein the range of the root form covers the entire indication range of the screen.

2. control method as described in claim 1, wherein the screen has first mode and second mode, and the conversion program is only It is enabled during the second mode, the content touch function for controlling the display content is somebody's turn to do in the first mode and whole It is enabled during second mode;

During the second mode, the coordinate system of the screen has been changed.

3. control method as described in claim 1, wherein the conversion program includes translation transformation.

4. control method as claimed in claim 3, wherein the conversion program also includes scale transformation.

5. control method as described in claim 1, wherein the conversion program includes scale transformation.

6. control method as described in claim 1, wherein the command signal passes through touching in the step of receiving the command signal Posture is touched and slided, makes electronic device inclination, says voice command, touches the entity for perhaps pressing the electronic device in display Button and generate.

7. a kind of electronic device, comprising:

Screen, comprising:

Display panel, shows root form, and all display contents are shown on the root form;And

Touch panel;And

Processing unit converts the coordinate of the screen using conversion program for receiving command signal, and according to the command signal System, so as to the root form and be shown in the status Bar of the root form and correspondingly moved with icon, the wherein range of the root form Cover the entire indication range of the screen.

8. electronic device as claimed in claim 7, wherein the screen has first mode and second mode, and the conversion program is only It is enabled during the second mode, the content touch function for controlling the display content is somebody's turn to do in the first mode and whole It is enabled during second mode;

During the second mode, the coordinate system of the screen has been changed.

9. electronic device as claimed in claim 7 further includes action sensor, for detecting tilting action, then foundation should The command signal is sent to the processing unit by tilting action.

10. electronic device as claimed in claim 7 further includes microphone, for receiving voice command, then according to the sound The command signal is sent to the processing unit by order.

It, then will according to the pressing for detecting pressing 11. electronic device as claimed in claim 7 further includes entity button The command signal is sent to the processing unit.

12. a kind of program storage medium for storing a computer program, for making electronic device execute following step:

Receive command signal;And

According to the command signal, the coordinate system of screen is converted using conversion program, so as to the root form and be shown in the root The status Bar of form is correspondingly moved with icon, and wherein the range of the root form covers the entire indication range of the screen.

13. program storage medium as claimed in claim 12, wherein the screen has first mode and second mode, the transformation Program is only enabled during the second mode, for controlling the content touch function of the display content in the first mode and complete It is enabled during the second mode of journey;The coordinate system of the screen has been changed.

14. program storage medium as claimed in claim 12, wherein the conversion program includes translation transformation.

15. program storage medium as claimed in claim 14, wherein the conversion program also includes scale transformation.

16. program storage medium as claimed in claim 12, wherein the conversion program includes scale transformation.

Technical field

Present disclosure is related to the control method and its program storage medium of a kind of electronic device, screen.

Background technique

The progress of Adjoint technology, various electronic devices also constantly improve.For example, certain (to include equipped with screen Display panel and touch panel) handheld apparatus can be used to make a phone call, be connected to internet or play game.

Finger can be used to click the display content being displayed on the screen in user.Now, screen size may be mostly 3.5 inches, 4.2 inches or 7 inches.If the size of screen is bigger, screen can be shown more.However, working as screen size too When big, user only can not hold handheld apparatus by a hand and click display content.User must pass through one Hand holds handheld apparatus and another hand carrys out taps screen, this is inconvenient.

Summary of the invention

Present disclosure is related to the control method and its program storage medium of a kind of electronic device, screen.

According to an embodiment, a kind of control method of the screen of electronic device is provided, wherein the screen includes display panel And touch panel, the display panel show root form, all display contents are shown on the root form, which includes: Receive command signal;And according to the command signal, the coordinate system of the screen is converted using conversion program, so that the root form And be shown in the status Bar of the root form and correspondingly moved with icon, wherein the range of the root form covers the entire aobvious of the screen Demonstration is enclosed.

According to another embodiment, an electronic device includes screen and processing unit.Screen includes display panel and touch-control Panel.Display panel shows root form, and all display contents are shown on the root form.Processing unit, for receiving order letter Number, and according to the command signal, the coordinate system of the screen is converted using conversion program, so as to the root form and be shown in this The status Bar of root form is correspondingly moved with icon, and wherein the range of the root form covers the entire indication range of the screen.

According to another embodiment, a kind of program storage medium for storing a computer program is provided.Computer program is used In cause electronic device execute following step.Receive command signal.According to the command signal, screen is converted using conversion program Coordinate system, so as to the root form and be shown in the status Bar of the root form and correspondingly moved with icon, the wherein root form Range cover the entire indication range of the screen.

Detailed description of the invention

Fig. 1 is painted an electronic device.

Fig. 2 is painted each layer of a display area of a screen.

Fig. 3 is painted the translation transformation program (Translation Transformation) of a rectangle.

Fig. 4 is painted the scale transformation program (Scaling Transformation) of a rectangle.

Fig. 5 is painted the flow chart of the control method of screen.

Fig. 6 is painted an example for executing operation scenario.

Fig. 7 is painted another example for executing operation scenario.

Fig. 8 is painted another example for executing operation scenario.

Fig. 9 is painted screen and switches between three modes.

Figure 10 is painted screen and switches between two modes.

Figure 11 is painted another example for executing operation scenario.

[symbol description]

DC: display content

RW: root form

S101: step

S102: step

100: electronic device

110: screen

110a: display area

111: display panel

112: touch panel

120: processing unit

Specific embodiment

In following detailed description, for illustrative purposes, it is disclosed thoroughly to understand to propose many specific details Embodiment.However, one or more embodiments may be in the feelings without these specific details it will be appreciated by one of skill in the art that arriving It is implemented under condition.In other instances, summary is painted well known construction and device to simplify this figure.

Referring to Figure 1, it is painted electronic device 100.Electronic device 100 includes screen 110 and processing unit 120.From function From the point of view of energy viewpoint, screen 110 includes display panel 111 and touch panel 112.However, display panel 111 and touch panel 112 Identical entity space, e.g. embedded touch technology (in-cell touch technology) can be shared, so it can To be one while there is the panel of display function and touch-control sensing function.Display panel 111 be used to show picture, icon or File.For example, display panel 111 may be liquid crystal display (LCD) panel, Organic Light Emitting Diode (OLED) display surface Plate or electronic paper display panel.Touch panel 112 is used to receive touch posture by a finger or a pen.Citing and Speech, in a photo gallery application program, user can be slipped on touch panel 112 to switch to next picture.Or it can Content (such as icon (icon)) is shown to touch, to execute corresponding application program.Processing unit 120 is for executing control Processing procedure sequence, calculation procedure or analysis program.For example, processing unit 120 can be processor, chip, firmware circuitry or electricity Road plate etc..

Other than touch panel, certain electronic components are also used to control electronic device.For example, user usually makes The volume of loudspeaker is adjusted with entity button, microphone can be used in input voice command to start menu items, and make User is shaken electronic device using action sensor or makes its inclination to switch or move certain display contents.

Fig. 2 is referred to, each layer structure of the display area 110a of screen 110 is painted.The display panel 111 of screen 110 Show root form (Root Window) RW.Root form RW is bottom window, for carrying all display content DC, such as is selected Button checks box, button, icon, picture or file.Usual root form RW fully takes up the display area 110a of screen 110.Display Content DC is shown on root form RW.Display content DC can be moved in the range of root form RW.

In two-dimensional space, any is typically denoted as PX, y, wherein x is the coordinate value along x-axis, and y is along y The coordinate value of axis.Translation transformation program (translation transformation), Translate (a, b) are mathematics letter Number, makes each of object (object) point PX, yNew position P is moved to towards two-dimensional spaceX+a, y+b, it is add operation in this "+" Member.Fig. 3 is referred to, the translation transformation program of rectangle is painted.

In addition, scale transformation program (scaling transformation), Scale (c, d) are mathematical function, make Each of object point PX, yNew position P is moved to towards two-dimensional spacex*c, y*d, wherein " * " is multiplying member.Fig. 4 is referred to, It is painted the scale transformation program of rectangle.

The size of screen 110 may be 3.5 inches, 4.2 inches or 7 inches.If the size of screen 110 is bigger, shield Curtain 110 is displayable more.However, user only can not hold electronics by a hand when the size of screen 110 is too big Device 100 simultaneously clicks display content DC.User must hold 100 another hand of electronic device by a hand to click Screen 110, this is inconvenient.

In one embodiment, a kind of control method of screen 110 is supplied to user, so that user need to only pass through one Hand holds and clicks electronic device 100.Refer to Fig. 5 and 6, Fig. 5 is painted the flow chart of the control method of screen 110, and Fig. 6 It is painted an example of operation scenario.Illustrate the control method of Fig. 5 as an example with the electronic device 100 of Fig. 1.

In step s101, command signal is received.In one embodiment, command signal is by touching touch panel 112 simultaneously It slides and generates on touch panel 112.For example, Fig. 6 is referred to, user touches screen towards lower right using its thumb It 110 and is slided on screen 110.

In step s 102, processing unit 120 converts the coordinate of screen 110 using conversion program according to command signal System.For example, refer to Fig. 6, after translation transformation program is applied to the coordinate system of screen 110 so that root form RW and Its all display content DC carried are displaced along lower right.In Fig. 6, positioned at the upper left corner label be A " icon edge Lower right be moved to close to screen 110 center new position.In this way, user can easily click is located at upper left originally Footmark is denoted as the icon of " A ".

When root form RW is displaced along lower right, because the size of root form RW does not change because of translation transformation program Become, so can not shown anything by the upper left L shape region covered root form RW and can use single black, white etc. It fills up.In addition, a part of root form RW and a part of display content DC, are moved to 110 outside of screen and are not shown On screen 110.In other words, the only root form RW of part and the display content DC of only part are displayed on screen On 110.

Fig. 7 is referred to, Fig. 7 is painted another example of operation scenario.User can be used its thumb towards lower left touch screen Curtain 110 simultaneously slides on screen 110.In Fig. 7, the label positioned at the upper right corner is the icon of E " then along lower left position Move to the new position at a center close to screen 110.In this way, user can easily click the mark for being located at the upper right corner originally It is denoted as the icon of " E ".

When root form RW is displaced along lower left, because the size of root form RW does not change because of translation transformation program Become, so can not shown anything by the upper right L shape region covered root form RW and can use single black, white etc. It fills up.In addition, a part of root form RW and a part of display content DC are moved to 110 outside of screen and are not shown On screen 110.In other words, the only root form RW of part and the display content DC of only part are displayed on screen On 110.

Fig. 8 is referred to, Fig. 8 is painted another example of operation scenario.In this example, because of scale transformation program, root form RW is not only displaced by but also is reduced.The display content DC being shown on root form RW is equally reduced.If enabling coordinate system Origin in the upper left corner of screen 110, then coordinate system just can be applied translation transformation program and scale transformation simultaneously by us Program, the lower right corner of root form RW is Chong Die with the lower right corner of display area 110a of screen 110.

In other words, root form RW is not moved to outside the 110a of display area.Therefore, reduced root form RW is complete Portion is displayed on screen 110, and reduced all display content DC are equally displayed on screen 110.In this way, even if The size of screen 110 be it is big, user can still click all display content DC.

When user needs to click a user interface object for being located remotely from finger, this controlling party can be applied Method.For electronic device 100, it is special applications mode.In one embodiment, as shown in figure 9, screen 110 is in three kinds of moulds Switch between formula.In electronic device 100, screen 110 has first mode, second mode and the third mode.In first mode During (i.e. normal mode), the coordinate system of screen 110 is located at home position without any transformation, so root form RW is solid It is fixed, and fully take up the display area 110a of screen 110.In such a mode, function is touched for controlling the content of display content DC It can be enabled.

During second mode (can pattern conversion), the coordinate system of screen 110 can pass through the touching on touch panel 112 It touches and slides posture and convert, so in such a mode, content touch function is set to be forbidden energy (disabled), for keeping away Exempt to touch and slide obscuring for posture.

During the third mode (i.e. operation mode), may have the conversion program of coordinate system before entering this mode Applied in second mode, so although root form RW is display area that is fixed, but only partly occupying screen 110 110a.In such a mode, content touch function can again enable with allow user control electronic device 100.

Fig. 9 is referred to again, and in one embodiment, screen 110 can be cut between first mode, second mode and the third mode It changes.For example, if shaken 2 times to electronic device 100, screen 110 can switch to second mode from first mode.If Electronic device 100 is shaken 2 times again, then screen 110 can switch back to first mode from second mode.

If shaken 3 times to electronic device 100, screen 110 can switch to the third mode from second mode.If right again Electronic device 100 shakes 3 times, then screen 110 can switch back to second mode from the third mode.

If shaken 4 times to electronic device 100, screen 110 can switch to first mode from the third mode.However, screen Curtain 110 can not be directly switch into the third mode from first mode.Illustrated shake number only illustratively illustrates herein, but It is not limited by this.The number for shaking number is natural number.

Although in the above example, the mode in the screen 110 of Fig. 9 is switched over by shaking electronic device, this Switching mode separately can be by saying voice command, pressing entity button, touching display content (other than under the second mode) Deng and be activated.

In Fig. 9, screen 110 can switch between Three models.It in another embodiment, can be by second mode and third Mode is combined together.0, Figure 10 is painted screen 110 and switches between both of which referring to Figure 1.Screen 110 has the first mould Formula and second mode.During first mode (i.e. normal mode), the coordinate system of screen 110 is located at home position without appointing What is converted, so root form RW is display area 110a that is fixed and fully taking up screen 110.In such a mode, enable For controlling the content touch function of display content DC.

During second mode the combination of pattern conversion and operation mode (can), root form RW may pass through certain transformation Program and the display area 110a for being displaced and locally occupying screen 110.However, content touch function is to be caused in such a mode Can.

Referring to Figure 10, screen 110 can switch between the first mode and the second mode.For example, if to electronics Device 100 shakes 2 times, and screen 110 can switch to second mode from first mode.If shaken 2 times to electronic device 100 again, Then screen 110 can switch back to first mode from second mode.Illustrated shake number only illustratively illustrates herein, but It is not limited by this.The number for shaking number is natural number.

Because content touch function is enabled under both first mode and second mode, we are not available touch And posture is slided to generate the command signal for causing coordinate system to convert.Figure 11 is please referred to, Figure 11, which is painted, executes this operation scenario Another example.In this example, when screen 110 is in the second mode of Figure 10, command signal is by making electronic device 100 incline It tiltedly generates, and screen 110 need not be touched.Therefore, it will not hinder to show content for the command signal of coordinate system transformation Clicking on DC.Therefore, convertible mode and operation mode can be combined into second mode.

Although in the above example, the mode in the screen 110 of Figure 10 is switched by shaking electronic device, this switching It can be separately activated ands saying voice command, pressing entity button, touch display content etc..

In addition, in one embodiment, processing unit can be also comprising at least one for executing the processing of associated control procedures Device.

In another embodiment, processing unit can be the circuit design being embodied on chip.Specifically, Ren Heshi Applying example can be by using a kind of hardware description language (such as Verilog for circuit design (comprising circuit integrated and layout) Or VHDL) and realize.Circuit can use hardware and describe language and design in various ways.For example, integrated circuit Manufacturer can be realized using application-specific IC (ASIC) or Customer design integrated circuit.

It will be appreciated by one of skill in the art that arriving, various modifications and variation may be made for the disclosed embodiments.Explanation Book and example are considered only as illustrating, represented by wherein the true scope of present disclosure is by claims and its equivalent arrangements.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于触摸板的手势识别方法、装置及相关系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类