CN104331234A - Method and device for executing drawing operation - Google Patents

Method and device for executing drawing operation Download PDF

Info

Publication number
CN104331234A
CN104331234A CN201410593661.XA CN201410593661A CN104331234A CN 104331234 A CN104331234 A CN 104331234A CN 201410593661 A CN201410593661 A CN 201410593661A CN 104331234 A CN104331234 A CN 104331234A
Authority
CN
China
Prior art keywords
displacement
signal
graphics mode
mode
interface
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.)
Granted
Application number
CN201410593661.XA
Other languages
Chinese (zh)
Other versions
CN104331234B (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 Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410593661.XA priority Critical patent/CN104331234B/en
Publication of CN104331234A publication Critical patent/CN104331234A/en
Application granted granted Critical
Publication of CN104331234B publication Critical patent/CN104331234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Abstract

The invention discloses a method and a device for executing drawing operation, and belongs to the technical field of Internet. The method comprises the following steps that when a dragging signal is detected, the displacement of an operation cursor in an interface in the dragging signal continuing process is obtained; a target drawing mode corresponding to the generated displacement is determined according to the pre-stored corresponding relationship between the displacement and the drawing mode; when the current operation mode is set to be the target drawing mode, the drawing operation is executed in the target drawing mode according to dragging signals. when the method and the device are adopted, the executing efficiency of the drawing operation can be improved.

Description

A kind of method and apparatus performing mapping operation
Technical field
The present invention relates to Internet technical field, particularly a kind of method and apparatus performing mapping operation.
Background technology
Along with the develop rapidly of Internet technology and terminal technology, the kind of Network is more and more various, and function is more and more abundanter.Online class is a kind of very conventional Network, and be the form of a kind of remote online mutual education based on internet, Faculty and Students can utilize online class to realize the transmission of text, image, audio frequency, video etc.
Be provided with the function button of different operation modes in the application program of online class, user can open corresponding operating function by click function button, as track drawing mode (also can be called paintbrush pattern) etc.Such as; in the interface of above-mentioned application program, when user wants current operator scheme to be set to track drawing mode, the function button of track drawing mode can be clicked; then operation cursor is moved on the position that user wants to carry out drawing, carry out corresponding mapping operation.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In the operating process of above-mentioned application program, whenever user's switching operation modes, all need first operation cursor to be moved on the function button of corresponding operator scheme, after clicking this button, again operation cursor is moved to the enterprising line operate in position that user wants to implement mapping operation, the execution efficiency of mapping operation can be caused so lower.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and apparatus performing mapping operation.Described technical scheme is as follows:
First aspect, provide a kind of method performing mapping operation, described method comprises:
After detecting and pulling signal, described in the operational light obtained in interface is marked on, pull the displacement produced in the process that signal continues;
According to the corresponding relation of the displacement prestored and Graphics Mode, determine the target Graphics Mode that the displacement of described generation is corresponding;
Current operator scheme is set to described target Graphics Mode, and under described target Graphics Mode, performs mapping operation according to the described signal that pulls.
Second aspect, provide a kind of device performing mapping operation, described device comprises:
Detection module, for after detecting and pulling signal, pulls the displacement produced in the process that signal continues described in the operational light obtained in interface is marked on;
Determination module, for the corresponding relation according to the displacement prestored and Graphics Mode, determines the target Graphics Mode that the displacement of described generation is corresponding;
Execution module, for current operator scheme is set to described target Graphics Mode, and under described target Graphics Mode, performs mapping operation according to the described signal that pulls.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, after detecting and pulling signal, the operational light obtained in interface is marked on this and pulls the displacement produced in the process that signal continues, according to the corresponding relation of the displacement prestored and Graphics Mode, determine the target Graphics Mode that the displacement of generation is corresponding, current operator scheme is set to target Graphics Mode, and under target Graphics Mode, performs mapping operation according to the above-mentioned signal that pulls.Like this, carrying out switching operation modes without the need to hitting function button by mobile operational light punctuate, the setting of operator scheme and the drafting of figure can be realized fast, the execution efficiency of mapping operation can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram performing mapping operation that the embodiment of the present invention provides;
Fig. 2 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 4 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 5 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 6 is a kind of apparatus structure schematic diagram performing mapping operation that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method performing mapping operation, as shown in Figure 1, the treatment scheme of the method can comprise following step:
Step 101, after detecting and pulling signal, the operational light obtained in interface is marked on this and pulls the displacement produced in the process that signal continues.
Step 102, according to the corresponding relation of the displacement prestored and Graphics Mode, determines the target Graphics Mode that the displacement that produces is corresponding.
Step 103, is set to target Graphics Mode by current operator scheme, and under target Graphics Mode, performs mapping operation according to the above-mentioned signal that pulls.
In the embodiment of the present invention, after detecting and pulling signal, the operational light obtained in interface is marked on this and pulls the displacement produced in the process that signal continues, according to the corresponding relation of the displacement prestored and Graphics Mode, determine the target Graphics Mode that the displacement of generation is corresponding, current operator scheme is set to target Graphics Mode, and under target Graphics Mode, performs mapping operation according to the above-mentioned signal that pulls.Like this, carrying out switching operation modes without the need to hitting function button by mobile operational light punctuate, the setting of operator scheme and the drafting of figure can be realized fast, the execution efficiency of mapping operation can be improved.
Embodiment two
Embodiments provide a kind of method performing mapping operation, the executive agent of the method can be terminal.Wherein, terminal can be computing machine, panel computer, mobile phone etc.In the method, the mode of operation of user can be mouse action, contact action etc.The present embodiment take executive agent as computing machine, and be operatively mouse action, and carry out the detailed description of scheme for the application scenarios of online class, other situation is similar with it, and the present embodiment is not repeated.
Below in conjunction with embodiment, be described in detail the treatment scheme shown in Fig. 1, content can be as follows:
Step 101, after detecting and pulling signal, the operational light obtained in interface is marked on this and pulls the displacement produced in the process that signal continues.
Wherein, pull signal can be mousebutton (as left button, right button, middle key etc.) pull signal, also can be touching screen pull signal.
In force, academics and students can install and the application program in operational network classroom in terminal, for the terminal of teacher (hereinafter referred to as first terminal), can be provided with the interface for information input in application program, the terminal (hereinafter referred to as the second terminal) that the content that teacher inputs in interface can be transferred to student by server shows.Be a teacher when wanting graphing in interface, operation cursor can be moved to the position of wanting to draw by mouse, the right button of then clicking the mouse rolling mouse, first terminal then can detect and pull signal, now first terminal can start to detect operational light and is marked on position in interface, until user unclamps mousebutton, pull blackout, the position that can pull operation cursor place when signal starts with this is for reference position, first terminal can pull in the lasting process of signal, operational light target position is detected according to predetermined period, calculate the distance between this position and reference position.
Alternatively, pull signal can be certain mousebutton pull signal, correspondingly, the treatment scheme of above-mentioned steps 101 can be as follows: when detect the first button pull signal after, the operational light obtained in interface is marked on the displacement pulling and produce in process that signal continues.
Wherein, the first button can be any button on mouse, as right mouse button, left mouse button, middle button of mouse etc.
In force, can arrange right mouse button is the first button.Be a teacher when wanting graphing, can to click the mouse right button, under the click state keeping right mouse button, sliding mouse control operation cursor moves in interface, operational light target position during click right can be set to reference position by first terminal, pulling in the lasting process of signal, operational light target position can be detected according to predetermined period, calculating the distance (namely above-mentioned displacement) between this position and reference position.
Step 102, according to the corresponding relation of the displacement prestored and Graphics Mode, determines the target Graphics Mode that the displacement that produces is corresponding.
In force, technician can arrange multiple Graphics Mode in advance in above-mentioned application program, as rectangle drawing mode, straight line drawing mode, circular drawing mode etc., and the corresponding relation of displacement and Graphics Mode can be set in the application, this corresponding relation can with application storage to first terminal, and what record in corresponding relation can be the span of displacement and the corresponding relation of Graphics Mode.When the operational light that first terminal gets in interface be marked on this pull the displacement produced in the process that signal continues time, Graphics Mode corresponding to this displacement (i.e. target Graphics Mode) can be found in above-mentioned corresponding relation.Owing to pulling in the lasting process of signal, the displacement of operational light target may be change, therefore first terminal can detect the displacement of operational light target according to small cycle, and after data displacement at every turn being detected, in above-mentioned corresponding relation, find the Graphics Mode corresponding to this displacement.
Alternatively, in the corresponding relation of displacement and Graphics Mode, the horizontal component of deformation based and vertical component function can determine corresponding Graphics Mode, corresponding process can be as follows:
Situation one, according to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement produced and vertical component are all greater than predetermined threshold value, then determines that target Graphics Mode corresponding to the displacement that produces is rectangle drawing mode.
Situation two, according to the corresponding relation of the displacement prestored and Graphics Mode, if the one in the horizontal component of displacement produced and vertical component is greater than predetermined threshold value, another one is less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement that produces is straight line drawing mode.
Situation three, according to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement produced and vertical component are all less than predetermined threshold value, then determines that target Graphics Mode corresponding to the displacement that produces is rectangle drawing mode.
In force, what store in above-mentioned corresponding relation can be the span of the horizontal component of displacement, the span of the vertical component of displacement and the corresponding relation of Graphics Mode.This corresponding relation can arrange as follows: the horizontal component of displacement and vertical component are all greater than predetermined threshold value or are all less than predetermined threshold value, then corresponding Graphics Mode is the first Graphics Mode (as rectangle drawing mode); One in the horizontal component of displacement and vertical component is greater than predetermined threshold value, and one is less than predetermined threshold value, then corresponding Graphics Mode is the second Graphics Mode (as straight line drawing mode).
Pull in the lasting process of signal above-mentioned, first terminal can detect the horizontal component of displacement and vertical component that pull signal according to small cycle, and the magnitude relationship of difference determined level component and predetermined threshold value (as 15 pixels), and the magnitude relationship of vertical component and predetermined threshold value.When horizontal component and vertical component that this displacement detected all are greater than predetermined threshold value, the target Graphics Mode corresponding to this displacement can be defined as rectangle drawing mode; When the one in the horizontal component this displacement being detected and vertical component is greater than predetermined threshold value, when another one is less than predetermined threshold value, the target Graphics Mode corresponding to this displacement can be defined as straight line drawing mode; When horizontal component and vertical component that this displacement detected all are less than predetermined threshold value, the target Graphics Mode corresponding to this displacement can be defined as rectangle drawing mode.
Step 103, is set to target Graphics Mode by current operator scheme, and under target Graphics Mode, performs mapping operation according to the above-mentioned signal that pulls.
In force, current operator scheme, after determining target Graphics Mode, can be set to target Graphics Mode by first terminal.Now, pull signal and be still in persistent state, that is, one click operation is also underway, and also do not complete, first terminal can be in the clicking operation of carrying out state by current, namely this pulls clicking operation corresponding to signal, as the mapping operation under target Graphics Mode, the operational light target reference position corresponding according to this clicking operation and current location, determine corresponding mapping operation content.Such as, user pins right mouse button and sliding mouse, the A moment creates a displacement, horizontal component and the vertical component of this displacement are all greater than predetermined threshold value, then interface shows the schematic block (can be dotted line frame) of a rectangle, as shown in Figure 2, for the rectangular graph that can generate after illustrating to unclamp right mouse button, the upper left of this schematic block and the summit of bottom right can be respectively reference position and the current location of aforesaid operations cursor, and that is this schematic block can change with the slip of mouse; User pins right mouse button and sliding mouse, the horizontal component of the displacement produced in the B moment is greater than predetermined threshold value, and the vertical component of displacement is less than predetermined threshold value, then on interface, show a schematic lines (can be dotted line straight line), as shown in Figure 3, for the straight line that can generate after illustrating to unclamp right mouse button, this schematic lines left end point and right endpoint can be respectively reference position and the current location of aforesaid operations cursor, and that is this schematic lines can change with the slip of mouse.
Alternatively, corresponding figure can be sent to the terminal of student by the terminal of teacher after mapping operation completes, and corresponding processing mode can be as follows: when mapping operation is finished, and is sent by the figure that mapping operation is drawn by server to the second terminal.
In force, be a teacher when unclamping mousebutton, first terminal then detects that above-mentioned click signal disappears, now, first terminal can judge that mapping operation is finished, mapping operation graph of a correspondence can be shown, as rectangle, straight line, circular etc., and, first terminal can by the relevant information of this image (as position, size etc.) be carried in data transmission message and send to server (i.e. the background server of above-mentioned application program), after server receives the data transmission message of first terminal transmission, the account (i.e. the account of teacher) that first terminal logs in can be determined, and determine other account (can be the account of student) with the account in consolidated network classroom, then this data transmission message is sent to the terminal (i.e. the second terminal) that other account determined logs in.Second terminal then can carry out simultaneous display to corresponding figure.
Alternatively, after completing mapping operation, can adjust operator scheme, corresponding processing mode can be as follows: when mapping operation is finished, and is set to operator scheme to detect the operator scheme before pulling signal.
In force, first terminal can record current operator scheme when application program launching and when each pattern switches, and also, first terminal records the above-mentioned operator scheme pulled before signal produces.Be a teacher when unclamping mousebutton, first terminal then detects and above-mentionedly pulls blackout, now, first terminal can judge that mapping operation is finished, mapping operation graph of a correspondence can be shown, as rectangle, straight line, circle etc., and now, operator scheme can be switched back to the above-mentioned operator scheme pulled before signal produces by first terminal.Such as, teacher first under laser pen pattern (below content in can be described in detail) to interface in the content that shows explain, below certain the emphasis word content shown in interface, with click right and the mode pulled has drawn straight line, after this straight line paints, operator scheme can switch by terminal gets back to laser pen pattern.
In the embodiment of the present invention, additionally provide the method for opening Text Entry fast, corresponding processing mode can be as follows: after adopting consecutive click chemical reaction signal being detected, and current operator scheme is set to text entry mode, at the operating position display Text Entry that adopting consecutive click chemical reaction signal is corresponding.
Wherein, adopting consecutive click chemical reaction signal can be twice click signal being less than preset duration (as 0.2 second) interval time.
In force, during teacher's adopting consecutive click chemical reaction (namely double-clicking) left mouse button, current operator scheme is set to text entry mode by first terminal, simultaneously can when click signal being detected operational light target position display Text Entry, it can be a dotted rectangle, as shown in Figure 4, teacher can in Text Entry input characters.Be a teacher after input, can click the interface zone outside Text Entry, terminal then can judge that Text Input is complete, cancels the Text Input cursor in Text Entry.Teacher can also click and pull inputted word by left button, is moved to other position.
In the embodiment of the present invention; additionally provide and perform the method that track draws operation fast; corresponding processing mode can be as follows: when detect the second button pull signal after; the second button pull signal continue process in; according to operational light target motion track, perform track and draw operation (also can be called paintbrush pattern).
Wherein, the second button can be any button on mouse, as right mouse button, left mouse button, middle button of mouse etc.
In force, under any operator scheme (operator scheme especially beyond track drawing mode), operation cursor can be moved to certain position in interface by teacher, then left mouse button (i.e. the second button) sliding mouse is pinned, when first terminal detect left mouse button pull signal time, first terminal can start to detect operational light target position by predetermined period, and according to the operational light target position that each cycle detection is arrived, real-time display also records operational light target motion track (adjacent operator cycle corresponding operational light cursor position can be connected by straight line), as shown in Figure 5.Be a teacher when pinning left mouse button and pull, the effect of mouse can be equal to a paintbrush.Teacher can arrange the Show Color and thickness etc. of motion track in setting options.
In addition, the smoothing process of motion track that this application program can be drawn teacher, the process of this smoothing processing can be, when first terminal detect left mouse button pull signal time, first terminal can start to detect operational light target position according to the predetermined period (as 0.4 second) larger than above-mentioned predetermined period, then by the mode of curve, by the operational light cursor position corresponding the adjacent operator cycle, connect with curve and obtain motion track, real-time display also records operational light target motion track, makes the motion track of drafting more level and smooth.
Alternatively; in the process performing track drafting operation; the terminal of teacher can send to the terminal of student the image drawn in real time; corresponding process can be as follows: when detect the second button pull signal after; the second button pull signal continue process in; operational light target motion track is drawn in interface; and according to predetermined period; by server to the positional information of the second terminal transmit operation cursor in interface, to make, the second terminal is synchronous in interface draws operational light target motion track.
In force, pin in the process of left mouse button sliding mouse teacher, first terminal detects operational light target position according to predetermined period, and according to the operational light target position that each cycle detection is arrived, real-time display also records operational light target motion track, first terminal is after each cycle detection to operational light target position, corresponding positional information can be carried in data transmission message and send to server, after server receives the data transmission message of first terminal transmission, the account (i.e. the account of teacher) that first terminal logs in can be determined, and determine other account (can be the account of student) with the account in consolidated network classroom, then this data transmission message is sent to the terminal (i.e. the second terminal) that other account determined logs in.Second terminal then can in its interface simultaneous display operational light target motion track.In addition, second terminal can use same smoothing processing with first terminal, when the second terminal receives the data transmission message that first terminal sends over according to larger predetermined period, second terminal is according to the mode of the curve same with first terminal, by the operational light cursor position corresponding the adjacent operator cycle, connect with curve and obtain motion track, show and record operational light target motion track in real time, make the motion track of drafting more level and smooth.
In the embodiment of the present invention, also provide the method can opening laser pen pattern, corresponding process can be as follows: when do not detect pull signal or click signal time, current operator scheme is set to laser pen pattern.
Wherein, laser pen pattern is the pattern of the luminous point at an operational light target position display simulated laser pen.
In force, after above-mentioned application program is opened, can directly enter laser pen pattern, under laser pen pattern, can the luminous point of simultaneous display laser pen in the interface of the application program of the terminal of academics and students.If teacher triggers by certain operation above-mentioned the operation performed under other operator scheme (as rectangle drawing mode), then after end of operation, when first terminal can't detect pull signal or click signal time, then operator scheme can be switched back to laser pen pattern.The shape of the luminous point of laser pen and color can be arranged arbitrarily by user.
In the embodiment of the present invention, after detecting and pulling signal, the operational light obtained in interface is marked on this and pulls the displacement produced in the process that signal continues, according to the corresponding relation of the displacement prestored and Graphics Mode, determine the target Graphics Mode that the displacement of generation is corresponding, current operator scheme is set to target Graphics Mode, and under target Graphics Mode, performs mapping operation according to the above-mentioned signal that pulls.Like this, carrying out switching operation modes without the need to hitting function button by mobile operational light punctuate, the setting of operator scheme and the drafting of figure can be realized fast, the execution efficiency of mapping operation can be improved.
Embodiment three
Based on identical technical conceive, the embodiment of the present invention additionally provides a kind of device performing mapping operation, and as shown in Figure 6, this device comprises:
Detection module 610, for after detecting and pulling signal, pulls the displacement produced in the process that signal continues described in the operational light obtained in interface is marked on;
Determination module 620, for the corresponding relation according to the displacement prestored and Graphics Mode, determines the target Graphics Mode that the displacement of described generation is corresponding;
Execution module 630, for current operator scheme is set to described target Graphics Mode, and under described target Graphics Mode, performs mapping operation according to the described signal that pulls.
Alternatively, described determination module 620, for:
According to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement of described generation and vertical component are all greater than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is rectangle drawing mode;
According to the corresponding relation of the displacement prestored and Graphics Mode, if the one in the horizontal component of the displacement of described generation and vertical component is greater than predetermined threshold value, another one is less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is straight line drawing mode;
According to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement of described generation and vertical component are all less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is rectangle drawing mode.
Alternatively, described device also comprises:
Sending module, for when described mapping operation is finished, the figure drawn by described mapping operation is sent to the second terminal by server.
Alternatively, described execution module 630 also for:
When described mapping operation is finished, the operator scheme before operator scheme being set to pull signal described in detecting.
Alternatively, described execution module 630 also for:
After adopting consecutive click chemical reaction signal being detected, current operator scheme is set to text entry mode, at the operating position display Text Entry that described adopting consecutive click chemical reaction signal is corresponding.
Alternatively, described detection module 610, comprising: when detect the first button pull signal after, pull the displacement produced in the process that signal continues described in the operational light obtained in interface is marked on;
Described execution module 630 also for: when detect the second button pull signal after, described second button pull signal continue process in, according to described operational light target motion track, perform track draw operation.
Alternatively, described execution module 630 also for:
When detect the second button pull signal after, described second button pull signal continue process in, described operational light target motion track is drawn in interface, and according to predetermined period, send described operational light by server to the second terminal and be marked on positional information in interface, to make, described second terminal is synchronous in interface draws described operational light target motion track.
Alternatively, described execution module 630 also for:
When do not detect pull signal or click signal time, current operator scheme is set to laser pen pattern.
In the embodiment of the present invention, after detecting and pulling signal, the operational light obtained in interface is marked on this and pulls the displacement produced in the process that signal continues, according to the corresponding relation of the displacement prestored and Graphics Mode, determine the target Graphics Mode that the displacement of generation is corresponding, current operator scheme is set to target Graphics Mode, and under target Graphics Mode, performs mapping operation according to the above-mentioned signal that pulls.Like this, carrying out switching operation modes without the need to hitting function button by mobile operational light punctuate, the setting of operator scheme and the drafting of figure can be realized fast, the execution efficiency of mapping operation can be improved.
It should be noted that: the device of the execution mapping operation that above-described embodiment provides is when performing mapping operation, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the device of the execution mapping operation that above-described embodiment provides belongs to same design with the embodiment of the method performing mapping operation, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. perform a method for mapping operation, it is characterized in that, described method comprises:
After detecting and pulling signal, described in the operational light obtained in interface is marked on, pull the displacement produced in the process that signal continues;
According to the corresponding relation of the displacement prestored and Graphics Mode, determine the target Graphics Mode that the displacement of described generation is corresponding;
Current operator scheme is set to described target Graphics Mode, and under described target Graphics Mode, performs mapping operation according to the described signal that pulls.
2. method according to claim 1, is characterized in that, the corresponding relation of the displacement that described basis prestores and Graphics Mode, determines to comprise the target Graphics Mode that the displacement of described generation is corresponding:
According to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement of described generation and vertical component are all greater than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is rectangle drawing mode;
According to the corresponding relation of the displacement prestored and Graphics Mode, if the one in the horizontal component of the displacement of described generation and vertical component is greater than predetermined threshold value, another one is less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is straight line drawing mode;
According to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement of described generation and vertical component are all less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is rectangle drawing mode.
3. method according to claim 1, is characterized in that, described method also comprises:
When described mapping operation is finished, the figure drawn by described mapping operation is sent to the second terminal by server.
4. method according to claim 1, is characterized in that, described method also comprises:
When described mapping operation is finished, the operator scheme before operator scheme being set to pull signal described in detecting.
5. method according to claim 1, is characterized in that, described method also comprises:
After adopting consecutive click chemical reaction signal being detected, current operator scheme is set to text entry mode, at the operating position display Text Entry that described adopting consecutive click chemical reaction signal is corresponding.
6. method according to claim 1, it is characterized in that, described after detecting and pulling signal, the displacement produced in the process that signal continues is pulled described in the operational light obtained in interface is marked on, comprise: when detect the first button pull signal after, pull the displacement produced in the process that signal continues described in the operational light obtained in interface is marked on;
Described method also comprises: when detect the second button pull signal after, described second button pull signal continue process in, according to described operational light target motion track, perform track draw operation.
7. method according to claim 6, is characterized in that, described when detect the second button pull signal after, described second button pull signal continue process in, according to described operational light target motion track, perform track draw operation, comprising:
When detect the second button pull signal after, described second button pull signal continue process in, described operational light target motion track is drawn in interface, and according to predetermined period, send described operational light by server to the second terminal and be marked on positional information in interface, to make, described second terminal is synchronous in interface draws described operational light target motion track.
8. method according to claim 1, is characterized in that, described method also comprises:
When do not detect pull signal or click signal time, current operator scheme is set to laser pen pattern.
9. perform a device for mapping operation, it is characterized in that, described device comprises:
Detection module, for after detecting and pulling signal, pulls the displacement produced in the process that signal continues described in the operational light obtained in interface is marked on;
Determination module, for the corresponding relation according to the displacement prestored and Graphics Mode, determines the target Graphics Mode that the displacement of described generation is corresponding;
Execution module, for current operator scheme is set to described target Graphics Mode, and under described target Graphics Mode, performs mapping operation according to the described signal that pulls.
10. device according to claim 9, is characterized in that, described determination module, for:
According to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement of described generation and vertical component are all greater than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is rectangle drawing mode;
According to the corresponding relation of the displacement prestored and Graphics Mode, if the one in the horizontal component of the displacement of described generation and vertical component is greater than predetermined threshold value, another one is less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is straight line drawing mode;
According to the corresponding relation of the displacement prestored and Graphics Mode, if the horizontal component of the displacement of described generation and vertical component are all less than predetermined threshold value, then determine that target Graphics Mode corresponding to the displacement of described generation is rectangle drawing mode.
11. devices according to claim 9, is characterized in that, described device also comprises:
Sending module, for when described mapping operation is finished, the figure drawn by described mapping operation is sent to the second terminal by server.
12. devices according to claim 9, is characterized in that, described execution module also for:
When described mapping operation is finished, the operator scheme before operator scheme being set to pull signal described in detecting.
13. devices according to claim 9, is characterized in that, described execution module also for:
After adopting consecutive click chemical reaction signal being detected, current operator scheme is set to text entry mode, at the operating position display Text Entry that described adopting consecutive click chemical reaction signal is corresponding.
14. devices according to claim 9, is characterized in that, described detection module, comprising: when detect the first button pull signal after, pull the displacement produced in the process that signal continues described in the operational light obtained in interface is marked on;
Described execution module also for: when detect the second button pull signal after, described second button pull signal continue process in, according to described operational light target motion track, perform track draw operation.
15. devices according to claim 14, is characterized in that, described execution module also for:
When detect the second button pull signal after, described second button pull signal continue process in, described operational light target motion track is drawn in interface, and according to predetermined period, send described operational light by server to the second terminal and be marked on positional information in interface, to make, described second terminal is synchronous in interface draws described operational light target motion track.
16. devices according to claim 9, is characterized in that, described execution module also for:
When do not detect pull signal or click signal time, current operator scheme is set to laser pen pattern.
CN201410593661.XA 2014-10-29 2014-10-29 A kind of method and apparatus for performing mapping operation Active CN104331234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410593661.XA CN104331234B (en) 2014-10-29 2014-10-29 A kind of method and apparatus for performing mapping operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410593661.XA CN104331234B (en) 2014-10-29 2014-10-29 A kind of method and apparatus for performing mapping operation

Publications (2)

Publication Number Publication Date
CN104331234A true CN104331234A (en) 2015-02-04
CN104331234B CN104331234B (en) 2018-05-18

Family

ID=52405970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410593661.XA Active CN104331234B (en) 2014-10-29 2014-10-29 A kind of method and apparatus for performing mapping operation

Country Status (1)

Country Link
CN (1) CN104331234B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357207A (en) * 2015-11-19 2016-02-24 广州视睿电子科技有限公司 Synchronous writing method, mobile terminal, server and system
CN108228043A (en) * 2016-12-14 2018-06-29 北京国双科技有限公司 The moving method and device of image data
CN109062871A (en) * 2018-07-03 2018-12-21 北京明略软件系统有限公司 Text labeling method and device and computer readable storage medium
CN109910476A (en) * 2019-03-26 2019-06-21 徐州工业职业技术学院 A kind of black board teaching auxiliary system
CN110162235A (en) * 2019-04-28 2019-08-23 深圳市格上格创新科技有限公司 A kind of wireless demo equipment and its details amplification control method and device
CN112116679A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Train operation diagram generation method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088727A1 (en) * 2002-10-31 2004-05-06 Fujitsu Ten Limited Electronic program guide display control apparatus, electronic program guide display control method, and electronic program guide display control program
US20070035514A1 (en) * 2005-08-15 2007-02-15 Yoshiaki Kubo Method to create multiple items with a mouse
CN101359252A (en) * 2007-07-30 2009-02-04 Lg电子株式会社 Mobile terminal using touch screen and method of controlling the same
CN103164862A (en) * 2011-12-09 2013-06-19 张平 Plane computer-aided design (CAD)/ computer-aided manufacturing (CAM) drawing method based on intelligent recognition drawing tool
CN103838505A (en) * 2012-11-21 2014-06-04 宏达国际电子股份有限公司 Method for displaying images of touch control device on external display device
CN103902209A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Electronic device graph input method and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088727A1 (en) * 2002-10-31 2004-05-06 Fujitsu Ten Limited Electronic program guide display control apparatus, electronic program guide display control method, and electronic program guide display control program
US20070035514A1 (en) * 2005-08-15 2007-02-15 Yoshiaki Kubo Method to create multiple items with a mouse
CN101359252A (en) * 2007-07-30 2009-02-04 Lg电子株式会社 Mobile terminal using touch screen and method of controlling the same
CN103164862A (en) * 2011-12-09 2013-06-19 张平 Plane computer-aided design (CAD)/ computer-aided manufacturing (CAM) drawing method based on intelligent recognition drawing tool
CN103838505A (en) * 2012-11-21 2014-06-04 宏达国际电子股份有限公司 Method for displaying images of touch control device on external display device
CN103902209A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Electronic device graph input method and electronic device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357207A (en) * 2015-11-19 2016-02-24 广州视睿电子科技有限公司 Synchronous writing method, mobile terminal, server and system
CN105357207B (en) * 2015-11-19 2019-01-29 广州视睿电子科技有限公司 A kind of synchronous Writing method, mobile terminal, server and system
CN108228043A (en) * 2016-12-14 2018-06-29 北京国双科技有限公司 The moving method and device of image data
CN109062871A (en) * 2018-07-03 2018-12-21 北京明略软件系统有限公司 Text labeling method and device and computer readable storage medium
CN109062871B (en) * 2018-07-03 2022-05-13 北京明略软件系统有限公司 Text labeling method and device and computer readable storage medium
CN109910476A (en) * 2019-03-26 2019-06-21 徐州工业职业技术学院 A kind of black board teaching auxiliary system
CN110162235A (en) * 2019-04-28 2019-08-23 深圳市格上格创新科技有限公司 A kind of wireless demo equipment and its details amplification control method and device
CN110162235B (en) * 2019-04-28 2021-07-23 深圳市格上格创新科技有限公司 Wireless demonstration equipment and detail amplification control method and device thereof
CN112116679A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Train operation diagram generation method and device and electronic equipment
CN112116679B (en) * 2020-08-25 2023-12-29 通号城市轨道交通技术有限公司 Train running chart generation method and device and electronic equipment

Also Published As

Publication number Publication date
CN104331234B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN104331234A (en) Method and device for executing drawing operation
US11301200B2 (en) Method of providing annotation track on the content displayed on an interactive whiteboard, computing device and non-transitory readable storage medium
KR101548524B1 (en) Rendering teaching animations on a user-interface display
CN105573702A (en) Remote headnote moving and scaling synchronization method and system
US20130346858A1 (en) Remote Control of Audio Application and Associated Sub-Windows
CN107185232B (en) Virtual object motion control method and device, electronic equipment and storage medium
CN105807999B (en) Method for inputting handwritten information to display device through handwriting device
CN103677597A (en) Terminal equipment and same-screen display method and system
CN109491562A (en) A kind of interface display method and terminal device of voice assistant application program
CN109885222A (en) Icon processing method, device, electronic equipment and computer-readable medium
CN107885437A (en) Multielement exchange method, device, equipment and storage medium
CN109215098A (en) Handwriting erasing method and apparatus
CN114327064A (en) Plotting method, system, equipment and storage medium based on gesture control
US11209915B2 (en) Method and apparatus for performing display of content according to detected moving track
CN102339204A (en) Display method in interactive system
CN104317453B (en) Touch-screen Writing method and system
CN109815557A (en) A kind of methods of exhibiting of robot model, device and intelligent terminal
CN104637010A (en) Method and device for classroom interaction question answering between computer and mobile terminal based on two-dimensional code
CN109358799B (en) Method for adding handwritten annotation information input by user on handwriting equipment
CN109614169B (en) Automatic operation method of Windows client application program based on pixel coordinate mode
CN105468094A (en) Method for operating computer terminal and computer terminal
US11645942B2 (en) Cross-application interface that facilitates software application training
CN105094633A (en) Method and device for transmitting control instruction
CN106020520B (en) A kind of information processing method and electronic equipment
CN110604918B (en) Interface element adjustment method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160525

Address after: 510000, Guangdong, Panyu District, Guangzhou Town, two Huambo road 79, Huambo business district, Wanda Commercial Plaza, North District, B-1, building 28, 2803

Applicant after: Guangzhou Sanxing Yibai Education Technology Co.,Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210825

Address after: 511442 No.79 Wanbo Er Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province 3709

Patentee after: Guangzhou Zhuque Information Technology Co.,Ltd.

Address before: 510000 2803, floor 28, building B-1, North District, Wanda Commercial Plaza, Wanbo business district, No. 79, Wanbo Second Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: Guangzhou Sanxing Yibai Education Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230324

Address after: Floor 24, Building B-1, North District, Wanda Commercial Plaza, Wanbo Business District, No. 79, Wanbo Second Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province, 511442 (for office use only)

Patentee after: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Address before: 511442 No.79 Wanbo Er Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province 3709

Patentee before: Guangzhou Zhuque Information Technology Co.,Ltd.

TR01 Transfer of patent right