CN109358782A - Execution method, apparatus, electronic equipment and the storage medium of dynamic instruction - Google Patents
Execution method, apparatus, electronic equipment and the storage medium of dynamic instruction Download PDFInfo
- Publication number
- CN109358782A CN109358782A CN201811058602.7A CN201811058602A CN109358782A CN 109358782 A CN109358782 A CN 109358782A CN 201811058602 A CN201811058602 A CN 201811058602A CN 109358782 A CN109358782 A CN 109358782A
- Authority
- CN
- China
- Prior art keywords
- instruction
- target object
- user
- user instruction
- dynamic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Abstract
Present disclose provides execution method, apparatus, electronic equipment and the storage mediums of a kind of dynamic instruction, comprising: obtains pending user instruction, wherein includes the motion profile for the first object object that the user instruction is directed toward in the user instruction;The second target object in display area is set to be associated movement according to the user instruction, so that after the first object object and second target object meet within the display area, and the content information of the first object object characterization is made to execute the operation sequence that second target object characterizes.The second target object is set to be associated movement when first object object moves according to user instructions, after so that the two is met, execute the operation sequence of the second target object characterization, so, the sliding distance of user on the display screen can not only be shortened, it realizes one-handed performance, interactivity of the user when user interface operates can also be increased, improve the operating experience of user.
Description
Technical field
This disclosure relates to computer application field, the execution method, apparatus of especially a kind of dynamic instruction, electronic equipment and
Storage medium.
Background technique
Increasingly developed with network technology, network is gradually deep into the work of people, in life, for example, people pass through
Instant messaging carries out social activity, also, instant messaging becomes the main tool that people communicate with its convenience.
It include multiple icons in instant communication interface, the usual icon is static status display, that is, user click
The icon of each function is indicated to execute corresponding function, for example, user will execute when deleting function, clicks information to be deleted simultaneously
The deletion icon for indicating to delete function is shown simultaneously, and deletion function is executed by clicking icon.The operating method of each function
It is excessively dull, it is not interacted with user, causes the experience of user poor.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of execution method, apparatus of dynamic instruction, electronics
Equipment and storage medium.
According to the first aspect of the embodiments of the present disclosure, a kind of execution method of dynamic instruction is provided, comprising: obtain pending
User instruction, wherein in the user instruction include the user instruction be directed toward first object object motion profile;
The second target object in display area is set to be associated movement according to the user instruction, so that first mesh
After mark object and second target object meet within the display area, and make the content of the first object object characterization
Information executes the operation sequence of the second target object characterization.
Optionally, the coupled movements are the movement that second target object is carried out according to preset motion profile.
Optionally, the coupled movements be second target object according to the first object object motion profile into
Capable mirror image tracking movement.
Optionally, the program of the first object object characterization recorded speech information, the second target object characterization are deleted
Except the program of voice messaging;It is described so that the second target object in display area is associated movement according to the user instruction,
Include:
The position coordinates of the first object object are judged whether in preset deletion determinating area, and the deletion determines
Region includes second target object;
When the position coordinates are in the deletion determinating area, second target object and the first object pair
As fusion of meeting, and delete the voice messaging currently recorded.
Optionally, described so that the second target object in display area is associated movement according to the user instruction, packet
It includes:
Judge the position coordinates of the first object object and the coordinate of second target object the distance between be
It is no to be less than pre-determined distance;
When being less than the pre-determined distance, according to the position coordinates of the first object object, second target object
Position coordinates and the midpoint of line of the first object object and second target object obtain the first object
The second order Bezier of object and second target object;
It is adhered and divides according to the second order Bezier acquisition first object object and second target object
From picture.
Optionally, the user instruction is the instruction for the voice messaging recorded;It is described to delete the voice messaging currently recorded,
Include:
When can't detect the user instruction, triggering voice deletes instruction;
Instruction, which is deleted, according to the voice deletes the voice messaging currently recorded.
Optionally, the user instruction is the instruction for the voice messaging recorded;It is described to obtain pending user instruction, packet
It includes:
Built-in monitoring application programming interfaces are called to monitor the position coordinates of the first object object, to obtain
The motion profile of the first object object.
According to the second aspect of an embodiment of the present disclosure, a kind of executive device of dynamic instruction is provided, comprising:
Acquiring unit is configured as executing the pending user instruction of acquisition, wherein include described in the user instruction
The motion profile for the first object object that user instruction is directed toward;
Execution unit, being configured as executing is closed the second target object in display area according to the user instruction
Through transport is dynamic, so that after the first object object and second target object meet within the display area, and make described
The content information of first object object characterization executes the operation sequence of the second target object characterization.
Optionally, the coupled movements are the movement that second target object is carried out according to preset motion profile.
Optionally, the coupled movements be second target object according to the first object object motion profile into
Capable mirror image tracking movement.
Optionally, the program of the first object object characterization recorded speech information, the second target object characterization are deleted
Except the program of voice messaging;The execution unit includes:
First judging unit is configured as execution and judges whether the position coordinates of the first object object are deleted preset
Except in determinating area, the deletion determinating area includes second target object;
Unit is deleted, is configured as executing second mesh when the position coordinates are in the deletion determinating area
Mark object meets with the first object object to be merged, and deletes the voice messaging currently recorded.
Optionally, the execution unit includes:
Second judgment unit is configured as executing the position coordinates for judging the first object object and second target
The coordinate of object the distance between whether be less than pre-determined distance;
First acquisition unit is configured as executing when being less than the pre-determined distance, according to the first object object
The company of position coordinates, the position coordinates of second target object and the first object object and second target object
The midpoint of line obtains the second order Bezier of the first object object Yu second target object;
Second acquisition unit, be configured as executing according to the second order Bezier obtain the first object object and
Second target object is adhered and isolated picture.
Optionally, the user instruction is the instruction for the voice messaging recorded;The deletion unit includes:
Trigger unit is configured as executing when can't detect the user instruction, and triggering voice deletes instruction;
Recording elements are configured as executing and delete the voice messaging that instruction deletion is currently recorded according to the voice.
Optionally, the user instruction is the instruction for the voice messaging recorded;The acquiring unit includes:
Unit is transferred, is configured as executing and calls built-in monitoring application programming interfaces to the position of the first object object
It sets coordinate to be monitored, to obtain the motion profile of the first object object.
According to the third aspect of an embodiment of the present disclosure, a kind of electronic equipment, including processor are provided;For storage processor
The memory of executable instruction;Wherein, the processor is configured to the step of the execution method of above-mentioned dynamic instruction.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described
When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out holding for above-mentioned dynamic instruction
The step of row method.
According to a fifth aspect of the embodiments of the present disclosure, a kind of computer program product, including computer program code are provided,
The computer program includes program instruction, when described program instruction is computer-executed, executes the computer above-mentioned
The step of execution of dynamic instruction.
The technical scheme provided by this disclosed embodiment can include the following benefits: according to user instructions in the first mesh
So that the second target object is associated movement when mark object movement, after so that the two is met, executes the behaviour of the second target object characterization
Make program, in this way, can not only shorten the sliding distance of user on the display screen, realizes one-handed performance, use can also be increased
Interactivity of the family when user interface is operated, improves the operating experience of user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of basic procedure schematic diagram of the execution method of dynamic instruction shown according to an exemplary embodiment.
Fig. 2A is the schematic diagram at instant messaging interface shown according to an exemplary embodiment.
Fig. 2 B is the schematic diagram that voice deletes interface in instant messaging shown according to an exemplary embodiment.
Fig. 3 is a kind of embodiment flow chart shown according to an exemplary embodiment for generating trace log.
Fig. 4 be the second target object shown according to an exemplary embodiment according to first object object motion profile into
The schematic diagram of row mirror image tracking movement.
Fig. 5 is the schematic diagram shown according to an exemplary embodiment operated in user interface.
Fig. 6 is a kind of basic procedure schematic diagram of method for deleting voice messaging shown according to an exemplary embodiment.
Fig. 7 be the second target object shown according to an exemplary embodiment made in display area according to user instructions into
The basic procedure schematic diagram of the method for row coupled movements.
Fig. 8 is a kind of executive device block diagram of dynamic instruction shown according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the execution method of some aspects be described in detail in claims, the disclosure consistent device and dynamic instruction.
Fig. 1 is a kind of basic procedure schematic diagram of the execution method of dynamic instruction shown according to an exemplary embodiment,
As shown in Figure 1, the execution method of dynamic instruction is in terminal, comprising the following steps:
S1100, pending user instruction is obtained;
User instruction is the instruction realizing certain concrete functions and triggering, for example, to realize the deletion for deleting function triggering
Instruction, for the duplicate instructions for realizing copy function triggering, the stickup instruction etc. triggered for realization paste functionality.The embodiment of the present disclosure
In, user instruction is dynamic instruction, can be triggered by various dynamical fashions, for example, sliding to come on terminal display screen
Triggering, triggered on terminal display screen by adopting consecutive click chemical reaction etc..
In the embodiment of the present disclosure, user instruction includes the motion profile for the first object object that user instruction is directed toward.First
Target object is in order to make user convenient for operation, in the icon for a certain item concrete function of expression that instant communication interface is shown, example
Such as, the icon for indicating recording indicates the icon deleted, and indicates the icon etc. of duplication, wherein the icon shape of first object object
It is not construed as limiting with pattern, need to only be recognized convenient for user.
As shown in Figure 2 A and 2 B, Fig. 2A is the schematic diagram according to the instant messaging interface shown in an exemplary embodiment,
The interface is voice recording interface, and Fig. 2 B is to delete showing for interface according to voice in the instant messaging shown in an exemplary embodiment
It is intended to.As shown in Figure 2 A, the first object object for indicating recording is shown below interface, user is single in recorded speech information
The first object object hit in figure starts to record.In Recording Process, as shown in Figure 2 B, first object object transformation is annular mark
Remember and moved with referring to, at this point, the display waveform animation in recording region, indicates at this time to be playback environ-ment.
S1200, the second target object in display area is made to be associated movement according to user instructions, so that first object
After object and the second target object meet in display area, and the content information of first object object characterization is made to execute the second mesh
Mark the operation sequence of object characterization.
Second target object is the mark for realizing the objective function for having correlation with function represented by first object object
Note.For example, first object object is the label for indicating sound-recording function, then the second target object is the mark for indicating to delete phonetic function
The label of note or copying voice function.One embodiment of the disclosure is deleted in interface, the first mesh as shown in Figure 2 B in voice
Mark object is the annulet for indicating recording, and the second target object is the deletion label for indicating to delete function.
In the embodiment of the present disclosure, first object object and the second being associated property of target object are moved, wherein relevance fortune
The movement that there is correlation for the motion profile of the two is moved, for example, the movement of same trajectories, the movement etc. of opposite rail.This public affairs
It opens in embodiment, relevance movement can make first object object and the second target object close to each other, and execute after meeting
The function of second target object characterization.For example, as shown in Figure 2 B, first object object record labels are in the mistake with referring to movement
Cheng Zhong, the second target object deletion label is close with record labels, after the two is met, for the visual experience for improving user, deletes
Label is merged with record labels, at this point, calling the application program deleted and mark characterized deletion function, and deletes current record
Voice messaging.
In order to realize the coupled movements between first object object and the second target object, thus make first object object with
Second target object meets, one embodiment of the disclosure, and coupled movements are the second target object according to preset motion profile
The movement of progress.As shown in figure 3, Fig. 3 is according to the second target object shown in an exemplary embodiment according to preset movement
The schematic diagram that track is moved.Wherein, the second target object is shown in position 1, and is moved along track 1-2-3-4,
At this point, first object object be with refer to move, it is close to position 4 as the finger moves, finally make first object object and
Second target object meets.
Another embodiment of the disclosure, coupled movements are motion profile of second target object according to first object object
The mirror image tracking of progress moves.As shown in figure 4, Fig. 4 is according to the second target object shown in an exemplary embodiment according to the
The motion profile of one target object carries out the schematic diagram of mirror image tracking movement.First object object is in the display of position 0, the second target
Object shows that straight line AA ' is the common vertical line of first object object and the second target object, when first object object at position 0 '
When moving at position 1 with referring to, the coordinate at position 1 is obtained, and calculating position 1 is the symmetric points 1 ' of common vertical line with straight line AA '
Coordinate, and the second target object is moved to 1 ' place of position.Similarly, when first object object is moved to position 2 and position 3
When, it calculates with position 2 and position 3 with the coordinate of symmetric points position 2 ' and position 3 ' that straight line AA ' is common vertical line, and according to 2 '-
3 ' move the second target object, finally meet in both positions 4.
One embodiment of the disclosure, as shown in figure 5, Fig. 5 be according to shown in an exemplary embodiment in user interface
The schematic diagram operated.As shown in figure 5, the second target object carries out according to user instructions when first object object moves
Coupled movements are simultaneously met with first object object, can shorten the movement of user's first object object in operating user interface away from
From one-handed performance so may be implemented, improve the operating experience of user.
When being associated movement, terminal is logical for one embodiment of the disclosure, first object object and the second target object
The direction for crossing detection pressing may determine that user is operated using left hand or the right hand, by detecting contact area, it can be determined that
Whether user uses one-handed performance.For example, as shown in figure 5, the finger of operation is thumb, thumb when user uses one-handed performance
Finger is smaller with screen contact area, and glide direction slides to upper left by bottom right if using left hand thumb, if using hand thumb
Glide direction slides to upper right by lower-left.In the embodiment of the present disclosure, terminal is preset with a plurality of motion profile to the second target object, when
When determining user using left hand one-handed performance, the first motion profile is called, wherein the first motion profile is by being in arc up to lower-left
Line, the distance that left hand thumb can be made to slide is most short just to make first object object meet with the second target object.Similarly, when with
When family uses right hand one-handed performance, the second motion profile is called, hand thumb is made to slide the smallest distance.
In some embodiments, the sliding distance of thumb, can acquire when shortening one-handed performance to further calculate
The sample of thumb sliding trace, and the motion profile of the second target object is calculated according to sample trace, and prestored.
In the embodiment of the present disclosure, after first object object and the second target object meet, the second target object table is called
The operation sequence of sign simultaneously executes the function that the second target object indicates, such as the second target object indicates to delete, then calls deletion
Operation sequence deletes the voice messaging currently recorded.In practical applications, in order to improve the operating experience of user, when
One target object and the second target object show preset picture after meeting, user is prompted to start to execute the expression of the second target object
Function be specifically not construed as limiting for example, first object object is merged with the second target object, changes colour, flashed.
The execution method for the dynamic instruction that the embodiment of the present disclosure provides, according to user instructions when first object object moves
So that the second target object is associated movement, after so that the two is met, executes the operation sequence of the second target object characterization, in this way,
Interactivity of the user when user interface operates can be increased, improve the operating experience of user.
Voice messaging is most common a kind of information format in instant messaging, in the actual operation process, when user is recording
When the needs that go wrong in voice process processed cancel transmission, excessively concealed due to deleting label, user would generally first be sent to and connect
Then debit reuses and recalls function and recall, so can not only interfere to recipient, operating process is also relatively complicated.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of method for deleting voice messaging, wherein user instruction is record
The instruction of voice messaging processed, the program of first object object characterization recorded speech information, the second target object characterization delete voice
The program of information.As shown in fig. 6, Fig. 6 is a kind of base of method for deleting voice messaging shown according to an exemplary embodiment
This flow diagram.
As shown in fig. 6, step S1200 includes:
S1211, judge the position coordinates of first object object whether in preset deletion determinating area;
Deleting determinating area is preset region in user interface, is sat for indicating when the position of first object object
When marking in this region, the voice messaging deleted and currently recorded is determined.For the ease of the identification and operation of user, determine deleting
The second target object is shown in region, that is, deletes label, as shown in Figure 2 B.
Optionally, before step S1211, comprising:
The user instruction for obtaining pending recorded speech information calls built-in voice recording routine interface defeated to user
The voice messaging entered is recorded, and call it is built-in monitor application programming interfaces to the position coordinates of first object object into
Row is monitored, to obtain the motion profile of first object object.
S1212, when position coordinates delete determinating area in when, the second target object meets with first object object to be melted
It closes, and deletes the voice messaging currently recorded.
When the position coordinates of first object object are when deleting in determinating area, in order to improve the operating experience of user, tune
It is shown with the video that preset first object object is merged with the second target object, to prompt user to be carrying out deletion function
Energy.
In some embodiments, when first object object is when deleting in determinating area, in order to improve grasping for user
The property made, user can also trigger deletion instruction by preset mode to delete voice messaging.Wherein, it receives and deletes current record
Voice messaging, comprising:
Step 1: triggering voice deletes instruction when can't detect user instruction;
Step 2: deleting instruction according to voice deletes the voice messaging currently recorded.
First object object move with referring to, when entering in deletion determinating area, can incite somebody to action in order to easy to operate
Finger leaves voice and deletes interface, that is, can't detect the condition that user instruction deletes instruction as triggering voice, and according to deletion
The voice messaging currently recorded is deleted in instruction.
One embodiment of the disclosure improves the operating experience of user to enhance animation effect, and the embodiment of the present disclosure mentions
The method that the first object object and the second target object of confession are associated movement.As shown in fig. 7, Fig. 7 is exemplary according to one
The second target object made in display area according to user instructions for implementing to exemplify is associated the basic flow of the method for movement
Journey schematic diagram, comprising:
As shown in fig. 7, step S1200 includes:
The coordinate of S1221, the position coordinates for judging first object object and the second target object the distance between whether
Less than pre-determined distance;
S1222, when be less than pre-determined distance when, according to the position of the position coordinates of first object object, the second target object
The midpoint of the line of coordinate and first object object and the second target object obtains first object object and the second target object
Second order Bezier;
In order to which dynamic effect is presented, when the distance between first object object and the second target object are less than pre-determined distance
When, i.e., both lean on it is closer when, draw the second order shellfish plug curve of first object object and the second target object.Due to the two
Between be continuous close or isolated dynamic situation, need constantly to draw new second order Bezier song according to its coordinate position
Line.
Second order Bezier is the mathematic curve applied to X-Y scheme application program, passes through two data point one passes
Key point-rendering forms, wherein and two data points include starting point and ending point, respectively the beginning and end position of controlling curve,
Control point then controls the bending state of Bezier.
One embodiment of the disclosure, first object object and the second target object are circle, wherein first object pair
As round for first, the second target object is second round, is with first object object and the centre coordinate of the second target object
Key point is a little respectively to do a straight line at 45 ° with center line with the respective center of circle with the center line of the line in its center of circle, with
The intersection of respective round edge, and will with the first circular intersection point as starting point, will with the second circular intersection point as end point, with
The midpoint of the line in the first circular center of circle and the second circular center of circle is as key point respectively in first round and the second circle
Two sides draw second order Bezier.It should be noted that since the first circle and the second circular coordinate move, two
Rank Bezier is dynamic change.
S1223, it is adhered and separates according to second order Bezier acquisition first object object and second target object
Picture.
In the embodiment of the present disclosure, when the distance of first object object and the second target object is less than pre-determined distance, and two
Person close to when, obtain first object object according to the second order Bezier of dynamic change and that the second target object is adhered be dynamic
State picture.Similarly, when the two separates, since the dynamic change of second order Bezier shows first object object and second
The picture of target object separation.When the distance between first object object and the second target object are greater than or equal to pre-determined distance
When, coupled movements between the two can using it is other it is non-be adhered with isolated interrelational form, such as the second target object is to the
The movement etc. of one target object progress tracking.
In the embodiment of the present disclosure, one View of terminal enclosure, by above-mentioned animated video, user interface (User
Interface, UI), the application program of recording be packaged, and external exposed interface.
Fig. 8 is a kind of executive device block diagram of dynamic instruction shown according to an exemplary embodiment.Referring to Fig. 8, this is dynamic
The executive device of state instruction includes acquiring unit 110 and execution unit 120.Wherein, acquiring unit 110 are configured as executing and obtain
Take pending user instruction, wherein include the fortune for the first object object that the user instruction is directed toward in the user instruction
Dynamic rail mark;Execution unit 120, being configured as executing carries out the second target object in display area according to the user instruction
Coupled movements, so that after the first object object and second target object meet within the display area, and make institute
The content information for stating first object object characterization executes the operation sequence of the second target object characterization.
The executive device for the dynamic instruction that the embodiment of the present disclosure provides, according to user instructions when first object object moves
So that the second target object is associated movement, after so that the two is met, executes the operation sequence of the second target object characterization, in this way,
The sliding distance of user on the display screen can not only be shortened, one-handed performance is realized, user can also be increased in user's operation
Interactivity when interface is operated improves the operating experience of user.
In some embodiments, the coupled movements are that second target object is carried out according to preset motion profile
Movement.
In some embodiments, the coupled movements are second target object according to the first object object
The mirror image tracking movement that motion profile carries out.
In some embodiments, the program of the first object object characterization recorded speech information, second target
The program of object characterization deletion voice messaging;The execution unit includes: the first judging unit, is configured as executing described in judgement
Whether in preset deletion determinating area, the deletion determinating area includes described second to the position coordinates of first object object
Target object;Unit is deleted, is configured as executing second mesh when the position coordinates are in the deletion determinating area
Mark object meets with the first object object to be merged, and deletes the voice messaging currently recorded.
In some embodiments, the execution unit includes: second judgment unit, is configured as executing and judges described the
The coordinate of the position coordinates of one target object and second target object the distance between whether be less than pre-determined distance;First
Acquiring unit is configured as executing when being less than the pre-determined distance, according to position coordinates of the first object object, described
The midpoint of the line of the position coordinates of second target object and the first object object and second target object obtains
The second order Bezier of the first object object and second target object;Second acquisition unit is configured as executing
The first object object is obtained according to the second order Bezier and second target object is adhered and isolated picture.
In some embodiments, the user instruction is the instruction for the voice messaging recorded;The deletion unit includes:
Trigger unit is configured as executing when can't detect the user instruction, and triggering voice deletes instruction;Recording elements are matched
It is set to execute and the voice messaging that instruction deletion is currently recorded is deleted according to the voice.
In some embodiments, the user instruction is the instruction for the voice messaging recorded;The acquiring unit includes:
Transfer unit, be configured as executing call it is built-in monitor application programming interfaces to the position coordinates of the first object object into
Row is monitored, to obtain the motion profile of the first object object.
About the executive device of the dynamic instruction in above-described embodiment, wherein each unit has executed the concrete mode of operation
It is described in detail in the embodiment of the method, no detailed explanation will be given here.
Fig. 9 is a kind of frame of the electronic equipment 900 of execution for dynamic instruction shown according to an exemplary embodiment
Figure.For example, electronic equipment 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control
Platform, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 9, electronic equipment 900 may include following one or more components: processing component 902, memory 904,
Electric power assembly 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914,
And communication component 916.
The integrated operation of the usual controlling electronic devices 900 of processing component 902, such as with display, call, data are logical
Letter, camera operation and record operate associated operation.Processing component 902 may include one or more processors 920 to hold
Row instruction, to complete all or part of the steps of the execution method of above-mentioned dynamic instruction.In addition, processing component 902 can wrap
One or more modules are included, convenient for the interaction between processing component 902 and other assemblies.For example, processing component 902 may include
Multi-media module, to facilitate the interaction between multimedia component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in electronic equipment 900.These data
Example include any application program or dynamic instruction for being operated on electronic equipment 900 execution method instruction, connection
It is personal data, telephone book data, message, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile
Property storage equipment or their combination realize, such as static random access memory (SRAM), electrically erasable is read-only to be deposited
Reservoir (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory
(ROM), magnetic memory, flash memory, disk or CD.
Power supply module 906 provides electric power for the various assemblies of electronic equipment 900.Power supply module 906 may include power supply pipe
Reason system, one or more power supplys and other with for electronic equipment 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between the electronic equipment 900 and user.
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface
Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 908 includes a front camera and/or rear camera.When electronic equipment 900 is in operation mode, as clapped
When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition
Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when electronic equipment 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 904 or via logical
Believe that component 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, for providing the state of various aspects for electronic equipment 900
Assessment.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, the relative positioning of component, such as institute
The display and keypad that component is mobile terminal 700 are stated, sensor module 914 can also detect electronic equipment 900 or electronics
The position change of 900 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 900,900 orientation of electronic equipment
Or the temperature change of acceleration/deceleration and electronic equipment 900.Sensor module 914 may include proximity sensor, be configured to
It detects the presence of nearby objects without any physical contact.Sensor module 914 can also include optical sensor, such as
CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with
Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between electronic equipment 900 and other equipment.
Electronic equipment 900 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G),
Or their combination.In one exemplary embodiment, communication component 916 receives via broadcast channel and comes from external broadcasting management
The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 916 further includes that near field is logical
(NFC) module is believed, to promote short range communication.For example, radio frequency identification (RFID) technology, infrared data association can be based in NFC module
Meeting (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 900 can be by one or more application specific integrated circuit (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the execution of above-mentioned dynamic instruction
Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of electronic equipment 900 to be referred to completing above-mentioned dynamic
The execution method of order.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory
(RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of computer program product, including computer program code, the computer program include program instruction, work as institute
When stating program instruction and being computer-executed, the computer is made to execute the execution method of above-mentioned dynamic instruction.
Those skilled in the art consider specification and practice it is disclosed herein after, will readily occur to other implementations of the disclosure
Scheme.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptation
Property variation follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or usual
Technological means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are wanted by following right
It asks and points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (10)
1. a kind of execution method of dynamic instruction characterized by comprising
Obtain pending user instruction, wherein include the first object pair that the user instruction is directed toward in the user instruction
The motion profile of elephant;
The second target object in display area is set to be associated movement according to the user instruction, so that the first object pair
After meeting within the display area with second target object, and make the content information of the first object object characterization
Execute the operation sequence of the second target object characterization.
2. the execution method of dynamic instruction according to claim 1, which is characterized in that the coupled movements are described second
The movement that target object is carried out according to preset motion profile.
3. the execution method of dynamic instruction according to claim 1, which is characterized in that the coupled movements are described second
Target object is moved according to the mirror image tracking that the motion profile of the first object object carries out.
4. the execution method of dynamic instruction according to claim 1, which is characterized in that the first object object characterization record
The program of voice messaging processed, the second target object characterization delete the program of voice messaging;It is described according to the user instruction
The second target object in display area is set to be associated movement, comprising:
Judge the position coordinates of the first object object whether in preset deletion determinating area, the deletion determinating area
Including second target object;
When the position coordinates are in the deletion determinating area, second target object and the first object object phase
Fusion is met, and deletes the voice messaging currently recorded.
5. the execution method of dynamic instruction according to claim 1, which is characterized in that described to be made according to the user instruction
The second target object in display area is associated movement, comprising:
Judge the position coordinates of the first object object and the coordinate of second target object the distance between it is whether small
In pre-determined distance;
When being less than the pre-determined distance, according to the position of the position coordinates of the first object object, second target object
The midpoint for setting the line of coordinate and the first object object and second target object obtains the first object object
With the second order Bezier of second target object;
It according to the second order Bezier obtains the first object object and second target object is adhered and separates
Picture.
6. the execution method of dynamic instruction according to claim 4, which is characterized in that the user instruction is the language recorded
The instruction of message breath;It is described to delete the voice messaging currently recorded, comprising:
When can't detect the user instruction, triggering voice deletes instruction;
Instruction, which is deleted, according to the voice deletes the voice messaging currently recorded.
7. the execution method of dynamic instruction according to claim 1, which is characterized in that the user instruction is the language recorded
The instruction of message breath;It is described to obtain pending user instruction, comprising:
Built-in monitoring application programming interfaces are called to monitor the position coordinates of the first object object, it is described to obtain
The motion profile of first object object.
8. a kind of executive device of dynamic instruction characterized by comprising
Acquiring unit is configured as executing the pending user instruction of acquisition, wherein include the user in the user instruction
Instruct the motion profile for the first object object being directed toward;
Execution unit, be configured as executing makes the second target object in display area be associated fortune according to the user instruction
It is dynamic, so that after the first object object and second target object meet within the display area, and make described first
The content information of target object characterization executes the operation sequence of the second target object characterization.
9. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to as described in any one of claims 1 to 7 claim dynamic instruction execution side
The step of method.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device executes, so that mobile terminal is able to carry out the execution method of the dynamic instruction as described in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811058602.7A CN109358782A (en) | 2018-09-11 | 2018-09-11 | Execution method, apparatus, electronic equipment and the storage medium of dynamic instruction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811058602.7A CN109358782A (en) | 2018-09-11 | 2018-09-11 | Execution method, apparatus, electronic equipment and the storage medium of dynamic instruction |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109358782A true CN109358782A (en) | 2019-02-19 |
Family
ID=65350856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811058602.7A Pending CN109358782A (en) | 2018-09-11 | 2018-09-11 | Execution method, apparatus, electronic equipment and the storage medium of dynamic instruction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358782A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113946266A (en) * | 2021-10-18 | 2022-01-18 | 贵州振华信息技术有限公司 | Manuscript demonstration system and demonstration method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110014040A (en) * | 2009-08-04 | 2011-02-10 | 엘지전자 주식회사 | Mobile terminal and icon collision controlling method thereof |
CN102314305A (en) * | 2010-07-09 | 2012-01-11 | 索尼公司 | Display control apparatus and display control method, display control program, and recording medium |
CN102495708A (en) * | 2011-12-16 | 2012-06-13 | 上海华勤通讯技术有限公司 | Mobile terminal and operating method for standby interface of mobile terminal |
CN103713828A (en) * | 2013-12-11 | 2014-04-09 | 上海斐讯数据通信技术有限公司 | Method of deleting two desktop icons by collision |
CN104165564A (en) * | 2014-08-26 | 2014-11-26 | 高德(江苏)电子科技有限公司 | Jig for testing whether forming size of printed circuit board is too large or too small |
CN105960622A (en) * | 2013-10-01 | 2016-09-21 | 量子界面有限责任公司 | Selection attractive interfaces, systems and apparatuses including such interfaces, methods for making and using same |
CN106502502A (en) * | 2016-10-31 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of method of locking applications and terminal |
-
2018
- 2018-09-11 CN CN201811058602.7A patent/CN109358782A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110014040A (en) * | 2009-08-04 | 2011-02-10 | 엘지전자 주식회사 | Mobile terminal and icon collision controlling method thereof |
CN102314305A (en) * | 2010-07-09 | 2012-01-11 | 索尼公司 | Display control apparatus and display control method, display control program, and recording medium |
CN102495708A (en) * | 2011-12-16 | 2012-06-13 | 上海华勤通讯技术有限公司 | Mobile terminal and operating method for standby interface of mobile terminal |
CN105960622A (en) * | 2013-10-01 | 2016-09-21 | 量子界面有限责任公司 | Selection attractive interfaces, systems and apparatuses including such interfaces, methods for making and using same |
CN103713828A (en) * | 2013-12-11 | 2014-04-09 | 上海斐讯数据通信技术有限公司 | Method of deleting two desktop icons by collision |
CN104165564A (en) * | 2014-08-26 | 2014-11-26 | 高德(江苏)电子科技有限公司 | Jig for testing whether forming size of printed circuit board is too large or too small |
CN106502502A (en) * | 2016-10-31 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of method of locking applications and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113946266A (en) * | 2021-10-18 | 2022-01-18 | 贵州振华信息技术有限公司 | Manuscript demonstration system and demonstration method |
CN113946266B (en) * | 2021-10-18 | 2023-03-10 | 贵州振华信息技术有限公司 | Manuscript demonstration system and demonstration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11740694B2 (en) | Managing and mapping multi-sided touch | |
EP3189406B1 (en) | Phone user interface | |
CN105607805B (en) | The footmark processing method and processing device of application icon | |
CN103995666B (en) | A kind of method and apparatus of setting operating mode | |
CN104598104B (en) | Widget treating method and apparatus | |
CN105094577A (en) | Method and apparatus for application switching | |
CN105373334B (en) | Interactive screen control method and device | |
CN107102772A (en) | Touch control method and device | |
CN105094626B (en) | Content of text selection method and device | |
CN106802808A (en) | Suspension button control method and device | |
CN104536659B (en) | Object information processing method and device | |
CN109144385A (en) | The moving method and device of suspension ball | |
CN109358929A (en) | Multi-screen display method, device and storage medium | |
CN109739580A (en) | The starting method, apparatus and storage medium of application program | |
CN105468281B (en) | The method and apparatus for showing set interface | |
CN108540653A (en) | Terminal device and interaction control method and device | |
CN106775210A (en) | The method and apparatus that wallpaper is changed | |
CN106126050B (en) | Menu display method and device | |
CN106339092B (en) | Horizontal/vertical screen switching method and apparatus | |
CN106650569B (en) | Fingerprint input method and device | |
CN109358782A (en) | Execution method, apparatus, electronic equipment and the storage medium of dynamic instruction | |
CN105824677B (en) | Installation kit delet method based on user's operation data | |
CN105373318B (en) | Information display method and device | |
CN106792636A (en) | terminal control method and device | |
CN108073291A (en) | A kind of input method and device, a kind of device for input |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |
|
RJ01 | Rejection of invention patent application after publication |