CN108525288A - Processing method, device, storage medium and the electronic device of touch information - Google Patents

Processing method, device, storage medium and the electronic device of touch information Download PDF

Info

Publication number
CN108525288A
CN108525288A CN201810301166.5A CN201810301166A CN108525288A CN 108525288 A CN108525288 A CN 108525288A CN 201810301166 A CN201810301166 A CN 201810301166A CN 108525288 A CN108525288 A CN 108525288A
Authority
CN
China
Prior art keywords
touch
control
information
control operation
game
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
CN201810301166.5A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810301166.5A priority Critical patent/CN108525288A/en
Publication of CN108525288A publication Critical patent/CN108525288A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6045Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Abstract

The embodiment of the present application discloses a kind of processing method of touch information, device, storage medium and electronic device, wherein the embodiment of the present application obtains touch information by the touch-control sensing module being arranged on electronic device frame;Touch information is analyzed, determines the touch control operation of touch information instruction;Game database is matched according to touch control operation, to obtain the corresponding game control parameters of touch control operation;Game control parameters are loaded, game element is made to execute corresponding operation.Touch control operation input by user can be obtained with this by the touch-control sensing module on frame, game database is matched according to touch control operation, obtain corresponding game control parameters, and it loads game control parameters and corresponding control is executed to game element, the diversity of electronic device control is improved, and then improves the control efficiency of electronic device.

Description

