CN111104010B - Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment - Google Patents

Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment Download PDF

Info

Publication number
CN111104010B
CN111104010B CN201911137861.3A CN201911137861A CN111104010B CN 111104010 B CN111104010 B CN 111104010B CN 201911137861 A CN201911137861 A CN 201911137861A CN 111104010 B CN111104010 B CN 111104010B
Authority
CN
China
Prior art keywords
screen
eraser
slope
coordinate points
machine equipment
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
CN201911137861.3A
Other languages
Chinese (zh)
Other versions
CN111104010A (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 Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN201911137861.3A priority Critical patent/CN111104010B/en
Publication of CN111104010A publication Critical patent/CN111104010A/en
Application granted granted Critical
Publication of CN111104010B publication Critical patent/CN111104010B/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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

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)

Abstract

The invention discloses a method and a device for realizing an angled blackboard eraser of all-in-one machine equipment, a storage medium and the all-in-one machine equipment, wherein the method comprises the following steps: the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode; the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser; after the screen is switched to a mode for generating the eraser, the all-in-one machine equipment monitors an eraser generation signal generated on the screen in real time; generating an angled eraser based on the eraser generation signal. In the embodiment of the invention, the generated simulated blackboard eraser has a certain angle, so that a user can use the simulated blackboard eraser to follow a near-real experience.

