Method and system for controlling mobile phone game based on mobile phone distance sensor

A distance sensor, mobile phone game technology, applied in the direction of telephone structure, sub-office equipment, electrical components, etc., can solve the problems of single function, poor response speed, unsuitable analog buttons, etc., achieve sensitive response speed, convenient operation, suitable for mobile phones The effect of game operation

Inactive Publication Date: 2016-06-01
SHANGHAI DROI TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, mobile games are operated and controlled through the touch screen. Most fighting and fighting games require both hands to touch and click the screen continuously. The touch screens are all capacitive virtual buttons, which are not as convenient as professional electronic entertainment game controllers. , the response speed is also relatively poor, and I often feel that the analog buttons on the mobile phone screen are uncomfortable
[0004] In addition, the distance sensor on the mobile phone is located on the side of the top of the mobile phone. It is only used to automatically sleep or wake up the screen by blocking the distance sensor when answering a call. It has a single function and has not been fully utilized.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for controlling mobile phone game based on mobile phone distance sensor
  • Method and system for controlling mobile phone game based on mobile phone distance sensor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] figure 1 For the present invention is based on the method for mobile phone distance sensor control mobile phone game, as figure 1 As shown, the method includes the following steps:

[0040] Step 11, start the mobile game process;

[0041] Step 12, when the distance sensor detects the occlusion signal, upload the occlusion signal to the mobile phone hardware abstraction layer;

[0042] Step 13, the mobile phone hardware abstraction layer packs the data of the occlusion signal and uploads it to the jni (full name javanativeinterface) layer in the mobile phone user layer;

[0043] Step 14, the jni layer uploads the packaged occlusion signal to the java data layer;

[0044] Step 15, set at least one button instruction according to the occlusion signal uploaded by the java layer, and realize the corresponding co...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a system for controlling a mobile phone game based on a mobile phone distance sensor. The method comprises the following steps: starting a mobile phone game process, when the distance sensor detects a shielding signal, uploading the shielding signal to a mobile phone hardware abstraction layer, carrying out data package on the shielding signal and uploading the shielding signal to a jni layer in a mobile phone user layer by the mobile phone hardware abstraction layer, and uploading the packaged shielding signal to a java data layer by the jni layer; and setting at least one key instruction according to the shielding signal uploaded by the java data, and implementing corresponding control and operation of the game process according to the key instruction. By adopting the method provided by the invention, various operation controls of a game are implemented by shielding the distance sensor in combination with different shielding times, therefore the operation is more convenient, and the reaction speed is more sensitive. In addition, most mobile phone game setting keys mainly depend on right hands, and when playing games on the mobile phone in a horizontal screen manner, the position of the distance sensor can meet left hand or right hand control by rotating the screen, thereby being better suitable for the operations of the mobile phone game.

Description

technical field [0001] The invention relates to the field of mobile phones and mobile games, in particular to a method and system for controlling mobile games based on a distance sensor of the mobile phone. Background technique [0002] Now mobile phones have become an indispensable electronic communication tool in people's lives. With the development of smart phones, mobile game technology is also developing rapidly within the scope of its value-added services. The functions of mobile phones have gradually expanded from the original basic communication tools to random Electronics for sound entertainment. [0003] At present, mobile games are operated and controlled through the touch screen. Most fighting and fighting games require both hands to touch and click the screen continuously. The touch screens are all capacitive virtual buttons, which are not as convenient as professional electronic entertainment game controllers. , The response speed is also relatively poor, and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04M1/23H04M1/725H04M1/72454
CPCH04M1/233H04M1/72454
Inventor 刘太富
Owner SHANGHAI DROI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products