CN117572973A - Mobile terminal quick browsing device based on gravity sensing and gravity sensing method - Google Patents

Mobile terminal quick browsing device based on gravity sensing and gravity sensing method Download PDF

Info

Publication number
CN117572973A
CN117572973A CN202311607953.XA CN202311607953A CN117572973A CN 117572973 A CN117572973 A CN 117572973A CN 202311607953 A CN202311607953 A CN 202311607953A CN 117572973 A CN117572973 A CN 117572973A
Authority
CN
China
Prior art keywords
user
gravity sensing
browser
gravity
handheld device
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
CN202311607953.XA
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.)
Qingdao Civil Aviation Cares Co ltd
Original Assignee
Qingdao Civil Aviation Cares 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 Qingdao Civil Aviation Cares Co ltd filed Critical Qingdao Civil Aviation Cares Co ltd
Priority to CN202311607953.XA priority Critical patent/CN117572973A/en
Publication of CN117572973A publication Critical patent/CN117572973A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention belongs to the technical field of electronic information, and discloses a mobile terminal quick browsing device based on gravity sensing and a gravity sensing method. The method comprises the following steps: firstly, presetting an operation variable of a handheld device by a user; the gravity sensor and the acceleration sensor of the handheld device detect the action of a user and judge whether an operation variable generated by the action of the user accords with a preset operation variable or not; if the operation variable of the user accords with the operation variable preset by the user, starting a corresponding function by the browser of the handheld device; if the operation variable operated by the user does not accord with the operation variable preset by the user, the handheld device does not respond. When the user uses the handheld device, the user can realize quick operations such as page turning, pull-down, return and the like through mobile phone overturning, so that the frequency of touching the screen by fingers is reduced, the service life of the screen of the handheld device is indirectly prolonged, the efficiency of webpage interaction is improved, and the use burden of the user is lightened.

Description

