CN107831920B - Cursor movement display method and device, mobile terminal and storage medium - Google Patents

Cursor movement display method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN107831920B
CN107831920B CN201710985644.4A CN201710985644A CN107831920B CN 107831920 B CN107831920 B CN 107831920B CN 201710985644 A CN201710985644 A CN 201710985644A CN 107831920 B CN107831920 B CN 107831920B
Authority
CN
China
Prior art keywords
current
image
state
data
highlighted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710985644.4A
Other languages
Chinese (zh)
Other versions
CN107831920A (en
Inventor
郭庆伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710985644.4A priority Critical patent/CN107831920B/en
Publication of CN107831920A publication Critical patent/CN107831920A/en
Application granted granted Critical
Publication of CN107831920B publication Critical patent/CN107831920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

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)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a cursor movement display method, a cursor movement display device, a mobile terminal and a storage medium, wherein the method comprises the following steps: receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value; judging whether the current marking state is a highlighted state or not; and if so, acquiring a default image, performing preset rendering on the default image to obtain a highlighted image, and performing corresponding position offset on the highlighted image according to the current offset value. According to the invention, the cursor display is carried out without adopting a wire to be connected with an external mobile device or adopting a mode of manually touching the display screen to control the cursor to move, so that the operation of a user is facilitated, and the cursor movement display method can also carry out the display of a highlighted image, so that the demonstration operation of the user during the presentation or PPT and other reports is facilitated.

Description