Description

Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment
Technical Field
The invention relates to the technical field of all-in-one machine equipment, in particular to a method and a device for realizing an angled blackboard eraser of all-in-one machine equipment, a storage medium and all-in-one machine equipment.
Background
The existing electronic whiteboard of the education machine on the market is generally erased by a palm, and the erased graph is a graph or an ellipse; in order to improve the unfriendly experience brought by palm erasing (for example, oil stain on the hand stains the screen), a regular rectangular eraser replaces the palm erasing, but the rectangular erasing range cannot be matched with the angle of the eraser; in the process of practical application, the generated eraser can not be rotated by a corresponding angle, and certain data information on the screen of the all-in-one machine can not be accurately wiped, so that the user experience is poor.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides an angled eraser realization method and device of all-in-one machine equipment, a storage medium and all-in-one machine equipment, so that the generated simulated eraser has a certain angle, and a user can use the simulated eraser to approach to real experience.
In order to solve the technical problem, an embodiment of the present invention provides an implementation method for an angled blackboard eraser of an all-in-one machine device, where the method includes:
the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode;
the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser;
after the screen is switched to a mode for generating the eraser, the all-in-one machine equipment monitors an eraser generation signal generated on the screen in real time;
generating an angled eraser based on the eraser generation signal.
Optionally, the all-in-one machine device receives a switching instruction for switching to an eraser mode, which is generated based on screen operation, and the switching instruction includes:
the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, wherein the switching instruction is generated by a user through operation based on virtual operation preset under a screen; or the like, or, alternatively,
identifying form data of an object currently in contact with the screen, the form data including shape data and size data;
the screen judges whether the form data is consistent with preset blackboard eraser form data or not;
and if so, the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, which is generated on the screen based on the shape data of the object.
Optionally, the all-in-one machine device monitors, in real time, an eraser generation signal generated on the screen, and includes:
the all-in-one machine equipment acquires information of four coordinate points of an object placed at the leftmost position, the uppermost position, the rightmost position and the lowermost position of the screen based on the screen;
calculating slopes of a first oblique side and a second oblique side of the object based on four coordinate point information of the object placed at the leftmost, the uppermost, the rightmost and the lowermost of the screen, respectively;
judging whether the angle difference between the slope of the first bevel edge and the slope of the second bevel edge is within a preset angle range or not;
if yes, confirming that the object is an eraser, and generating an eraser generating signal based on the shape data of the object on the screen.
Optionally, the calculating the slopes of the first oblique side and the second oblique side of the object based on the information of the four coordinate points of the object placed at the leftmost, the uppermost, the rightmost, and the lowermost of the screen includes:
taking the middle point of a straight line formed by the information of two leftmost and lowest coordinate points of the object placed on the screen as a boundary, calculating the value of two-two slopes between two coordinate points of the coordinate points formed by the object between the leftmost and lowest two points of the screen, and acquiring the value of two-two slopes between two coordinate points of a first slope;
obtaining the slope of the first bevel edge based on the slope values of every two coordinate points of the first bevel edge;
taking the middle point of a straight line formed by the information of the two coordinate points of the object placed at the top and the right of the screen as a boundary, calculating the value of the two-two slope between the two coordinate points of the coordinate point formed by the object between the top and the right of the screen, and acquiring the value of the two-two slope between the two coordinate points of the second slope;
and obtaining the slope of the second oblique side based on the slope values of every two coordinate points of the second oblique side.
Optionally, obtaining the slope of the first oblique side based on a value of a slope between two coordinate points of the first oblique side includes:
arranging and combining two slopes between two coordinate points of the first bevel edge to obtain two slopes between a plurality of groups of two coordinate points;
and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the first bevel edge.
Optionally, obtaining the slope of the second oblique side based on a value of two slopes between two coordinate points of the second oblique side includes:
arranging and combining two slopes between two coordinate points of the second bevel edge to obtain two slopes between a plurality of groups of two coordinate points;
and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the second bevel edge.
Optionally, the screen of the all-in-one machine device is a capacitive screen or an infrared transceiver is arranged around the screen of the all-in-one machine device;
the screen of the all-in-one machine equipment is used for identifying the coordinate position operated on the screen by the user and the shape data of the object operated on the screen by the user.
In addition, the embodiment of the invention also provides an angle-carrying eraser implementation device of all-in-one machine equipment, which comprises:
a switching instruction generation module: the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode;
the response switching module: the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser;
a signal generation module: the all-in-one machine device is used for monitoring an eraser generation signal generated on the screen in real time after the screen is switched to a mode for generating an eraser;
the board eraser generation module: for generating an angled eraser based on the eraser generation signal.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the methods described above.
In addition, an embodiment of the present invention further provides an all-in-one machine device, which is characterized by including:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: the method for realizing the angle blackboard eraser is implemented.
In the embodiment of the invention, an eraser generation signal generated on the screen is monitored in real time through the all-in-one machine equipment; generating an angled eraser based on the eraser generation signal; the generated simulated blackboard eraser has a certain angle, so that a user can use the simulated blackboard eraser to have a real experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of an implementation method of an angled blackboard eraser of an all-in-one machine device in the embodiment of the invention;
FIG. 2 is a schematic structural component diagram of an angled eraser implementation device of the all-in-one machine in the embodiment of the invention;
fig. 3 is a schematic structural composition diagram of the all-in-one machine device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for implementing an angled eraser of an all-in-one machine device according to an embodiment of the present invention.
As shown in fig. 1, a method for implementing an angled blackboard eraser of an all-in-one machine device includes:
s11: the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode;
in the embodiment of the present invention, the all-in-one machine device receives a switching instruction for switching to an eraser mode, which is generated based on a screen operation, and the switching instruction includes: the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, wherein the switching instruction is generated by a user through operation based on virtual operation preset under a screen; or, identifying form data of the object currently contacting the screen, wherein the form data comprises shape data and size data; the screen judges whether the form data is consistent with preset blackboard eraser form data or not; and if so, the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, which is generated on the screen based on the shape data of the object.
Specifically, a switching button for switching to the eraser mode is arranged on a screen of the all-in-one machine device, and the button can be a virtual button under the screen, namely a menu button realized in a software mode, or a hardware button around the screen, and a switching instruction for switching the screen state to the eraser mode is generated by touching and pressing the button.
It may also be implemented in another form, for example, a screen recognizes shape data of an object currently touching the screen, the shape data including shape data and size data; then after the screen obtains the form data, the form data is compared and judged with the preset blackboard eraser form data, whether the state of a generated switching instruction for switching to a blackboard eraser mode is determined by judging whether the form data is consistent with the preset blackboard eraser form data, and when the state of the switching instruction for switching to the blackboard eraser mode is consistent with the preset blackboard eraser form data, the all-in-one machine equipment receives the switching instruction for switching to the blackboard eraser mode, which is generated on the screen based on the form data of the object; if the shape data do not conform to the shape data, the object corresponding to the shape data is considered to be a non-eraser, and therefore switching is not performed.
S12: the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser;
in the specific implementation process of the invention, after the all-in-one machine device receives the switching instruction, the screen corresponding to the all-in-one machine device is switched to the mode for generating the eraser, so that the eraser can be generated in real time after the screen of the all-in-one machine device monitors the corresponding information, the generation efficiency of the eraser is improved, and better use experience is brought to a user.
S13: after the screen is switched to a mode for generating the eraser, the all-in-one machine equipment monitors an eraser generation signal generated on the screen in real time;
in the specific implementation process of the invention, the all-in-one machine device monitors the board eraser generation signal generated on the screen in real time, and comprises the following steps: the all-in-one machine equipment acquires information of four coordinate points of an object placed at the leftmost position, the uppermost position, the rightmost position and the lowermost position of the screen based on the screen; calculating slopes of a first oblique side and a second oblique side of the object based on four coordinate point information of the object placed at the leftmost, the uppermost, the rightmost and the lowermost of the screen, respectively; judging whether the angle difference between the slope of the first bevel edge and the slope of the second bevel edge is within a preset angle range or not; if yes, confirming that the object is an eraser, and generating an eraser generating signal based on the shape data of the object on the screen.
Further, the calculating the slopes of the first oblique side and the second oblique side of the object based on the information of the four coordinate points at which the object is placed at the leftmost, the uppermost, the rightmost, and the lowermost of the screen includes: taking the middle point of a straight line formed by the information of two leftmost and lowest coordinate points of the object placed on the screen as a boundary, calculating the value of two-two slopes between two coordinate points of the coordinate points formed by the object between the leftmost and lowest two points of the screen, and acquiring the value of two-two slopes between two coordinate points of a first slope; obtaining the slope of the first bevel edge based on the slope values of every two coordinate points of the first bevel edge; taking the middle point of a straight line formed by the information of the two coordinate points of the object placed at the top and the right of the screen as a boundary, calculating the value of the two-two slope between the two coordinate points of the coordinate point formed by the object between the top and the right of the screen, and acquiring the value of the two-two slope between the two coordinate points of the second slope; and obtaining the slope of the second oblique side based on the slope values of every two coordinate points of the second oblique side.
Further, obtaining the slope of the first oblique side based on a value of the slope between two coordinate points of the first oblique side includes: arranging and combining two slopes between two coordinate points of the first bevel edge to obtain two slopes between a plurality of groups of two coordinate points; and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the first bevel edge.
Further, obtaining the slope of the second oblique side based on a value of the slope between two coordinate points of the second oblique side includes: arranging and combining two slopes between two coordinate points of the second bevel edge to obtain two slopes between a plurality of groups of two coordinate points; and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the second bevel edge.
Specifically, after the screen is switched to the mode for generating the eraser, when a corresponding object is placed on the screen, the four coordinate point information of the object on the screen at the leftmost position, the uppermost position, the lowermost position and the rightmost position are obtained through the screen, and then the slopes of two oblique sides of the object formed by the four coordinate point information of the leftmost position, the uppermost position, the rightmost position and the lowermost position are respectively calculated through the four coordinate point information of the leftmost position, the uppermost position, the rightmost position and the lowermost position, so that the slope of a first oblique side and the slope of a second oblique side are obtained; and then subtracting the slope angle of the first oblique side from the slope angle of the second oblique side to obtain an angle difference, judging whether the angle difference is within a preset range, if so, determining that the object is an eraser, and then generating an eraser generating signal according to the shape data of the object on the screen and the angle formed by the slope angle of the oblique side of the object.
Specifically, four approximate sides of the object can be obtained through four coordinate point information of the leftmost, the uppermost, the rightmost and the lowermost of the object on the screen, and then the slopes of two oblique sides are calculated; specifically, a middle point of a straight line formed by information of two leftmost and lowest coordinate points of the object placed on the screen is used as a boundary, a pairwise slope value between two coordinate points of the coordinate points formed by the object between the leftmost and lowest two points of the screen is calculated, and a pairwise slope value between two coordinate points of a first bevel edge is obtained; then obtaining the slope of the first bevel edge according to the slope values of every two coordinate points of the first bevel edge; taking the middle point of a straight line formed by the information of the two coordinate points of the object placed at the top and the right of the screen as a boundary, calculating the two-to-two slope values between the two coordinate points of the coordinate point formed by the object between the top and the right of the screen, and acquiring the two-to-two slope values between the two coordinate points of the second slope; and obtaining the slope of the second oblique edge according to the slope values of every two coordinate points of the second oblique edge.
Specifically, two slopes between two coordinate points of a first bevel edge are arranged and combined to obtain two slopes between a plurality of groups of two coordinate points; selecting two slopes between a group of two coordinate points with the largest occurrence frequency as the slopes of the first bevel edge; arranging and combining the slopes of two coordinate points of the second bevel edge to obtain the slopes of two coordinate points of a plurality of groups; and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the second bevel edge.
S14: generating an angled eraser based on the eraser generation signal.
In the implementation process of the invention, the angled eraser is generated according to the shape data of the object on the screen in the eraser generation signal and the angle formed by the slope of the oblique edge of the object.
In the embodiment of the invention, the screen of the all-in-one machine equipment is a capacitive screen or an infrared transceiver is arranged around the screen of the all-in-one machine equipment; the screen of the all-in-one machine equipment is used for identifying the coordinate position operated on the screen by the user and the shape data of the object operated on the screen by the user.
Specifically, the screen can be a capacitive screen or the like which can be identified under the screen or can also be a common non-screen identified screen, when the screen is identified under the non-screen, an infrared emitter and an infrared receiver array are required to be arranged on the periphery of the screen, the position of an object is determined through the infrared emitter and the infrared receiver array, namely, an infrared detection network is formed when a plurality of infrared points on the periphery transmit signals, and a coordinate point is formed at the position where an X axis and a Y axis intersect; it is conceivable that the entire plane is composed of countless points. Therefore, when one X axis and one Y axis are blocked by the barrier, the position of the touched point can be known; when the screen is a capacitive screen or the like which can realize screen-under-screen recognition, the coordinates of an object under the screen can be directly read through a screen pixel array, and coordinate information of four positions of the uppermost position, the leftmost position, the rightmost position and the lowermost position of the object can be directly obtained.
In the embodiment of the invention, an eraser generation signal generated on the screen is monitored in real time through the all-in-one machine equipment; generating an angled eraser based on the eraser generation signal; the generated simulated blackboard eraser has a certain angle, so that a user can use the simulated blackboard eraser to have a real experience.
Examples
Referring to fig. 2, fig. 2 is a schematic structural composition diagram of an angled eraser implementation device of an all-in-one machine device in an embodiment of the present invention.
As shown in fig. 2, an angled blackboard eraser implementing apparatus for all-in-one machine equipment includes:
the switching instruction generation module 21: the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode;
in the embodiment of the present invention, the all-in-one machine device receives a switching instruction for switching to an eraser mode, which is generated based on a screen operation, and the switching instruction includes: the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, wherein the switching instruction is generated by a user through operation based on virtual operation preset under a screen; or, identifying form data of the object currently contacting the screen, wherein the form data comprises shape data and size data; the screen judges whether the form data is consistent with preset blackboard eraser form data or not; and if so, the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, which is generated on the screen based on the shape data of the object.
Specifically, a switching button for switching to the eraser mode is arranged on a screen of the all-in-one machine device, and the button can be a virtual button under the screen, namely a menu button realized in a software mode, or a hardware button around the screen, and a switching instruction for switching the screen state to the eraser mode is generated by touching and pressing the button.
It may also be implemented in another form, for example, a screen recognizes shape data of an object currently touching the screen, the shape data including shape data and size data; then after the screen obtains the form data, the form data is compared and judged with the preset blackboard eraser form data, whether the state of a generated switching instruction for switching to a blackboard eraser mode is determined by judging whether the form data is consistent with the preset blackboard eraser form data, and when the state of the switching instruction for switching to the blackboard eraser mode is consistent with the preset blackboard eraser form data, the all-in-one machine equipment receives the switching instruction for switching to the blackboard eraser mode, which is generated on the screen based on the form data of the object; if the shape data do not conform to the shape data, the object corresponding to the shape data is considered to be a non-eraser, and therefore switching is not performed.
In response to the switching module 22: the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser;
in the specific implementation process of the invention, after the all-in-one machine device receives the switching instruction, the screen corresponding to the all-in-one machine device is switched to the mode for generating the eraser, so that the eraser can be generated in real time after the screen of the all-in-one machine device monitors the corresponding information, the generation efficiency of the eraser is improved, and better use experience is brought to a user.
The signal generation module 23: the all-in-one machine device is used for monitoring an eraser generation signal generated on the screen in real time after the screen is switched to a mode for generating an eraser;
in the specific implementation process of the invention, the all-in-one machine device monitors the board eraser generation signal generated on the screen in real time, and comprises the following steps: the all-in-one machine equipment acquires information of four coordinate points of an object placed at the leftmost position, the uppermost position, the rightmost position and the lowermost position of the screen based on the screen; calculating slopes of a first oblique side and a second oblique side of the object based on four coordinate point information of the object placed at the leftmost, the uppermost, the rightmost and the lowermost of the screen, respectively; judging whether the angle difference between the slope of the first bevel edge and the slope of the second bevel edge is within a preset angle range or not; if yes, confirming that the object is an eraser, and generating an eraser generating signal based on the shape data of the object on the screen.
Further, the calculating the slopes of the first oblique side and the second oblique side of the object based on the information of the four coordinate points at which the object is placed at the leftmost, the uppermost, the rightmost, and the lowermost of the screen includes: taking the middle point of a straight line formed by the information of two leftmost and lowest coordinate points of the object placed on the screen as a boundary, calculating the value of two-two slopes between two coordinate points of the coordinate points formed by the object between the leftmost and lowest two points of the screen, and acquiring the value of two-two slopes between two coordinate points of a first slope; obtaining the slope of the first bevel edge based on the slope values of every two coordinate points of the first bevel edge; taking the middle point of a straight line formed by the information of the two coordinate points of the object placed at the top and the right of the screen as a boundary, calculating the value of the two-two slope between the two coordinate points of the coordinate point formed by the object between the top and the right of the screen, and acquiring the value of the two-two slope between the two coordinate points of the second slope; and obtaining the slope of the second oblique side based on the slope values of every two coordinate points of the second oblique side.
Further, obtaining the slope of the first oblique side based on a value of the slope between two coordinate points of the first oblique side includes: arranging and combining two slopes between two coordinate points of the first bevel edge to obtain two slopes between a plurality of groups of two coordinate points; and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the first bevel edge.
Further, obtaining the slope of the second oblique side based on a value of the slope between two coordinate points of the second oblique side includes: arranging and combining two slopes between two coordinate points of the second bevel edge to obtain two slopes between a plurality of groups of two coordinate points; and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the second bevel edge.
Specifically, after the screen is switched to the mode for generating the eraser, when a corresponding object is placed on the screen, the four coordinate point information of the object on the screen at the leftmost position, the uppermost position, the lowermost position and the rightmost position are obtained through the screen, and then the slopes of two oblique sides of the object formed by the four coordinate point information of the leftmost position, the uppermost position, the rightmost position and the lowermost position are respectively calculated through the four coordinate point information of the leftmost position, the uppermost position, the rightmost position and the lowermost position, so that the slope of a first oblique side and the slope of a second oblique side are obtained; and then subtracting the slope angle of the first oblique side from the slope angle of the second oblique side to obtain an angle difference, judging whether the angle difference is within a preset range, if so, determining that the object is an eraser, and then generating an eraser generating signal according to the shape data of the object on the screen and the angle formed by the slope angle of the oblique side of the object.
Specifically, four approximate sides of the object can be obtained through four coordinate point information of the leftmost, the uppermost, the rightmost and the lowermost of the object on the screen, and then the slopes of two oblique sides are calculated; specifically, a middle point of a straight line formed by information of two leftmost and lowest coordinate points of the object placed on the screen is used as a boundary, a pairwise slope value between two coordinate points of the coordinate points formed by the object between the leftmost and lowest two points of the screen is calculated, and a pairwise slope value between two coordinate points of a first bevel edge is obtained; then obtaining the slope of the first bevel edge according to the slope values of every two coordinate points of the first bevel edge; taking the middle point of a straight line formed by the information of the two coordinate points of the object placed at the top and the right of the screen as a boundary, calculating the two-to-two slope values between the two coordinate points of the coordinate point formed by the object between the top and the right of the screen, and acquiring the two-to-two slope values between the two coordinate points of the second slope; and obtaining the slope of the second oblique edge according to the slope values of every two coordinate points of the second oblique edge.
Specifically, two slopes between two coordinate points of a first bevel edge are arranged and combined to obtain two slopes between a plurality of groups of two coordinate points; selecting two slopes between a group of two coordinate points with the largest occurrence frequency as the slopes of the first bevel edge; arranging and combining the slopes of two coordinate points of the second bevel edge to obtain the slopes of two coordinate points of a plurality of groups; and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the second bevel edge.
The eraser generation module 24: for generating an angled eraser based on the eraser generation signal.
In the implementation process of the invention, the angled eraser is generated according to the shape data of the object on the screen in the eraser generation signal and the angle formed by the slope of the oblique edge of the object.
In the embodiment of the invention, the screen of the all-in-one machine equipment is a capacitive screen or an infrared transceiver is arranged around the screen of the all-in-one machine equipment; the screen of the all-in-one machine equipment is used for identifying the coordinate position operated on the screen by the user and the shape data of the object operated on the screen by the user.
Specifically, the screen can be a capacitive screen or the like which can be identified under the screen or can also be a common non-screen identified screen, when the screen is identified under the non-screen, an infrared emitter and an infrared receiver array are required to be arranged on the periphery of the screen, the position of an object is determined through the infrared emitter and the infrared receiver array, namely, an infrared detection network is formed when a plurality of infrared points on the periphery transmit signals, and a coordinate point is formed at the position where an X axis and a Y axis intersect; it is conceivable that the entire plane is composed of countless points. Therefore, when one X axis and one Y axis are blocked by the barrier, the position of the touched point can be known; when the screen is a capacitive screen or the like which can realize screen-under-screen recognition, the coordinates of an object under the screen can be directly read through a screen pixel array, and coordinate information of four positions of the uppermost position, the leftmost position, the rightmost position and the lowermost position of the object can be directly obtained.
In the embodiment of the invention, an eraser generation signal generated on the screen is monitored in real time through the all-in-one machine equipment; generating an angled eraser based on the eraser generation signal; the generated simulated blackboard eraser has a certain angle, so that a user can use the simulated blackboard eraser to have a real experience.
The invention provides a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, the computer program implements the method for implementing the angled blackboard eraser of any one of the above embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The embodiment of the invention also provides a computer application program which runs on a computer and is used for executing the method for realizing the angled blackboard eraser in any one of the embodiments.
In addition, fig. 3 is a schematic structural composition diagram of the all-in-one conference machine in the embodiment of the present invention.
The embodiment of the invention also provides a conference all-in-one machine, which is shown in fig. 3. The all-in-one conference machine comprises a processor 302, a memory 303, an input unit 304, a display unit 305 and the like. Those skilled in the art will appreciate that the device configuration means shown in fig. 3 do not constitute a limitation of all devices and may include more or less components than those shown, or some components in combination. The memory 303 may be used to store the application 301 and various functional modules, and the processor 302 executes the application 301 stored in the memory 303, thereby performing various functional applications of the device and data processing. The memory may be internal or external memory, or include both internal and external memory. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The disclosed memory is by way of example only and not by way of limitation.
The input unit 304 is used for receiving input of signals and receiving keywords input by a user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel by using any suitable object or accessory such as a finger, a stylus and the like) and drive the corresponding connecting device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 305 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 305 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 302 is a control center of the terminal device, connects various parts of the entire device using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 302 and calling data stored in the memory.
As an embodiment, the conference kiosk includes: one or more processors 302, a memory 303, one or more applications 301, wherein the one or more applications 301 are stored in the memory 303 and configured to be executed by the one or more processors 302, and wherein the one or more applications 301 are configured to perform the method of implementing an angled eraser in any of the above-described embodiments.
In the embodiment of the invention, an eraser generation signal generated on the screen is monitored in real time through the all-in-one machine equipment; generating an angled eraser based on the eraser generation signal; the generated simulated blackboard eraser has a certain angle, so that a user can use the simulated blackboard eraser to have a real experience.
In addition, the method, the apparatus, the storage medium, and the all-in-one machine for implementing the angled blackboard eraser of the all-in-one machine device according to the embodiments of the present invention are described in detail above, and a specific example should be used herein to explain the principle and the implementation manner of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. An implementation method of an angled blackboard eraser of all-in-one machine equipment is characterized by comprising the following steps:
the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode;
the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser;
after the screen is switched to a mode for generating the eraser, the all-in-one machine equipment monitors an eraser generation signal generated on the screen in real time;
generating an angled eraser based on the eraser generation signal;
the all-in-one machine device monitors the blackboard eraser generated signal generated on the screen in real time, and comprises the following steps:
the all-in-one machine equipment acquires information of four coordinate points of an object placed at the leftmost position, the uppermost position, the rightmost position and the lowermost position of the screen based on the screen;
calculating slopes of a first oblique side and a second oblique side of the object based on four coordinate point information of the object placed at the leftmost, the uppermost, the rightmost and the lowermost of the screen, respectively;
judging whether the angle difference between the slope of the first bevel edge and the slope of the second bevel edge is within a preset angle range or not;
if yes, confirming that the object is an eraser, and generating an eraser generating signal based on the shape data of the object on the screen.
2. The angled board eraser implementation method according to claim 1, wherein the all-in-one machine device receives a switching instruction for switching to the eraser mode, generated based on screen operation, and comprises the following steps:
the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, wherein the switching instruction is generated by a user through operation based on virtual operation preset under a screen; or the like, or, alternatively,
identifying form data of an object currently in contact with the screen, the form data including shape data and size data;
the screen judges whether the form data is consistent with preset blackboard eraser form data or not;
and if so, the all-in-one machine equipment receives a switching instruction for switching to an eraser mode, which is generated on the screen based on the shape data of the object.
3. The angled board eraser implementation method according to claim 1, wherein the calculating the slopes of the first oblique side and the second oblique side of the object based on the information of four coordinate points of the object placed at the leftmost, the uppermost, the rightmost, and the lowermost of the screen comprises:
taking the middle point of a straight line formed by the information of two leftmost and lowest coordinate points of the object placed on the screen as a boundary, calculating the value of two-two slopes between two coordinate points of the coordinate points formed by the object between the leftmost and lowest two points of the screen, and acquiring the value of two-two slopes between two coordinate points of a first slope;
obtaining the slope of the first bevel edge based on the slope values of every two coordinate points of the first bevel edge;
taking the middle point of a straight line formed by the information of the two coordinate points of the object placed at the top and the right of the screen as a boundary, calculating the value of the two-two slope between the two coordinate points of the coordinate point formed by the object between the top and the right of the screen, and acquiring the value of the two-two slope between the two coordinate points of the second slope;
and obtaining the slope of the second oblique side based on the slope values of every two coordinate points of the second oblique side.
4. The method of claim 3, wherein obtaining the slope of the first oblique side based on a slope value of two coordinates between two coordinate points of the first oblique side comprises:
arranging and combining two slopes between two coordinate points of the first bevel edge to obtain two slopes between a plurality of groups of two coordinate points;
and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the first bevel edge.
5. The method of claim 3, wherein obtaining the slope of the second oblique side based on a slope value of two coordinates between two coordinate points of the second oblique side comprises:
arranging and combining two slopes between two coordinate points of the second bevel edge to obtain two slopes between a plurality of groups of two coordinate points;
and selecting the slope of every two of a group of two coordinate points with the most occurrence times as the slope of the second bevel edge.
6. The method for realizing the blackboard eraser with the angle according to any one of claims 1 to 5, wherein the screen of the all-in-one machine device is a capacitive screen or an infrared transceiver is arranged at the periphery of the screen of the all-in-one machine device;
the screen of the all-in-one machine equipment is used for identifying the coordinate position operated on the screen by the user and the shape data of the object operated on the screen by the user.
7. An angled blackboard eraser implementation device of all-in-one machine equipment is characterized by comprising:
a switching instruction generation module: the all-in-one machine equipment receives a switching instruction which is generated based on screen operation and is switched to an eraser mode;
the response switching module: the all-in-one machine equipment responds to the switching instruction and switches the screen of the all-in-one machine equipment to a mode for generating the eraser;
a signal generation module: the all-in-one machine device is used for monitoring an eraser generation signal generated on the screen in real time after the screen is switched to a mode for generating an eraser;
the board eraser generation module: for generating an angled eraser based on the eraser generation signal;
a signal generation module: the all-in-one machine equipment is also used for acquiring information of four coordinate points of an object placed at the leftmost position, the uppermost position, the rightmost position and the lowermost position of the screen based on the screen; calculating slopes of a first oblique side and a second oblique side of the object based on four coordinate point information of the object placed at the leftmost, the uppermost, the rightmost and the lowermost of the screen, respectively; judging whether the angle difference between the slope of the first bevel edge and the slope of the second bevel edge is within a preset angle range or not; if yes, confirming that the object is an eraser, and generating an eraser generating signal based on the shape data of the object on the screen.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the angled board eraser implementation method according to any one of claims 1 to 6.
9. An all-in-one machine device, characterized in that it comprises:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: carrying out the angled board eraser realization method according to any one of claims 1 to 6.
CN201911137861.3A 2019-11-20 2019-11-20 Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment Active CN111104010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911137861.3A CN111104010B (en) 2019-11-20 2019-11-20 Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911137861.3A CN111104010B (en) 2019-11-20 2019-11-20 Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment

Publications (2)

Publication Number Publication Date
CN111104010A CN111104010A (en) 2020-05-05
CN111104010B true CN111104010B (en) 2021-08-10

Family

ID=70420864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911137861.3A Active CN111104010B (en) 2019-11-20 2019-11-20 Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment

Country Status (1)

Country Link
CN (1) CN111104010B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782118B (en) * 2020-07-01 2022-03-08 广州朗国电子科技股份有限公司 Picture translation method and device on all-in-one machine, storage medium and all-in-one machine equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104139646A (en) * 2014-07-16 2014-11-12 徐州康泰家具有限公司 Adjustable blackboard
CN107390988A (en) * 2017-07-12 2017-11-24 广州视源电子科技股份有限公司 The regional selection method of the method for deleting of electronic whiteboard, device and electronic whiteboard
CN208061173U (en) * 2018-04-26 2018-11-06 福建天泉教育科技有限公司 A kind of interactive white board being provided with a slot
CN109597528A (en) * 2019-01-10 2019-04-09 明基智能科技(上海)有限公司 Touch-control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6326565B1 (en) * 1997-02-28 2001-12-04 Electronics For Imaging, Inc. Marking device for electronic presentation board
CN201654743U (en) * 2010-04-22 2010-11-24 朱亚萍 Non-projection electronic whiteboard
TWI490768B (en) * 2011-04-25 2015-07-01 Chiun Mai Comm Systems Inc System and method for controlling a virtual keyboard of an electronic device
CN110347324A (en) * 2019-06-05 2019-10-18 广州朗国电子科技有限公司 Shortcut call method, device, storage medium and meeting all-in-one machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104139646A (en) * 2014-07-16 2014-11-12 徐州康泰家具有限公司 Adjustable blackboard
CN107390988A (en) * 2017-07-12 2017-11-24 广州视源电子科技股份有限公司 The regional selection method of the method for deleting of electronic whiteboard, device and electronic whiteboard
CN208061173U (en) * 2018-04-26 2018-11-06 福建天泉教育科技有限公司 A kind of interactive white board being provided with a slot
CN109597528A (en) * 2019-01-10 2019-04-09 明基智能科技(上海)有限公司 Touch-control system

