CN110888581A - Element transfer method, device, equipment and storage medium - Google Patents
Element transfer method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110888581A CN110888581A CN201910964777.2A CN201910964777A CN110888581A CN 110888581 A CN110888581 A CN 110888581A CN 201910964777 A CN201910964777 A CN 201910964777A CN 110888581 A CN110888581 A CN 110888581A
- Authority
- CN
- China
- Prior art keywords
- screen
- touch operation
- display
- condition
- touch
- 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
- 238000012546 transfer Methods 0.000 title claims abstract description 105
- 238000000034 method Methods 0.000 title claims abstract description 85
- 238000003860 storage Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims abstract description 63
- 230000008569 process Effects 0.000 claims abstract description 43
- 230000006870 function Effects 0.000 claims description 56
- 238000002716 delivery method Methods 0.000 claims description 41
- 230000004044 response Effects 0.000 claims description 14
- 230000004913 activation Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 230000002452 interceptive effect Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 19
- 238000012545 processing Methods 0.000 description 9
- 230000001960 triggered effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000002829 reductive effect Effects 0.000 description 8
- 230000003993 interaction Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000007667 floating Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000006073 displacement reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000008034 disappearance Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
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/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- 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/0484—Interaction 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/0486—Drag-and-drop
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses an element transmission method, an element transmission device, element transmission equipment and a storage medium, which relate to the technical field of electronic whiteboards and comprise the following steps: receiving a first touch operation in a first screen, wherein the first touch operation acts on elements displayed in the first screen; controlling the element to move synchronously along with the first touch operation; confirming that the element meets an element transfer condition, controlling the element to continue to move, and adjusting a first display size of the element in the moving process; and after the movement is finished, displaying the elements in a second screen, and deleting the elements in the first screen to transfer the elements to the second screen. By adopting the method, the technical problem that the elements appearing on one screen cannot be quickly and accurately displayed on the other screen in the prior art can be solved.
Description
Technical Field
The embodiment of the application relates to the technical field of electronic whiteboards, in particular to an element transmission method, an element transmission device, element transmission equipment and a storage medium.
Background
With the development of computer technology, computer devices are widely used in various scenes of daily life. For example, intelligent devices such as tablet computers and televisions with electronic whiteboard functions are widely used in scenes such as office and teaching. In order to enrich the functionality of smart devices, dual-screen smart devices have emerged. Correspondingly, the electronic whiteboard software is provided with a double-screen mode. Generally, in the dual-screen mode, two display screens can display different contents, i.e. two display screens can perform different functions, e.g. in a teaching scene, one display screen is used for displaying courseware and one display screen is used for writing on a writing board. In the process of implementing the invention, the inventor finds that the prior art has the following problems: when a user needs to explain and introduce some elements displayed, the elements need to be created in a writing screen, and then explanation is performed in a writing mode, a zooming mode and the like. At this time, the process of creating the elements increases the workload of the user, and the similarity between the created elements and the displayed elements cannot be guaranteed.
In summary, in the dual-screen mode, how to quickly and accurately create an element displayed in one screen in another screen becomes a technical problem to be solved urgently.
Disclosure of Invention
The application provides an element transmission method, device, equipment and storage medium, and aims to solve the technical problem that in the prior art, in a double-screen mode, elements appearing in one screen cannot be displayed on the other screen quickly and accurately.
In a first aspect, an embodiment of the present application provides an element delivery method, including:
receiving a first touch operation in a first screen, wherein the first touch operation acts on elements displayed in the first screen;
controlling the element to move synchronously along with the first touch operation;
confirming that the element meets an element transfer condition, controlling the element to continue to move, and adjusting a first display size of the element in the moving process;
and after the movement is finished, displaying the elements in a second screen, and deleting the elements in the first screen to transfer the elements to the second screen.
Further, the displaying the element in the second screen includes:
the element is displayed at a first display position of a second screen, and a second display size of the element is equal to a first display size of the element in the first screen before the element receives the first touch operation.
Further, the boundary between the first display position and the second screen is a fixed distance, and the boundary is a horizontal boundary pointed by the first touch operation and/or a vertical boundary pointed by the first touch operation; or the like, or, alternatively,
the first display position is the same as a second display position, and the second display position is a display position in the first screen before the element receives the first touch operation or when the element transmission condition is confirmed to be met.
Further, before the receiving a first touch operation in the first screen, the first touch operation acting on an element displayed in the first screen, the method further includes:
adjusting the element to an active state in response to a received second touch operation, the element being triggerable to execute an element transfer event in the active state, the second touch operation acting on the element in the first screen.
Further, after adjusting the element to the active state in response to the received second touch operation, the method further includes:
and in response to a received third touch operation, canceling the activation state of the element, wherein the third touch operation acts on the first screen.
Further, the method also comprises the following steps:
and confirming that the element does not meet an element transfer condition, and restoring the element to an original state, wherein the original state is a display state of the element in the first screen before the first touch operation is received.
Further, when the first display size of the element is adjusted during the moving, the method further includes:
adjusting the display transparency of the element.
In a second aspect, an embodiment of the present application further provides an element delivery method, including:
receiving a first touch operation in a first screen, wherein the first touch operation acts on elements displayed in the first screen;
acquiring a touch track of the first touch operation in the first screen;
controlling the element to move synchronously along with the touch track;
confirming that the element meets an element transfer condition, controlling the element to continue to move, and adjusting a first display size of the element in the moving process;
and after confirming that the element movement is finished, creating a copy of the element in a second screen, and deleting the element in the first screen to transfer the element to the second screen.
Further, the element passing condition includes: a trigger condition applied to the first screen and/or a reception condition applied to the second screen.
Further, the element passing condition includes: a trigger condition and a reception condition;
confirming that the element meets an element transfer condition, and controlling the element to continue moving, wherein the confirming comprises the following steps:
when the first screen is confirmed to meet the trigger condition, an element delivery notice is sent to the second screen;
when the second screen receives an element delivery notification, determining whether the second screen meets the receiving condition;
and when the second screen meets the receiving condition, controlling the element to continue moving.
Further, the trigger condition includes:
the moving speed of the first touch operation reaches a first preset speed; and/or the presence of a gas in the gas,
the moving distance of the first touch operation reaches a first preset distance; and/or the presence of a gas in the gas,
and confirming that the first touch operation is finished.
Further, the receiving condition is: the second screen initiates an element passing function.
Further, when the element delivery notification is sent to the second screen, the method further includes:
sending an element shaking parameter to the second screen;
the determining whether the second screen satisfies the reception condition includes:
and determining whether the second screen meets the receiving condition or not according to the element shaking parameters.
Further, the element shaking parameter is a moving speed of the first touch operation, and the receiving condition is: the moving speed reaches a second preset speed; and/or the presence of a gas in the gas,
the element throw parameters include: a first unit vector of the element when the first touch operation starts and a second unit vector of the element when a trigger condition is met, where the receiving condition is: a vector difference between the first unit vector and the second unit vector is within a first set threshold; and/or the presence of a gas in the gas,
the element throw parameters include: the second unit vector and a third unit vector of the element at a set time before a trigger condition is met, wherein the receiving condition is as follows: a vector difference between the third unit vector and the second unit vector is within a second set threshold; and/or the presence of a gas in the gas,
the element throw parameters include: the element type of the element, and the receiving condition is: the element type is a preset transfer element type.
Further, the creating a copy of the element in the second screen includes:
copying the element in the first screen before receiving the first touch operation;
confirming a first display position of the element in the second screen;
and pasting the element at the first display position.
Further, the confirming the first display position of the element in the second screen includes:
acquiring a second display position of the element in the first screen before the element receives the first touch operation; taking the second display position as the first display position of the element in the second screen; or the like, or, alternatively,
acquiring a preset element display position, and taking the element display position as a first display position of the element in the second screen; or the like, or, alternatively,
acquiring the shaking direction and the triggering position of the first touch operation when the triggering condition is met; determining a boundary closest to the second screen in the swing direction; determining a position set of which the vertical distance from the boundary meets a second preset distance; determining a first display position of the element in the second screen according to the trigger position, the position set and the swing direction; wherein the boundary is a horizontal boundary or a vertical boundary.
Further, the confirming that the element movement is finished comprises:
confirming that the element moves to a set display position; or the like, or, alternatively,
and confirming that the moving time length of the element reaches a set time length.
In a third aspect, an embodiment of the present application further provides an element delivery apparatus, including:
the touch control system comprises a first touch control module, a second touch control module and a display module, wherein the first touch control module is used for receiving a first touch control operation in a first screen, and the first touch control operation acts on elements displayed in the first screen;
the first moving module is used for controlling the element to synchronously move along with the first touch operation;
the first adjusting module is used for confirming that the element meets the element transmission condition, controlling the element to continue to move and adjusting the first display size of the element in the moving process;
and the first transfer module is used for displaying the elements in a second screen after the movement is finished, and deleting the elements in the first screen so as to transfer the elements to the second screen.
In a fourth aspect, an embodiment of the present application further provides an element delivery apparatus, including:
the second touch control module is used for receiving a first touch control operation in a first screen, and the first touch control operation acts on elements displayed in the first screen;
the acquisition module is used for acquiring a touch track of the first touch operation in the first screen;
the second moving module is used for controlling the elements to synchronously move along the touch track;
the second adjusting module is used for confirming that the element meets the element transmission condition, controlling the element to continue to move and adjusting the first display size of the element in the moving process;
and the second transfer module is used for creating a copy of the element in a second screen and deleting the element in the first screen after the element is confirmed to be moved, so that the element is transferred to the second screen.
In a fifth aspect, an embodiment of the present application further provides an element delivery apparatus, including:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the element delivery method of the first aspect or the element delivery method of the second aspect.
In a sixth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the element delivery method according to the first aspect or the element delivery method according to the second aspect.
According to the element transmission method, the device, the equipment and the storage medium, the first touch operation acting on the element is received in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation, if the element is confirmed to meet the element transmission condition, the element is controlled to move continuously, the element is displayed in the second screen after the movement is finished, and the element in the first screen is deleted, so that the element is transmitted from the first screen to the second screen to be displayed. By adopting the technical means, the elements can be transmitted between the screens through the first touch operation according to the actual display requirements of the user, so that the elements appearing in one screen can be displayed on the other screen, the elements can be rapidly and accurately transmitted and displayed between the screens, the implementation mode is simple, the corresponding elements do not need to be created on the screens, and the workload of the element creation process is reduced. Meanwhile, when the elements are displayed on the second screen, the elements can be displayed at corresponding positions according to setting or actual operation, and the calculation amount is small. In addition, the transfer mode of the elements is flexible and convenient, the elements are triggered to be transferred through touch operation, when the element transfer condition is met, the elements can be transferred between screens, the operation is simple, and the use experience of a user can be effectively improved.
Drawings
Fig. 1 is a flowchart of an element delivery method according to an embodiment of the present application;
FIG. 2 is a first diagram of a screen provided in an embodiment of the present application;
FIG. 3 is a second schematic view of a screen provided in an embodiment of the present application;
FIG. 4 is a third schematic view of a screen provided in an embodiment of the present application;
FIG. 5 is a fourth schematic view of a screen provided in an embodiment of the present application;
fig. 6 is a flowchart of an element delivery method according to a second embodiment of the present application;
FIG. 7 is a fifth diagram illustrating a screen provided by an embodiment of the present application;
FIG. 8 is a sixth schematic view of a screen provided in an embodiment of the present application;
FIG. 9 is a seventh schematic view of a screen provided in an embodiment of the present application;
FIG. 10 is an eighth schematic view of a screen provided in an embodiment of the present application;
FIG. 11 is a ninth view of a screen provided in an embodiment of the present application;
FIG. 12 is a tenth schematic view of a screen provided in an embodiment of the present application;
FIG. 13 is an eleventh schematic view of a screen provided in an embodiment of the present application;
FIG. 14 is a twelfth schematic view of a screen provided in an embodiment of the present application;
FIG. 15 is a thirteenth schematic diagram of a screen provided by an embodiment of the present application;
fig. 16 is a flowchart of an element delivery method according to a third embodiment of the present application;
fig. 17 is a flowchart of an element delivery method according to a fourth embodiment of the present application;
FIG. 18 is a fourteenth schematic diagram of a screen provided in an embodiment of the present application;
FIG. 19 is a fifteenth schematic view of a screen provided in an embodiment of the present application;
fig. 20 is a schematic structural diagram of an element delivery apparatus according to a fifth embodiment of the present application;
fig. 21 is a schematic structural diagram of another element transferring apparatus according to the fifth embodiment of the present application;
fig. 22 is a schematic structural diagram of an element delivery apparatus according to a sixth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action or object from another entity or action or object without necessarily requiring or implying any actual such relationship or order between such entities or actions or objects. For example, the "first" and "second" of the first touch operation and the second touch operation are used to distinguish two different touch operations.
The element delivery method provided in the embodiment of the present application may be executed by an element delivery apparatus, where the element delivery apparatus may be implemented by software and/or hardware, and the element delivery apparatus may be formed by two or more physical entities, or may be formed by one physical entity. For example, the element delivery device may be a smart device such as a computer, a mobile phone, a tablet, or a smart interactive tablet.
For the convenience of understanding, the intelligent interaction tablet is taken as an element delivery device in the embodiment for exemplary description. The intelligent interactive panel can be an integrated device which controls the content displayed on the display panel and realizes man-machine interaction operation through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound box, a television, a video conference terminal and the like.
Generally, the smart interactive tablet includes at least one display screen. In the embodiment, the smart interactive tablet is configured with two display screens as an example. At this time, the two display screens may be the same type of display screen, or may be different types of display screens. In the embodiment, two display screens are taken as the same type of display screen as an example, and the two display screens have the same pixel coordinate system. The two display screens can be directly communicated or indirectly communicated through a processor (such as a central processing unit) of the intelligent interactive tablet. Also, the processor may control each display screen individually. Furthermore, two display screens all have the touch-control function, and correspondingly, the display screen can be capacitive screen, resistance screen or electromagnetic screen. Further, the touch operation response modes of the two display screens are the same, taking the case that a user performs touch operation in one display screen as an example, at this time, the user can perform touch operation in a mode of touching the display screen by a finger or a stylus, and correspondingly, the intelligent interactive tablet detects the touch position of the touch operation in the display screen, determines a response scheme according to the display content corresponding to the touch position, and then performs response, so as to implement a touch function. For example, the corresponding display content is determined to be a control of a certain function according to the touch position, and at this time, the response scheme is to execute the function. In practical application, a user can perform touch operation on one display screen or can perform touch operation on two display screens simultaneously. Optionally, the specific manner of determining the touch position of the touch operation in the display screen may be set in combination with an actual situation, for example, when a certain position of the display screen receives the touch operation, a parameter collected by an electrical component responsible for detecting the position may change, and at this time, the intelligent interactive tablet may determine the touch position according to a parameter change situation. It can be understood that, in practical applications, the user may also implement control operations by means of a keyboard, a mouse, physical keys, and the like.
Typically, the smart interactive tablet is installed with at least one type of operating system, wherein the operating system includes, but is not limited to, an android system, a Linux system, and a Windows system. Each display screen can be controlled individually by the operating system. Further, the smart interactive tablet may install at least one application based on the operating system, and in an embodiment, the application with the electronic whiteboard function is exemplarily described. For example, an electronic whiteboard application is installed in the smart interactive tablet. The application program may be an application program carried by an operating system, or an application program downloaded from a third-party device or a server. The element delivery device may also be an electronic whiteboard application. Optionally, under the function of the electronic whiteboard, the functions of writing, inserting a table, inserting a picture, inserting multimedia, inserting a file (such as PPT, etc.), playing multimedia, inserting a graph, drawing a table, etc. may be implemented. It will be appreciated that for both displays, it is possible to open the same application at the same time, or to open different applications at the same time. For the same application program, the same interface or different interfaces can be displayed in the two display screens after the application program is started. Optionally, when displaying different interfaces, the application program may have different versions, and each display screen may display the interface under the corresponding version. Alternatively, the two display screens display different functions of the same application.
Furthermore, the operable objects displayed in the application display interface are recorded as elements, and the types of the elements corresponding to different applications are different. For example, in an application with writing function, an element may be an element drawn by a user, such as a drawn graphic, a text box, a table, handwriting, and the like, or an element inserted by the user, such as an inserted graphic, a picture, a document, a PPT, and the like. After the elements are displayed, the user may perform control operations on the elements, such as adjusting the positions, sizes, colors, and the like of the elements, and further, in an application program with a courseware display function, the elements may be courseware, or the elements may also be independent objects (such as text boxes, texts therein, inserted pictures, and the like) in the courseware, and at this time, the user may turn pages, close, delete, and the like of the elements. Further, when a plurality of elements are included in a certain element, for example, an inserted picture exists in a courseware. At this point, the user may control the pictures individually or control the courseware with synchronous responses.
Specifically, in the embodiment of the present application, the two display screens respectively start different application programs as an example, and the element transfer method under the two display screens is described. At this time, the intelligent interactive tablet can control the two application programs to cooperatively operate, so as to implement the element transfer method provided by the embodiment of the application. In addition, when the element delivery method is executed, the two applications may also communicate directly, and the specific communication means embodiment is not limited.
Example one
Fig. 1 is a flowchart of an element delivery method according to an embodiment of the present application. Referring to fig. 1, the element delivery method specifically includes:
For example, in this embodiment, through a set operation, it may be achieved that elements in any display screen are transferred and displayed between two display screens, that is, elements in one display screen are transferred to another display screen for display. In the embodiment, the display screen for displaying the element before the transmission may be understood as a display screen for initiating the transmission of the element, which is denoted as a first screen, and the display screen for displaying the element after the transmission may be understood as a display screen for receiving the element, which is denoted as a second screen. Optionally, different applications are respectively started in the first screen and the second screen, that is, a user may respectively execute different functions through the first screen and the second screen. For example, the application program corresponding to the first screen has a document display function, and at this time, the first screen displays a document display interface for displaying a document. The application program corresponding to the second screen has a writing function, and at the moment, a writing interface is displayed in the second screen and used for responding to writing operation. It is understood that the related operations related to the first screen in the embodiments are all implemented by the smart interactive tablet controlling the execution of the application program corresponding to the first screen, and the related operations related to the second screen in the embodiments are all implemented by the smart interactive tablet controlling the execution of the application program corresponding to the second screen.
Typically, at least one element is displayed in the first screen, and the type embodiment of the element is not limited. The user can correspondingly control the elements in the first screen by inputting a mode of setting touch operation in the first screen. In an embodiment, a currently received touch operation is recorded as a first touch operation, where the first touch operation is a touch operation for transferring an element between two display screens. Optionally, the first touch operation may be applied to at least one element in the first screen, and in the embodiment, the first touch operation is applied to one element as an example. Further, the triggering mode of the first touch operation may be set according to an actual situation. For example, when a touch trajectory satisfying the setting requirement is detected in the first screen, it is determined that the first touch operation is received. The setting requirement may be set according to an actual situation, for example, the initial touch position of the touch trajectory is a display position of the element, and the swing direction of the touch trajectory is in the setting direction. For another example, an element delivery mode is set, and when it is detected that a certain element in the first screen receives a setting operation (such as a drag operation, a multi-touch operation, a single-click operation, or a long-press operation) in the element delivery mode, it is determined that the first touch operation is received. The embodiment of the triggering manner of the element passing mode is not limited. If the virtual key for mode switching is set, the display position and display style of the virtual key are not limited, and when the virtual key receives a click operation, the virtual key is switched to the element transmission mode. Optionally, after the virtual key receives the click operation again, the element delivery mode exits. For example, an element in an active state is set, and when it is detected that the element in the active state receives a setting operation or a touch trajectory meeting a setting requirement, it is determined that a first touch operation is received. Wherein, the element in the activated state means that the element can be displayed in a transitive way between the display screens. The triggering manner of the activation state may be set according to actual conditions, and generally speaking, the triggering manner of the activation state is different from the triggering manner of the first touch operation.
And when the first touch operation is confirmed to be detected, synchronously determining the elements acted by the first touch operation. Optionally, in order to distinguish the element acted on by the first touch operation from other elements not acted on, the presentation state of the element in the first screen may be modified, for example, the element is modified to be displayed in a floating manner, or the transparency of the element is modified. At this point, the element may be distinguished from other unaffected elements at the user's perspective.
Alternatively, since the first screen and the second screen may display a plurality of types of elements, not all types of elements are suitable for passing between the first screen and the second screen, e.g., a writing trace written by a user is not suitable for passing between the first screen and the second screen. Therefore, the element types that can be transferred are preset and recorded as the preset transfer element types. Accordingly, only elements satisfying a preset transfer element type can be transferred between the first screen and the second screen.
And step 120, controlling the element to move synchronously along with the first touch operation.
Illustratively, the selected element is controlled to move synchronously with the first touch operation. For example, the currently obtained real-time touch position of the first touch operation is taken as the latest display position of the selected element in the first screen, and the display position of the element is further updated, so that the element moves synchronously with the first touch operation. It is to be understood that the element moving synchronously with the first touch operation may also be understood as the element moving synchronously with the touch trajectory of the first touch operation. After receiving a first touch operation acting on an element, determining a touch position of the first touch operation in a first screen in real time, and further obtaining a touch track of the first touch operation according to the touch position and the receiving time of the touch position. The swing direction, the moving distance and the unit vector corresponding to the touch position at each moment of the first touch operation can be determined through the touch track. The swing direction is understood to be the direction of movement. It can be understood that the touch track may be displayed in the first screen or may not be displayed in the first screen. In an embodiment, the first screen is set not to display the touch track, so as to distinguish the first touch operation from the touch operation for writing. When the application program corresponding to the first screen has a writing function, if the application program receives the writing operation, a corresponding writing track can be displayed, so that a user can clearly write content. It should be noted that due to hardware and/or software limitations, a delay is allowed to occur when the element moves synchronously following the first touch operation.
And step 130, confirming that the element meets the element transmission condition, controlling the element to continue to move, and adjusting the first display size of the element in the moving process.
Specifically, the element transfer condition refers to a restriction condition that can implement transfer of an element between two display screens. Further, the specific content of the element transmission condition can be set according to the actual situation. In an embodiment, the set element delivery condition includes a trigger condition and/or a reception condition. Wherein the trigger condition is applied to the first screen, i.e. the trigger condition is a restriction condition set for initiating element transfer. Optionally, the trigger condition may be set according to an application program corresponding to the first screen and/or the first touch operation. For example, the triggering condition is that an application program corresponding to the first screen starts an element transfer function, the element type for the first touch operation function is a preset transfer element type, the moving speed of the first touch operation reaches a first preset speed, the moving distance of the first touch operation reaches a first preset distance, the swing direction of the first touch operation meets a set direction, the moving duration of the first touch operation is greater than a set duration, and/or the end of the first touch operation is confirmed. Further, a reception condition is applied to the second screen, that is, the reception condition is a restriction condition set for reception element delivery. Optionally, the receiving condition may be set according to the application program corresponding to the second screen and/or the first touch operation. When the receiving condition is set according to the first touch operation, the application program corresponding to the second screen may monitor parameters related to the first touch operation in the first screen, for example, the parameters are a moving speed, a moving distance, a moving duration of the first touch operation, an element type of an action of the first touch operation, a first unit vector of an element at the start of the first touch operation, a second unit vector of the element when the triggering condition is reached, and/or a third unit vector of the element at a preset time before the triggering condition is reached. Accordingly, the receiving condition set according to the first touch operation may be that the element type is a preset transfer element type, a vector difference between the first unit vector and the second unit vector is within a first set threshold, and/or a vector difference between the third unit vector and the second unit vector is within a second set threshold, and so on.
Furthermore, when the control element moves synchronously along with the first touch operation, whether the element transmission condition is met currently is judged in real time. Upon confirming that the element transfer condition is satisfied, the description element may transfer display between the two display screens, at which time the control element continues to move in the first screen. It can be understood that the control element continues to move to be automatically executed by the application program corresponding to the first screen, regardless of the first touch operation. Optionally, when the control element moves to the setting display position, the control element may move to the setting display position. The display position can be set according to an actual situation, for example, the display position is set to be a position closer to a boundary of the first screen close to the second screen, and for example, the display position is set to be located in the first touch operation moving direction and to be a fixed distance from the boundary of the first screen pointed by the moving direction. If the touch position is a fixed distance from the touch position of the first touch operation when the element transmission condition is satisfied, the display position is located in the moving direction of the first touch operation. And after the elements continue to move to the set display positions, carrying out element transmission display. I.e. by setting the display position, the moment of triggering of the element delivery can be determined. Optionally, when the control element continues to move in the moving direction of the first touch operation when the element transfer condition is met, the control element continues to move for the set duration, or the control element continues to move for the set duration along the first screen boundary pointed by the first touch operation, and when the set duration is reached, the element transfer display is performed. I.e. by setting the time duration, the triggering moment of the element delivery can be determined.
Typically, the display size of the element in the first screen is adjusted in real time during the movement of the element. The display size can be understood as the size of the element in the display screen, and can be determined according to the number of pixel points occupied by the element in the display screen. It can be understood that, if the display interface where the element is located has its own coordinate system, and the coordinate system is independent from the pixel coordinate system in the display screen, the display size can also be understood as the size of the element in the display interface, which can be determined according to the number of coordinate points occupied by the element in the display interface. The display interface includes, but is not limited to, a canvas, a document interface, a courseware interface, a webpage, etc. At this time, a mapping relation exists between the pixel coordinate system and the coordinate system of the display interface, so that the display interface is displayed in the display screen through the mapping relation, and the touch operation received in the display screen is associated with the display interface. In the embodiment, the pixel coordinate system is taken as an example.
Specifically, the display size of the element acted by the first touch operation on the first screen is recorded as a first display size. Further, adjusting the first display size occurs synchronously during the continued movement of the control element. From the user's perspective, it can be seen that the element size synchronization changes during the movement of the element. Wherein adjusting the first display size may include enlarging the first display size and/or reducing the first display size. Typically, the adjustment mode of the first display size can be set according to actual conditions. For example, the first display size is scaled down or enlarged as the movement time period increases. As another example, the first display size is scaled down or enlarged as the movement distance increases. As another example, the first display size is scaled down or up as the speed of movement increases. For example, when the display position is preset, the first display size of the adjustable element gradually decreases as the element gradually approaches the preset display position, so that the element can be gradually disappeared on the first screen in the element transmission process. Optionally, a size threshold may be set when adjusting the first display size. The set size threshold may be set according to actual conditions, and may be a minimum size threshold when the first display size gradually decreases with the movement, and may be a maximum size threshold when the first display size gradually increases with the movement.
It should be noted that adjusting the first display size is only one option for the element passing display process to be presented in the first screen. In practical applications, the element delivery display process may also be presented in other manners. For example, during the element moving process, the transparency of the element or the border color of the element is adjusted, so as to realize the effect that the element on the first screen gradually disappears during the element transferring display process. Alternatively, only the element is moved without adjusting the first display size of the element.
Optionally, when the element moves synchronously along with the first touch operation, the first display size of the element may also be adjusted synchronously. At this time, the adjustment manner of the first display size may be the same as the aforementioned adjustment manner. It can be understood that, if the unidirectional first touch operation control element adjusts the first display size to become smaller gradually, if the first touch operation moves along the direction of the set display position, the first display size of the element becomes smaller gradually, and then, when the first touch operation dragging element moves along the direction opposite to the current direction, the first display size is controlled to become larger gradually. For another example, when the element moves synchronously with the first touch operation and gradually approaches the boundary of the first screen, the first display size of the adjustable element gradually decreases, so that the element presents a gradual disappearance effect on the first screen in the element transfer process. When the element is gradually far away from the boundary of the first screen and moves to the initial display position before the first touch operation is received, the first display size is adjusted to be gradually increased, and when the element returns to the initial display position, the first display size of the element is adjusted to be the display size before the element receives the first touch operation.
Optionally, after the element transfer condition is satisfied, if it is detected that the first touch operation continues to be executed, the element may be controlled to continue to move synchronously with the first touch operation until the element is controlled to continue to move after the first touch operation is confirmed to be completed. Or, no matter whether the first touch operation is continuously executed or not, as long as the element transmission condition is detected to be met, the element is controlled to continuously move, and at this time, the application program corresponding to the first screen stops responding to the first touch operation.
And 140, after the movement is finished, displaying the element in a second screen, and deleting the element in the first screen to transfer the element to the second screen.
Specifically, when the element reaches a set display position or the element moving duration reaches a set duration, the movement is determined to be finished, and the element is triggered to transmit and display between the first screen and the second screen. The transferring display refers to displaying the element on the second screen, and deleting the element on the first screen, namely canceling the display of the element on the first screen. At this time, from the user's perspective, it can be said that the element is transferred from the first screen to the second screen.
Optionally, when the element is displayed in the second screen, the display size of the element is the same as the first display size of the element in the first screen before the first touch operation is received. At this time, the display element in the second screen may be regarded as the element in the first screen being copied into the second screen. Optionally, when an element is displayed in the second screen, the display size of the element is a default display size of the element, where the default display size is a display size when the element is displayed in the display screen for the first time after the current power-on.
Further, the display position of the element in the second screen is set according to the actual situation. For example, the display position of the element in the first screen before the first touch operation is received is acquired, and then the element is displayed on the same display position of the second screen. As another example, the display position of the element in the second screen is set in advance. In another example, the display position of the element in the second screen is calculated according to the touch trajectory of the first touch operation.
Optionally, the display element in the second screen and the deletion element in the first screen may be executed simultaneously or sequentially. Whether performed simultaneously or sequentially, from the user perspective, it can be almost considered that the display elements in the second screen are performed simultaneously with the deletion elements in the first screen. It is understood that in practical applications, the first screen may not delete the element, that is, when the element is displayed in the second screen, the element in the first screen may be restored to the original display position, and at this time, the element is simultaneously displayed in the two display screens.
Optionally, after the element is transferred to the second screen, the user may further continue to control the element in the second screen through the first touch operation, so as to implement transfer of the element from the second screen to the first screen. At this time, the execution process is the same as the process of transferring the display from the first screen to the second screen, and is not described herein again.
It will be appreciated that the first screen and the second screen may also be two windows located within one display screen.
It should be noted that the first screen and the second screen may display the same application program.
The technical solutions provided by the embodiments are exemplarily described below:
under the scene of giving lessons, the teacher uses the double-screen mode of the intelligent interactive whiteboard, and at the moment, the two display screens are respectively recorded as a first screen and a second screen. The first screen is used for displaying courseware and cannot respond to writing operation, and the second screen is used for writing on a blackboard. When a certain element in the courseware needs to be introduced in detail, the element in the courseware can be moved to the second screen to be displayed, so that a teacher can conveniently operate and explain the element in the second screen in a writing operation mode and the like. Fig. 2 is a first schematic view of a screen provided in an embodiment of the present application. Referring to fig. 2, which is a current display interface of the first screen 11 and the second screen 12, the first screen 11 displays an element 13, and the element 13 is in a picture format. When the teacher needs to explain the element 13 in detail, the element 13 may be transferred to the second screen 12 for display, and at this time, the teacher touches the element 13 with a finger and moves to the direction of the second screen. Correspondingly, the smart interactive tablet detects that the first screen 11 receives the first touch operation. Fig. 3 is a second schematic view of a screen provided in an embodiment of the present application. Referring to fig. 3, the swing direction of the first touch operation is shown by an arrow in fig. 3. Further, the control element 13 moves synchronously along the arrow direction following the first touch operation (which may also be understood as following the finger of the teacher). And when the element transmission condition is met, the control element continues to move, and the first display size is synchronously reduced in the moving process. Fig. 4 is a third schematic view of a screen provided in the embodiment of the present application. Referring to fig. 4, it is a display interface of the first screen 11 and the second screen 12 at a certain time when the control element continues to move. At this time, the first display size of the element becomes significantly smaller as compared to fig. 3. Further, when it is confirmed that the element movement is ended, the element 13 is displayed in the second screen 12, and the element 13 in the first screen 11 is deleted. Fig. 5 is a fourth schematic view of a screen provided in the embodiment of the present application, which is a display interface of the first screen 11 and the second screen 12 after the transmission display is performed. Referring to fig. 5, after the element transfer, the element 13 is not displayed in the first screen 11 any more, and the element 13 is displayed in the second screen 12, thereby implementing the transfer of the element 13 from the first screen 11 to the second screen 12. At this time, the teacher may explain the element 13 by writing, moving, zooming, marking, etc. in the second screen 12.
It is understood that the fingers and arrows shown in the above figures are only used for explaining the technical solution, and are not displayed in the screen in practical application. Meanwhile, in practical application, a menu bar, a shortcut operation box, an element transfer trigger control, a delete control, a rotation point, a flick direction identifier, and the like may be displayed in the first screen and the second screen according to practical requirements, which is not limited in the embodiment. The description also applies to the screen schematic of the subsequent appearance.
According to the element transmission method, the first touch operation acting on the elements is received in the first screen, the elements are controlled to move synchronously according to the first touch operation, if the elements are confirmed to meet the element transmission condition, the elements are controlled to move continuously, the elements are displayed in the second screen after the movement is finished, and the elements in the first screen are deleted, so that the elements are transmitted from the first screen to the second screen to be displayed. By adopting the technical means, the elements can be transmitted among the display screens through the first touch operation according to the actual display requirements of the user, namely, the elements appearing in one display screen can be displayed on the other display screen, and the similarity between the elements after transmission and the elements before transmission is ensured. The electronic whiteboard has the advantages that the elements are rapidly and accurately transmitted and displayed between the screens, the implementation mode is simple, the corresponding elements do not need to be created on the display screens, workload in the process of creating the elements is reduced, and functionality of the electronic whiteboard is enriched.
Example two
Fig. 6 is a flowchart of an element delivery method according to a second embodiment of the present application. The present embodiment is embodied on the basis of the above-described embodiments. Referring to fig. 6, the element transfer method provided in this embodiment specifically includes:
For example, the active state is a preparation state for the element to perform a delivery display, and in the active state, the element may execute an element delivery event according to a first touch operation of a user. Corresponding to the active state is the elemental state of the element. In the basic state, the user can perform normal operations on the element. Conventional operations include, but are not limited to, zooming, dragging, rotating, and the like. By setting the activation state, the user can be made clear whether the element can be currently subjected to delivery display.
Further, the activation state may be realized by a set touch operation. In an embodiment, the touch operation that realizes the activated state is denoted as a second touch operation. The second touch operation is applied to the element desired to be subjected to the transfer display. Optionally, the triggering manner of the second touch operation may be set according to an actual situation, and is different from the triggering manner of the first touch operation and the normal operation. For example, the second touch operation is a long press operation, a double click operation, a multi-finger click operation, or the like for the element. In the embodiment, the long press operation is described as an example. Specifically, a time length is set, and in the basic state, when a touch operation is received for an element, and the pressing time of the touch operation for the element exceeds the set time length, it is determined that a second touch operation is received. At this point, the element is switched from the base state to the active state. More specifically, in the long-press operation process, if the set time length is not reached and touch operations such as dragging, multi-finger zooming, rotating and the like occur, it is determined that other touch operations are received, and a response is made according to the other touch operations. At this point, the element does not enter the active state.
Optionally, after the second touch operation is detected, the type of the element is obtained, and it is determined whether the type is a preset transfer element type, and if the type is the preset transfer element type, the element is switched from the basic state to the active state. Otherwise, the element continues to be maintained in the base state.
On the other hand, it is also possible to cancel the active state of an element, i.e. to switch the element back to the basic state. At this time, after this step, the method may further include: and in response to a received third touch operation, canceling the activation state of the element, wherein the third touch operation acts on the first screen.
Specifically, the deactivation state may be implemented by another set touch operation applied to the first screen, and in the embodiment, the touch operation is denoted as a third touch operation. Further, the triggering mode of the third touch operation may be set according to an actual situation. For example, after an element is in an activated state, if a long-press operation for the element is received again, it is determined that a third touch operation is received. At this time, the duration of the third touch operation may be equal to or different from the duration of the second touch operation. For another example, when it is detected that the click operation is received in the screen range other than the element in the activated state in the first screen, it is confirmed that the third touch operation is received. For another example, when it is detected that a multi-touch operation (e.g., a multi-click operation) is received in the first screen, it is confirmed that a third touch operation is received. Further, when the third touch operation is confirmed to be received, the element is restored from the activated state to the basic state.
Optionally, when the element is switched to the active state, the element is distinguished from when the element is in the basic state, so that a user can know the state information of the current element. The means for distinguishing and displaying may be set according to actual conditions. For example, when an element is switched to an active state, the activated element is controlled to be displayed in a floating state. It is to be understood that when an element is in the basic state, it is displayed in the normal state in the first screen, which is different from the floating state. For another example, when the element is switched to the activated state, the transparency of the element is changed, and the element is displayed in a semi-transparent state, wherein a specific parameter of the transparency can be set according to actual conditions. For example, when an element is switched to an active state, the border of the element is thickened to highlight the element. Wherein, the thickness degree of the frame lines can be set according to the actual situation. Correspondingly, when the element is switched back to the basic state from the activated state, the distinguishing display of the element is cancelled, so that the element is prompted to be switched back to the basic state. It will be appreciated that in addition to the distinctive display of the elements in the activated state, the state of the elements may also be prompted by way of a prompt box. For example, when the element is switched to the active state, a prompt box pops up to prompt the user of the current element to be switched from the basic state to the active state by text information. The display duration, the display position and the display style of the prompt box and the text information can be set according to actual conditions. Furthermore, when the prompt box is used for prompting the state of the element, a user can be prompted to trigger an element transmission event through first touch operation, and then transmission display of the element between the display screens is achieved. When the element is in the deactivated state, a prompt box pops up to prompt the user that the current element is switched from the activated state to the basic state by text information.
For example, fig. 7 is a fifth schematic view of a screen provided in the present embodiment, which is a current display interface of the first screen 21 and the second screen 22. Referring to fig. 7, the element 23 in the first screen 21 is in a basic state. In the basic state, the drag operation on the element 23 does not trigger the transfer display of the element 23 from the first screen 21 to the second screen 22. Further, when a second touch operation for the element 23 is detected, it is determined that the element 23 enters the active state. Fig. 8 is a sixth schematic view of a screen provided in the embodiment of the present application. Which is the display interface of the first screen 21 and the second screen 22 after the element 23 enters the activated state, referring to fig. 8, the element 23 is displayed in a floating state. In the activated state, an element transfer event may be triggered according to a first touch operation of a user, and when an element transfer condition is satisfied, an element is transferred from the first screen 21 to the second screen 22 for display. With respect to fig. 7, the display state of the element 23 in fig. 8 is changed, so that the user can determine that the element 23 enters the activated state, which is convenient for the user to perform subsequent operations. Further, when the user clicks the screen range outside the element 23 in the first screen through the finger, the smart interactive tablet confirms that the third touch operation is detected, and controls the element 23 to switch from the activated state to the basic state. Specifically, fig. 9 is a seventh schematic view of a screen provided in the embodiment of the present application, which is a display interface of the first screen and the second screen after the element 23 is switched from the activated state back to the basic state. With respect to fig. 8, the display state of the element 23 in fig. 9 is changed again, and the display is switched from the floating state to the normal state to prompt the user that the current element 23 is switched back to the basic state. It is understood that the fingers shown in the above figures are only used for explaining the technical solution, and will not be displayed in the screen in practical application, and at this time, fig. 9 is the same as the display interface of fig. 7.
It is to be understood that, since the first screen is used to initiate an element transfer event, the elements in the first screen are explained in the embodiment. In practice, the elements displayed in the second screen may also comprise at least a basic state and an active state.
And step 230, controlling the element to move synchronously along with the first touch operation.
And step 240, confirming whether the element meets the element transmission condition. If the element is confirmed to satisfy the element passing condition, step 250 is executed. Otherwise, step 270 is performed.
Specifically, in the process of the element following the first touch operation, it is detected whether an element passing condition is reached, if the element passing condition is reached, it is determined that the element passing condition is met, and an element passing event is executed, that is, step 250 is executed, otherwise, the detection is continued to determine whether the element passing condition is reached, until the first touch operation is ended, when it is determined that the first touch operation is ended, the element passing condition is not yet reached, it is determined that the element passing condition is not met, and at this time, step 270 is executed. The technical means for detecting the end of the first touch operation may be to detect that the first touch operation leaves the first screen.
And step 250, controlling the element to continue to move, and adjusting the first display size of the element and the display transparency of the element in the moving process.
And adjusting the first display size of the element during the movement of the element. And simultaneously adjust the display transparency of the element. Display transparency may be understood as the transparency of an element in a screen. The lower the transparency, the lower the likelihood of seeing the background pattern through the element, and the higher the transparency, the higher the likelihood of seeing the background pattern through the element. In the embodiment, the description will be made by taking an example of controlling the transparency of the element to be gradually increased during the movement of the element. At this time, as the element moves, its transparency gradually increases, so that the element exhibits a gradual disappearance effect. The transparency increasing rule may be set according to actual conditions. For example, the transparency of the element is gradually increased as the moving time period, the moving distance, and/or the moving speed increases. For another example, the display position is preset, and the transparency of the element is gradually increased as the distance between the element and the set display position decreases. Optionally, when adjusting the transparency, a transparency threshold may be set, and when the transparency of the element reaches the threshold, the adjustment of the transparency is stopped. For example, when an element is moved to a set display position, the transparency of the element is adjusted to a threshold value.
For example, referring to FIG. 8, at this point, element 23 is in an active state. Further, after detecting the first touch operation on the element 23, the control element 23 moves synchronously with the first touch operation, and when the element transfer condition is satisfied, the control element continues to move, and during the moving process, the first display size and the transparency of the element 23 are synchronously adjusted. Further, fig. 10 is an eighth schematic view of a screen provided in the embodiment of the present application, which is a display interface of the first screen 21 and the second screen 22 at a certain time during the process of continuing to move the element 23. The first display size of element 23 in fig. 10 becomes smaller and its transparency is enhanced compared to element 23 shown in fig. 8. It is understood that the fingers and arrows shown in the above figures are only used for explaining the technical solution, and are not displayed on the screen in practical application.
It is to be understood that the first display size and the transparency of the element may also be modified simultaneously as the element moves synchronously following the first touch operation. At this time, the transparency may be modified in the same manner as described above or in a different manner. When the modification modes are different, the modification mode of the transparency can be as follows: the transparency of the element is gradually increased as the boundary distance of the element from the first screen decreases. The transparency of the element is gradually reduced as the element approaches the initial display position.
Specifically, when the element is displayed on the second screen, the display position of the element on the second screen is recorded as the first display position. The first display position includes a horizontal position which can be regarded as a coordinate position of the Y axis in the pixel coordinate system of the second screen, and a vertical position which can be regarded as a coordinate position of the X axis in the pixel coordinate system of the second screen. It will be appreciated that the display position of the element in the first screen also includes the landscape position and the portrait position.
The first display position can be set according to actual conditions. For example, the boundary between the first display position and the second screen is a fixed distance, and the boundary is a horizontal boundary pointed by the first touch operation and/or a vertical boundary pointed by the first touch operation.
Generally, the first touch operation is an operation pointing to the second screen. Specifically, taking fig. 10 as an example, the first screen and the second screen are horizontally arranged. When the first touch operation of the user moves horizontally in the direction indicated by the arrow, the vertical boundary pointed by the first touch operation refers to the vertical boundary close to the first screen in the second screen. Moreover, since the horizontal boundaries of the first screen and the second screen are located on the same horizontal plane, the distance between the element and two horizontal boundaries in the first screen before the first touch operation is received or the distance between the element and two horizontal boundaries in the first screen when the element trigger condition is met can be calculated. And then, selecting a horizontal boundary at a shorter distance in the first screen, and taking a horizontal boundary which is positioned on the same horizontal plane with the selected horizontal boundary in the second screen as a horizontal boundary pointed by the first touch operation. In practical application, the user may not move in the horizontal direction completely, and at this time, the swing direction of the first touch operation may be referred to when determining the horizontal boundary to which the first touch operation points. For example, the swing direction is left-up, and at this time, the horizontal boundary pointed by the first touch operation is the horizontal boundary located above the second screen. It can be understood that, when the first screen and the second screen are vertically arranged, the determination method for determining the horizontal boundary and the vertical boundary of the first touch operation direction is the same as the determination method when the first screen and the second screen are horizontally arranged, and details are not described here.
Furthermore, the first display position and the horizontal boundary and/or the vertical boundary pointed by the first touch operation are a fixed distance. The boundary to which the first touch operation is directed may be set to include a horizontal boundary and/or a vertical boundary according to an actual situation. When the boundary includes a horizontal boundary and a vertical boundary, the first display position may be considered as a fixed position, which is independent of a display position of the element in the first screen or a touch position of the first touch operation. When the boundary includes only the horizontal boundary, it is explained that the longitudinal position of the first display position in the second screen is fixed. Accordingly, the lateral position of the first display position may be determined according to the display position of the element in the first screen or the touch position of the first touch operation. For example, the coordinate position of the element on the X axis in the pixel coordinate system of the first screen before the first touch operation is received or when the element transfer condition is satisfied is acquired, and the coordinate position is taken as the lateral position of the element in the second screen. For another example, an intersection point of the swing direction and the longitudinal position is determined according to the swing direction of the first touch operation, and then the transverse position is obtained according to the intersection point. At this time, the first display position can be obtained from the lateral position and the longitudinal position. When the boundaries include only the vertical boundaries, it is explained that the lateral position of the first display position in the second screen is fixed. At this time, the longitudinal position of the element is determined in the same manner as the transverse position when the longitudinal position is fixed, and details are not described here.
It will be appreciated that the fixed distance mentioned above may be set according to practical circumstances.
For example, fig. 11 is a ninth schematic view of a screen provided in the present application. Referring to fig. 11, it is a display interface of the first screen and the second screen after the transfer display. Wherein the element 23 is at a first display position of the second screen 22, a fixed distance is preset between the first display position and a vertical boundary of the second screen 22. The dotted line set with reference to the second screen 22 is a distance reference line of the element 23 from the left vertical boundary of the second screen 22, and at this time, the left boundary of the element 23 can be set only on the dotted line. The horizontal position of the element 23 is the same as the horizontal position displayed in the first screen 21 before the element 23 receives the first touch operation. It is to be understood that the dotted lines, arrows and elements in the first screen shown in the above figures are only used for explaining the technical solution, and are not displayed in the screen in practical applications.
For another example, fig. 12 is a tenth schematic view of a screen provided in the embodiment of the present application. Referring to fig. 12, it is a display interface of the current first screen and second screen. Wherein the element 23 is preset at a first display position of the second screen 22 with a fixed distance between the element and a horizontal border of the second screen 22. Referring to the dotted line set on the second screen 22, at this time, the upper boundary of the element 23 can be set only on the dotted line, i.e., the element 23 is fixed in distance from the horizontal boundary of the second screen 22. The longitudinal position of the element 23 is the same as the longitudinal position displayed in the first screen 21 before the element 23 receives the first touch operation. It is to be understood that the dotted lines, arrows and elements in the first screen shown in the above figures are only used for explaining the technical solution, and are not displayed in the screen in practical applications.
For another example, the first display position is the same as the second display position, and the second display position is a display position in the first screen before the element receives the first touch operation or when it is confirmed that the element transmission condition is satisfied.
Specifically, the first display position may also be determined according to a display position of the element on the first screen, and at this time, the display position of the element on the first screen is recorded as the second display position. The second display position also includes a lateral position and a longitudinal position, and corresponds to a Y-axis coordinate position and an X-axis coordinate position in the pixel coordinate system of the first screen, respectively. Typically, the second display position may be a display position of the element in the first screen before the first touch operation is received. At this time, the same coordinate position in the pixel coordinate system of the second screen is set as the second display position. The second display position may also be a display position of the element in the first screen when the element transfer condition is satisfied. Specifically, when it is confirmed that the element transfer condition is satisfied, the coordinate position of the element in the pixel coordinate system of the first screen is acquired. Then, the same coordinate position in the pixel coordinate system of the second screen is taken as a second display position.
For example, fig. 8 is a display interface of the first screen 21 and the second screen 22 before receiving the first touch operation. According to the first touch operation, the controllable element 23 is transferred from the first screen 21 to the second screen 22. Further, fig. 13 is an eleventh schematic view of a screen provided in the embodiment of the present application, which is a display interface of the first screen 21 and the second screen 22 after the element 23 is transferred. Referring to fig. 13, the element 23 corresponds to the second display position of the element on the first screen 21 before the first touch operation is received in the first display position of the second screen 22, that is, the first display position and the second display position are the same in the two display screens. It is understood that the arrows shown in fig. 13 and the elements in the first screen are only used for explaining the technical solution, and are not displayed in the screen in practical application.
For another example, fig. 14 is a twelfth schematic view of the screen provided in the embodiment of the present application. Here, the first screen 21 is a display interface of the first screen when the element transfer condition is satisfied. The second screen 22 is a display interface of the second screen 22 after the element 23 is transmitted and displayed. This figure is for the purpose of explaining the first display position. In practical application, the two display screens cannot simultaneously display the display interfaces at different moments. Referring to fig. 14, the element 23 corresponds to the second display position of the element 23 on the first screen 21 when the element transfer condition is satisfied at the first display position of the second screen 22. It is understood that the arrows shown in fig. 14 are only used for explaining the technical solution, and are not displayed on the screen in practical application.
Further, when the element is displayed at the first display position, the display size of the element may be set. And recording the display size of the element in the second screen as a second display size. Typically, the second display size may be set according to actual conditions. For example, the second display size is a fixed size set by the smart interaction tablet and the fixed size may be modified by the user. As another example, the second display size is the default display size when the element is open. As another example, the second display size is associated with the first display size of the element. In an embodiment, taking the second display size related to the first display size of the element as an example, at this time, the second display size is set to be equal to the first display size of the element before the first touch operation is received. Specifically, when a first touch operation is received, an application program corresponding to a first screen records a first display size of an element first, and then before an element is displayed on a second screen, the application program corresponding to the second screen obtains the first display size recorded by the application program corresponding to the first screen, so that the application program corresponding to the second screen obtains a second display size based on the first display size and displays the second display size.
Typically, the element is displayed in the basic state in the first display position. At this time, the user can perform normal operations on the element through the second screen.
Alternatively, the element may be directly displayed at the first display position, or the element may be displayed at a boundary of the second screen, and the element is controlled to move from the boundary of the second screen to the first display position, where the boundary may be set to be close to the boundary of the first screen. When the control element moves from the boundary to the first display position for display, the second display size of the control element can be selected for synchronous adjustment. For example, when the touch screen is moved to the first display position, the second display size is controlled to be synchronously enlarged, and when the element is displayed at the first display position, the second display size is equal to the first display size of the element before the first touch operation is received. Controlling the second display size to zoom in synchronously may cause the element to present a display effect from scratch. Optionally, when the element is moved from the boundary to the first display position, the transparency of the element may be adjusted in real time, for example, the transparency of the element is controlled to be gradually decreased, so as to achieve a display effect that the element is rendered from scratch.
For example, fig. 15 is a thirteenth schematic diagram of the screen provided in the embodiment of the present application, which is a display interface of the first screen and the second screen when the control element 23 moves from the boundary pointed by the first touch operation to the first display position of the second screen 22 for displaying. When the element 23 moves to the first display position, the display interface of the first screen and the second screen is changed to fig. 13, and as can be seen from fig. 13, the second display size of the element 23 is equal to the first display size of the element 23 before the first touch operation is received. The second display size of element 23 in fig. 15 is significantly smaller and more transparent than in fig. 13. It is understood that the arrows shown in the above figures are only used for explaining the technical solution, and are not displayed in the screen in practical application.
Further, before displaying the elements at the first display position, if another element is already displayed at the first display position, the display conflict needs to be resolved, so as to avoid overlapping the display positions of the two elements. At this time, the display position of another element can be modified, and the other element is switched to the other position to be displayed so as to move out of the first display position. Similarly, the first display position of the element may also be modified when a display conflict occurs.
Specifically, if it is detected that the first touch operation is ended and the element passing condition is not yet satisfied, the execution of the element passing event may be stopped. At this time, the element may be restored to a state before the first touch operation is received. Typically, when the first touch operation is received, a display state of the corresponding element before the first touch operation is received is recorded, and the display state is recorded as an original state, where the display state includes a first display size, a display position, a transparency, and/or a color, a thickness, a line shape, and the like of a frame. Thereafter, upon determining that the element delivery event is not satisfied, the element is restored to the original state. Optionally, before receiving the first touch operation, the element is in an activated state. Then, when the original state is restored, the activated state of the element may be maintained or the element may be switched to the basic state. Or, the first touch operation is cancelled, so that the element is restored to the original state. Optionally, when the original state is recovered, a prompt box pops up to prompt the user that the element delivery fails.
According to the element transmission method, the first touch operation acting on the element is received in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation, if the element is confirmed to meet the element transmission condition, the element is controlled to move continuously, the element is displayed in the second screen after the movement is finished, and the element in the first screen is deleted, so that the element is transmitted from the first screen to the second screen to be displayed. And adjusting the display size of the element when the element is transmitted, and setting the display position of the element on the second screen when the second screen is displayed. By adopting the technical means, the elements can be transmitted among the screens through the first touch operation, the elements appearing in one screen can be displayed on the other screen, the elements can be rapidly and accurately transmitted and displayed among the screens, the implementation mode is simple, the corresponding elements do not need to be created on the screens, and the workload of the element creation process is reduced. Meanwhile, when the elements are displayed on the second screen, the elements can be displayed at the corresponding positions according to setting or actual operation, and the display size of the elements in the second screen is the same as the display size of the elements before transmission in the first screen, so that the accuracy of the elements during transmission is ensured. Also, by activating the state, elements that can be transferred can be distinguished from other elements. In addition, the transfer mode of the elements is flexible and convenient, the elements are triggered to be transferred through touch operation, when the element transfer condition is met, the elements can be transferred between screens, the operation is simple, and the use experience of a user can be effectively improved.
EXAMPLE III
Fig. 16 is a flowchart of an element delivery method according to a third embodiment of the present application. The element transfer method provided in this embodiment is applied to the same scenario as the element transfer method provided in the above embodiment, that is, different application programs are respectively started in the first screen and the second screen. For example, the application program corresponding to the first screen has a document display function, and at this time, the first screen displays a document display interface for displaying a document. The application program corresponding to the second screen has a writing function, and at the moment, a writing interface is displayed in the second screen and used for responding to writing operation. It is understood that the related operations related to the first screen in the embodiments are all implemented by the smart interactive tablet controlling the execution of the application program corresponding to the first screen, and the related operations related to the second screen in the embodiments are all implemented by the smart interactive tablet controlling the execution of the application program corresponding to the second screen. Referring to fig. 16, the element delivery method specifically includes:
Illustratively, when a first touch operation is received, a touch event is monitored, and the coordinates of the first touch operation in a pixel coordinate system are determined according to the parameters of the touch event, so as to obtain a touch position. Further, when the touch positions are obtained, the time relationship among the touch positions can be synchronously obtained, and then the touch track can be obtained according to the time relationship. Typically, in the embodiment, the initial touch position of the first touch operation is set to be located on the element. Optionally, when the first touch operation received by a certain element is detected, it is confirmed that the element is selected.
And step 330, controlling the elements to synchronously move along the touch track.
Optionally, the latest touch position of the first touch operation is determined in real time or at intervals, then the latest touch position is used as the latest display position of the selected element in the first screen, and then the element is updated and displayed based on the latest display position obtained each time, so that the element moves synchronously along the touch trajectory. Optionally, considering that the selected element usually occupies a certain coordinate range in the first screen, when the latest display position of the element is obtained based on the latest touch position, the latest touch position may be used as the center of the display position of the element, so as to obtain the latest display position. The method may further include determining a relative positional relationship between the touch position and the display position of the element when the first touch operation is received, and then obtaining a latest display position according to the relative positional relationship and the latest touch position. Optionally, after the latest touch position is obtained, a position relationship between the latest touch position and the touch position obtained when the first touch operation is received is calculated, so as to obtain a displacement coordinate, and then, the display position of the element is transformed according to the displacement coordinate, so as to obtain the latest display position of the element. Or after the latest touch position is acquired, calculating the position relationship between the latest touch position and the next latest touch position acquired last time, and further acquiring the displacement coordinates, so as to acquire the latest display position of the element through the displacement coordinates.
And 340, confirming that the element meets the element transmission condition, controlling the element to continue to move, and adjusting the first display size of the element in the moving process.
Specifically, when the control element moves along with the touch track of the first touch operation, whether the element meets an element transfer condition is also judged in real time, and when the element transfer condition is met, the element is controlled to continue to move. At this time, no operation by the user is required.
Further, after the element transmission condition is met, the first display size of the element is adjusted in the element moving process. Preferably, in adjusting the first display size, the first display size is enlarged or reduced in an equal scale. The embodiment of the specific adjustment mode of the first display size is not limited.
And 350, after the element is confirmed to be moved, creating a copy of the element in a second screen, and deleting the element in the first screen to transfer the element to the second screen.
Further, confirming the end of the element movement, when the display position at the end of the movement is set in advance and is recorded as the set display position, includes: the element moves to the set display position. That is, when the element transfer condition is satisfied, the control element continues to move to the set display position in the first screen, and when moving to the set display position, the end of the movement is confirmed. If the moving duration of the element is preset and recorded as the set duration, confirming that the element moving is finished comprises the following steps: and confirming that the moving time length of the element reaches a set time length. Namely, when the element transmission condition is met, the control element continues to move in the current direction in the first screen, and when the moving time length reaches the set time length, the movement is confirmed to be finished.
Furthermore, after the element movement is finished, the element transmission display is triggered. When the element is triggered to be transmitted and displayed, a copy of the selected element is created in the second screen, namely, the selected element is displayed in the second screen. Creating the copy of the element may be understood as that the application program corresponding to the second screen acquires the storage address of the element through the application program corresponding to the first screen, and then acquires the element according to the storage address and displays the element in the second screen. It can be understood that when the element is displayed on the first screen, the element is also acquired to be displayed based on the storage address, and therefore, the application program corresponding to the first screen can be instructed to send the storage address to the application program corresponding to the second screen. Wherein a memory address may be understood as a location of an element in a memory. Optionally, the element is displayed at a first display position of the second screen. Typically, after the element is displayed in the second screen, the application program corresponding to the second screen notifies the application program corresponding to the first screen, so that the application program corresponding to the first screen deletes the element in the first screen.
According to the element transmission method, the first touch operation acting on the element is received in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation, if the element is confirmed to meet the element transmission condition, the element is controlled to move continuously, a copy of the element is created in the second screen after the element is moved, and the element in the first screen is deleted, so that the element is transmitted from the first screen to the second screen to be displayed. By adopting the technical means, the elements can be transmitted between the screens through the first touch operation according to the actual display requirements of the user, so that the elements appearing in one screen can be displayed on the other screen, the elements can be rapidly and accurately transmitted and displayed between the screens, the implementation mode is simple, the corresponding elements do not need to be created on the screens, and the workload of the element creation process is reduced.
Example four
Fig. 17 is a flowchart of an element delivery method according to a fourth embodiment of the present application. The element transfer method provided in this embodiment is applied to the same scenario as the element transfer method provided in the above-described embodiment.
In this embodiment, the element transfer condition includes: a trigger condition applied to the first screen and/or a reception condition applied to the second screen.
The element delivery condition comprises a trigger condition and/or a receiving condition, wherein the trigger condition is a limit condition set for initiating element delivery, namely the trigger condition is the limit condition for the first screen. The reception condition is a restriction condition set for reception element delivery, that is, the reception condition is a display condition for the second screen. Optionally, the content of the triggering condition and the receiving condition may be set according to the actual situation. In practical applications, it may be set that element transmission display is performed after the triggering condition and the receiving condition are simultaneously satisfied, or the element transmission display may be performed when any one of the triggering condition and the receiving condition is satisfied.
Referring to fig. 17, the element delivery method provided in this embodiment includes:
And step 430, controlling the elements to synchronously move along the touch track.
In this step, the trigger condition includes at least one of: the moving speed of the first touch operation reaches a first preset speed; the moving distance of the first touch operation reaches a first preset distance; and confirming the end of the first touch operation.
The moving speed of the first touch operation may refer to an instantaneous speed or an average speed. When the moving speed is the average speed, the average speed may be obtained based on the current entire time period of the first touch operation, or the average speed may be obtained based on a time period between the current time and a set time (for example, a time 2S before the current time) before the current time. When the latest touch position of the first touch operation is obtained, the moving speed corresponding to the touch position can be synchronously calculated. Then, the moving speed is compared with a first preset speed to determine whether the moving speed reaches the first preset speed, where the moving speed reaching the first preset speed may be the moving speed equal to the first preset speed or the moving speed greater than the first preset speed. And when the moving speed does not reach the first preset speed, continuously detecting whether the moving speed reaches the first preset speed. After the moving speed reaches a first preset speed, whether the trigger condition further comprises other contents is confirmed, if not, the trigger condition is determined to be met, if the trigger condition comprises other contents, whether the other contents at the current moment are also met is confirmed, if not, whether the moving speed reaches the first preset speed or not and whether the other contents meet the conditions are continuously detected, and if so, the trigger condition is determined to be met. It is understood that the specific value of the first preset speed may be set according to practical situations, and the embodiment does not limit this.
The moving distance of the first touch operation may refer to a straight line length between a latest touch position of the first touch operation and a touch position when the first touch operation is received, or may refer to a length of a touch trajectory. Further, the moving distance is updated in real time along with the execution of the first touch operation. Correspondingly, after each movement distance is obtained, the movement distance is compared with the first preset distance to determine whether the movement distance reaches the first preset distance, wherein the movement distance reaching the first preset distance may be that the movement distance is equal to the first preset distance or that the movement distance is greater than the first preset distance. Typically, the operation executed after the moving distance reaches or does not reach the first preset distance is similar to the operation executed after the first speed reaches or does not reach the first preset speed, and details are not repeated herein.
The end of the first touch operation may be understood as the user leaving the first screen and not performing the touch operation any more. Specifically, when the first touch operation is not detected, it is determined that the first touch operation is ended. Further, the operation executed when the first touch operation is finished or not finished is similar to the operation executed when the first speed reaches the first preset speed or does not reach the first preset speed, which is not described herein again.
It should be understood that the above is only an optional content of the trigger condition, and in practical applications, other contents may also be set for the trigger condition.
Further, when it is determined that the trigger condition is satisfied, it is determined that the first screen is ready for element delivery display. At this time, the first screen sends the element delivery notification to the second screen, and it may also be understood that the application program corresponding to the first screen may send the element delivery notification to the application program corresponding to the second screen. And the element transmission notification is used for notifying the application program corresponding to the second screen that the element transmission display is required currently. The specific content of the element delivery notification can be set according to actual conditions. Optionally, when the number of the second screens is multiple and each second screen corresponds to one application program, the application program corresponding to the first screen may send an element delivery notification to all application programs corresponding to multiple second screens that are currently capable of performing data communication, so that the application program corresponding to the second screen determines whether the application program itself meets the receiving condition according to the element delivery notification, and further determines whether element delivery display is possible. In general, only one of the plurality of second screens may satisfy the reception condition.
It can be appreciated that if the first screen does not meet the trigger condition all the time, the elements in the first screen are restored to the original state.
Typically, the application program corresponding to the second screen may also monitor the first touch operation in the first screen in real time, determine that the element delivery notification is received when it is determined that the first screen meets the trigger condition, and perform the subsequent operation.
For example, when the element delivery notification is set to be sent to the second screen, the method further includes: and sending the element shaking parameters to the second screen.
Specifically, the element flick parameter is a parameter obtained in the execution process of the first touch operation and used for determining whether the application program corresponding to the second screen meets the receiving condition. The element whip parameter is sent concurrently with the element whip notification. The element whip parameter may be determined in conjunction with the reception condition. In an embodiment, the element swing parameter is taken as a moving speed of the first touch operation, a first unit vector of an element when the first touch operation starts, a second unit vector of the element when the trigger condition is satisfied, a third unit vector of the element at a set time before the trigger condition is satisfied, or an element type of the element.
The first unit vector may be determined according to a flicking direction at the start of the first touch operation. The second unit vector may be determined according to a flick direction of the first touch operation when the trigger condition is satisfied. The third unit vector is determined according to the swing direction of the first touch operation at the moment when the trigger condition is met. The set time may be set according to actual conditions, for example, the set time is 2 seconds before the time when the touch condition is satisfied.
It is to be understood that the embodiment of the transmission rule of the element whip notification and the element whip parameter is not limited.
Specifically, when the second screen receives the element delivery notification, it determines whether it satisfies the receiving condition, and when the receiving condition is satisfied, step 460 is executed, that is, the element delivery display is implemented. Otherwise, step 480 is performed. The fact that the second screen receives the element delivery notification means that the application program corresponding to the second screen receives the element delivery notification.
In this step, the receiving condition may be that the second screen starts an element delivery function. An element delivery function is a function that receives delivered elements.
Specifically, if the second screen starts the element passing function, it indicates that the second screen can receive the element, that is, the second screen satisfies the receiving condition. If the second screen does not start the element transfer function, the second screen cannot receive the elements, namely the second screen does not meet the receiving condition. The second screen launch element transfer function can also be understood as an application launch element transfer function corresponding to the second screen. Furthermore, the starting mode of the element transfer function can be set according to the actual situation. For example, a virtual key for controlling the element transfer function is displayed in the second screen. And when detecting that the virtual key receives the operations of clicking, double clicking or long pressing and the like, determining to start the element transfer function. After the element transfer function is started, when the virtual key is detected to receive the operations of clicking, double clicking or long pressing again, the element transfer function is determined to be closed. The display position and display mode of the virtual key are not limited. For another example, when a single-finger or multi-finger touch operation of a specific touch trajectory is detected in the second screen, it is determined that the element delivery function is activated. After the element delivery function is started, when the single-finger or multi-finger touch operation of a specific touch track is detected in the second screen again or other single-finger or multi-finger touch operations of other specific touch tracks are detected, the element delivery function is determined to be closed.
Optionally, when the element transfer function is started, the user is prompted by a prompt box that the second screen can receive the element transferred by the first screen.
It is to be understood that when the reception condition includes only the activation of the element delivery function, it is set that only one second screen can activate the element delivery function at the same time.
Further, when the first screen synchronously sends the element flicking parameter and the second screen receives the element delivery notification, determining whether the second screen meets the receiving condition may specifically include: and determining whether the second screen meets the receiving condition according to the element shaking parameter.
At this time, the content of the receiving condition is related to the element flick parameter, that is, the application program corresponding to the second screen determines whether the second screen satisfies the receiving condition according to the element flick parameter. Correspondingly, the receiving condition in this step may further include at least one of the following schemes:
in the first scheme, the element swing parameter is the moving speed of the first touch operation, and the receiving conditions are as follows: the moving speed reaches a second preset speed.
Specifically, the second preset speed may be set according to actual conditions, and may be the same as or different from the first preset speed. The calculation method of the moving speed is the same as the calculation method of the moving speed, and is not described herein again. Optionally, the application program corresponding to the first screen may send the obtained all movement speeds to the application program corresponding to the second screen, or the application program corresponding to the second screen may monitor the first touch operation in real time to obtain the movement speed in real time. And when the moving speed reaches a second preset speed, determining that the receiving condition is met. Otherwise, the comparison may be continued until the moving speed cannot be obtained (e.g., the first touch operation is stopped) and the moving speed does not reach the second preset speed, and at this time, the receiving condition may be considered to be not satisfied. Or, the application program corresponding to the second screen only obtains the moving speed of the first touch operation when the trigger condition is met. When the moving speed reaches a second preset speed, determining that a receiving condition is satisfied. Otherwise, determining that the receiving condition is not satisfied.
And in the second scheme, the element swing parameters comprise: the first unit vector of the element when the first touch operation starts and the second unit vector of the element when the trigger condition is met, wherein the receiving condition is as follows: the vector difference between the first unit vector and the second unit vector is within a first set threshold.
Specifically, by calculating a vector difference between the first unit vector and the second unit vector, a flick direction of the first touch operation from a moment when the first touch operation receives the current trigger condition, which can also be understood as a moving direction of the element, can be determined. When the vector difference is within the first preset threshold, the moving direction may be considered as the direction in which the second screen is located, that is, the element moves to the second screen, and at this time, it may be confirmed that the receiving condition is satisfied. Otherwise, determining that the receiving condition is not satisfied. The first preset threshold is a range of values that can be set according to the relative direction between the first screen and the second screen. The relative direction may be determined by a relative positional relationship between the first screen and the second screen.
And the third scheme comprises the following element shaking parameters: the second unit vector and a third unit vector of an element at a set moment before the triggering condition is met, wherein the receiving condition is as follows: the vector difference between the third unit vector and the second unit vector is within a second set threshold.
Specifically, by calculating a vector difference between the third unit vector and the second unit vector, a flick direction of the first touch operation from a set time before the trigger condition is satisfied to a time when the trigger condition is currently satisfied can be determined, and the flick direction can also be understood as a moving direction of the element. When the vector difference is within the second preset threshold, the moving direction may be considered as the direction in which the second screen is located, that is, the element moves to the second screen, and at this time, it may be determined that the receiving condition is satisfied. Otherwise, determining that the receiving condition is not satisfied. The second preset threshold is a range of values, which can also be set according to the relative direction between the first screen and the second screen. And the second preset threshold may be the same as or different from the first preset threshold.
And the fourth scheme comprises the following element shaking parameters: the element type of the element is received by the conditions: the element type is a preset transfer element type.
Specifically, the preset transfer element type capable of performing transfer display may be stored in the application program corresponding to the second screen. And after receiving the element type of the element acted by the first touch operation, determining whether the element type is in a preset transfer element type, and if the element type is in the preset transfer element type, determining that a receiving condition is met. Otherwise, determining that the receiving condition is not satisfied.
And step 460, when the second screen meets the receiving condition, controlling the element to continue to move, and adjusting the first display size of the element in the moving process.
Specifically, when the second screen meets the receiving condition, the application program corresponding to the first screen is notified, so that the application program corresponding to the first screen confirms that the second screen meets the receiving condition. And then, the application program control element corresponding to the first screen moves continuously in the first screen. And adjusting the first display size of the element during the moving. Optionally, during the moving process, the display transparency of the element is adjusted at the same time.
Specifically, the step of creating a copy of the element in the second screen specifically includes steps 471-473:
step 471, copying the element in the first screen before receiving the first touch operation.
Specifically, the copying may be understood as generating a new instance (a new element in this step), and then assigning all its members to values according to the original instance (the new element in this step is the same as the element before the first touch operation is received). Copying the element in the first screen before the first touch operation by the application program corresponding to the first screen may be understood as acquiring a storage address of the element. Optionally, when the copying is performed, a first display size of the element may also be obtained.
Step 472, confirming a first display position of the element in the second screen.
Further, the setting element is displayed at the first display position in the second screen. The determination mode of the first display position can be set according to the actual situation. In the embodiment, the step is set to include any one of the following schemes:
according to the first scheme, an acquisition element receives a second display position in a first screen before a first touch operation is received; and taking the corresponding position of the second display position in the second screen as the first display position of the element in the second screen.
Specifically, the application program corresponding to the first screen records the display position of the element in the first screen when receiving the first touch operation, and records the display position as the second display position. And when the second screen confirms that the receiving condition is met, the application program corresponding to the second screen acquires a second display position from the application program corresponding to the first screen. The embodiment of the manner for acquiring the second display position is not limited. Or the application program corresponding to the first screen adds the second display position into the element shaking parameter and sends the element shaking parameter to the application program corresponding to the second screen. Further, since the second screen and the first screen have the same pixel coordinate system, this step can directly take the second display position as the first display position and apply it to the pixel coordinate system of the second screen.
And a second scheme is that a preset element display position is obtained, and the element display position is used as a first display position of the element in the second screen.
Specifically, a fixed position is selected in advance based on the pixel coordinate system and is noted as an element display position. Thereafter, after it is determined that the second screen satisfies the reception condition, the element display position may be directly acquired as the first display position. Wherein the element display position can be selected according to the actual situation. It will be appreciated that, since different elements may have different display sizes, the set element display position may be considered to be the center position of the element, i.e., the position where the center point is located when the element is displayed.
Acquiring the shaking direction and the triggering position of the first touch operation when the triggering condition is met; determining a boundary closest to the swing direction in the second screen; determining a position set of which the vertical distance to the boundary meets a second preset distance; determining a first display position of the element in the second screen according to the trigger position, the position set and the whipping direction; wherein the boundary is a horizontal boundary or a vertical boundary.
The first display position may be a center position or a boundary position when the element is displayed.
Specifically, when the second screen meets the receiving condition, the application program corresponding to the second screen obtains the shaking direction and the triggering position of the first touch operation when the application program corresponding to the first screen meets the triggering condition. Or the application program corresponding to the first screen adds the swing direction and the trigger position into the element swing parameter and transmits the parameter. The trigger position may be understood as a touch position of the first touch operation when the trigger condition is satisfied.
Further, the boundary closest to the swing direction is determined. Wherein, the boundary is a horizontal boundary or a vertical boundary, which can be preset.
And when the boundary is a vertical boundary, determining the nearest vertical boundary according to the swing direction. When the first screen and the second screen are horizontally arranged, the nearest vertical boundary is a vertical boundary close to the first screen. When the first screen and the second screen are vertically arranged, the vertical boundary pointed by the first touch operation can be determined according to the swing direction, and then the vertical boundary is determined as the nearest vertical boundary. When the swing direction is vertical upward or downward, a vertical boundary may be specified by the application corresponding to the first screen or the second screen, for example, a vertical boundary close to the element is specified.
Further, the distance between the first display position and the vertical boundary is set to be fixed. That is, a vertical distance is preset, and then, the coordinates of each pixel in the vertical distance of the vertical boundary are obtained, so as to obtain a position set. It will be appreciated that the set of positions may be considered a line segment parallel to the vertical boundary. For example, fig. 18 is a fourteenth schematic view of a screen provided in the embodiment of the present application. Referring to fig. 18, the vertical boundary 44 is the nearest boundary in the second screen 42. The line segment 45 is a line segment corresponding to a coordinate set obtained based on the vertical boundary 44. It can be seen from fig. 18 that the line segment 45 is parallel to the vertical boundary 44.
Further, the first display position of the element in the second screen is determined according to the trigger position, the position set and the swing direction. For example, when the trigger condition is satisfied, the display position of the element 43 in the first screen 42 is as shown in fig. 18, and the trigger position of the first touch operation is point a. After the position set is obtained, the distance L from the point a to the line segment 45 when the trigger condition is satisfied can be determined according to the trigger position and the position set. Distance L is identified by line segment 46 in fig. 18. Further, the swing direction is as shown by an arrow in fig. 18, a swing direction vector when the trigger condition is satisfied can be obtained by the swing direction, at this time, the distance from the point B to the point C can be obtained according to the product of the swing direction vector and the point L, then, the distance from the point C to the upper horizontal boundary can be obtained according to the distance from the point B to the point C and the distance from the point a to the upper horizontal boundary, and then, the first display position can be obtained according to the distance and the fixed distance. It is understood that the dotted lines, intersections and arrows shown in the above figures are only for explaining the technical solution, and are not displayed on the screen in practical applications.
And when the boundary is a horizontal boundary, determining the nearest horizontal boundary according to the swing direction. When the first screen and the second screen are vertically arranged, the closest horizontal boundary is a horizontal boundary close to the first screen. When the first screen and the second screen are horizontally arranged, the horizontal boundary pointed by the first touch operation can be determined according to the swing direction, and the horizontal boundary is further determined as the closest horizontal boundary. When the flick direction is horizontally left or right, a horizontal boundary may be specified by the smart interactive tablet, for example, a horizontal boundary close to the element is specified.
Further, the distance between the first display position and the horizontal boundary is set to be fixed. That is, a vertical distance is preset, and then, the coordinates of each pixel in the vertical distance of the horizontal boundary are acquired, so as to obtain a position set. It will be appreciated that the set of positions may be considered a line segment parallel to the horizontal boundary.
For example, fig. 19 is a fifteenth schematic view of a screen provided in the embodiment of the present application. Referring to fig. 19, the horizontal boundary 47 is a boundary line of the first screen 41, which is located at the same horizontal plane as the nearest horizontal boundary of the second screen 42. Line segment 48 is an extension line corresponding to a coordinate set obtained based on the closest horizontal boundary. It can be seen from fig. 19 that line segment 48 is parallel to the nearest horizontal boundary and may extend into first screen 41 and be parallel to horizontal boundary 47.
Further, the first display position of the element in the second screen is determined according to the trigger position, the position set and the swing direction. For example, when the trigger condition is satisfied, the display position of the element 43 in the first screen 42 is as shown in fig. 19, and the trigger position of the first touch operation is a point D. And after the position set is obtained, obtaining the distance P from the point D to the extension line according to the trigger position and the extension line of the position set in the first screen. Distance P is identified in fig. 18 by line segment 49. At this time, the end point of the line segment 49 on the extension line is denoted as point E. Further, the swing direction is as shown by an arrow in fig. 19, a swing direction vector when the trigger condition is satisfied can be obtained by the swing direction, at this time, the distance from the point E to the point F can be obtained according to the product of the swing direction vector and P, then, the distance from the point F to the point F and the distance from the point D to the right-left vertical boundary in the first screen can be obtained according to the distance from the point E to the point F and the distance from the point D to the right-left vertical boundary in the second screen, and then the first display position can be obtained according to the distance and the fixed distance. It is understood that the dotted lines, intersections and arrows shown in the above figures are only for explaining the technical solution, and are not displayed on the screen in practical applications.
Step 473, paste the element at the first display location.
The first display position is determined and the element can be pasted at the first display position.
Specifically, when the receiving condition is not satisfied, the application program corresponding to the second screen may send a delivery failure notification to the application program corresponding to the first screen. The content of the delivery failure notification and the communication method may be set according to actual conditions. After receiving the delivery failure notification, the application program corresponding to the first screen determines that the element delivery display cannot be performed, and at this time, the element can be restored to the original state.
According to the element transmission method, the first touch operation acting on the element is received in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation, if the element is confirmed to meet the element transmission condition, the element is controlled to move continuously, a copy of the element is created in the second screen after the element is moved, and the element in the first screen is deleted, so that the element is transmitted from the first screen to the second screen to be displayed. And adjusting the display size of the element when the element is transmitted, and setting the display position of the element on the second screen when the second screen is displayed. By adopting the technical means, the elements can be transmitted between the screens through the first touch operation according to the actual display requirements of the elements, so that the elements appearing in one screen can be displayed on the other screen, the elements can be rapidly and accurately transmitted and displayed between the screens, the implementation mode is simple, the corresponding elements do not need to be created on the screens, and the workload of the element creation process is reduced. Meanwhile, the accuracy of the element transfer scene can be ensured by setting the triggering condition corresponding to the first screen and the receiving condition of the second screen. In addition, the transfer mode of the elements is flexible and convenient, the elements are triggered to be transferred through touch operation, when the element transfer condition is met, the elements can be transferred between screens, the operation is simple, and the use experience of a user can be effectively improved.
It should be noted that the third embodiment and the fourth embodiment are applied to the same scene as the first embodiment or the second embodiment, and the technical details that are not described in the third embodiment or the fourth embodiment may refer to the first embodiment or the second embodiment.
EXAMPLE five
Fig. 20 is a schematic structural diagram of an element delivery apparatus according to a fifth embodiment of the present application. Referring to fig. 20, the element delivery apparatus includes: a first touch module 501, a first moving module 502, a first adjusting module 503, and a first transmitting module 504.
The first touch module 501 is configured to receive a first touch operation in a first screen, where the first touch operation acts on an element displayed in the first screen; the first moving module 502 is configured to control the element to move synchronously with the first touch operation; the first adjusting module 503 is configured to confirm that the element satisfies the element passing condition, control the element to continue to move, and adjust a first display size of the element during the moving process; the first transfer module 504 is configured to display the element in the second screen after the movement is finished, and delete the element in the first screen, so as to transfer the element to the second screen.
On the basis of the above embodiment, the first transmission module is specifically configured to: after the movement is finished, displaying the element at a first display position of a second screen, wherein a second display size of the element is equal to a first display size of the element in the first screen before the element receives the first touch operation, and deleting the element in the first screen to transfer the element to the second screen.
On the basis of the above embodiment, a boundary between the first display position and the second screen is a fixed distance, and the boundary is a horizontal boundary pointed by the first touch operation and/or a vertical boundary pointed by the first touch operation; or the first display position is the same as a second display position, and the second display position is a display position in the first screen before the element receives the first touch operation or when the element transmission condition is confirmed to be met.
On the basis of the above embodiment, the method further includes: the activation module is used for receiving a first touch operation in a first screen, responding to a received second touch operation before the first touch operation acts on an element displayed in the first screen, and adjusting the element to an activation state, wherein the element can be triggered to execute an element transmission event in the activation state, and the second touch operation acts on the element in the first screen.
On the basis of the above embodiment, the method further includes: and the cancellation module is used for responding to a received third touch operation to cancel the activation state of the element after responding to the received second touch operation and adjusting the element to the activation state, wherein the third touch operation acts on the first screen.
On the basis of the above embodiment, the method further includes: and the restoring module is used for confirming that the element does not meet the element transmission condition and restoring the element to an original state, wherein the original state is a display state of the element in the first screen before the first touch operation is received.
On the basis of the above embodiment, the first adjusting module is further configured to adjust a display transparency of the element.
The element delivery apparatus provided above can be used to execute the element delivery method provided in the first to second embodiments, and has corresponding functions and advantages.
Meanwhile, a fifth embodiment of the present application further provides another element transmission device, and at this time, fig. 21 is a schematic structural diagram of the another element transmission device provided in the fifth embodiment of the present application. Referring to fig. 21, the element delivery apparatus includes: a second touch module 505, an obtaining module 506, a second moving module 507, a second adjusting module 508 and a second transmitting module 509.
The second touch module 505 is configured to receive a first touch operation in a first screen, where the first touch operation acts on an element displayed in the first screen; the obtaining module 506 is configured to obtain a touch track of the first touch operation in the first screen; the second moving module 507 is configured to control the element to move synchronously along the touch trajectory; the second adjusting module 508 is configured to confirm that the element satisfies the element passing condition, control the element to continue to move, and adjust the first display size of the element during the moving process; the second transferring module 509 is configured to create a copy of the element in the second screen after the element movement is finished, and delete the element in the first screen, so as to transfer the element to the second screen.
On the basis of the above embodiment, the element transfer condition includes: a trigger condition applied to the first screen and/or a reception condition applied to the second screen.
On the basis of the above embodiment, the element transfer condition includes: a trigger condition and a reception condition; the second adjusting module 508 includes: the notification unit is used for sending an element delivery notification to the second screen when the first screen meets the trigger condition; a determination unit configured to determine whether the second screen satisfies the reception condition when the second screen receives an element delivery notification; and the control unit is used for controlling the element to continuously move when the second screen meets the receiving condition.
On the basis of the above embodiment, the trigger condition includes: the moving speed of the first touch operation reaches a first preset speed; and/or the moving distance of the first touch operation reaches a first preset distance; and/or confirming that the first touch operation is finished.
On the basis of the above embodiment, the receiving condition is: the second screen initiates an element passing function.
On the basis of the above embodiment, the notification unit is further configured to send an element flicking parameter to the second screen;
correspondingly, the determining unit is further configured to determine whether the second screen meets the receiving condition according to the element shaking parameter.
On the basis of the foregoing embodiment, the element shaking parameter is a moving speed of the first touch operation, and the receiving condition is: the moving speed reaches a second preset speed; and/or the element whip parameters include: a first unit vector of the element when the first touch operation starts and a second unit vector of the element when a trigger condition is met, where the receiving condition is: a vector difference between the first unit vector and the second unit vector is within a first set threshold; and/or the element whip parameters include: the second unit vector and the third unit vector of the element at the set time before the trigger condition is met, and the receiving condition is: a vector difference between the third unit vector and the second unit vector is within a second set threshold; and/or the element whip parameters include: the element type of the element, and the receiving condition is: the element type is a preset transfer element type.
On the basis of the above embodiment, the second delivery module 509 includes: the copying unit is used for copying the element in the first screen before the first touch operation is received after the element is confirmed to move; a position determination unit for confirming a first display position of the element in the second screen; a pasting unit configured to paste the element at the first display position; and the element deleting unit is used for deleting the elements in the first screen so as to transfer the elements to the second screen.
On the basis of the foregoing embodiment, the position determining unit is specifically configured to: acquiring a second display position of the element in the first screen before the element receives the first touch operation; taking a corresponding position of the second display position in the second screen as a first display position of the element in the second screen; or acquiring a preset element display position, and taking the element display position as a first display position of the element in the second screen; or acquiring the shaking direction and the triggering position of the first touch operation when the triggering condition is met; determining a boundary closest to the second screen in the swing direction; determining a position set of which the vertical distance from the boundary meets a second preset distance; determining a first display position of the element in the second screen according to the trigger position, the position set and the swing direction; wherein the boundary is a horizontal boundary or a vertical boundary.
On the basis of the foregoing embodiment, the second transmission module 509 is specifically configured to: after confirming that the element moves to a set display position, creating a copy of the element in a second screen, and deleting the element in the first screen to transfer the element to the second screen; or after the movement duration of the element is confirmed to reach the set duration, creating a copy of the element in a second screen, and deleting the element in the first screen to transfer the element to the second screen.
The element delivery device provided by the above can be used to execute the element delivery method provided by the above third embodiment or fourth embodiment, and has corresponding functions and beneficial effects.
It should be noted that, in the embodiment of the element delivery apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE six
Fig. 22 is a schematic structural diagram of an element delivery apparatus according to a fifth embodiment of the present invention. In this embodiment, an intelligent interactive tablet is taken as an example of an element transfer device for description. As shown in fig. 22, the smart interaction tablet 60 includes at least one processor 61, at least one network interface 62, a user interface 63, a memory 64, and at least one communication bus 65.
Wherein a communication bus 65 is used to enable the connection communication between these components.
The user interface 62 may include a display screen and a camera, and the optional user interface 63 may also include a standard wired interface and a wireless interface. The number of the display screens may be at least one, and two are taken as examples in the embodiment.
The network interface 62 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface), among others.
The Memory 64 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 64 includes a non-transitory computer-readable medium. The memory 64 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 64 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 64 may optionally be at least one memory device located remotely from the processor 61. As shown in fig. 22, the memory 64, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an operating application program of the smart interactive tablet.
In the smart interactive tablet 60 shown in fig. 22, the user interface 63 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 61 may be configured to call the operation application of the smart interactive tablet stored in the memory 64 and specifically perform the relevant operations in the element passing method in the above embodiment.
The intelligent interactive tablet can be used for executing the element transmission method provided by any embodiment and has corresponding functions and beneficial effects.
In addition, the embodiment of the present invention also provides a storage medium containing computer-executable instructions, which are used for executing relevant operations in the element delivery method provided in any embodiment of the present application when executed by a computer processor, and have corresponding functions and advantages.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product.
Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (21)
1. An element delivery method, comprising:
receiving a first touch operation in a first screen, wherein the first touch operation acts on elements displayed in the first screen;
controlling the element to move synchronously along with the first touch operation;
confirming that the element meets an element transfer condition, controlling the element to continue to move, and adjusting a first display size of the element in the moving process;
and after the movement is finished, displaying the elements in a second screen, and deleting the elements in the first screen to transfer the elements to the second screen.
2. The element delivery method according to claim 1, wherein said displaying the element in the second screen comprises:
the element is displayed at a first display position of a second screen, and a second display size of the element is equal to a first display size of the element in the first screen before the element receives the first touch operation.
3. The element delivery method according to claim 2, wherein a boundary between the first display position and the second screen is a fixed distance, and the boundary is a horizontal boundary pointed by the first touch operation and/or a vertical boundary pointed by the first touch operation; or the like, or, alternatively,
the first display position is the same as a second display position, and the second display position is a display position in the first screen before the element receives the first touch operation or when the element transmission condition is confirmed to be met.
4. The element delivery method according to claim 1, wherein before the receiving a first touch operation in the first screen, the first touch operation acting on an element displayed in the first screen, further comprising:
adjusting the element to an active state in response to a received second touch operation, the element being triggerable to execute an element transfer event in the active state, the second touch operation acting on the element in the first screen.
5. The element delivery method of claim 4, after adjusting the element to the active state in response to the received second touch operation, further comprising:
and in response to a received third touch operation, canceling the activation state of the element, wherein the third touch operation acts on the first screen.
6. The element delivery method of claim 1, further comprising:
and confirming that the element does not meet an element transfer condition, and restoring the element to an original state, wherein the original state is a display state of the element in the first screen before the first touch operation is received.
7. The element delivery method according to claim 1, wherein when the first display size of the element is adjusted during the moving, further comprising:
adjusting the display transparency of the element.
8. An element delivery method, comprising:
receiving a first touch operation in a first screen, wherein the first touch operation acts on elements displayed in the first screen;
acquiring a touch track of the first touch operation in the first screen;
controlling the element to move synchronously along with the touch track;
confirming that the element meets an element transfer condition, controlling the element to continue to move, and adjusting a first display size of the element in the moving process;
and after confirming that the element movement is finished, creating a copy of the element in a second screen, and deleting the element in the first screen to transfer the element to the second screen.
9. The element delivery method according to claim 8, wherein the element delivery condition includes: a trigger condition applied to the first screen and/or a reception condition applied to the second screen.
10. The element delivery method according to claim 9, wherein the element delivery condition includes: a trigger condition and a reception condition;
confirming that the element meets an element transfer condition, and controlling the element to continue moving, wherein the confirming comprises the following steps:
when the first screen is confirmed to meet the trigger condition, an element delivery notice is sent to the second screen;
when the second screen receives an element delivery notification, determining whether the second screen meets the receiving condition;
and when the second screen meets the receiving condition, controlling the element to continue moving.
11. The element delivery method according to claim 9 or 10, wherein the trigger condition comprises:
the moving speed of the first touch operation reaches a first preset speed; and/or the presence of a gas in the gas,
the moving distance of the first touch operation reaches a first preset distance; and/or the presence of a gas in the gas,
and confirming that the first touch operation is finished.
12. The element delivery method according to claim 9 or 10, wherein the reception condition is: the second screen initiates an element passing function.
13. The element delivery method according to claim 10, wherein the sending of the element delivery notification to the second screen further comprises:
sending an element shaking parameter to the second screen;
the determining whether the second screen satisfies the reception condition includes:
and determining whether the second screen meets the receiving condition or not according to the element shaking parameters.
14. The element delivery method according to claim 13, wherein the element shaking parameter is a moving speed of the first touch operation, and the receiving condition is: the moving speed reaches a second preset speed; and/or the presence of a gas in the gas,
the element throw parameters include: a first unit vector of the element when the first touch operation starts and a second unit vector of the element when a trigger condition is met, where the receiving condition is: a vector difference between the first unit vector and the second unit vector is within a first set threshold; and/or the presence of a gas in the gas,
the element throw parameters include: the second unit vector and a third unit vector of the element at a set time before a trigger condition is met, wherein the receiving condition is as follows: a vector difference between the third unit vector and the second unit vector is within a second set threshold; and/or the presence of a gas in the gas,
the element throw parameters include: the element type of the element, and the receiving condition is: the element type is a preset transfer element type.
15. The element delivery method of claim 8, wherein said creating a copy of the element in the second screen comprises:
copying the element in the first screen before receiving the first touch operation;
confirming a first display position of the element in the second screen;
and pasting the element at the first display position.
16. The element delivery method according to claim 15, wherein the confirming the first display position of the element in the second screen comprises:
acquiring a second display position of the element in the first screen before the element receives the first touch operation; taking the second display position as the first display position of the element in the second screen; or the like, or, alternatively,
acquiring a preset element display position, and taking the element display position as a first display position of the element in the second screen; or the like, or, alternatively,
acquiring the shaking direction and the triggering position of the first touch operation when the triggering condition is met; determining a boundary closest to the second screen in the swing direction; determining a position set of which the vertical distance from the boundary meets a second preset distance; determining a first display position of the element in the second screen according to the trigger position, the position set and the swing direction; wherein the boundary is a horizontal boundary or a vertical boundary.
17. The element delivery method of claim 8, wherein the confirming the end of the element move comprises:
confirming that the element moves to a set display position; or the like, or, alternatively,
and confirming that the moving time length of the element reaches a set time length.
18. An element delivery apparatus, comprising:
the touch control system comprises a first touch control module, a second touch control module and a display module, wherein the first touch control module is used for receiving a first touch control operation in a first screen, and the first touch control operation acts on elements displayed in the first screen;
the first moving module is used for controlling the element to synchronously move along with the first touch operation;
the first adjusting module is used for confirming that the element meets the element transmission condition, controlling the element to continue to move and adjusting the first display size of the element in the moving process;
and the first transfer module is used for displaying the elements in a second screen after the movement is finished, and deleting the elements in the first screen so as to transfer the elements to the second screen.
19. An element delivery apparatus, comprising:
the second touch control module is used for receiving a first touch control operation in a first screen, and the first touch control operation acts on elements displayed in the first screen;
the acquisition module is used for acquiring a touch track of the first touch operation in the first screen;
the second moving module is used for controlling the elements to synchronously move along the touch track;
the second adjusting module is used for confirming that the element meets the element transmission condition, controlling the element to continue to move and adjusting the first display size of the element in the moving process;
and the second transfer module is used for creating a copy of the element in a second screen and deleting the element in the first screen after the element is confirmed to be moved, so that the element is transferred to the second screen.
20. An element delivery apparatus, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the element delivery method of any of claims 1-7 or claims 8-17.
21. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the element delivery method of any one of claims 1 to 7 or claims 8 to 17.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910964777.2A CN110888581A (en) | 2019-10-11 | 2019-10-11 | Element transfer method, device, equipment and storage medium |
PCT/CN2019/125533 WO2021068405A1 (en) | 2019-10-11 | 2019-12-16 | Element transfer method, apparatus and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910964777.2A CN110888581A (en) | 2019-10-11 | 2019-10-11 | Element transfer method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110888581A true CN110888581A (en) | 2020-03-17 |
Family
ID=69746104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910964777.2A Pending CN110888581A (en) | 2019-10-11 | 2019-10-11 | Element transfer method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110888581A (en) |
WO (1) | WO2021068405A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676745A (en) * | 2021-08-17 | 2021-11-19 | 腾讯科技(深圳)有限公司 | Interactive processing method and device of virtual prop, electronic equipment and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113663323A (en) * | 2021-09-08 | 2021-11-19 | 网易(杭州)网络有限公司 | Terminal operation method and device, electronic equipment and storage medium |
CN114177615A (en) * | 2021-12-14 | 2022-03-15 | 网易(杭州)网络有限公司 | A skill release method, device, electronic device and readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120081307A1 (en) * | 2010-10-01 | 2012-04-05 | Imerj LLC | Flick move gesture in user interface |
CN102511028A (en) * | 2009-09-23 | 2012-06-20 | 微软公司 | Computing system with visual clipboard |
CN104468964A (en) * | 2013-09-17 | 2015-03-25 | Lg电子株式会社 | Mobile terminal and method of controlling the same |
CN106648433A (en) * | 2016-12-27 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Control method of dual-screen interactive operation, device and terminal |
CN110221759A (en) * | 2019-05-31 | 2019-09-10 | 广州视源电子科技股份有限公司 | Element dragging method and device, storage medium and interactive intelligent panel |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6587128B2 (en) * | 1999-07-15 | 2003-07-01 | International Business Machines Corporation | Method for displaying hidden objects by varying the transparency of overlapping objects |
CN104035706B (en) * | 2013-03-08 | 2017-07-28 | 宏达国际电子股份有限公司 | Display method and electronic device |
CN103955339A (en) * | 2014-04-25 | 2014-07-30 | 华为技术有限公司 | Terminal operation method and terminal equipment |
CN109710130B (en) * | 2018-12-27 | 2020-11-17 | 维沃移动通信有限公司 | Display method and terminal |
-
2019
- 2019-10-11 CN CN201910964777.2A patent/CN110888581A/en active Pending
- 2019-12-16 WO PCT/CN2019/125533 patent/WO2021068405A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102511028A (en) * | 2009-09-23 | 2012-06-20 | 微软公司 | Computing system with visual clipboard |
US20120081307A1 (en) * | 2010-10-01 | 2012-04-05 | Imerj LLC | Flick move gesture in user interface |
CN104468964A (en) * | 2013-09-17 | 2015-03-25 | Lg电子株式会社 | Mobile terminal and method of controlling the same |
CN106648433A (en) * | 2016-12-27 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Control method of dual-screen interactive operation, device and terminal |
CN110221759A (en) * | 2019-05-31 | 2019-09-10 | 广州视源电子科技股份有限公司 | Element dragging method and device, storage medium and interactive intelligent panel |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676745A (en) * | 2021-08-17 | 2021-11-19 | 腾讯科技(深圳)有限公司 | Interactive processing method and device of virtual prop, electronic equipment and storage medium |
CN113676745B (en) * | 2021-08-17 | 2022-05-17 | 腾讯科技(深圳)有限公司 | Interactive processing method and device of virtual prop, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2021068405A1 (en) | 2021-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110928468B (en) | Page display method, device, equipment and storage medium of intelligent interactive tablet | |
JP7345052B2 (en) | Intelligent interactive panel control method and device | |
CN110941383B (en) | Double-screen display method, device, equipment and storage medium | |
JP5628300B2 (en) | Method, apparatus and computer program product for generating graphic objects with desirable physical features for use in animation | |
AU2014312481B2 (en) | Display apparatus, portable device and screen display methods thereof | |
WO2021068366A1 (en) | Writing operation method and device for intelligent interactive whiteboard, apparatus, and storage medium | |
US10855481B2 (en) | Live ink presence for real-time collaboration | |
CN110928475B (en) | Page interaction method, device, equipment and storage medium of intelligent interaction panel | |
CN110928614B (en) | Interface display method, device, equipment and storage medium | |
CN110888581A (en) | Element transfer method, device, equipment and storage medium | |
CN108762657B (en) | Operation method and device of intelligent interaction panel and intelligent interaction panel | |
CN110908552B (en) | Multi-window operation control method, device, equipment and storage medium | |
CN112860157B (en) | Display element adjusting method, device, equipment and storage medium | |
CN112462972A (en) | White board page new method and device, interactive panel and storage medium | |
CN109144397B (en) | Erasing method and device and intelligent interactive panel | |
US20230123119A1 (en) | Terminal, control method therefor, and recording medium in which program for implementing method is recorded | |
CN116880943A (en) | A method, equipment and medium for signing long documents based on preview images | |
CN114518919A (en) | Content sharing method and device, equipment and storage medium | |
CN114816095B (en) | Method, device, medium and interactive tablet for moving annotation toolbar of touch screen | |
WO2025087188A1 (en) | Picture window control method and apparatus based on canvas, and device and storage medium | |
KR20240049181A (en) | Apparatus and method for providing ficker-free responsive video using background images | |
CN117055796A (en) | Control display method and device | |
TW201319912A (en) | Touch control presentation system and the method thereof |
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: 20200317 |
|
RJ01 | Rejection of invention patent application after publication |