Cursor movement display method and device, mobile terminal and storage medium
Technical Field
The present invention relates to the field of cursor technologies, and in particular, to a cursor movement display method and apparatus, a mobile terminal, and a storage medium.
Background
With the progress of science and technology and the continuous development of the internet industry, the display screen is widely used, the display screen is mainly used for displaying information such as images, files and characters selected by a user for the user to read or select, the display of a cursor is particularly important in the use process of the display screen, the cursor is also called a cursor and is mainly used for the user to control the display screen, for example, the opening of file information or the data configuration of the display screen, and the display process of the cursor is more and more emphasized by people.
The existing cursor movement display is to collect position movement data between the cursor controller and the mouse pad to control the movement display of the cursor.
In the existing cursor movement display method, the cursor movement display is controlled by collecting position movement data, so that a user must place a cursor controller on a mouse pad, and the position of the user is limited.
Disclosure of Invention
Accordingly, an object of the embodiments of the present invention is to provide a cursor movement display method and apparatus, a mobile terminal, and a storage medium for displaying by using a received somatosensory signal.
In a first aspect, the present invention provides a cursor movement display method, including:
receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value;
judging whether the current marking state is a highlighted state or not;
and if so, acquiring a default image, performing preset rendering on the default image to obtain a highlighted image, and performing corresponding position offset on the highlighted image according to the current offset value.
In the embodiment of the cursor movement display method, the sensing offset data sent by the mobile device is converted into processable data corresponding to the display device, namely the current offset value, by judging whether the current mark state is the highlighted state or not, the default image is directly subjected to position offset or rendered into the highlighted image, so that the display of the default image and the highlighted image can be performed, the multifunctional requirement of a user is met, the cursor movement display method does not need to adopt a lead to be connected with an external mobile device, does not need to adopt a mode of manually touching a display screen to control the movement of a cursor to display the cursor, but obtains the spatial movement data of the mobile device to display the corresponding cursor position, the cursor movement display method can also display the highlighted image directly through rendering, highlight display is not needed to be performed in a laser pen irradiation mode, cost is reduced, and demonstration operation of a user during presentation or PPT and other reports is facilitated.
Further, the step of performing preset rendering on the default image to obtain a highlighted image includes:
inquiring a locally stored preset image, and carrying out image replacement on the default image by using the inquired preset image;
and acquiring current screen parameter information, and performing image rendering on the preset image according to the current screen parameter information.
Further, the step of performing image rendering on the preset image according to the current screen parameter information includes:
acquiring current screen brightness, and inquiring current image color corresponding to the current screen brightness in a local brightness table;
and performing color filling on the preset image according to the current image color to obtain the highlighted image.
Further, the step of correspondingly offsetting the default image according to the current offset value includes:
acquiring a current coordinate point of the default image, and calculating the sum of the current coordinate point and the current offset value to obtain a display coordinate point;
and linearly moving the default image towards the display coordinate point until the current coordinate point is equal to the display coordinate point.
Further, the step of determining whether the current mark state is a highlighted state includes:
inquiring a mark digit stored locally, extracting a mark character corresponding to the mark digit in the character string of the current somatosensory mobile data, and judging whether the mark character is a preset character or not;
and if so, judging that the current marking state is the highlighting state.
Further, the step of processing the sensing offset data according to a preset algorithm to obtain a current offset value includes:
and inquiring a scaling of local storage, and correspondingly scaling the induction offset value in the induction offset data according to the scaling to obtain the current offset value.
Further, after the step of determining whether the current mark state is a highlight state, the method further includes:
and when the current marking state is judged not to be the highlighted state, carrying out corresponding position offset on the default image according to the current offset value.
In a second aspect, the present invention provides a cursor movement display device comprising:
the receiving unit is used for receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value;
the judging unit is used for judging whether the current marking state is a highlighted state or not;
the first offset unit is used for acquiring a default image, performing preset rendering on the default image to obtain a highlighted image and performing corresponding position offset on the highlighted image according to the current offset value when the judgment result of the judgment unit is yes;
and the second offset unit is used for carrying out corresponding position offset on the default image according to the current offset value.
In the embodiment of the cursor moving display device, the sensing offset data sent by the mobile device is converted into the processable data of the first offset unit and the second offset unit, namely the current offset value, through the design of the judging unit, the cursor moving display device is controlled to display the default image or the highlighted image according to the requirement of the user, so that the requirements of the user on speech and multiple functions can be met, the cursor moving display device is not required to be connected with an external mobile device through a lead wire or to display a cursor in a mode of controlling the movement of the cursor by manually touching a display screen, so that the operation of the user is facilitated, and the cursor moving display device can also directly display the highlighted image through rendering without using a laser pen for highlighting, and further, the cost is reduced, and the demonstration operation of the user during the presentation or PPT and other reports is facilitated.
In a third aspect, the present invention provides a mobile terminal, including a memory and a processor, where the memory is used for storing a computer program, and the processor runs the computer program to make the mobile terminal execute the above cursor movement display method.
In a fourth aspect, the present invention provides a storage medium having stored thereon a computer program for use in the above-described mobile terminal.
Drawings
Fig. 1 is a flowchart of a cursor movement display method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a cursor movement display method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of step S41 in FIG. 2;
FIG. 4 is a schematic structural diagram of a cursor movement display device according to a third embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a cursor movement display device according to a fourth embodiment of the present invention;
Detailed Description
In order to facilitate a better understanding of the invention, the invention will be further explained below with reference to the accompanying drawings of embodiments. Embodiments of the present invention are shown in the drawings, but the present invention is not limited to the preferred embodiments described above. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Referring to fig. 1, a flowchart of a cursor movement display method according to a first embodiment of the present invention includes steps S10 to S40.
Step S10, receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value;
wherein, be equipped with the gyroscope sensor in the mobile device, work as when the mobile device carries out position movement the gyroscope sensor can produce the response data, the mobile device is through monitoring behind the gyroscope sensor so that will the gyroscope sensor produces the response data packs and sends, can understand the gyroscope sensor still can be other mobile device sensors, because display device can not directly be right the gyroscope sensor is gathered the response data is handled, consequently passes through in this implementation predetermine algorithm processing so that will the mobile device sends the response offset data turn into display device corresponds can handle data, and then has made things convenient for the follow-up display device control cursor carries out the removal operation that corresponds.
Step S20, judging whether the current mark state is a highlight state;
in this embodiment, the current mark state includes the highlighted state and a default state, and further, whether the current mark state is the highlighted state is determined, so that the default image display or the highlighted image display is correspondingly performed, the current mark state is used for displaying the default image normally when the default state is displayed, and the current mark state is mainly used for presentation of a user during office reports such as lectures or PPTs when the highlighted image is displayed.
When the step S20 determines that the current flag state is the highlighted state, a step S30 is performed.
Step S30, acquiring a default image, performing preset rendering on the default image to obtain a highlight image, and performing corresponding position offset on the highlight image according to the current offset value;
the default image is replaced by the highlighted image through the preset rendering design, and because the cursor is needed to be more prominent and prominent when a user carries out a report such as a speech or a PPT, the cursor is displayed in a mode of displaying the highlighted image, the cursor is automatically rendered into the highlighted image by the system without controlling a laser pen by the user in the cursor movement display method, so that the cursor can be displayed when the user carries out the report such as the speech or the PPT.
When the step S20 determines that the current flag state is not the highlighted state, executing step S40;
step S40, performing corresponding position offset on the default image according to the current offset value;
in this embodiment, the default image of the cursor is a mouse image, and when it is determined that the current mark state is not the highlighted state, current position information of the mouse image is obtained and corresponding position offset is performed according to the current offset value.
The cursor movement display method of this embodiment, through the design of the preset algorithm, converts the sensing offset data sent by the mobile device into processable data corresponding to the display device, that is, the current offset value, and through the design of judging whether the current mark state is the highlight state, so as to directly shift the position of the default image or render the default image into the highlight image, thereby not only displaying the default image but also displaying the highlight image, thereby satisfying the multifunctional requirement of the user, the cursor movement display method does not need to adopt a wire to connect with an external mobile device, does not need to adopt a mode of manually touching a display screen to control the movement of a cursor to display the cursor, but also obtains the spatial movement data of the mobile device to display the corresponding cursor position, the cursor movement display method can also display the highlighted image directly through rendering, highlight display is not needed to be performed in a laser pen irradiation mode, cost is reduced, and demonstration operation of a user during presentation or PPT and other reports is facilitated.
Referring to fig. 2, a flowchart of a cursor movement display method according to a second embodiment of the present invention is shown, where the method includes steps S11 to S71.
Step S11, receiving current body sensing movement data of the mobile equipment, and acquiring induction offset data and a current mark state in the current body sensing movement data;
the mobile device is characterized in that a gyroscope sensor is arranged in the mobile device, when the mobile device moves in position, the gyroscope sensor can generate sensing data, the mobile device monitors the position of the gyroscope sensor, so that the sensing data generated by the gyroscope sensor can be packaged and transmitted, and the gyroscope sensor can be understood as other mobile device sensors.
Step S21, inquiring a scaling ratio of local storage, and correspondingly scaling the induction offset value in the induction offset data according to the scaling ratio to obtain a current offset value;
in this embodiment, the scaling is queried and the sensing offset value in the sensing offset data is scaled in a corresponding proportion, so that the sensing offset data sent by the mobile device is converted into processable data corresponding to the display device, that is, the current offset value, thereby facilitating the subsequent movement operation of the display device for controlling a cursor.
Step S31, inquiring the number of mark bits stored locally, extracting the mark character corresponding to the number of mark bits in the character string of the current somatosensory mobile data, and judging whether the mark character is a preset character;
it can be arbitrary character to predetermine the character, and is preferred, in this embodiment predetermine the character and be digit 1, judge promptly whether the marker character is 1, the first character in the character string of current body sense mobile data is the marker character, and judge whether the value of first character is 1, through judging whether the value of first character is 1, so that corresponding going on the demonstration of default image or highlight image, when carrying out be used for normally when the demonstration of default image mouse image, when carrying out the demonstration when the display of highlight image, mainly used for the user when lecturing or PPT etc. office reports.
When the step S31 judges that the marker character is 1, a step S41 is executed.
When the mark character is judged to be 1, the current mark state is judged to be the highlighted state, and when the user presses the display screen of the mobile device with a finger, the mobile device packages the sensing data and sends the sensing data, the mark character is marked to be 1, so that the user can display a cursor as the highlighted image for presentation of a presentation such as a speech or a PPT report, namely the value of the first character is 1.
And step S41, acquiring current screen parameter information, and performing image rendering on the preset image according to the current screen parameter information to obtain a highlighted image.
The current screen parameter information can be information such as a brightness parameter, a scene parameter, a volume parameter and the like, the current screen parameter information corresponds to an image rendering step, so that the preset image is subjected to corresponding image rendering to obtain the highlighted image, and the different image rendering steps corresponding to the current screen parameter information can be the same or different.
Referring to fig. 3, a flow of steps S41 includes steps S401 to S402.
Step S401, inquiring a locally stored preset image, and carrying out image replacement on the default image by using the inquired preset image;
the user can design the preset image according to the requirement of the user, and the preset image is a circular image in the embodiment.
Step S402, acquiring current screen brightness, inquiring current image color corresponding to the current screen brightness in a local brightness table, and performing color filling on the preset image according to the current image color to obtain the highlighted image;
the design of the brightness table is inquired, so that the pen point colors are selected to be different according to different current screen brightness, the preset images are filled, the display effect of the highlighted images on the display device is good, the problem that the effect is poor due to strong external light is solved well, and user experience is improved.
Step S51, performing corresponding position offset on the highlighted image according to the current offset value;
wherein the manner of movement of the highlighted image is understood to be the same as the manner of movement of the default image.
When the step S31 judges that the marker character is not 1, a step S61 is executed.
When the value of the first character is not 1, the current marking state is judged to be a default state, and when the user finger does not press the display screen of the mobile device, the mobile device packages the sensing data and marks the marking character to be 0 when sending the sensing data, namely the value of the first character is 0.
Step S61, acquiring a current coordinate point of the default image, and calculating the sum of the current coordinate point and the current offset value to obtain a display coordinate point;
wherein the current coordinate point is a (5, 5, 0), the current offset value is B (1, 1, 0), and thus the display coordinate point is C (6, 6, 0).
A step S71 of moving the default image straight toward the display coordinate point until the current coordinate point is equal to the display coordinate point;
wherein the default image is linearly moved toward the display coordinate point C (6, 6, 0) until the coordinates of the current coordinate point A are equal to the coordinates of the display coordinate point C.
In this embodiment, the design of processing through the preset algorithm is used to convert the sensing offset data sent by the mobile device into processable data corresponding to the display device, that is, the current offset value, by judging whether the current mark state is the highlighted state or not, so as to directly shift the default image or render the default image into the highlighted image, and further, not only display the default image but also display the highlighted image, thereby satisfying the multifunctional requirement of the user, the cursor movement display method does not need to adopt a wire to be connected with an external mobile device, and does not need to adopt a mode of controlling the movement of a cursor by a manual touch display screen to display the cursor, but also obtains the spatial movement data of the mobile device to display the corresponding cursor position, thereby facilitating the operation of the user, and the cursor movement display method can also display the highlighted image directly through rendering, and the highlighted display is not required to be performed in a laser pen irradiation mode, so that the cost is reduced, and the demonstration operation of a user during presentation or PPT and other reports is facilitated.
Referring to fig. 4, which is a schematic structural diagram of a cursor movement display device 100 according to a third embodiment of the present invention, the cursor movement display device 100 includes:
the receiving unit 10 is configured to receive current somatosensory movement data of the mobile device, acquire induced offset data and a current mark state in the current somatosensory movement data, and process the induced offset data according to a preset algorithm to obtain a current offset value.
Be equipped with the gyroscope sensor in the mobile device, work as the mobile device carries out position when removing the gyroscope sensor can produce the response data, the mobile device is through monitoring behind the gyroscope sensor so that will the gyroscope sensor produces the response data is packed and is sent, can understand the gyroscope sensor still can be other mobile device sensors.
In this embodiment, the cursor movement display device 100 is in communication connection with the mobile device, the cursor movement display device 100 starts a service program first, the service program is used for being responsible for simulating movement of a default image or displaying of a simulated highlight image, the mobile device starts a client program, the client program is used for being responsible for monitoring the gyroscope sensor to obtain an offset value in a three-dimensional direction and package and send the offset value to the cursor movement display device 100, and in this embodiment, the cursor movement display device 100 and the mobile device are connected by tcp socket.
The determining unit 20 is configured to determine whether the current mark state is a highlight state, where the current mark state in this embodiment includes the highlight state and a default state, and further determines whether the current mark state is the highlight state, so as to correspondingly perform display of the default image or display of the highlight image, where the default state is displayed when the default state is displayed, and when the highlight image is displayed, the determining unit is mainly used for a user to perform presentation during office reports such as lectures or PPTs.
A first shifting unit 40, configured to, when the determination result of the determining unit 20 is yes, perform preset rendering on the mouse to obtain a highlighted image, perform corresponding position shifting on the highlighted image according to the current shift value, and when it is determined that the current mark state is the highlighted state, replace the default image with the highlighted image through the design of the preset rendering, where the cursor is required to be more conspicuous and prominent when a user performs a report such as a speech or a PPT, and therefore the cursor is often displayed in a manner of displaying the highlighted image.
A second offset unit 30, configured to perform, when the determination result of the determining unit 20 is negative, corresponding position offset on the default image according to the current offset value, where the default image of the cursor is a mouse image in this embodiment, and further, when it is determined that the current mark state is not the highlight state, obtain current position information of the mouse image and perform corresponding position offset according to the current offset value.
The first shift unit 40 includes:
the first query unit 41 is configured to query a locally stored preset image, and perform image replacement on the default image with the queried preset image, where a user may design the preset image according to a need of the user, where the preset image is a circular image in this embodiment.
The second shift unit 30 includes:
an obtaining unit 31, configured to obtain a current coordinate point of the default image, and calculate a sum of the current coordinate point and the current offset value to obtain a display coordinate point, where the current coordinate point is a (5, 5, 0) and the current offset value is B (1, 1, 0), so that the display coordinate point is C (6, 6, 0).
A sub-shifting unit 32 configured to linearly move the default image toward the display coordinate point until the current coordinate point is equal to the display coordinate point, and linearly move the mouse toward the display coordinate point C (6, 6, 0) until the coordinates of the current coordinate point a are equal to the coordinates of the display coordinate point C.
The judgment unit 20 includes:
a third query unit 21, configured to query a number of marker bits stored locally, and extract a marker character corresponding to the number of marker bits in the character string of the current somatosensory mobile data, where the number of marker bits is 1 in this embodiment, that is, a first character in the character string of the current somatosensory mobile data is the marker character.
A sub-determining unit 22, configured to determine, according to the query result of the third querying unit 21, whether the marked character is a preset character, if so, determine that the current marked state is the highlighted state, that is, determine whether the value of the first character is 1, and by determining whether the value of the first character is 1, perform display of the mouse image or display of the highlighted image correspondingly, where the sub-determining unit is configured to perform normal cursor display when performing display of the mouse image, and when performing display of the highlighted image, is mainly used for a user to perform presentation during office reports such as speech or PPT.
The receiving unit 10 includes:
the fourth query unit 11 is configured to query a locally stored scaling factor, and correspondingly scale a sensing offset value in the sensing offset data according to the scaling factor to obtain the current offset value, where in this implementation, the display device is not capable of directly processing the sensing data acquired by the gyroscope sensor, so that the sensing offset data sent by the mobile device is converted into processable data corresponding to the display device, that is, the current offset value, by querying the scaling factor and scaling the sensing offset value in the sensing offset data according to the corresponding scaling factor, thereby facilitating a subsequent movement operation of the display device for controlling the cursor.
In this embodiment, the design of the receiving unit 10 is used to convert the sensing offset data sent by the mobile device into processable data of the first offset unit 40 and the second offset unit 30, that is, the current offset value, and the design of the judging unit 20 is used to control the cursor movement display device 100 to display the default image or the highlighted image according to the requirement of the user, so as to meet the requirement of the user for speech and multiple functions, the cursor movement display device 100 does not need to be connected with an external mobile device by a wire or to display a cursor by manually touching a display screen to control the movement of the cursor, thereby facilitating the operation of the user, and the cursor movement display device 100 can also directly display the highlighted image by rendering without using a laser pen for highlighting, and further, the cost is reduced, and the demonstration operation of the user during the presentation or PPT and other reports is facilitated.
Referring to fig. 5, a schematic structural diagram of a cursor movement display device 100a according to a fourth embodiment of the present invention is shown, the fourth embodiment is substantially the same as the third embodiment, and the difference is that the first shifting unit 40a further includes:
and the image rendering unit 42 is configured to obtain current screen parameter information, and perform image rendering on the preset image according to the current screen parameter information.
The image rendering unit 42 includes:
and a second querying unit 43, configured to obtain the current screen brightness, and query the current image color corresponding to the current screen brightness in the local brightness table.
A filling unit 44, configured to perform color filling on the preset image according to the current image color according to the query result of the second querying unit 43, so as to obtain the highlighted image.
In this embodiment, the second query unit 43 queries the design of the brightness table to select different colors of the current image according to different current screen brightness, so as to ensure that the display effect of the highlighted image on the display device is good, and the filling unit 44 performs corresponding color filling on the preset image according to the query result of the second query unit 43 to obtain the highlighted image, thereby well solving the problem of poor effect caused by strong external light, improving user experience, and effectively improving the display effect of the cursor movement display device 100 a.
The embodiment also provides a mobile terminal, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the mobile terminal to execute the cursor movement display method.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, where the program may be stored in a computer readable storage medium, and when executed, the program includes the following steps:
receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value;
judging whether the current marking state is a highlighted state or not;
and if so, acquiring a default image, performing preset rendering on the default image to obtain a highlighted image, and performing corresponding position offset on the highlighted image according to the current offset value. The storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above-described embodiments describe the technical principles of the present invention, and these descriptions are only for the purpose of explaining the principles of the present invention and are not to be construed as limiting the scope of the present invention in any way. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.