Processing method, device, storage medium and the electronic device of touch information
Technical field
This application involves electronic device control technology field more particularly to a kind of processing method of touch information, device, deposit Storage media and electronic device.
Background technology
Currently, with the continuous development of electronic device technology, the function of electronic device such as mobile phone is stronger and stronger, Yong Huke Easily to realize the various functions such as electronic business transaction, amusement by mobile phone, for example, user can be played by point touching screen Touch control realizes mobile phone games function.
However, requirement of the existing mobile phone games to manipulation is higher and higher, the side of touch control is only carried out by touch screen Formula is relatively simple, control it is less efficient.
Invention content
The embodiment of the present application provides a kind of processing method of touch information, device, storage medium and electronic device, Ke Yiti Rise the control efficiency of electronic device.
In a first aspect, the embodiment of the present application provides a kind of processing method of touch information, it is applied in electronic device, It is provided with touch-control sensing module on the frame of the electronic device, the treating method comprises:
Touch information is obtained by the touch-control sensing module;
The touch information is analyzed, determines the touch control operation of the touch information instruction;
Game database is matched according to the touch control operation, to obtain the corresponding game control parameters of the touch control operation;
The game control parameters are loaded, game element is made to execute corresponding operation.
Second aspect, a kind of processing unit for the touch information that the embodiment of the present application provides, including:
Acquisition module, for obtaining touch information by the touch-control sensing module;
Determining module determines the touch control operation of the touch information instruction for analyzing the touch information;
Matching module, it is corresponding to obtain the touch control operation for matching game database according to the touch control operation Game control parameters;
Load-on module makes game element execute corresponding operation for loading the game control parameters.
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer When program is run on computers so that the computer executes the processing of the touch information provided such as the application any embodiment Method.
Fourth aspect, electronic device provided by the embodiments of the present application, including processor and memory, the memory have meter Calculation machine program, which is characterized in that the processor is by calling the computer program, for executing such as any implementation of the application The processing method for the touch information that example provides.
5th aspect, electronic device provided by the embodiments of the present application, including shell, touch-control sensing module and processor, The touch-control sensing module includes pressure sensor;
On the housing, the front of the touch-control sensing module is used to press for user for the touch-control sensing module setting Deformation is generated, the pressure sensor is arranged at the back side of the touch-control sensing module for detecting the touch-control sensing module institute The pressing force of transmission, the pressure sensor are electrically connected with the processor, and the processor executes following steps:
Touch information is obtained by the touch-control sensing module;
The touch information is analyzed, determines the touch control operation of the touch information instruction;
Game database is matched according to the touch control operation, to obtain the corresponding game control parameters of the touch control operation;
The game control parameters are loaded, game element is made to execute corresponding operation.
The embodiment of the present application obtains touch information by the touch-control sensing module being arranged on electronic device frame;Analysis is touched Information is controlled, determines the touch control operation of touch information instruction;Game database is matched according to touch control operation, to obtain touch control operation pair The game control parameters answered;Game control parameters are loaded, game element is made to execute corresponding operation.It can be by frame with this Touch-control sensing module obtain touch control operation input by user, game database is matched according to touch control operation, obtains corresponding trip Play control parameter, and load game control parameters and corresponding control is executed to game element, improve the more of electronic device control Sample, and then improve the control efficiency of electronic device.
Description of the drawings
Below in conjunction with the accompanying drawings, by the specific implementation mode detailed description to the application, the technical solution of the application will be made And other beneficial effects are apparent.
Fig. 1 is the structural schematic diagram of electronic device provided by the embodiments of the present application.
Fig. 2 is another structural schematic diagram of electronic device provided by the embodiments of the present application.
Fig. 3 is the schematic diagram of touch-control sensing module provided by the embodiments of the present application.
Fig. 4 is the schematic diagram of touch-control sensing modular circuit provided by the embodiments of the present application.
Fig. 5 is the flow diagram of the processing method of touch information provided by the embodiments of the present application.
Fig. 6 is another flow diagram of the processing method of touch information provided by the embodiments of the present application.
Fig. 7 is the module diagram of the processing unit of touch information provided by the embodiments of the present application.
Fig. 8 is another module diagram of the processing unit of touch information provided by the embodiments of the present application.
Fig. 9 is the another structural schematic diagram of electronic device provided by the embodiments of the present application.
Figure 10 is an also structural schematic diagram for electronic device provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to be executed in the arithmetic system as.It is somebody's turn to do herein not Same component, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And the device and method being somebody's turn to do herein is excellent Being implemented in the form of software for choosing, can also be implemented on hardware, certainly within the application protection domain.
Concrete analysis explanation is carried out below.
In the present embodiment, the angle of the processing unit from touch information is described, the processing dress of the touch information Electronic device can be specifically integrated in by setting, such as mobile phone, tablet computer, palm PC (PDA, Personal Digital Assistant) etc..
With reference to figure 1, Fig. 1 is the structural schematic diagram of electronic device provided by the embodiments of the present application.Wherein, electronic device 100 Including cover board 10, display screen 20, circuit board 30 and shell 40.
Cover board 10 is installed on display screen 20, to cover display screen 20.Cover board 10 can be transparent glass cover plate.At some In embodiment, cover board 10 can be the glass cover-plate made of the materials such as sapphire.
Display screen 20 is mounted on shell 40, to form the display surface of electronic device 100.In some embodiments, it shows Screen 20 includes display area 21 and non-display area 22.Wherein, display area 21 is for showing the information such as image, text.It is non-aobvious Show that region 22 does not show information.Non-display area 22 can be used for being arranged some functional units, such as camera, fingerprint recognition mould The functional units such as group.In some embodiments, which may include spaced multiple regions.For example, non- Display area 22 may include positioned at two regions of 21 upper and lower part of display area.
In some embodiments, display screen 20 can be displayed in full screen.That is, display screen 20 only includes display area 21, and Do not include non-display area, as shown in Figure 2.
In some embodiments, display screen 20 can be liquid crystal display (Liquid Crystal Display, LCD) or Person's organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).
Circuit board 30 is mounted on inside shell 40.Circuit board 30 can be the mainboard of electronic device 100.It can on circuit board 30 To be integrated with the functional units such as camera and processor.Meanwhile display screen 20 can be electrically connected to circuit board 30.
In some embodiments, it is provided with display control circuit on circuit board 30.The display control circuit is to display screen 20 Electric signal is exported, information is shown with control display screen 20.
Shell 40 is used to form the exterior contour of electronic device 100.The material of shell 40 can be plastics or metal.Shell 40 can be integrally formed.Multiple frames 41 are formed on the periphery of the shell 40, and touch-control sensing module is provided on the frame 41, it should Touch-control sensing module 41 is electrically connected with circuit board 30, for detecting the touch-control pressure value generated on the frame 41, and works as touch-control pressure When force value is more than predetermined threshold value, touch information is obtained.
In one embodiment, the full-bridge circuit group which can be made of four resistance At to by this be set to the full-bridge circuit on the outline border 41 of electronic device 100, being generated micro- in 41 depressed power of outline border When small deformation, bridge resistor judges the size for applying pressing force according to the variation of a pair of of resistance voltage difference of the two ends.
In the present embodiment, as shown in figure 3, when full-bridge circuit is by the identical varistor R1 of end to end resistance value, electricity When hindering R2, resistance R3 and resistance R4 compositions, when varistor does not have depressed force effect, all resistance values are in electric bridge Equal, the resistance value of two opposite resistance increases, and the resistance value of other two resistance will reduce, to turn the variable quantity of voltage It is changed to corresponding voltage value, to know the size of pressing force according to the variation of voltage value.
For example, as shown in figure 4, when the value of the resistance of resistance R2 and resistance R3 receives pressing force and reduces 1%, electricity The value of resistance R1 and resistance R4 then increases by 1%, then two " in " voltage value between point will become 2% from 0, it in turn, can be by the electricity Amplified sensor output voltage is converted to number by pressure value by ADC in turn by the level of enhanced processing to suitable ADC Formula, then the controller in circuit board or DSP processing are given, know current pressing force.
Referring to Fig. 5, Fig. 5 is the flow diagram of the processing method of touch information provided by the embodiments of the present application.Specifically For, this method includes:
In step S101, touch information is obtained by touch-control sensing module.
It should be noted that the touch-control sensing module is arranged on the frame of electronic device, and in electronic device Circuit board connects, for incuding the touch-control pressure value on frame.
Wherein it is possible to the second touch-control pressure value on frame is incuded by the touch-control sensing module being set on frame, when When the second touch-control pressure value is more than certain threshold value, it is determined as primary effective touch-control, executes to obtain by touch-control sensing module and touch The step of controlling information.
In one embodiment, the step of touch information should being obtained by touch-control sensing module, may include:
(1) the second touch-control pressure value is incuded by the touch-control sensing module;
(2) when the second touch-control pressure value is more than the second predetermined threshold value, touch information is obtained.
Wherein, when user's hand-hold electronic device is played, when by finger touch frame, the touch-control sensing module meeting It is corresponding to incude the second touch-control pressure value, and the second touch-control pressure value is detected.Second predetermined threshold value defines for one Value, takes appropriate numerical value, when the second touch-control pressure value is more than second predetermined threshold value, is determined as primary effective touch-control, and obtain Take the touch information.When the second touch-control pressure value is less than second predetermined threshold value, it is determined as invalid touch-control, ignores the touch-control Event.
In step s 102, touch information is analyzed, determines the touch control operation of touch information instruction.
Wherein, electronic device is by analyzing the touch information, when touch information is designated as the touch-control of a point, i.e. touch-control When touch-control pressure value group in information is one group of touch-control pressure value, judge that the touch control operation of touch information instruction is to click touch-control Operation.When touch information is designated as the touch-control of multiple points, i.e., the touch-control pressure group in touch information is multigroup touching pressure value When, judge that the touch control operation of touch information instruction operates for sliding touch.
In one embodiment, the analysis touch information, determine touch information instruction touch control operation the step of, can wrap It includes:
(1) touch information is analyzed, to obtain the touch action of touch information instruction;
(2) when the touch action is point touch-control, determine that the touch control operation of touch information instruction is to click touch control operation;
(3) when the touch action is face touch-control, determine that the touch control operation of touch information instruction operates for sliding touch.
Wherein, analyze touch information, according to the touch point indicated in touch information for single-point trigger or multiple spot triggering come Determine the touch control operation of touch information instruction.
Such as when the touch point of touch information instruction is to click triggering, i.e., only there are one one groups that touch point obtains Touch-control pressure value illustrates that the touch control operation of user is to click touch control operation, determines that the touch control operation of touch information instruction is point Hit touch control operation.When the touch point of touch information instruction is that multiple spot triggers, that is, there is multigroup touch-control pressure that multiple touch points obtain Force value illustrates that the touch control operation of user operates for sliding touch, determines that the touch control operation of touch information instruction is sliding touch Operation.Further include glide direction information in sliding touch operation.
In one embodiment, the step of touch control operation of determination touch information instruction is click touch control operation, can To include:
(1.1) the corresponding first touch-control pressure value of the touch-control is obtained;
(1.2) detect whether the corresponding first touch-control pressure value of the touch-control is more than the first predetermined threshold value;
Wherein, when detecting that the corresponding first touch-control pressure value of the touch-control is more than first predetermined threshold value, step is executed Suddenly (1.3).When detecting that the corresponding first touch-control pressure value of the touch-control is not more than first predetermined threshold value, step is executed (1.4)。
(1.3) determine that the touch control operation of touch information instruction is the first click touch control operation;
(1.4) determine that the touch control operation of touch information instruction is the second click touch control operation.
Wherein, when it is point touch-control to determine touch action, the corresponding first touch-control pressure value of the touch-control can be obtained.Inspection Survey whether the first touch-control pressure value is more than the first predetermined threshold value, which is to define the critical value of strength, When detecting that the corresponding first touch-control pressure value of the touch-control is more than first predetermined threshold value, illustrate the dynamics ratio of the touch-control It is larger, determine that the touch control operation of touch information instruction is the first click touch control operation (such as bang touch control operation).When detecting When the corresponding first touch-control pressure value of the touch-control is not more than first predetermined threshold value, illustrate that the dynamics of the touch-control is smaller, Determine that the touch control operation of touch information instruction is the second touch control operation (such as tap touch control operation).
In step s 103, game database is matched according to touch control operation, is controlled with obtaining the corresponding game of touch control operation Parameter.
Wherein, the corresponding game control parameters of the touch control operation are stored in the game database, are such as played in gunbattle class In, which is firing operation, such as in the game of host class, sliding touch operation Corresponding game control parameters can be conversion current visual angle.
Further, the touching on frame obtained according to the touch-control sensing module operates, and matches game database, can be with Obtain the corresponding game control parameters of the touch control operation.
In step S104, game control parameters are loaded, game element is made to execute corresponding operation.
Wherein, which is loaded into game by electronic device so that game element (such as game role, trip Play window) according to the corresponding operation of game control parameters execution.It realizes in addition to touch screen controls game element, it can be with The control to game element is realized using frame touch-control so that user can be controlled better sense, improve electronic device Control efficiency.
It can be seen from the above, a kind of processing method of touch information provided in this embodiment, by being arranged on electronic device side Touch-control sensing module on frame obtains touch information;Touch information is analyzed, determines the touch control operation of touch information instruction;According to tactile Control operation matching game database, to obtain the corresponding game control parameters of touch control operation;Game control parameters are loaded, game is made Element executes corresponding operation.Touch control operation input by user, root can be obtained with this by the touch-control sensing module on frame Game database is matched according to touch control operation, obtains corresponding game control parameters, and load game control parameters to game element Corresponding control is executed, the diversity of electronic device control is improved, and then improves the control efficiency of electronic device.
According to method described in above-described embodiment, citing is described in further detail below.
Referring to Fig. 6, Fig. 6 is another flow diagram of the processing method of touch information provided by the embodiments of the present application.
Specifically, this method includes:
In step s 201, frame is divided into multiple touch areas, each touch area is associated with corresponding note.
Wherein it is possible to frame is divided into multiple touch areas, for example the left and right ends of frame are respectively arranged one and touch on the right Touch region so that for user in transverse screen, left hand or the right hand can carry out touch area touching operation, and operating efficiency is high.
Further, can be that each touch area is associated with corresponding note so that the user Touch Zone different in touch-control When domain, display elements can be coordinated to carry out multi-faceted displaying by the broadcasting of different notes.
In step S202, the second touch-control pressure value is incuded by touch-control sensing module.
Wherein, when user's finger touch-control is to the touch-control sensing module, which can incude second touch-control Pressure value.
In step S203, when the second touch-control pressure value is more than the second predetermined threshold value, touch information is obtained.
Wherein, which defines value for one, when the second touch-control pressure value is more than second predetermined threshold value, Be determined as primary effective touch-control, effective touch-control can be click touch-control or sliding touch, and the touch-control sensing module according to Effective touch-control obtains corresponding touch information.
In step S204, touch information is analyzed, to obtain the touch action of touch information instruction.
Wherein, the touch information is analyzed, when touch information is designated as the touch-control of a touch point, i.e., in touch information only Including when one group of touch-control pressure value, judge that the touch control operation of touch information instruction is a touch-control.
In one embodiment, the touch information is analyzed, when touch information is designated as the touch-control of multiple touch points, that is, is touched It includes multigroup touch-control pressure value to control in information, judges that the touch control operation of touch information instruction is face touch-control.
In step S205, when touch action is point touch-control, the corresponding first touch-control pressure value of point touch-control is obtained.
Wherein, when touch action is point touch-control, the corresponding first touch-control pressure value of the touch point can be obtained, this first Touch-control pressure value is bigger, illustrates that the dynamics that user clicks is bigger, and the first touch-control pressure value is smaller, illustrates the dynamics that user clicks It is smaller.
In step S206, whether the corresponding first touch-control pressure value of test point touch-control is more than the first predetermined threshold value.
Wherein, when detecting that the corresponding first touch-control pressure value of a touch-control is more than the first predetermined threshold value, step is executed S207;When detecting that the corresponding first touch-control pressure value of a touch-control is not more than the first predetermined threshold value, step S208 is executed.
In step S207, determine that the touch control operation of touch information instruction is the first click touch control operation.
Wherein, when detecting that the corresponding first touch-control pressure value of a touch-control is more than the first predetermined threshold value, illustrate the touch-control Pressure value is larger, determines that the touch control operation of touch information instruction is the first click touch control operation (such as bang touch control operation).
In step S208, determine that the touch control operation of touch information instruction is the second click touch control operation.
Wherein, when detecting that the corresponding first touch-control pressure value of a touch-control is not more than the first predetermined threshold value, illustrate that this is touched Pressure control force value is smaller, determines that the touch control operation of touch information instruction is the second click touch control operation (such as tap touch control operation).
In one embodiment, when touch action is face touch-control, detect that the priority of touch-control dynamics is suitable according to touch point Sequence determines glide direction, determines that the touch control operation of touch information instruction is the sliding touch operation with glide direction.
In step S209, game database is matched according to touch control operation, is controlled with obtaining the corresponding game of touch control operation Parameter.
Wherein, the incidence relation of the touch control operation and corresponding game control parameters can be preserved in the game database, often One touch control operation meeting one game control parameters of Corresponding matching so that user can input touch control operation according to the incidence relation, come Obtain corresponding game control parameters.In detail as shown in table 1:
Table 1
Touch control operation Game control parameters
First clicks touch control operation Small arms firing
Second clicks touch control operation Firearms bullet switches
Sliding touch operates Firearms switch
By table 1 as it can be seen that when user thumps the frame of electronic device, it is the first click that electronic device, which gets touch control operation, Touch control operation clicks touch control operation according to first, and it is small arms firing to be matched to corresponding game control parameters, when user taps electricity When the frame of sub-device, it is the second click touch control operation that electronic device, which gets touch control operation, and touch control operation is clicked according to second, It is matched to corresponding game control parameters for firearms bullet to switch, when user carries out sliding touch on the frame of electronic device When, electronic device gets touch control operation and is operated for sliding touch, is matched to corresponding game control parameters and switches for firearms.
In step S210, game control parameters are loaded, game element is made to execute corresponding operation.
Wherein, after being matched to game control parameters, which is loaded into game so that game element Corresponding operation is executed, when such as game control parameters being small arms firing, electronic device can control game role in game and be penetrated Operation is hit, when switching for firearms bullet such as game control parameters, electronic device can control game role in game and carry out changing bullet Operation, when switching for firearms such as game control parameters, electronic device can control game role in game and carry out changing rifle operation.
It can be seen from the above, a kind of processing method of touch information provided in this embodiment, by being arranged on electronic device side Touch-control sensing module on frame obtains touch information;Touch information is analyzed, determines that the touch control operation of touch information instruction is to click Touch control operation or sliding touch operation;According to touch control operation or sliding touch operation matching game database is clicked, to obtain Corresponding game control parameters are operated to click touch control operation or sliding touch;Game control parameters are loaded, game element is made Execute corresponding operation.Touch control operation input by user can be obtained by the touch-control sensing module on frame with this, according to tactile Control operation matching game database, obtains corresponding game control parameters, and load game control parameters and executed to game element Corresponding control, improves the diversity of electronic device control, and then improves the control efficiency of electronic device.
For ease of preferably implementing the processing method of touch information provided by the embodiments of the present application, the embodiment of the present application also carries For a kind of device of the processing method based on above-mentioned touch information.The wherein processing method of the meaning of noun and above-mentioned touch information In it is identical, specific implementation details can be with the explanation in reference method embodiment.
Referring to Fig. 7, Fig. 7 is the module diagram of the processing unit of touch information provided by the embodiments of the present application.Specifically For, the processing unit 300 of the touch information, including:Acquisition module 31, determining module 32, matching module 33 and load mould Block 34.
Acquisition module 31, for obtaining touch information by the touch-control sensing module.
Wherein, acquisition module 31 can incude the second touch-control on frame by the touch-control sensing module being set on frame Pressure value is determined as primary effective touch-control, executes and pass through touch-control sensing mould when the second touch-control pressure value is more than certain threshold value Group obtains the step of touch information.
Determining module 32 determines the touch control operation of touch information instruction for analyzing the touch information.
Wherein it is determined that module 32 by analyzing the touch information, when touch information is designated as the touch-control of a point, that is, is touched When touch-control pressure value group in control information is one group of touch-control pressure value, judge that the touch control operation of touch information instruction is tactile to click Control operation.When touch information is designated as the touch-control of multiple points, i.e., the touch-control pressure group in touch information is multigroup touching pressure When value, judge that the touch control operation of touch information instruction operates for sliding touch.
Matching module 33, for matching game database according to the touch control operation, to obtain the corresponding trip of the touch control operation Play control parameter.
Wherein, the corresponding game control parameters of the touch control operation are stored in the game database, are such as played in gunbattle class In, which is firing operation, such as in the game of host class, sliding touch operation Corresponding game control parameters can be conversion current visual angle.
Further, the touching on frame that matching module 33 is obtained according to the touch-control sensing module operates, matching game Database can obtain the corresponding game control parameters of the touch control operation.
Load-on module 34 makes game element execute corresponding operation for loading the game control parameters.
Wherein, which is loaded into game by load-on module 34 so that game element (such as game role, Games window) according to the corresponding operation of game control parameters execution.It realizes in addition to touch screen controls game element, may be used also To use frame touch-control to realize the control to game element so that user can be controlled better sense, improve electronics dress The control efficiency set.
Can be together with reference to figure 8, Fig. 8 is another module signal of the processing unit of touch information provided by the embodiments of the present application Figure, the processing unit 300 of the touch information can also include:
Wherein, which may include analysis submodule 321, the determination of the first determination sub-module 322 and second Submodule 323.
Further, analysis submodule 321, for analyzing the touch information, to obtain touching for touch information instruction Control acts.First determination sub-module 322, for when the touch action is point touch-control, determining touching for touch information instruction Control operation is click touch control operation.Second determination sub-module 323, for when the touch action is face touch-control, determining that this is touched The touch control operation for controlling information instruction operates for sliding touch.
First determination sub-module 322 is specifically used for obtaining the corresponding first touch-control pressure value of the touch-control;Detect the point Whether the corresponding first touch-control pressure value of touch-control is more than the first predetermined threshold value;When detecting the corresponding first touch-control pressure of the touch-control When force value is more than first predetermined threshold value, determine that the touch control operation of touch information instruction is the first click touch control operation;Work as inspection When measuring the corresponding first touch-control pressure value of the touch-control no more than first predetermined threshold value, touching for touch information instruction is determined Control operation clicks touch control operation for second.
It can be seen from the above, a kind of processing unit of touch information provided in this embodiment, acquisition module 31 is existed by setting Touch-control sensing module on electronic device frame obtains touch information;Determining module 32 analyzes touch information, determines touch information The touch control operation of instruction;Matching module 33 matches game database according to touch control operation, to obtain the corresponding game of touch control operation Control parameter;Load-on module 34 loads game control parameters, and game element is made to execute corresponding operation.It can pass through frame with this On touch-control sensing module obtain touch control operation input by user, game database is matched according to touch control operation, is obtained corresponding Game control parameters, and load game control parameters and corresponding control is executed to game element, improve electronic device control Diversity, and then improve the control efficiency of electronic device.
The embodiment of the present application also provides a kind of electronic device.Referring to Fig. 9, electronic device 500 include processor 501 and Memory 502.Wherein, processor 501 is electrically connected with memory 502.
The processor 500 is the control centre of electronic device 500, utilizes various interfaces and the entire electronic device of connection Various pieces, the computer program in memory 502 by operation or load store, and call and be stored in memory Data in 502 execute the various functions of electronic device 500 and handle data, to carry out whole prison to electronic device 500 Control.
The memory 502 can be used for storing software program and module, and processor 501 is stored in memory by operation 502 computer program and module, to perform various functions application and data processing.Memory 502 can include mainly Storing program area and storage data field, wherein storing program area can storage program area, the computer needed at least one function Program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses institute according to electronic device The data etc. of establishment.In addition, memory 502 may include high-speed random access memory, can also include non-volatile memories Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide access of the processor 501 to memory 502.
In the embodiment of the present application, the processor 501 in electronic device 500 can be according to following step, by one or one The corresponding instruction of process of a above computer program is loaded into memory 502, and is stored in by the operation of processor 501 Computer program in reservoir 502, it is as follows to realize various functions:
Touch information is obtained by the touch-control sensing module;
The touch information is analyzed, determines the touch control operation of touch information instruction;
Game database is matched according to the touch control operation, to obtain the corresponding game control parameters of the touch control operation;
The game control parameters are loaded, game element is made to execute corresponding operation.
In some embodiments, the touch information is being analyzed, when determining the touch control operation of touch information instruction, processing Device 501 can specifically execute following steps:
The touch information is analyzed, to obtain the touch action of touch information instruction;
When the touch action is point touch-control, determine that the touch control operation of touch information instruction is to click touch control operation;
When the touch action is face touch-control, determine that the touch control operation of touch information instruction operates for sliding touch.
In some embodiments, when it is to click touch control operation to determine the touch control operation of touch information instruction, processing Device 501 can specifically execute following steps:
Obtain the corresponding first touch-control pressure value of the touch-control;
Detect whether the corresponding first touch-control pressure value of the touch-control is more than the first predetermined threshold value;
When detecting that the corresponding first touch-control pressure value of the touch-control is more than first predetermined threshold value, determine that the touch-control is believed The touch control operation of breath instruction is the first click touch control operation;
When detecting that the corresponding first touch-control pressure value of the touch-control is not more than first predetermined threshold value, the touch-control is determined The touch control operation of information instruction is the second click touch control operation.
In some embodiments, when obtaining touch information by the touch-control sensing module, processor 501 can be specific Execute following steps:
Incude the second touch-control pressure value by the touch-control sensing module;
When the second touch-control pressure value is more than the second predetermined threshold value, touch information is obtained.
In some embodiments, before obtaining touch information by the touch-control sensing module, processor 501 can be with It is specific to execute following steps:
The frame is divided into multiple touch areas;
Each touch area is associated with corresponding note, so that being exported while touch-control each touch area corresponding Note.
It can be seen from the above, the electronic device of the embodiment of the present application, by the way that the touch-control sensing on electronic device frame is arranged Module obtains touch information;Touch information is analyzed, determines the touch control operation of touch information instruction;It is matched and is played according to touch control operation Database, to obtain the corresponding game control parameters of touch control operation;Game control parameters are loaded, so that game element is executed corresponding Operation.Touch control operation input by user can be obtained by the touch-control sensing module on frame with this, be matched according to touch control operation Game database obtains corresponding game control parameters, and loads game control parameters and execute corresponding control to game element, The diversity of electronic device control is improved, and then improves the control efficiency of electronic device.
Also referring to Figure 10, in some embodiments, electronic device 500 can also include:Display 503, radio frequency Circuit 504, voicefrequency circuit 505 and power supply 506.Wherein, wherein display 503, radio circuit 504, voicefrequency circuit 505 with And power supply 506 is electrically connected with processor 501 respectively.
The display 503 is displayed for information input by user or is supplied to the information of user and various figures User interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.Display 503 may include display panel, in some embodiments, liquid crystal display (Liquid Crystal may be used Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match Set display panel.
The radio circuit 504 can be used for transceiving radio frequency signal, with by radio communication with the network equipment or other electronics Device establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic devices.
The voicefrequency circuit 505 can be used for providing the audio between user and electronic device by loud speaker, microphone and connecing Mouthful.
The power supply 506 is used to all parts power supply of electronic device 500.In some embodiments, power supply 506 can With logically contiguous by power-supply management system and processor 501, to be charged, be discharged by power-supply management system realization management, And the functions such as power managed.
Although being not shown in Figure 10, electronic device 500 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers so that the computer executes the processing method of the touch information in any of the above-described embodiment, than Such as:Touch information is obtained by the touch-control sensing module;The touch information is analyzed, determines the touch-control behaviour of touch information instruction Make;Game database is matched according to the touch control operation, to obtain the corresponding game control parameters of the touch control operation;Load the game Control parameter makes game element execute corresponding operation.
In the embodiment of the present application, storage medium can be magnetic disc, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
It should be noted that for the processing method of the touch information of the embodiment of the present application, this field common test people Member is appreciated that realize all or part of flow of the processing method of the touch information of the embodiment of the present application, is that can pass through calculating Machine program is completed to control relevant hardware, and the computer program can be stored in a computer read/write memory medium, It is executed as stored in memory in the electronic device, and by least one processor in the electronic device, in the process of implementation It may include the flow of the embodiment of the processing method such as touch information.Wherein, the storage medium can be magnetic disc, CD, only Read memory, random access memory etc..
For the processing unit of the touch information of the embodiment of the present application, each function module can be integrated in a processing Can also be that modules physically exist alone in chip, can also two or more modules be integrated in a module. The form that hardware had both may be used in above-mentioned integrated module is realized, can also be realized in the form of software function module.It is described If integrated module is realized in the form of software function module and when sold or used as an independent product, can also be stored In a computer read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
Processing method, device, storage medium and the electronics for a kind of touch information that the embodiment of the present application is provided above Device is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, with The explanation of upper embodiment is merely used to help understand the present processes and its core concept;Meanwhile for the technology of this field Personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this theory Bright book content should not be construed as the limitation to the application.

Claims (11)

1. a kind of processing method of touch information is applied in electronic device, which is characterized in that on the frame of the electronic device It is provided with touch-control sensing module, the treating method comprises:
Touch information is obtained by the touch-control sensing module;
The touch information is analyzed, determines the touch control operation of the touch information instruction;
Game database is matched according to the touch control operation, to obtain the corresponding game control parameters of the touch control operation;
The game control parameters are loaded, game element is made to execute corresponding operation.
2. the processing method of touch information as described in claim 1, which is characterized in that the analysis touch information, really The step of touch control operation of the fixed touch information instruction, including:
The touch information is analyzed, to obtain the touch action of the touch information instruction;
When the touch action is point touch-control, determine that the touch control operation of the touch information instruction is to click touch control operation;
When the touch action is face touch-control, determine that the touch control operation of the touch information instruction operates for sliding touch.
3. the processing method of touch information as claimed in claim 2, which is characterized in that the determination touch information instruction Touch control operation be click touch control operation the step of, including:
Obtain the corresponding first touch-control pressure value of described touch-control;
Detect whether the corresponding first touch-control pressure value of described touch-control is more than the first predetermined threshold value;
When detecting that the corresponding first touch-control pressure value of described touch-control is more than first predetermined threshold value, the touch-control is determined The touch control operation of information instruction is the first click touch control operation;
When detecting that the corresponding first touch-control pressure value of described touch-control is not more than first predetermined threshold value, described touch is determined The touch control operation for controlling information instruction is the second click touch control operation.
4. the processing method of touch information as described in any one of claims 1 to 3, which is characterized in that described to be touched by described The step of inductive module obtains touch information is controlled, including:
Incude the second touch-control pressure value by the touch-control sensing module;
When the second touch-control pressure value is more than the second predetermined threshold value, touch information is obtained.
5. the processing method of touch information as claimed in claim 4, which is characterized in that obtained by the touch-control sensing module Before the step of touch information, further include;
The frame is divided into multiple touch areas;
Each touch area is associated with corresponding note, so that exporting corresponding sound while touch-control each touch area Symbol.
6. a kind of processing unit of touch information, which is characterized in that including:
Acquisition module, for obtaining touch information by the touch-control sensing module;
Determining module determines the touch control operation of the touch information instruction for analyzing the touch information;
Matching module, for matching game database according to the touch control operation, to obtain the corresponding game of the touch control operation Control parameter;
Load-on module makes game element execute corresponding operation for loading the game control parameters.
7. the processing unit of touch information as claimed in claim 6, which is characterized in that the determining module, including:
Submodule is analyzed, for analyzing the touch information, to obtain the touch action of the touch information instruction;
First determination sub-module, for when the touch action is point touch-control, determining the touch-control behaviour of the touch information instruction As click touch control operation;
Second determination sub-module, the touch-control behaviour for when the touch action is face touch-control, determining the touch information instruction It is operated as sliding touch.
8. the processing unit of touch information as claimed in claim 7, which is characterized in that first determination sub-module, specifically For:
Obtain the corresponding first touch-control pressure value of described touch-control;
Detect whether the corresponding first touch-control pressure value of described touch-control is more than the first predetermined threshold value;
When detecting that the corresponding first touch-control pressure value of described touch-control is more than first predetermined threshold value, the touch-control is determined The touch control operation of information instruction is the first click touch control operation;
When detecting that the corresponding first touch-control pressure value of described touch-control is not more than first predetermined threshold value, described touch is determined The touch control operation for controlling information instruction is the second click touch control operation.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is by processor The step of processing method such as touch information described in any one of claim 1 to 5 is realized when execution.
10. a kind of electronic device, including processor and memory, the memory have computer program, which is characterized in that described Processor is by calling the computer program, for executing the processing such as touch information described in any one of claim 1 to 5 Method.
11. a kind of electronic device, which is characterized in that including shell, touch-control sensing module and processor, the touch-control sensing mould Group includes pressure sensor;
On the housing, the front of the touch-control sensing module is used to press for user and generate for the touch-control sensing module setting Deformation, the pressure sensor, which is arranged, to be transmitted at the back side of the touch-control sensing module for detecting the touch-control sensing module Pressing force, the pressure sensor is electrically connected with the processor, and the processor executes following steps:
Touch information is obtained by the touch-control sensing module;
The touch information is analyzed, determines the touch control operation of the touch information instruction;
Game database is matched according to the touch control operation, to obtain the corresponding game control parameters of the touch control operation;
The game control parameters are loaded, game element is made to execute corresponding operation.
CN201810301166.5A 2018-04-04 2018-04-04 Processing method, device, storage medium and the electronic device of touch information Pending CN108525288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810301166.5A CN108525288A (en) 2018-04-04 2018-04-04 Processing method, device, storage medium and the electronic device of touch information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810301166.5A CN108525288A (en) 2018-04-04 2018-04-04 Processing method, device, storage medium and the electronic device of touch information

Publications (1)

Publication Number Publication Date
CN108525288A true CN108525288A (en) 2018-09-14

Family

ID=63483229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810301166.5A Pending CN108525288A (en) 2018-04-04 2018-04-04 Processing method, device, storage medium and the electronic device of touch information

Country Status (1)

Country Link
CN (1) CN108525288A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111672094A (en) * 2020-05-20 2020-09-18 王立雄 Control method of target shooting game machine and target shooting game machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2595035A1 (en) * 2011-11-16 2013-05-22 NAMCO BANDAI Games Inc. Method for controlling computer that is held and operated by user
CN104765553A (en) * 2013-12-13 2015-07-08 中兴通讯股份有限公司 Control method and device for electronic apparatus having touch sensitive display, and electronic apparatus thereof
CN105727551A (en) * 2016-01-29 2016-07-06 网易(杭州)网络有限公司 Game attacking method and device for mobile terminal
CN105760077A (en) * 2016-02-03 2016-07-13 网易(杭州)网络有限公司 Game control method and device
CN105786245A (en) * 2016-02-04 2016-07-20 网易(杭州)网络有限公司 Operating control method and device for touch screen
CN106648193A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Application operation method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2595035A1 (en) * 2011-11-16 2013-05-22 NAMCO BANDAI Games Inc. Method for controlling computer that is held and operated by user
CN104765553A (en) * 2013-12-13 2015-07-08 中兴通讯股份有限公司 Control method and device for electronic apparatus having touch sensitive display, and electronic apparatus thereof
CN106648193A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Application operation method and apparatus
CN105727551A (en) * 2016-01-29 2016-07-06 网易(杭州)网络有限公司 Game attacking method and device for mobile terminal
CN105760077A (en) * 2016-02-03 2016-07-13 网易(杭州)网络有限公司 Game control method and device
CN105786245A (en) * 2016-02-04 2016-07-20 网易(杭州)网络有限公司 Operating control method and device for touch screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111672094A (en) * 2020-05-20 2020-09-18 王立雄 Control method of target shooting game machine and target shooting game machine

Similar Documents

Publication Publication Date Title
CN108632462A (en) Processing method, device, storage medium and the electronic equipment of split screen display available
CN102119376A (en) Multidimensional navigation for touch-sensitive display
KR20170072904A (en) Method, system for implementing operation of mobile terminal according to touching signal and mobile terminal
CN108704307A (en) Processing method, device, storage medium and the electronic device of touch information
US10564740B2 (en) Pen device—panel interaction based on electromagnetic signals output by the pen device
CN108845751A (en) Processing method, device, storage medium and the electronic equipment of touch information
CN108733298B (en) Touch information processing method and device, storage medium and electronic equipment
CN104571857A (en) Customizing method, responding method and mobile terminal of user-defined touch
CN109407833A (en) Manipulate method, apparatus, electronic equipment and the storage medium of electronic equipment
CN108704308A (en) Control method, device, storage medium and the electronic equipment of shooting game
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
CN108762835A (en) Application operation method, apparatus, storage medium and electronic device
US20140240290A1 (en) Electronic-book page turning method and apparatus, and mobile device
US20170277379A1 (en) Method and terminal for processing desktop icon
CN108595093A (en) Camera control method, device, storage medium and electronic equipment
CN108563357A (en) Processing method, device, storage medium and the electronic equipment of touch information
US20170277419A1 (en) Method and Electronic Device for Replying to a Message
CN108628535A (en) task management method, device, storage medium and electronic device
CN108563393A (en) device parameter adjusting method, device, storage medium and electronic equipment
CN108525288A (en) Processing method, device, storage medium and the electronic device of touch information
CN108958607A (en) Open method, device, storage medium and the electronic equipment of split screen display available
CN108681432A (en) Processing method, device, storage medium and the electronic device of touch information
CN108733299A (en) Using split screen method, apparatus, storage medium and electronic equipment
CN108519849A (en) Processing method, device, storage medium and the electronic equipment of touch information
CN108491152A (en) Touch screen terminal control method, terminal and medium based on virtual cursor

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: 20180914