Also Published As

Publication number Publication date
CN111104010A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US10969903B2 (en) Method, device and mobile terminal for preventing false-touch on touch screen
US9292161B2 (en) Pointer tool with touch-enabled precise placement
KR100783552B1 (en) Input control method and device for mobile phone
US8098879B2 (en) Information processing device, image movement instructing method, and information storage medium
US20130241837A1 (en) Input apparatus and a control method of an input apparatus
CN107741824B (en) Detection of gesture orientation on repositionable touch surface
KR20140031254A (en) Method for selecting an element of a user interface and device implementing such a method
CN105824495A (en) Method for operating mobile terminal with single hand and mobile terminal
US11590412B2 (en) Information processing method and apparatus, storage medium, and electronic device
JP2016529608A (en) Screen capture method, apparatus, and terminal device
CN104866225A (en) Electronic device having touch display screen and control method therefor
US8436829B1 (en) Touchscreen keyboard simulation for performance evaluation
CN110237534B (en) Game object selection method and device
WO2018177156A1 (en) Method for operating mobile terminal, and mobile terminal
CN111104010B (en) Method and device for realizing angled blackboard eraser, storage medium and all-in-one machine equipment
CN106598351B (en) Touch point processing method and device
CN106371693B (en) A kind of method and mobile terminal showing navigation information
US10303295B2 (en) Modifying an on-screen keyboard based on asymmetric touch drift
WO2019184240A1 (en) Method and device for determining interactive position
CN114159770A (en) Method and device for preventing mistaken touch of keys of virtual keyboard
CN115033170A (en) Input control system and method based on virtual keyboard and related device
CN109976652B (en) Information processing method and electronic equipment
CN112306341A (en) Display area moving method and device, storage medium and electronic whiteboard
CN110794986A (en) Conference tablet control method and device based on infrared touch frame and conference tablet
CN112306346A (en) Set square drawing method and device, storage medium and electronic whiteboard

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
CP03 Change of name, title or address

Address after: Room 238, room 406, No.1, Yichuang street, Huangpu District, Guangzhou, Guangdong 510000

Patentee after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: 510000 unit a and B, zone 02, 4th floor, No. 136, Gaopu Road, high tech Development Zone, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address