Mobile terminal quick browsing device based on gravity sensing and gravity sensing method
Technical Field
The invention belongs to the technical field of electronic information, and particularly relates to a mobile terminal quick browsing device based on gravity sensing and a gravity sensing method.
Background
With the application and development of the mobile internet, the smart phone has been closely related to the work and life of people, and the screen touch has completely replaced the key operation of the traditional mobile phone, so that the use is more convenient. Meanwhile, the smart phone touch screen is mostly a comprehensive screen in the current market, no key operation is performed, and the screen utilization rate can be greatly improved through the design. Screen touch is convenient and has many drawbacks, such as abrasion, scratches or loss of sensitivity of the touch screen may occur over time, affecting its function and lifetime. Touch screens use capacitive touch technology, which may be less sensitive in cold environments because low temperatures may reduce electrical conductivity between the human body and the screen. Touch screens are highly sensitive to the external environment. In windy or dusty environments, the touch screen may be disturbed by wind, dust or other impurities, resulting in malfunctions or reduced accuracy.
In view of the above problems, a method for reducing screen operation is needed for a smart phone, which can complement with screen touch and reduce excessive use of the screen.
The existing eye tracking technology can also realize automatic browsing, and main equipment of eye tracking operation comprises infrared equipment and image acquisition equipment. In terms of precision, the infrared projection mode has great advantages, can be accurate to within 1 cm on a 30-inch screen, is assisted with blink recognition, gaze recognition and other technologies, and can replace a mouse and a touch pad to a certain extent to perform some limited operations. In addition, other image acquisition devices, such as cameras on computers or cell phones, can also implement eye tracking with the support of software, but with differences in accuracy, speed and stability.
There are also several difficulties in the development of eye tracking technology. For example, it is not easy to have a machine effectively recognize the true intent of human eye movements to determine whether it is unconscious movement or conscious changes.
Disclosure of Invention
In order to overcome the problems in the related art, the disclosed embodiments of the invention provide a mobile terminal quick browsing device based on gravity sensing and a gravity sensing method.
The invention is realized in such a way that the gravity sensing method of the mobile terminal quick browsing device based on gravity sensing is used for controlling web browsing operation according to the gravity sensor and the acceleration sensor of the handheld device, and the method comprises the following steps:
s1, presetting an operation variable of a handheld device;
s2, detecting actions of a user by a gravity sensor and an acceleration sensor of the handheld device, and judging whether an operation variable generated by the actions of the user accords with a preset operation variable or not;
s3, if the operation variable of the user accords with the operation variable preset by the user, starting a corresponding function by the browser of the handheld device; if the operation variable operated by the user does not accord with the operation variable preset by the user, the handheld device does not respond.
In step S2, the gravity sensor and the acceleration sensor of the handheld device detect actions of the user including:
when the gravity sensor detects that the screen is turned right for 45 degrees, triggering a browser right-sliding gesture;
when the gravity sensor detects that the screen is turned left for 45 degrees, triggering a left sliding gesture of the browser;
when the gravity sensor detects that the screen is turned upwards by 45 degrees, triggering a browser up-sliding gesture;
when the gravity sensor detects that the screen is turned down by 45 degrees, the browser sliding gesture is triggered.
In step S2, determining whether the operation variable generated by the action of the user meets the preset operation variable includes:
the three coordinate axis components x, y and z of the gravity acceleration are used for representing, and the overturning angle of the handheld device is calculated;
acquiring data of a gravity sensor: acquiring gravity sensor data through use of a sensor application programming interface API of the handheld device, comprising: acceleration values in the x-axis, y-axis and z-axis;
calculating total acceleration: calculating the total acceleration according to the data of the gravity sensor;
calculating a turnover angle: by comparing the three components of the total acceleration with the gravitational acceleration, the tilt angle of the handheld device relative to the ground is calculated.
Further, the formula for calculating the total acceleration is:
x, y, z denote acceleration values in the x-axis, y-axis, z-axis, respectively.
Further, the formula for calculating the inclination angle of the handheld device with respect to the ground is:
further, the formula for calculating the flip angle is:
in step S3, if the operation variable of the user matches the operation variable preset by the user, the browser of the handheld device starts a corresponding function, including:
event identification: when a user performs gesture operation in the browser, the browser firstly captures related events; the related events include: the method comprises the steps of touching a screen by a finger, sliding the finger on the screen, leaving the screen by the finger, pressing down a mouse, moving the mouse and releasing the mouse;
gesture recognition: after capturing related events, the browser analyzes the characteristics of the events to judge gesture actions executed by a user, and calculates and compares the positions, displacement, speed and time intervals of the events;
gesture processing: after the browser determines that a user executes a specific gesture action, triggering corresponding processing logic, wherein the corresponding processing logic comprises executing specific browser operation or executing user-defined user operation, the executing of the specific browser operation comprises advancing, backing, refreshing and tab page switching, and the user-defined user operation comprises calling a specific JavaScript function or executing specific interface interaction;
compatibility and configuration: the browser performs gesture setting and configuration through built-in gesture control functions;
and creating and triggering a proper event through the JavaScript API to simulate gesture operation.
Further, the browser simulated gesture processing flow includes:
event creation: creating a suitable event object using JavaScript;
event attribute setting: setting the position of a touch point and the attribute of a target element for a touch event; setting a mouse position and a button type attribute for a mouse event;
event dispatch: dispatching the created event object to a target element by using a dispatchEvent method, and triggering corresponding event processing logic;
through combining the steps, writing JavaScript codes to simulate various gesture operations, including clicking, sliding and kneading;
the browser or operating system performs simulated gestures through the GestureEvent interface and the pointevent interface.
Another object of the present invention is to provide a mobile terminal quick browsing device based on gravity sensing, which implements a gravity sensing method of the mobile terminal quick browsing device based on gravity sensing, the device includes:
the gravity sensing monitoring module is in direct hardware interaction with a gravity sensing sensor of the handheld device, acquires gravity sensing data and transmits the data to the gravity sensing identification module;
the condition detection module: the module is mainly responsible for carrying out real-time calculation on the gravity sensing data and carrying out logic processing according to preset data; comparing the measured value with a preset value, and judging whether the corresponding working condition meets the requirement;
and a message sending module: responsible for event messaging, messaging between the handset browser and the software development kit SDK;
and the browser interaction module is responsible for interacting the instructions generated by the gravity sensing identification module, including backward, forward, upward pulling and downward sliding.
Further, the mobile terminal quick browsing device based on gravity sensing is applied to a smart phone touch screen to perform backward, forward, downward pulling and upward sliding of a comparison chart.
By combining all the technical schemes, the invention has the advantages and positive effects that: the invention innovatively provides a combination of gravity sensing and mobile phone operation of a user, so that the use frequency of a screen is reduced, and the service life of the screen is prolonged; the operation habit of a mobile phone of a user is reduced, and single-hand barrier-free operation is realized; the efficiency of staff is improved, and the browser is rapidly operated through mobile phone swinging.
When the user uses the handheld device, the user can realize quick operations such as page turning, pull-down, return and the like through mobile phone overturning, so that the frequency of touching the screen by fingers is reduced, the service life of the screen of the handheld device is indirectly prolonged, the efficiency of webpage interaction is improved, and the use burden of the user is lightened.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure;
fig. 1 is a flow chart of a gravity sensing method of a mobile terminal quick browsing device based on gravity sensing according to an embodiment of the present invention;
FIG. 2 is a diagram of sending instructions to a browser of a handheld device by monitoring a gravity reaction event in real time in an SDK architecture according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of gravity sensing in three directions of x, y and z according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to the appended drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be embodied in many other forms than described herein and similarly modified by those skilled in the art without departing from the spirit or scope of the invention, which is therefore not limited to the specific embodiments disclosed below.
In embodiment 1, the gravity sensing method (the method for controlling the handheld device by using gravity and acceleration sensing) of the mobile terminal quick browsing device based on gravity sensing provided by the embodiment of the invention can realize multiple functions of the handheld device including backward, forward, downward and upward sliding of the comparison graph through gravity sensing without touching a screen. The method specifically comprises the following steps:
s1, presetting an operation variable of a handheld device;
s2, detecting actions of a user by a gravity sensor and an acceleration sensor of the handheld device, and judging whether an operation variable generated by the actions of the user accords with a preset operation variable or not;
s3, if the operation variable of the user accords with the operation variable preset by the user, starting a corresponding function by the browser of the handheld device; if the operation variable operated by the user does not accord with the operation variable preset by the user, the handheld device does not respond.
In step S2 of the embodiment of the invention, when the gravity sensor detects that the screen is turned right for 45 degrees, a browser right-sliding gesture is triggered;
when the gravity sensor detects that the screen is turned left for 45 degrees, triggering a left sliding gesture of the browser;
when the gravity sensor detects that the screen is turned upwards by 45 degrees, triggering a browser up-sliding gesture;
when the gravity sensor detects that the screen is turned down by 45 degrees, triggering a browser sliding gesture;
the gravity sensor of the handheld device may provide acceleration and direction information of the handheld device to detect the flip angle of the handheld device. By reading the data from the gravity sensor, the tilt angle of the handheld device relative to the direction of earth's gravity can be determined.
In step S2 of the embodiment of the present invention, to determine the flip angle of the handheld device, three components of gravitational acceleration may be used: x, y, z, these components represent the acceleration values of the device in three coordinate axes.
In step S2 of the embodiment of the present invention, a method for calculating a flip angle of a handheld device includes:
acquiring data of a gravity sensor: gravity sensor data, including acceleration values in the x-axis, y-axis, and z-axis, can be obtained through the use of the sensor application programming interface API (Application Programming Interface) of the handheld device.
Calculating total acceleration: the magnitude of the total acceleration is calculated from the gravity sensor data. The total acceleration may be calculated using the following formula:
total accelerationx, y, z denote acceleration values in the x-axis, y-axis, z-axis, respectively.
Calculating a turnover angle: by comparing the three components of the total acceleration with the gravitational acceleration (about 9.8m/s 2), the tilt angle of the handheld device relative to the ground can be calculated;
this flip angle value can be converted into degrees by radians, for example:
in this way, the flip angle of the handheld device relative to the horizontal plane can be obtained.
In step S3 of the embodiment of the present invention, if the operation of the user matches with the preset parameters, the browser of the handheld device starts a corresponding function; taking the principle of browser gesture control as an example, the event processing and interaction technology related to the browser is involved. The basic principle of browser gesture control is generally:
event identification: when a user performs a gesture operation in the browser, the browser first captures a related event. For a touch device, the browser may detect touch events, such as touchstart, touchframe, and touchhead events. For a mouse device, the browser detects mouse events, such as mousedown (mouse down), mousemove (mouse move), mouseup (mouse release), and the like.
Gesture recognition: once the browser captures the relevant events, it analyzes the characteristics of the events to determine the gesture actions performed by the user. This typically involves calculating and comparing the position, displacement, velocity, time interval, etc. of the event. For example, if the user slides a finger horizontally across the screen, the browser may detect a series of consecutive touchframe events and determine that this is a horizontal swipe gesture based on the change in position of the finger.
Gesture processing: once the browser determines that the user has performed a particular gesture, it will trigger the corresponding processing logic. This may include performing specific browser operations, such as forward, backward, refresh, tab page switching, etc., or performing custom user operations, such as invoking specific JavaScript functions or performing specific interface interactions.
Compatibility and configuration: implementation of browser gesture control may vary from browser to browser and operating system to operating system. Some modern browsers have built-in gesture control functionality and provide default gesture operations. Other browsers may need to implement gesture control through plug-ins, extensions, or JavaScript libraries. Sometimes, the user can make gesture settings and configurations according to his own preferences.
The JavaScript API creates and triggers the appropriate event to simulate the gesture operation.
In an embodiment of the present invention, a general processing flow of a lower browser simulated gesture includes:
event creation: the JavaScript is used to create the appropriate event object, depending on the gesture operation that is desired to be simulated.
Event attribute setting: appropriate attributes are set for the created event object in order to accurately simulate gesture operations. For example, for a touch event, it is necessary to set the position of a touch point, the properties of a target element, and the like; for a mouse event, it is necessary to set properties such as a mouse position, a button type, and the like.
Event dispatch: the created event object is dispatched to the target element by using a dispatchEvent method, and corresponding event processing logic is triggered. The browser will thus respond to the simulated gesture as it does to the actual gesture.
By combining these steps, javaScript code can be written to simulate various gesture operations, such as clicking, sliding, pinching, and the like.
The browser may have a different degree of support for the simulated gestures, particularly on mobile devices. Different browsers and devices may vary in the manner in which events are handled and the types of gestures supported.
In addition, some browsers or operating systems provide more advanced gesture control interfaces, such as the WebKit's GestureEvent interface and the Windows's pointevent interface. These interfaces provide richer gesture operation support and can achieve more complex simulated gesture effects.
Through the embodiment, expected benefits and commercial values after the technical scheme is converted are that the service life of a mobile phone screen is prolonged, the cost of replacing the screen by a user is reduced, scratches are caused by the fact that the screen is placed in an solitary touch mode, and the like; the technical scheme of the invention fills the technical blank of the industry; the invention reduces the operating frequency of the user on the mobile phone screen and improves the single-hand operating efficiency.
Embodiment 2 of the present invention provides a mobile terminal quick browsing device based on gravity sensing, including:
the gravity sensing monitoring module is directly interacted with the handheld device gravity sensing sensor in hardware, acquires gravity sensing data and transmits the data to the gravity sensing identification module;
the condition detection module: the module is mainly responsible for carrying out real-time calculation on the gravity sensing data and carrying out logic processing according to preset data. And comparing the measured value with a preset value, and judging whether the corresponding working condition meets the requirement.
And a message sending module: the module is mainly responsible for event message communication, and message transmission is carried out between the handheld device browser and the software development kit SDK (Software Development Kit), so that message consistency is ensured.
And the browser interaction module is mainly responsible for interacting instructions generated by the gravity sensing identification module, such as backward, forward, upward pulling and downward sliding.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
The content of the information interaction and the execution process between the devices/units and the like is based on the same conception as the method embodiment of the present invention, and specific functions and technical effects brought by the content can be referred to in the method embodiment section, and will not be described herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present invention. For specific working processes of the units and modules in the system, reference may be made to corresponding processes in the foregoing method embodiments.
Based on the technical solutions described in the embodiments of the present invention, the following application examples may be further proposed.
According to an embodiment of the present application, the present invention also provides a computer apparatus, including: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, performs the steps of the respective method embodiments described above.
The embodiment of the invention also provides an information data processing terminal, which is used for providing a user input interface to implement the steps in the method embodiments when being implemented on an electronic device, and the information data processing terminal is not limited to a mobile phone, a computer and a switch.
The embodiment of the invention also provides a server, which is used for realizing the steps in the method embodiments when being executed on the electronic device and providing a user input interface.
Embodiments of the present invention also provide a computer program product which, when run on an electronic device, causes the electronic device to perform the steps of the method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc.
To further demonstrate the positive effects of the above embodiments, the present invention was based on the above technical solutions to perform the following experiments.
The module is added in the mobile phone APP, the operation is carried out for a period of time, according to log statistics, the screen touch frequency of a user is reduced by 60% in the mobile phone operation process, and the device is used for helping the user to browse, so that the device is beneficial to the user to operate better.
While the invention has been described with respect to what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. A gravity sensing method of a mobile terminal quick browsing device based on gravity sensing is characterized in that a web browsing operation is controlled according to a handheld device gravity sensor and an acceleration sensor, and the method comprises the following steps:
s1, presetting an operation variable of a handheld device;
s2, detecting actions of a user by a gravity sensor and an acceleration sensor of the handheld device, and judging whether an operation variable generated by the actions of the user accords with a preset operation variable or not;
s3, if the operation variable of the user accords with the operation variable preset by the user, starting a corresponding function by the browser of the handheld device; if the operation variable operated by the user does not accord with the operation variable preset by the user, the handheld device does not respond.
2. The gravity sensing method of a mobile terminal quick browsing device based on gravity sensing according to claim 1, wherein in step S2, detecting actions of a user by a gravity sensor and an acceleration sensor of a handheld device includes:
when the gravity sensor detects that the screen is turned right for 45 degrees, triggering a browser right-sliding gesture;
when the gravity sensor detects that the screen is turned left for 45 degrees, triggering a left sliding gesture of the browser;
when the gravity sensor detects that the screen is turned upwards by 45 degrees, triggering a browser up-sliding gesture;
when the gravity sensor detects that the screen is turned down by 45 degrees, the browser sliding gesture is triggered.
3. The gravity sensing method of a mobile terminal quick browsing device based on gravity sensing according to claim 1, wherein in step S2, determining whether an operation variable generated by a user action meets a preset operation variable comprises:
the three coordinate axis components x, y and z of the gravity acceleration are used for representing, and the overturning angle of the handheld device is calculated;
acquiring data of a gravity sensor: acquiring gravity sensor data through use of a sensor application programming interface API of the handheld device, comprising: acceleration values in the x-axis, y-axis and z-axis;
calculating total acceleration: calculating the total acceleration according to the data of the gravity sensor;
calculating a turnover angle: by comparing the three components of the total acceleration with the gravitational acceleration, the tilt angle of the handheld device relative to the ground is calculated.
4. The gravity sensing method of a mobile terminal quick browsing device based on gravity sensing according to claim 3, wherein the formula for calculating the total acceleration is:
x, y, z denote acceleration values in the x-axis, y-axis, z-axis, respectively.
5. The gravity sensing method of the mobile terminal quick browsing device based on gravity sensing according to claim 3, wherein the formula for calculating the inclination angle of the handheld device with respect to the ground is:
6. the gravity sensing method of the mobile terminal quick browsing device based on gravity sensing according to claim 3, wherein the formula for calculating the turning angle is:
7. the gravity sensing method of a mobile terminal quick browsing device based on gravity sensing according to claim 1, wherein in step S3, if the operation variable of the user matches the operation variable preset by the user, the browser of the handheld device starts a corresponding function, including:
event identification: when a user performs gesture operation in the browser, the browser firstly captures related events; the related events include: the method comprises the steps of touching a screen by a finger, sliding the finger on the screen, leaving the screen by the finger, pressing down a mouse, moving the mouse and releasing the mouse;
gesture recognition: after capturing related events, the browser analyzes the characteristics of the events to judge gesture actions executed by a user, and calculates and compares the positions, displacement, speed and time intervals of the events;
gesture processing: after the browser determines that a user executes a specific gesture action, triggering corresponding processing logic, wherein the corresponding processing logic comprises executing specific browser operation or executing user-defined user operation, the executing of the specific browser operation comprises advancing, backing, refreshing and tab page switching, and the user-defined user operation comprises calling a specific JavaScript function or executing specific interface interaction;
compatibility and configuration: the browser performs gesture setting and configuration through built-in gesture control functions;
and creating and triggering a proper event through the JavaScript API to simulate gesture operation.
8. The gravity sensing method of the mobile terminal quick browsing device based on gravity sensing according to claim 7, wherein the processing flow of the browser simulated gesture comprises:
event creation: creating a suitable event object using JavaScript;
event attribute setting: setting the position of a touch point and the attribute of a target element for a touch event; setting a mouse position and a button type attribute for a mouse event;
event dispatch: dispatching the created event object to a target element by using a dispatchEvent method, and triggering corresponding event processing logic;
through combining the steps, writing JavaScript codes to simulate various gesture operations, including clicking, sliding and kneading;
the browser or operating system performs simulated gestures through the GestureEvent interface and the pointevent interface.
9. A gravity sensing-based mobile terminal quick browsing device, wherein the gravity sensing method of the gravity sensing-based mobile terminal quick browsing device according to any one of claims 1 to 8 is implemented, and the device comprises:
the gravity sensing monitoring module is in direct hardware interaction with a gravity sensing sensor of the handheld device, acquires gravity sensing data and transmits the data to the gravity sensing identification module;
the condition detection module: the module is mainly responsible for carrying out real-time calculation on the gravity sensing data and carrying out logic processing according to preset data; comparing the measured value with a preset value, and judging whether the corresponding working condition meets the requirement;
and a message sending module: responsible for event messaging, messaging between the handset browser and the software development kit SDK;
and the browser interaction module is responsible for interacting the instructions generated by the gravity sensing identification module, including backward, forward, upward pulling and downward sliding.
10. The gravity sensing-based mobile terminal quick browsing device of claim 9, wherein the gravity sensing-based mobile terminal quick browsing device is applied to a smart phone touch screen to perform backward, forward, pull down and upward sliding of a comparison chart.
CN202311607953.XA 2023-11-29 2023-11-29 Mobile terminal quick browsing device based on gravity sensing and gravity sensing method Pending CN117572973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311607953.XA CN117572973A (en) 2023-11-29 2023-11-29 Mobile terminal quick browsing device based on gravity sensing and gravity sensing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311607953.XA CN117572973A (en) 2023-11-29 2023-11-29 Mobile terminal quick browsing device based on gravity sensing and gravity sensing method

