CN104793851B - A kind of suspension button control method of terminal screen - Google Patents

A kind of suspension button control method of terminal screen Download PDF

Info

Publication number
CN104793851B
CN104793851B CN201510205526.8A CN201510205526A CN104793851B CN 104793851 B CN104793851 B CN 104793851B CN 201510205526 A CN201510205526 A CN 201510205526A CN 104793851 B CN104793851 B CN 104793851B
Authority
CN
China
Prior art keywords
terminal screen
interaction mode
suspension button
screen
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510205526.8A
Other languages
Chinese (zh)
Other versions
CN104793851A (en
Inventor
邢山虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING LOCOJOY TECHNOLOGY Co Ltd
Original Assignee
BEIJING LOCOJOY TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING LOCOJOY TECHNOLOGY Co Ltd filed Critical BEIJING LOCOJOY TECHNOLOGY Co Ltd
Priority to CN201510205526.8A priority Critical patent/CN104793851B/en
Publication of CN104793851A publication Critical patent/CN104793851A/en
Application granted granted Critical
Publication of CN104793851B publication Critical patent/CN104793851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of suspension button control method of terminal screen, the method includes:Judge terminal screen whether in interaction mode;If the terminal screen is in interaction mode, the suspension button is placed within screen display range;Otherwise the suspension button is placed in other than screen display range;Alternatively, judge terminal screen whether in interaction mode;If the terminal screen is in interaction mode, suspension button is generated on the terminal screen;Otherwise the suspension button on the terminal screen is deleted.

Description

A kind of suspension button control method of terminal screen
Technical field
This application involves information technology field, specifically, being related to a kind of suspension button control method of terminal screen.
Background technology
At this stage, the amusement function especially game function of intelligent terminal has been the indispensable composition of intelligent terminal Part.And with intelligent terminal operation system improve and hardware configuration it is constantly soaring, the game carried is already not It is easy small planar game again;The performance that intelligent terminal delivery large size 3D plays, in fact already close to being even more than one A little PC machine or handheld device.
But, a key factor for restricting big game development on intelligent terminal is exactly the human-computer interaction of intelligent terminal Space is limited, and operability is not strong.The common feature of big game is exactly playing method complexity, by a large amount of interactive and operation, to use Bring enriching experiences in family.The close handheld device with intelligent terminal volume, the external many physical buttons of meeting, disclosure satisfy that use The operational requirements at family.But for intelligent terminal at this stage, carry out conventional interact with user and rely primarily on touch screen, press Bond number amount is quite few, and for handheld device, operating space is just greatly reduced.
Intelligent terminal is when many big games are run at present, since physical button quantity is inadequate, it has to touch It touches and generates virtual suspension button on screen, so that user is operated.But suspension button is shown always in game process, meeting Occupy the space on touch screen, the serious effect for influencing picture and showing.In addition other than running game, other are for operation The program that property has higher requirements there is also suspension button is excessive, influences the situation of display effect.
It can be seen that the defects of prior art is, showing always on the screen for suspension button seriously affects the display of picture Effect.
Invention content
In view of this, this application provides a kind of suspension button control method of terminal screen, by optimizing suspension button Display mode, with avoid as far as possible suspension button influence screen picture effect.
In order to solve the above-mentioned technical problem, the application has following technical solution:
A kind of suspension button control method of terminal screen, the method includes:
Judge terminal screen whether in interaction mode;
If the terminal screen is in interaction mode, the suspension button is placed within screen display range;
Otherwise the suspension button is placed in other than screen display range.
It is described judge terminal screen whether in interaction mode be specially:
Judge that the terminal screen does not receive the duration of touch signal continuously, if more than preset time threshold;
If when being less than the time threshold, then it is assumed that the terminal screen is in interaction mode;It is otherwise it is assumed that described Terminal screen is not in interaction mode.
It is described to be placed in the suspension button within screen display range specially:
In the plane where the terminal screen, one is taken to be used as original with the point that the terminal screen does not relatively move Point is establishing plane coordinate system;
The coordinate range that the terminal screen is covered in the plane coordinate system, as screen display range;
If the terminal screen is in interaction mode, the coordinate of the suspension button is arranged on the screen display model Within enclosing.
It is described to be otherwise placed in the suspension button other than screen display range specially:
If the terminal screen is not in interaction mode, the coordinate of the suspension button is arranged on the screen display Except range.
A kind of suspension button control method of terminal screen, the method includes:
Judge terminal screen whether in interaction mode;
If the terminal screen is in interaction mode, suspension button is generated on the terminal screen;
Otherwise the suspension button on the terminal screen is deleted.
It is described judge terminal screen whether in interaction mode be specially:
Judge that the terminal screen does not receive the duration of touch signal continuously, if more than preset time threshold;
If when being less than the time threshold, then it is assumed that the terminal screen is in interaction mode;It is otherwise it is assumed that described Terminal screen is not in interaction mode.
The suspension button deleted on the terminal screen is specially:
When the terminal screen is not in interaction mode, and suspension button has been generated on the terminal screen, then delete Except the suspension button.
The suspension button deleted on the terminal screen further includes:
When the terminal screen is not in interaction mode, and does not generate suspension button on the terminal screen, then do not hold Row operation.
Compared with prior art, method described herein has reached following effect:If terminal screen is in certain time model Interior no reception touch signal is enclosed, that is, thinks that the terminal screen is not in interaction mode, and then hide or delete and be not in Suspension button on the terminal screen of interaction mode;It thus avoids in the prior art, suspension button shows and influences to shield always The defects of screen display effect.
Certainly, implementing any product of the application must be not necessarily required to reach all the above technique effect simultaneously.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen Illustrative embodiments and their description please do not form the improper restriction to the application for explaining the application.In the accompanying drawings:
Fig. 1 is the embodiment of the present application the method flow chart;
Fig. 2 is plane coordinate system schematic diagram described in the embodiment of the present application;
Fig. 3 is another embodiment the method flow chart of the application.
Specific embodiment
Some vocabulary has such as been used to censure specific components in specification and claim.Those skilled in the art should It is understood that hardware manufacturer may call same component with different nouns.This specification and claims are not with name The difference of title is used as the mode for distinguishing component, but is used as the criterion of differentiation with the difference of component functionally.Such as logical The "comprising" of piece specification and claim mentioned in is an open language, therefore should be construed to " include but do not limit In "." substantially " refer in receivable error range, those skilled in the art can be described within a certain error range solution Technical problem basically reaches the technique effect.In addition, " coupling " word is herein comprising any direct and indirect electric property coupling Means.Therefore, if it is described herein that a first device is coupled to a second device, then representing the first device can directly electrical coupling It is connected to the second device or the indirectly electrically coupled through other devices or coupling means second device.Specification Subsequent descriptions be implement the application better embodiment, so it is described description be for the purpose of the rule for illustrating the application, It is not limited to scope of the present application.The protection domain of the application is when subject to appended claims institute defender.
It is shown in Figure 1, it is the specific embodiment of herein described method.In the present embodiment, it will be pressed by controlling to suspend The coordinate of button controls the suspension button to hide or show.It the described method comprises the following steps:
Whether step 101 judges terminal screen in interaction mode.
In general, if user is interacted by the suspension button of the terminal screen with terminal, Huo Zhe It was once interacted before one shorter time by the suspension button with terminal, then it is assumed that terminal screen is in interactive shape State, user's button of possible operation suspension at any time., whereas if user is within a certain period of time without operation suspension button, then it is assumed that Terminal screen is not in interaction mode, and the possibility that user operates suspension button at once is smaller.
So in the present embodiment, judge described to judge terminal screen whether in interaction mode in the following manner:Judge The suspension button does not receive the duration of touch signal continuously, if more than preset time threshold;If when being less than State time threshold, then it is assumed that the terminal screen is in interaction mode;Otherwise it is assumed that the terminal screen is not in interaction mode.
Such as, it will be assumed that the time threshold is 10 seconds.That is, if user once operated suspension within 10 seconds Button, then terminal screen be in interaction mode;If user did not operated suspension button more than 10 seconds, terminal screen is not in handing over Mutual state.
If step 102, the terminal screen are in interaction mode, by the suspension button be placed in screen display range with It is interior.
If step 103, the terminal screen are not in interaction mode, the suspension button is placed in screen display range In addition.
The judgement of interaction mode whether is in based on terminal screen, the display of suspension button will be controlled in the present embodiment System.In fact, from the perspective of program, suspension button described in the present embodiment always exists, but can select it It is placed within screen ranges or is placed in other than screen ranges.If the suspension button is placed in other than screen ranges, just etc. In concealing suspension button.
Specifically, one can be taken not relatively moved with the terminal screen in the plane where the terminal screen Point as origin, establishing plane coordinate system.The terminal screen will cover a fixed model in this coordinate system as a result, It encloses, then the coordinate range covered the terminal screen in the plane coordinate system, as screen display range.
With reference to coordinate system shown in Fig. 2, screen display range, that is, x ∈ (0,900) and y ∈ (0,1600) are retouched in the present embodiment Paint rectangle.That is, if the displaing coordinate of any image were within this range, the corresponding positions that just can be displayed on the screen It puts, otherwise can not be shown on screen.
The judgement of interaction mode whether is according to terminal screen, if the terminal screen is in interaction mode, by institute The coordinate for stating suspension button is arranged within the scope of the screen display;It, will if the terminal screen is not in interaction mode The coordinate of the suspension button is arranged on except the screen display range.
That is, in interaction mode, by the setting coordinate for the button that suspends within indication range so that suspension button It shows, can be operated for user in screen.When terminal screen leaves interaction mode, just the coordinate for the button that suspends is changed To except indication range;Change the position of suspension button, suspension button is made to be moved to except screen display range, and reach hidden The effect of Tibetan.If screen comes back to interaction mode, the coordinate of suspension button is changed again, it is made to come back to indication range Within.
Suspension button is hidden when terminal screen is not in interaction mode in the above manner, being realized in the present embodiment. Advantageous effect is existing for the present embodiment:If terminal screen without receiving touch signal, that is, thinks institute in the range of certain time It states terminal screen and is not in interaction mode, and then hide the suspension button being not on the terminal screen of interaction mode;Thus it keeps away Exempt from the prior art, the defects of suspension button shows and influences Showing Effectiveness On Screen always.
Another specific embodiment shown in Figure 3 for herein described method.In the present embodiment, the method includes Following steps:
Whether step 301 judges terminal screen in interaction mode.
In general, if user is interacted by the suspension button of the terminal screen with terminal, Huo Zhe It was once interacted before one shorter time by the suspension button with terminal, then it is assumed that terminal screen is in interactive shape State, user's button of possible operation suspension at any time., whereas if user is within a certain period of time without operation suspension button, then it is assumed that Terminal screen is not in interaction mode, and the possibility that user operates suspension button at once is smaller.
So in the present embodiment, judge described to judge terminal screen whether in interaction mode in the following manner:Judge The suspension button does not receive the duration of touch signal continuously, if more than preset time threshold;If when being less than State time threshold, then it is assumed that the terminal screen is in interaction mode;Otherwise it is assumed that the terminal screen is not in interaction mode.
Such as, it will be assumed that the time threshold is 10 seconds.That is, if user once operated suspension within 10 seconds Button, then terminal screen be in interaction mode;If user did not operated suspension button more than 10 seconds, terminal screen is not in handing over Mutual state.
If step 302, the terminal screen are in interaction mode, suspension button is generated on the terminal screen.
Otherwise step 303 deletes suspension button on the terminal screen.
Different from previous embodiment, suspension button exists always, shown by changing coordinate control suspension button or hidden The scheme of Tibetan;In the present embodiment, suspension button is no longer enabled to exist always.But whether interaction mode is in based on screen, accordingly Generation or delete suspension button.
In the present embodiment, when terminal screen enters interaction mode, then generate suspension button and operated for user, until Terminal screen is detached from interaction mode, then deletes suspension button, avoids influencing the display effect of screen;If terminal screen reenters Interaction mode then generates suspension button again.
Advantageous effect is existing for the present embodiment:If terminal screen is no in the range of certain time to receive touch signal, Think that the terminal screen is not in interaction mode, so delete the suspension that is not on the terminal screen of interaction mode by Button, and regenerate suspension button after terminal screen enters interaction mode;It thus avoids in the prior art, suspension button begins The defects of showing eventually and influencing Showing Effectiveness On Screen.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, apparatus or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
Several preferred embodiments of the application have shown and described in above description, but as previously described, it should be understood that the application Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations, Modification and environment, and the above teachings or related fields of technology or knowledge can be passed through in the scope of the invention is set forth herein It is modified.And changes and modifications made by those skilled in the art do not depart from spirit and scope, then it all should be in this Shen It please be in the protection domain of appended claims.

Claims (4)

1. a kind of suspension button control method of terminal screen, which is characterized in that the method includes:
In the plane where the terminal screen, take one with the point that the terminal screen does not relatively move as origin, Establish plane coordinate system;The coordinate range that the terminal screen is covered in the plane coordinate system, as screen display model It encloses;
Judge terminal screen whether in interaction mode;
If the terminal screen is in interaction mode, by the coordinate of the suspension button be arranged on the screen display range it It is interior;
If the terminal screen is not in interaction mode, the coordinate of the suspension button is arranged on the screen display range Except.
2. method according to claim 1, which is characterized in that described to judge whether terminal screen is specific in interaction mode For:
Judge that the suspension button does not receive the duration of touch signal continuously, if more than preset time threshold;
If when being less than the time threshold, then it is assumed that the terminal screen is in interaction mode;Otherwise it is assumed that the terminal Screen is not in interaction mode.
3. a kind of suspension button control method of terminal screen, which is characterized in that the method includes:
Judge terminal screen whether in interaction mode;
If the terminal screen is in interaction mode, suspension button is generated on the terminal screen;
When the terminal screen is not in interaction mode, and suspension button has been generated on the terminal screen, then institute is deleted State suspension button;
When the terminal screen is not in interaction mode, and does not generate suspension button on the terminal screen, then behaviour is not performed Make.
4. method according to claim 3, which is characterized in that described to judge whether terminal screen is specific in interaction mode For:
Judge that the suspension button does not receive the duration of touch signal continuously, if more than preset time threshold;
If when being less than the time threshold, then it is assumed that the terminal screen is in interaction mode;Otherwise it is assumed that the terminal Screen is not in interaction mode.
CN201510205526.8A 2015-04-28 2015-04-28 A kind of suspension button control method of terminal screen Active CN104793851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510205526.8A CN104793851B (en) 2015-04-28 2015-04-28 A kind of suspension button control method of terminal screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510205526.8A CN104793851B (en) 2015-04-28 2015-04-28 A kind of suspension button control method of terminal screen

Publications (2)

Publication Number Publication Date
CN104793851A CN104793851A (en) 2015-07-22
CN104793851B true CN104793851B (en) 2018-06-26

Family

ID=53558687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510205526.8A Active CN104793851B (en) 2015-04-28 2015-04-28 A kind of suspension button control method of terminal screen

Country Status (1)

Country Link
CN (1) CN104793851B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943551B (en) * 2017-11-14 2020-02-21 维沃移动通信有限公司 Screen display method and mobile terminal
CN108415636A (en) * 2018-01-16 2018-08-17 努比亚技术有限公司 A kind of generation method, mobile terminal and the storage medium of suspension button
CN108536387B (en) * 2018-04-03 2021-03-23 广州视源电子科技股份有限公司 Interaction method and interaction device for suspension control
CN108804153B (en) * 2018-05-21 2021-03-12 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN108958591A (en) * 2018-06-29 2018-12-07 深圳春沐源控股有限公司 Terminal program control method and terminal device based on suspension button
CN109491731B (en) * 2018-09-07 2022-03-22 咪咕文化科技有限公司 Control method and device for suspension button and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508613A (en) * 2011-11-21 2012-06-20 北京播思软件技术有限公司 Method and device for multiplexing screen space of mobile terminal browser
CN104049847A (en) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Information prompt method and system of mobile terminal
CN104123065A (en) * 2014-07-23 2014-10-29 北京乐动卓越科技有限公司 Display method and system of suspended buttons on mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102156617B1 (en) * 2013-02-07 2020-09-16 삼성전자주식회사 Method and apparatus for controlling operation of touch key

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508613A (en) * 2011-11-21 2012-06-20 北京播思软件技术有限公司 Method and device for multiplexing screen space of mobile terminal browser
CN104049847A (en) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Information prompt method and system of mobile terminal
CN104123065A (en) * 2014-07-23 2014-10-29 北京乐动卓越科技有限公司 Display method and system of suspended buttons on mobile terminal

Also Published As

Publication number Publication date
CN104793851A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104793851B (en) A kind of suspension button control method of terminal screen
KR101996978B1 (en) Information processing method, terminal and computer storage medium
US11458390B2 (en) Game controller, and vibration method and vibration apparatus for game controller
US7428708B2 (en) Image processing apparatus and storage medium storing image processing program
US20160232871A1 (en) Display method and display device
CN103064593B (en) The method and apparatus of mobile device desktop icons classification
CN107728905B (en) Bullet screen display method and device and storage medium
CN106792089A (en) Video broadcasting method and device
US10963365B2 (en) System for testing command execution latency within an application
CN103686418A (en) Information processing method and electronic device
US20140121021A1 (en) Method and system for video gaming using input adaptation for multiple input devices
EP3748954A1 (en) Processing method for achieving interactive special effects for video, medium, and terminal apparatus
US11904238B2 (en) System for testing command execution latency within a video game
CN108900771A (en) A kind of method for processing video frequency, device, terminal device and storage medium
CN109045694B (en) Virtual scene display method, device, terminal and storage medium
CN110267718B (en) Game application starting system and method
US20240089543A1 (en) Video processing method and apparatus, device, and storage medium
CN104423938A (en) Information processing method and electronic device
JP6912995B2 (en) Programs, control methods, and information processing equipment
CN105843594A (en) Method and device for displaying application program page of mobile terminal
CN111714875B (en) System for testing command execution delay in video game
CN105763744B (en) A kind of video playing control method of mobile terminal, device and mobile terminal
CN108427505A (en) Sense of touch control method, electronic device and computer readable storage medium
JP5855131B2 (en) Information processing apparatus, information processing method, program, and information storage medium
CN105635832B (en) A kind of method for processing video frequency and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant