CN109865280A - A kind of game touch-control key control method, terminal and computer readable storage medium - Google Patents

A kind of game touch-control key control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109865280A
CN109865280A CN201811458447.8A CN201811458447A CN109865280A CN 109865280 A CN109865280 A CN 109865280A CN 201811458447 A CN201811458447 A CN 201811458447A CN 109865280 A CN109865280 A CN 109865280A
Authority
CN
China
Prior art keywords
game
touch
control key
interface
sensitivity
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
Application number
CN201811458447.8A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811458447.8A priority Critical patent/CN109865280A/en
Publication of CN109865280A publication Critical patent/CN109865280A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of game touch-control key control methods, terminal and computer readable storage medium, it include the terminal of game Touch control key applied to side, this method includes judging whether terminal current display interface is default interface, in this way, determine the corresponding game state of interface, and then the sensitivity of game Touch control key is controlled according to game state, it solves existing user to be easy accidentally to contact game Touch control key during game carries out, the problem of to influence user's game experiencing, the invention also discloses a kind of terminal and computer readable storage mediums, by implementing above scheme, it is controlled by the sensitivity to game Touch control key, it can make under certain game states, when user being avoided accidentally to contact the game Touch control key, the corresponding game operation of false triggering, to ensure that user's game experiencing, improve user Satisfaction.

Description

A kind of game touch-control key control method, terminal and computer readable storage medium
Technical field
The present invention relates to field of mobile terminals, more specifically to a kind of game touch-control key control method, terminal and meter Calculation machine readable storage medium storing program for executing.
Background technique
With the fast development of social horizontal raising and mobile terminal technology, nowadays more and more mobile phone games are rich The rich recreation of people, as intelligent mobile terminal is more more and more universal, the market of mobile phone games becomes more wide.But It is that, equipped with key in customer mobile terminal equipment, user can inevitably lead during carrying out mobile phone games because of maloperation Cause accidentally contacts key, such as king's honor is rolled into a ball wartime, and accidentally touching game Touch control key will lead to finals and shoot exposure suddenly certainly index finger Oneself, so that user active user experience is interrupted, and then influences game effect, greatly the game experiencing of harm users.
Summary of the invention
The technical problem to be solved in the present invention is that existing user is easy accidentally to contact game touch-control during game carries out Key for the technical problem, provides a kind of game touch-control key control method, terminal thus the problem of influencing user's game experiencing And computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of game touch-control key control method, being applied to side includes trip The terminal of play Touch control key, game touch-control key control method include:
Judge whether terminal current display interface is interface;
If so, determining the corresponding game state of interface;
The sensitivity of game Touch control key is controlled according to game state.
Optionally, before determining the current game state of game, comprising:
Judge interface whether be goal-selling game application interface;
If so, determining the corresponding game state of interface.
Optionally, determine that the corresponding game state of interface includes:
Screenshot is carried out to interface based on prefixed time interval;
Characteristic point in screenshot is identified, determines game state.
Optionally, determine that the corresponding game state of interface includes:
Obtain the corresponding resources occupation rate of interface;
Game state is determined according to resources occupation rate.
Optionally, when game state includes scene of game, the sensitivity of game Touch control key is controlled according to game state System, comprising:
According to scene of game and default scene of game-severity mapping table, determine corresponding with scene of game sharp Strong degree;
The sensitivity of game Touch control key is controlled according to severity.
Optionally, the sensitivity of game Touch control key is controlled according to severity, comprising:
Judge whether severity is greater than default severity threshold value;
If not, setting highest for the sensitivity of game Touch control key;
If so, being controlled according to the touch information of game Touch control key the sensitivity of game Touch control key.
Optionally, when game state includes game process, the sensitivity of game Touch control key is controlled according to game state System, comprising:
Judge whether game process belongs to default game process degree range;
If not, setting highest for the sensitivity of game Touch control key;
If so, being controlled according to the touch information of game Touch control key the sensitivity of game Touch control key.
Optionally, touch information includes touch-control area and touch-control pressure, according to the touch information of game Touch control key to game The sensitivity of Touch control key is controlled, comprising:
When touch-control area be greater than preset area threshold value when, and touch-control pressure be greater than preset pressure threshold value when, control game touching Control key responds its corresponding game operation.
Further, the present invention also provides a kind of terminal, terminal side face includes game Touch control key, further include processor, Memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing one or more program stored in memory, to realize game touch-control as described above The step of key control method.
Further, the present invention also provides a kind of computer readable storage medium, computer-readable recording medium storages There is one or more program, one or more program can be executed by one or more processor, as described above to realize Game touch-control key control method the step of.
Beneficial effect
The present invention provides a kind of game touch-control key control method, terminal and computer readable storage medium, for existing use Family is easy accidentally to contact game Touch control key during game carries out, to judge that terminal is worked as the problem of influencing user's game experiencing Whether preceding display interface is default interface, if so, determining the corresponding game state of interface, and then according to game state The sensitivity of game Touch control key is controlled;Game touch-control key control method i.e. provided by the invention can be carried out in game In the process, the sensitivity of game Touch control key is adjusted, no matter the sensitivity relative to existing game Touch control key is any The mode of identical sensitivity is all kept under game state, the present invention is controlled by the sensitivity to game Touch control key, can So that under certain game states, when user being avoided accidentally to contact the game Touch control key, the corresponding game operation of false triggering, from And ensure that user's game experiencing, improve the satisfaction of user.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic diagram for the game Touch control key that first embodiment of the invention provides;
Fig. 4 is the game touch-control key control method basic flow chart that first embodiment of the invention provides;
Fig. 5 is the game touch-control key control method basic flow chart that second embodiment of the invention provides;
Fig. 6 is the game touch-control key control method basic flow chart that third embodiment of the invention provides;
Fig. 7 is the structural schematic diagram for the terminal that fourth embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 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 volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
In order to which existing user is easy accidentally to contact game Touch control key during game carries out, to influence user's game experiencing The problem of, a kind of game touch-control key control method is present embodiments provided, using the terminal for side including game Touch control key, such as Shown in Fig. 3, terminal side is provided with game Touch control key 301, and under scene of game, which has had both holds user The effect with touch-control is held, i.e. user can realize corresponding game operation by the game Touch control key.As shown in figure 4, Fig. 4 is this reality The game touch-control key control basic flow chart of example offer is applied, which includes:
S401, judge whether terminal current display interface is interface, if so, turning S402, if not, turning S401.
It is understood that terminal current display interface is interface when user opens game application, and according to trip Playing, the type applied is different, and corresponding interface is also different, and then for certain game applications, user will not using terminal Game Touch control key on side completes game operation;In the present embodiment, optionally, determining terminal current display interface for trip Play interface after, judge the interface whether be goal-selling game application interface, the goal-selling type of play Game application including the game state with fierceness, including but not limited to sports class game application (such as " king's honor "), (such as " seeking survival danger spot "), class of fighting to the finish game application etc. are applied in first person viewpoint shooting game.
S402, the corresponding game state of interface is determined.
In the present embodiment, according to the difference of interface, the current game state of interface reaction is also different, It is worth noting that, the game state in the present embodiment includes scene of game or game process, which refers to the trip The task degree of progress of play.Such as when interface includes game startup interface, scene of game is starting scene;If game process Total is 100%, and the corresponding game process of game startup interface is 1%;When interface includes game fighting interface, trip Scene of playing is battle scene, and corresponding game process is 50% etc..
Here, being illustrated to the corresponding game state of determining interface.
Mode one: when detect terminal current interface be interface when, to interface carry out screenshot, and then according to cut Scheme to determine its current game state.Specifically, screenshot is carried out to interface based on prefixed time interval, to the spy in the screenshot Sign point is identified, determines game state;Certain prefixed time interval can be arranged by terminal, can also be by user setting, example Such as prefixed time interval is 3s, 5s etc..When getting the screenshot of an interface, by image recognition technology to this section Figure is identified, includes various characteristic points in the screenshot;Such as interface be game store interface when, corresponding feature Point is game role, stage property etc.;When interface is game fighting interface, corresponding characteristic point is battle pk information.At this In embodiment, in order to guarantee that the determining accuracy of game state, every preset time period are that interface carries out the determining trip of screenshot Play state;Such as screenshot is carried out to interface at the first moment and obtains screenshot 1, the second moment after the first moment is to trip Play interface carries out screenshot and obtains screenshot 2, determines its corresponding game state by identify to screenshot 1 and screenshot 2, when When screenshot 1 is consistent with the corresponding game state of screenshot 2, it is determined that current game state;When screenshot 1 and screenshot 2 are respective When corresponding game state is inconsistent, then the third moment after the second moment carries out screenshot to interface, continues to determine The corresponding game state of screenshot 3 judges whether the game state corresponding with screenshot 3 of screenshot 2 is identical.
Mode two: when detecting terminal current interface is interface, the current game interface for obtaining the game is corresponding Terminal resource occupancy (CPU usage), game state is determined according to the resources occupation rate.Such as according to the resources occupation rate With default resources occupation rate-game state mapping table, the corresponding game state of the resources occupation rate is determined.It should be understood that It is that interface shows content, and there are corresponding relationships with resources occupation rate, and the display content of interface is also complicated, corresponding trip Play state is more crucial, fierce, and then its resources occupation rate occupied is higher.In some embodiments, it can be accounted for according to resource Game state is determined with the size of rate, such as when resources occupation rate is lower than default resource occupancy threshold, such as 30%, it is corresponding During game state is not crucial, not fierce game state, such as game process is hero's early period development;Work as resources occupation rate When higher than default resource occupancy threshold, corresponding game state is crucial, fierce game state, such as game process is Technical ability deenergized period.
S403, the sensitivity of game Touch control key is controlled according to game state.
Significantly, since game state includes scene of game or game process, therefore the present embodiment is according to game The detailed process that state controls the sensitivity of game Touch control key is also different, and wherein the sensitivity of game touching refers to ringing Touch-control degree needed for answering game Touch control key, such as when sensitivity highest, as long as the game Touch control key detects user's touch-control, Respond the corresponding game operation of game Touch control key;When sensitivity is minimum, no matter user how the touch-control game Touch control key, not Corresponding game operation can be responded;Or sensitivity it is minimum when, after user's touch-control game Touch control key reaches certain condition, can just respond Corresponding game operation.When game state includes scene of game, according to current game scene and default scene of game-fierceness journey Mapping table is spent, determines the corresponding severity of current game scene, the sensitivity according to severity to game Touch control key It is controlled.The corresponding relationship for wherein presetting scene of game-severity mapping table can be one-to-one relationship, can also It is also many-to-one relationship, as shown in table 1, table 1, which is that a kind of default scene of game-severity provided in this embodiment is corresponding, to close It is table.
Table 1
Default scene of game Severity
Game store scene 0.3
Game fighting scene 1
Game is watched scene 0
In the present embodiment, the severity of scene of game is according to user's history touch-control game Touch control key (including terminal The game Touch control key and virtual Touch control key of side) touch-control frequency determine that such as in game fighting scene, user is in order to more Good movement or attack, can frequently click the game Touch control key of corresponding function, and corresponding scene of game is that sharp column degree is 1; And watch in scene in game, user only watches other people and plays game, can't click the game Touch control key of corresponding function, right The severity answered is 0;In the scene of game store, user only needs to click game touch-control in selected game role, stage property Key, corresponding severity are 0.3.
It is worth noting that, in the present embodiment, user may be because fierce game state and generate and significantly grasp Make, and then accidentally touch game manipulation key, such as the finals in stimulation battlefield, accidentally touching will lead to finals and shoots suddenly cruelly index finger Reveal oneself, and then the experience for bringing game user is very bad, thus in the present embodiment according to severity to game Touch control key It includes: to judge whether the severity is greater than default severity threshold value that sensitivity, which carries out control, if not, showing the scene of game Corresponding is not fierce scene of game, then sets highest for the sensitivity of game Touch control key;The sensitivity is set as most As long as advanced refer to that terminal detects user's touch-control game Touch control key, corresponding game operation is responded;If so, showing The scene of game of the corresponding fierceness of the scene of game, the then sensitivity according to the touch information of game Touch control key to game Touch control key It is controlled.
When game state includes game process, the sensitivity of game Touch control key is controlled according to current game state Including judging whether game process belongs to default game process degree range, if not, setting the sensitivity of game Touch control key to most It is advanced;If so, being controlled according to the touch information of game Touch control key the sensitivity of game Touch control key.Wherein preset game into What extent and scope included is the intermediate process of the game, such as 45%~85%;Intermediate process includes fierce scene of game, is opened Beginning process and end process include not fierce scene of game, such as store scene, end scene;Certainly in some embodiments In, which can also be adjusted flexibly according to the actual conditions of game application.
It is illustrated here, carrying out control to the sensitivity of game Touch control key to the touch information according to game Touch control key. User accidentally touches game Touch control key, game of this implementation to user's touch-control game Touch control key under fierce game state in order to prevent Information is defined, and touch information includes touch-control area and touch-control pressure;When touch-control area is greater than preset area threshold value, and When touch-control pressure is greater than preset pressure threshold value, control game Touch control key responds its corresponding game operation;Its preset area threshold value It can be adjusted flexibly according to the area size of the game Touch control key, when touch-control pressure is greater than preset pressure threshold value, be shown User presses the game Touch control key again.Such as when scene of game is in fierce scene, the game of finger contact terminal side is obtained The area and dynamics of Touch control key, when user's finger touching area is greater than the 2/3 of the game Touch control key region area, and user's weight When by the game Touch control key, game Touch control key responds the touching of user, and executes the corresponding game operation of game Touch control key.? In some embodiments, touch information further includes the touch-control time, and when touching, area is greater than preset area threshold value, touch-control pressure is greater than in advance If pressure threshold, and the touch-control time be greater than preset time threshold when, which just responds touch-control.
A kind of game touch-control key control method is present embodiments provided, includes the end of game Touch control key applied to terminal side face The corresponding scene of game of interface is determined, and then obtain the trip when detecting terminal current interface is interface in end The corresponding severity of scene of playing when scene of game is in fierce scene of game, or works as and determines the corresponding trip of interface When play process is default game process, it is corresponding that controlling terminal detects that the touch information of user's touch-control game Touch control key is greater than When touch area, corresponding game operation is just responded.I.e. for different game states, different game Touch control keys is provided Sensitivity level avoids user under crucial, fierce game state, accidentally contacts game Touch control key, and then lead to user experience Not high problem, while under not fierce game state, the sensitivity adjustment of game Touch control key to highest enables a user to Game operation is fast implemented, ensure that the instantaneity of user experience.
Second embodiment
In order to better understand the present invention, the present embodiment is with a more specific example to game touch-control key control method It is illustrated, as shown in figure 5, Fig. 5 is the game Touch control key control method flow chart that second embodiment of the invention provides, the game Touch control key includes the substantial game Touch control key of terminal side, the implementation of the game Touch control key, herein without limiting.It can be with Understand, it is (new for " four refer to " mode from traditional " two refer to " Mode change that the game Touch control key of terminal side realizes user The operation of two index fingers is increased);And when user is under scene of game, two index fingers have had both gripping and the effect of touch-control, work as place Under fierce scene, for example king's honor is rolled into a ball wartime, and index finger accidentally amplifies under the touching group of will lead to fights in advance recruits, and influences user experience Problem, the present embodiment are accidentally touched by controlling the sensitivity of above-mentioned game Touch control key under fierce scene to avoid user Game Touch control key.The game touch-control key control method includes:
S501, judge whether terminal current display interface is interface, if so, turning 502, if not, turning 501.
In the present embodiment, it is illustrated so that game application is the sports such as " king's honor " class application as an example;I.e. judgement is whole Whether end is currently currently running " king's honor " game application.
S502, each prefixed time interval carry out screenshot to interface, carry out identifying determining scene of game to screenshot.
In the present embodiment, when detecting terminal current display interface is interface, at the first moment to game circle Face carries out screenshot and obtains screenshot 1, and the second moment after the first moment carries out screenshot to interface and obtains screenshot 2, to this Characteristic point in screenshot 1 and screenshot 2 carries out identification and determines corresponding scene of game.Wherein the characteristic point in screenshot refers to Scene of game locating for the screenshot can be distinguished, it is assumed that the characteristic point in screenshot 1 is the multiple game roles being arranged successively, screenshot 2 In characteristic point be the multiple game articles being arranged successively, then can determine that scene of game corresponding to screenshot 1 and screenshot 2 is Game store scene.
S503, its corresponding severity is determined according to current game scene.
It is worth noting that, the corresponding severity of scene of game refer to user under the scene of game, touch-control game The touch-control frequency of Touch control key, the click frequency that user clicks game Touch control key is bigger, then corresponding severity is higher.Certainly right In different scene of game, corresponding severity is different, can be according to current game scene and default scene of game-fierceness journey Mapping table is spent, determines the corresponding severity of the scene of game, as shown in table 1, when scene of game is game store scene When, corresponding severity is 0.3.
S504, judge whether the severity is greater than default severity threshold value, if not, turning S505, if so, turning S506.
It is understood that the scene of game big for severity, user may for can generate significantly operate into And cause accidentally to touch game Touch control key, therefore the present embodiment is by judging whether severity is greater than default severity threshold value come really The fixed sensitivity for how adjusting game Touch control key.When severity is greater than default severity threshold value, show the scene of game For fierce scene;When severity is less than default severity threshold value, show that the scene of game is not fierce scene.
S505, set highest for the sensitivity of game Touch control key.
When scene of game is in not fierce state, such as king's honor purchase equipment or early period heroic puberty Between, the sensitivity of game Touch control key is set as highest, and the superlative degree of the sensitivity refers to detecting user's touch-control when terminal When the game Touch control key, then directly corresponding touching.
S506, the sensitivity of game Touch control key is controlled according to the touch information of game Touch control key.
When scene of game is in fierce scene, such as group's war of king's honor, obtain finger contact game Touch control key The dynamics of area and finger contact game Touch control key, when the area of finger touching game Touch control key is greater than preset threshold, finger touching When touching the dynamics of game Touch control key greater than preset threshold, game Touch control key just responds the touching.
The present embodiment is illustrated game touch-control key control method with a more specific example, detects that terminal is worked as When front interface is interface, screenshot is carried out to interface at regular intervals and works as trip according to screenshot to determine scene of game Play scene is in not fierce state, sets highest for the sensitivity of game Touch control key;When scene of game is in fierce field Scape obtains the area of finger contact game Touch control key and the dynamics of finger contact game Touch control key, when finger touches game touch-control The area of key is greater than preset threshold, and when the dynamics that finger touches game Touch control key is greater than preset threshold, game Touch control key is just responded Touching, so that user, even if accidentally contacting the game Touch control key, is only unsatisfactory for touch information just not under fierce scene of game Touching can be responded, the corresponding game operation of user's false triggering is avoided, improves the experience sense of user.
3rd embodiment
The present embodiment provides a kind of game touch-control key control methods, as shown in fig. 6, to be based on game process to game touch-control The sensitivity of key is illustrated for being controlled, which is applied to terminal side and is provided with Touch control key Terminal, which includes:
Whether S601, detection terminal open game mode, if so, turning S602, if not, turning S601.
In the present embodiment, after terminal opens the game mode, which may be implemented the corresponding behaviour of game Make.
S602, game currently corresponding resources occupation rate is obtained, current game process is determined according to the resources occupation rate.
It is understood that corresponding resources occupation rate is also different according to the difference of game process;Such as it does at some When the game of task, with the propulsion of game process, task difficulty is higher, and then its interface is more complicated, corresponding money Source occupancy is higher.In the present embodiment, some game application is carried out in process division, such as " seeking survival danger spot " game Select course, corresponding game process is 20% before the parachute jumping stage, and resources occupation rate is lower than 30%;Pick up and use object Product stage corresponding game process is 20%~50%, and resources occupation rate belongs to 30%~50%, the corresponding trip of firing phase Play process is 50%~70%, and wherein resources occupation rate is 50%~80%;Its finals stage corresponding game process is 70%~90%, wherein resources occupation rate is 50%~100%.
S603, judge whether the game process belongs to default game process degree range, if so, turning S604, if not, turning S605。
In the present embodiment, by determining the difficulty of going game task to the judgement of game process, Mission Objective is difficult Degree is higher, then game is fiercer;When game process belongs to default game process degree range, game is in fierce state;It can Choosing, what which included is the intermediate process of the game, such as 45%~85%.
S604, set highest for the sensitivity of game Touch control key.
When terminal detects user's touch-control game Touch control key, then corresponding game operation is directly accordingly touched.
S605, the sensitivity of game Touch control key is controlled according to the touch information of game Touch control key.
In the present embodiment, touch information includes touch-control area, touch-control pressure and touch-control time;When touch information is greater than respectively When the corresponding touch-control threshold value of kind, terminal just responds the corresponding game operation of game Touch control key.
A kind of game touch-control key control method is present embodiments provided, detects that terminal opens game mode, passes through acquisition The current corresponding resources occupation rate of game, and then current game process is determined according to the resources occupation rate, and in game process When to preset game process, controlling terminal detects that the touch information of user's touch-control game Touch control key is greater than corresponding Touch Zone When domain, corresponding game operation is just responded;Otherwise, set highest for the sensitivity of the game Touch control key, so that game is touched The sensitivity of control key changes with game process, prevents to some extent user because accidentally touching game Touch control key due to mistake The problem of triggering game operation improves the game experiencing of user.
Fourth embodiment
Embodiment improves a kind of terminal, which includes the game Touch control key for realizing game operation.Such as Shown in Fig. 7, which further includes processor 701, memory 702 and communication bus 703, in which:
Communication bus 703 is for realizing the connection communication between processor 701 and memory 702;
Processor 701 is for executing one or more program stored in memory 702, to realize following steps:
Judge whether terminal current display interface is interface;
If so, determining the corresponding game state of interface;
The sensitivity of game Touch control key is controlled according to game state.
In the present embodiment, processor 701 can also judge game before determining the corresponding game state of interface Interface whether be goal-selling game application interface;Goal-selling game application includes sports class, fights in class application At least one;If so, determining the corresponding game state of interface.It is understood that sports class, battle class are using presence Fierce game picture.
Determine the corresponding game state of interface can by the characteristic point of interface determine, such as based on it is default when Between interval to interface carry out screenshot;Characteristic point in screenshot is identified, determines game state.In some embodiments In, it is also based on the occupied resources occupation rate of game and determines, such as obtain the corresponding resources occupation rate of interface;According to Resources occupation rate determines game state.
In the present embodiment, game state includes scene of game or game process, when game state includes scene of game, The sensitivity of game Touch control key is controlled according to game state, comprising: according to scene of game and default scene of game-fierceness Degree mapping table determines severity corresponding with scene of game;Sensitivity according to severity to game Touch control key It is controlled.Further, judge whether severity is greater than default severity threshold value;If not, by the spirit of game Touch control key Sensitivity is set as highest;If so, being controlled according to the touch information of game Touch control key the sensitivity of game Touch control key.When When game state includes game process, the sensitivity of game Touch control key is controlled according to game state, comprising: judge game Whether process belongs to default game process degree range;If not, setting highest for the sensitivity of game Touch control key;If so, according to The touch information of game Touch control key controls the sensitivity of game Touch control key.
Optionally, touch information includes touch-control area and touch-control pressure, according to the touch information of game Touch control key to game The sensitivity of Touch control key is controlled, comprising: when touch-control area is greater than preset area threshold value, and touch-control pressure is greater than default pressure When force threshold, control game Touch control key responds its corresponding game operation.
It is worth noting that, not fully expounding first embodiment, second in the present embodiment in fact in order not to burden explanation Apply example, all examples in 3rd embodiment, it is understood that, first embodiment, second embodiment, in 3rd embodiment All examples are suitable for the present embodiment.
The present embodiment also provides a kind of computer readable storage medium, computer-readable recording medium storage have one or Multiple programs, one or more program can be executed by one or more processor, to realize above-mentioned first embodiment, second Each step of game operation method in embodiment, 3rd embodiment.
The present invention provides a kind of terminal and computer readable storage medium, for realizing the game touch-control in above-described embodiment Key control method, by judging whether terminal current display interface is default interface, if so, determining that interface is corresponding Game state, and then the sensitivity of game Touch control key is controlled according to game state;Game touch-control i.e. provided by the invention Key control method can be adjusted the sensitivity of game Touch control key, during game carries out relative to existing game No matter the sensitivity of Touch control key all keeps the mode of identical sensitivity under any game state, and the present invention is by touching game The sensitivity of control key is controlled, and can be made under certain game states, when user being avoided accidentally to contact the game Touch control key, accidentally Corresponding game operation is triggered, to ensure that user's game experiencing, improves the satisfaction of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of game touch-control key control method, which is characterized in that include the terminal of game Touch control key, the trip applied to side Play touch-control key control method include:
Judge whether the terminal current display interface is interface;
If so, determining the corresponding game state of the interface;
The sensitivity of the game Touch control key is controlled according to the game state.
2. game touch-control key control method as described in claim 1, which is characterized in that the current trip of the determination game Before play state, comprising:
Judge the interface whether be goal-selling game application interface;
If so, determining the corresponding game state of the interface.
3. game touch-control key control method as claimed in claim 2, which is characterized in that the determination interface is corresponding Game state include:
Screenshot is carried out to the interface based on prefixed time interval;
Characteristic point in the screenshot is identified, determines the game state.
4. game touch-control key control method as claimed in claim 2, which is characterized in that the determination interface is corresponding Game state include:
Obtain the corresponding resources occupation rate of the interface;
The game state is determined according to the resources occupation rate.
5. game touch-control key control method as described in claim 1, which is characterized in that the game state includes scene of game When, the sensitivity of the game Touch control key is controlled according to the game state, comprising:
According to scene of game and default scene of game-severity mapping table, determine corresponding with the scene of game sharp Strong degree;
The sensitivity of the game Touch control key is controlled according to the severity.
6. game touch-control key control method as claimed in claim 5, which is characterized in that it is described according to the severity to institute The sensitivity for stating game Touch control key is controlled, comprising:
Judge whether the severity is greater than default severity threshold value;
If not, setting highest for the sensitivity of the game Touch control key;
If so, being controlled according to the touch information of the game Touch control key the sensitivity of the game Touch control key.
7. game touch-control key control method as described in claim 1, which is characterized in that the game state includes game process When, it is described that the sensitivity of the game Touch control key is controlled according to the game state, comprising:
Judge whether the game process belongs to default game process degree range;
If not, setting highest for the sensitivity of the game Touch control key;
If so, being controlled according to the touch information of the game Touch control key the sensitivity of the game Touch control key.
8. game touch-control key control method as claimed in claims 6 or 7, which is characterized in that the touch information includes touch-control Area and touch-control pressure, the touch information according to the game Touch control key control the sensitivity of the game Touch control key System, comprising:
When the touch-control area be greater than preset area threshold value when, and the touch-control pressure be greater than preset pressure threshold value when, control institute It states game Touch control key and responds its corresponding game operation.
9. a kind of terminal, which is characterized in that the terminal side face includes game Touch control key, and the terminal further includes processor, deposits Reservoir and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8 Described in one the step of game touch-control key control method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8 Any one of described in game touch-control key control method the step of.
CN201811458447.8A 2018-11-30 2018-11-30 A kind of game touch-control key control method, terminal and computer readable storage medium Pending CN109865280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811458447.8A CN109865280A (en) 2018-11-30 2018-11-30 A kind of game touch-control key control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811458447.8A CN109865280A (en) 2018-11-30 2018-11-30 A kind of game touch-control key control method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109865280A true CN109865280A (en) 2019-06-11

Family

ID=66917024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811458447.8A Pending CN109865280A (en) 2018-11-30 2018-11-30 A kind of game touch-control key control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109865280A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110960860A (en) * 2019-11-28 2020-04-07 腾讯科技(深圳)有限公司 Sensitivity setting method and apparatus, storage medium, and electronic apparatus
CN113813593A (en) * 2021-08-11 2021-12-21 RealMe重庆移动通信有限公司 Terminal game control method and device, storage medium and terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937868A (en) * 2012-11-21 2013-02-20 东莞宇龙通信科技有限公司 Terminal and method for adjusting sensitivity of touch key
CN103135872A (en) * 2011-12-01 2013-06-05 现代摩比斯株式会社 Control method for touch sensitivity of capacitive touch screen and display device using the same
CN103699320A (en) * 2012-09-27 2014-04-02 华为终端有限公司 Method and device for setting touch screen parameter value
CN104182145A (en) * 2014-08-22 2014-12-03 广东欧珀移动通信有限公司 Method and device for preventing faulty operation of touch screen and mobile equipment
CN105630151A (en) * 2015-10-30 2016-06-01 东莞酷派软件技术有限公司 Response sensitivity adjustment method and apparatus for mobile terminal and mobile terminal
CN107329757A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Mobile terminal key adaptive approach, mobile terminal and readable storage medium storing program for executing
CN108287611A (en) * 2018-04-24 2018-07-17 努比亚技术有限公司 Screen touch-control response method, terminal and computer storage media
CN108479066A (en) * 2018-04-08 2018-09-04 努比亚技术有限公司 False-touch prevention method, mobile terminal and computer readable storage medium
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108646948A (en) * 2018-05-17 2018-10-12 Oppo广东移动通信有限公司 Adjusting method, device, storage medium and the electronic equipment of touch controlled key sensitivity

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135872A (en) * 2011-12-01 2013-06-05 现代摩比斯株式会社 Control method for touch sensitivity of capacitive touch screen and display device using the same
CN103699320A (en) * 2012-09-27 2014-04-02 华为终端有限公司 Method and device for setting touch screen parameter value
CN102937868A (en) * 2012-11-21 2013-02-20 东莞宇龙通信科技有限公司 Terminal and method for adjusting sensitivity of touch key
CN104182145A (en) * 2014-08-22 2014-12-03 广东欧珀移动通信有限公司 Method and device for preventing faulty operation of touch screen and mobile equipment
CN105630151A (en) * 2015-10-30 2016-06-01 东莞酷派软件技术有限公司 Response sensitivity adjustment method and apparatus for mobile terminal and mobile terminal
CN107329757A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Mobile terminal key adaptive approach, mobile terminal and readable storage medium storing program for executing
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108479066A (en) * 2018-04-08 2018-09-04 努比亚技术有限公司 False-touch prevention method, mobile terminal and computer readable storage medium
CN108287611A (en) * 2018-04-24 2018-07-17 努比亚技术有限公司 Screen touch-control response method, terminal and computer storage media
CN108646948A (en) * 2018-05-17 2018-10-12 Oppo广东移动通信有限公司 Adjusting method, device, storage medium and the electronic equipment of touch controlled key sensitivity

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110960860A (en) * 2019-11-28 2020-04-07 腾讯科技(深圳)有限公司 Sensitivity setting method and apparatus, storage medium, and electronic apparatus
CN110960860B (en) * 2019-11-28 2020-12-11 腾讯科技(深圳)有限公司 Sensitivity setting method and apparatus, storage medium, and electronic apparatus
CN113813593A (en) * 2021-08-11 2021-12-21 RealMe重庆移动通信有限公司 Terminal game control method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN109218800A (en) A kind of barrage information display method, terminal and computer readable storage medium
CN109376705A (en) Dance training methods of marking, device and computer readable storage medium
CN109407957A (en) Screen touch control method, terminal and computer readable storage medium
CN108829328A (en) A kind of game operation method, terminal and computer readable storage medium
CN108479066A (en) False-touch prevention method, mobile terminal and computer readable storage medium
CN108926840A (en) Game control method, mobile terminal and computer readable storage medium
CN109284065A (en) Key false-touch prevention method, apparatus, mobile terminal and readable storage medium storing program for executing
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN108553896A (en) A kind of status information display control method, terminal and computer readable storage medium
CN110531919A (en) A kind of fingerprint touch-control mapping control method, terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN108771861A (en) A kind of game control method, mobile terminal and computer readable storage medium
CN109621416A (en) Auxiliary game method, mobile terminal and computer-readable storage media
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN109739346A (en) A kind of key simulating method, double screen terminal and computer readable storage medium
CN109739630A (en) Game switching method, mobile terminal and computer readable storage medium
CN109271227A (en) False-touch prevention method, apparatus and computer readable storage medium
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing
CN108762926A (en) A kind of system optimization method, terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108363479A (en) A kind of terminal display screen control method, terminal and computer readable storage medium
CN108259658A (en) Flexible screen terminal and its electricity based reminding method, computer readable storage medium
CN108156325A (en) A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium
CN109621410A (en) A kind of game control method, terminal and computer readable storage medium
CN110099165A (en) A kind of notification message replys control method, terminal and computer readable 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: 20190611