Publications (1)

Publication Number Publication Date
CN117572973A true CN117572973A (en) 2024-02-20

Family

ID=89891522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311607953.XA Pending CN117572973A (en) 2023-11-29 2023-11-29 Mobile terminal quick browsing device based on gravity sensing and gravity sensing method

Country Status (1)

Country Link
CN (1) CN117572973A (en)

Similar Documents

Publication Publication Date Title
US9898180B2 (en) Flexible touch-based scrolling
US8957854B2 (en) Zero-click activation of an application
CN105446673B (en) The method and terminal device of screen display
US7411575B2 (en) Gesture recognition method and touch system incorporating the same
CN106415472B (en) Gesture control method and device, terminal equipment and storage medium
US8462113B2 (en) Method for executing mouse function of electronic device and electronic device thereof
US20140118268A1 (en) Touch screen operation using additional inputs
WO2019019900A1 (en) Black screen gesture detection method and device, storage medium, and mobile terminal
US9317171B2 (en) Systems and methods for implementing and using gesture based user interface widgets with camera input
KR20130101536A (en) Camera-based information input method and terminal
CN107608550A (en) Touch operation response method and device
CN104182166A (en) Control method and device of intelligent terminal application program
EP3008556B1 (en) Disambiguation of indirect input
CN112416236A (en) Gesture packaging and interaction method and device based on web page and storage medium
US20150212725A1 (en) Information processing apparatus, information processing method, and program
US9727151B2 (en) Avoiding accidental cursor movement when contacting a surface of a trackpad
CN107092433B (en) Touch control method and device of touch control all-in-one machine
CN117572973A (en) Mobile terminal quick browsing device based on gravity sensing and gravity sensing method
CN109885249A (en) A kind of split screen processing method, intelligent terminal and readable storage medium storing program for executing
CN104049832A (en) Display method of touch control cursor
TWI502420B (en) Electronic apparatus and touch input method thereof
EP4296836A1 (en) Touch response method, device, interactive white board, and storage medium
CN102789358A (en) Image output and display method, device and display equipment
CN114995721B (en) Automatic browsing method, terminal and computer storage medium
US11853491B1 (en) Systems and methods to transition between pointing techniques

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