Claims (9)

1. A cursor movement display method, characterized in that the method comprises:
receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value; the mobile equipment is internally provided with a gyroscope sensor, the gyroscope sensor can generate sensing data when the mobile equipment moves, and the mobile equipment can pack and send the sensing data generated by the gyroscope sensor by monitoring the gyroscope sensor;
judging whether the current marking state is a highlighted state or not;
if so, acquiring a default image, performing preset rendering on the default image to obtain a highlighted image, and performing corresponding position offset on the highlighted image according to the current offset value;
the step of judging whether the current mark state is a highlight state comprises the following steps:
inquiring a mark digit stored locally, extracting a mark character corresponding to the mark digit in the character string of the current somatosensory mobile data, and judging whether the mark character is a preset character or not;
and if so, judging that the current marking state is the highlighting state.
2. The cursor movement display method according to claim 1, wherein the step of performing the preset rendering on the default image to obtain the highlighted image comprises:
inquiring a locally stored preset image, and carrying out image replacement on the default image by using the inquired preset image;
and acquiring current screen parameter information, and performing image rendering on the preset image according to the current screen parameter information.
3. The cursor movement display method according to claim 2, wherein the step of image rendering the preset image according to the current screen parameter information comprises:
acquiring current screen brightness, and inquiring current image color corresponding to the current screen brightness in a local brightness table;
and performing color filling on the preset image according to the current image color to obtain the highlighted image.
4. The cursor movement display method according to claim 1, wherein the step of correspondingly offsetting the default image according to the current offset value comprises:
acquiring a current coordinate point of the default image, and calculating the sum of the current coordinate point and the current offset value to obtain a display coordinate point;
and linearly moving the default image towards the display coordinate point until the current coordinate point is equal to the display coordinate point.
5. The cursor movement display method of claim 1, wherein the step of processing the sensing offset data according to a preset algorithm to obtain a current offset value comprises:
and inquiring a scaling of local storage, and correspondingly scaling the induction offset value in the induction offset data according to the scaling to obtain the current offset value.
6. The cursor movement display method according to claim 1, wherein after the step of determining whether the current mark state is a highlight state, the method further comprises:
and when the current marking state is judged not to be the highlighted state, carrying out corresponding position offset on the default image according to the current offset value.
7. A cursor movement display device, comprising:
the receiving unit is used for receiving current body sensing movement data of the mobile equipment, acquiring induction offset data and a current mark state in the current body sensing movement data, and processing the induction offset data according to a preset algorithm to obtain a current offset value;
the judging unit is used for judging whether the current marking state is a highlighted state or not;
the first offset unit is used for acquiring a default image, performing preset rendering on the default image to obtain a highlighted image and performing corresponding position offset on the highlighted image according to the current offset value when the judgment result of the judgment unit is yes;
a second offset unit, configured to perform corresponding position offset on the default image according to the current offset value;
the third query unit is used for querying the number of mark bits stored locally and extracting mark characters corresponding to the mark bits in the character string of the current somatosensory mobile data;
and the sub-judgment unit is used for judging whether the marked character is a preset character or not according to the query result of the third query unit.
8. A mobile terminal characterized by comprising a memory for storing a computer program and a processor for executing the computer program to cause the mobile terminal to execute the cursor movement display method according to any one of claims 1 to 6.
9. A storage medium characterized in that it stores a computer program for use in a mobile terminal according to claim 8.
CN201710985644.4A 2017-10-20 2017-10-20 Cursor movement display method and device, mobile terminal and storage medium Active CN107831920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710985644.4A CN107831920B (en) 2017-10-20 2017-10-20 Cursor movement display method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710985644.4A CN107831920B (en) 2017-10-20 2017-10-20 Cursor movement display method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107831920A CN107831920A (en) 2018-03-23
CN107831920B true CN107831920B (en) 2022-01-28

Family

ID=61648738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710985644.4A Active CN107831920B (en) 2017-10-20 2017-10-20 Cursor movement display method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107831920B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968195B (en) * 2019-11-29 2023-07-25 深圳朗特智能控制股份有限公司 Cursor control method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765899A (en) * 2014-01-02 2015-07-08 航天信息股份有限公司 Computer graphic representation method and device for grain circulation facility
CN104809347A (en) * 2015-04-28 2015-07-29 南京巨鲨显示科技有限公司 Realization method for controlling highlighted region display of display
CN103064532B (en) * 2012-12-29 2016-02-10 四川虹微技术有限公司 A kind of air mouse remote controller
CN105353883A (en) * 2015-12-08 2016-02-24 清华大学 Man-machine interaction method, man-machine interaction system and calculating apparatus

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385468B (en) * 2010-08-30 2014-12-31 联想(北京)有限公司 Electronic equipment and operation prompt identifier moving method thereof
CN103162682B (en) * 2011-12-08 2015-10-21 中国科学院合肥物质科学研究院 Based on the indoor path navigation method of mixed reality
CN104685869B (en) * 2012-09-27 2018-12-28 京瓷株式会社 Display device, control method
JP2015014882A (en) * 2013-07-04 2015-01-22 ソニー株式会社 Information processing apparatus, operation input detection method, program, and storage medium
KR102194262B1 (en) * 2013-12-02 2020-12-23 삼성전자주식회사 Method for displaying pointing information and device thereof
US9448631B2 (en) * 2013-12-31 2016-09-20 Microsoft Technology Licensing, Llc Input device haptics and pressure sensing
US9658701B2 (en) * 2014-01-27 2017-05-23 Logitech Europe S.A. Input device with hybrid tracking
CN103995592A (en) * 2014-05-21 2014-08-20 上海华勤通讯技术有限公司 Wearable equipment and terminal information interaction method and terminal
US20160085311A1 (en) * 2014-09-24 2016-03-24 Sony Corporation Control unit and method of interacting with a graphical user interface
CN104317398B (en) * 2014-10-15 2017-12-01 天津三星电子有限公司 A kind of gestural control method, Wearable and electronic equipment
KR20160071869A (en) * 2014-12-12 2016-06-22 삼성전자주식회사 A display apparatus and a display method
CN106033408B (en) * 2015-03-20 2019-11-26 广州金山移动科技有限公司 A kind of object swing method of adjustment and device
CN106774868B (en) * 2016-12-06 2020-04-10 杨超峰 Wireless presentation device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064532B (en) * 2012-12-29 2016-02-10 四川虹微技术有限公司 A kind of air mouse remote controller
CN104765899A (en) * 2014-01-02 2015-07-08 航天信息股份有限公司 Computer graphic representation method and device for grain circulation facility
CN104809347A (en) * 2015-04-28 2015-07-29 南京巨鲨显示科技有限公司 Realization method for controlling highlighted region display of display
CN105353883A (en) * 2015-12-08 2016-02-24 清华大学 Man-machine interaction method, man-machine interaction system and calculating apparatus

Also Published As

Publication number Publication date
CN107831920A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
US20130067865A1 (en) Wrapping support apparatus, computer readable medium, wrapping material, and wrapping support method
US8542199B2 (en) Image processing apparatus, image processing method, and program
US10013156B2 (en) Information processing apparatus, information processing method, and computer-readable recording medium
MY193559A (en) Object display method, terminal device, and computer storage medium
CN108027903B (en) Information processing apparatus, control method, and program
US9582094B2 (en) Information processing device, display device with touch panel, information processing method, and program
JP2010079834A (en) Device for determination of mounting position of coordinate detection device and electronic board system
JP5871080B2 (en) Image display device, portable terminal device, information processing system, image display device control method, and program
JP2015172887A (en) Gesture recognition device and control method of gesture recognition device
JP2018120598A5 (en)
CN107831920B (en) Cursor movement display method and device, mobile terminal and storage medium
JP5392794B2 (en) Measuring device and measuring program
JP2015215680A (en) Electronic writing device
JP2016048428A5 (en) Information processing apparatus, control method, and computer program
US20190265881A1 (en) Information processing apparatus, information processing method, and storage medium
JP2011044013A5 (en)
CN105468173A (en) Automatic page-turning electronic device and method for realizing off-screen handwriting input
JP2017004574A5 (en)
JP2013130872A (en) Map image providing system, map image providing method and program
CN104820599A (en) Electronic terminal, and control method and system of electronic terminal based on distance inductors
EP3255610B1 (en) Image processing method and apparatus, and electronic terminal
JP6225724B2 (en) Information sharing system, information sharing method, information processing apparatus, and information processing method
JP2015052523A (en) Information input device, control method, and program
KR101396114B1 (en) Method for displaying motion drawing based on smart-phone, and smart-phone with motion drawing display function
US20230196566A1 (en) Image annotation system and method

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
GR01 Patent grant
GR01 Patent grant