WO2021068405A1 - 元素传递方法、装置、设备及存储介质 - Google Patents
元素传递方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2021068405A1 WO2021068405A1 PCT/CN2019/125533 CN2019125533W WO2021068405A1 WO 2021068405 A1 WO2021068405 A1 WO 2021068405A1 CN 2019125533 W CN2019125533 W CN 2019125533W WO 2021068405 A1 WO2021068405 A1 WO 2021068405A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- touch operation
- display
- transfer
- condition
- Prior art date
Links
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
Definitions
- This application relates to the technical field of electronic whiteboards, for example, to an element transfer method, device, equipment, and storage medium.
- the whiteboard software has a dual-screen mode.
- the two display screens can display different content, that is, the two display screens can perform different functions.
- one display screen is used to display courseware and the other display screen is used to write blackboard writing.
- the related technology has the following problem: when the user needs to explain and introduce some elements of the display, the element needs to be created in the writing screen, and then the explanation is carried out by writing, zooming the element, and so on. At this time, the process of creating elements will increase the workload of the user, and the similarity between the created elements and the displayed elements cannot be guaranteed.
- This application provides an element transfer method, device, equipment, and storage medium to solve the technical problem of the inability to quickly and accurately display elements appearing on one screen on the other screen in the dual-screen mode in related technologies.
- this application provides an element transfer method, including:
- the element is displayed on the second screen, and the element in the first screen is deleted, so as to realize the transfer of the element to the second screen.
- the displaying the element on the second screen includes:
- the element is displayed at the first display position of the second screen, and the second display size of the element is equal to the first display size of the element in the first screen before the first touch operation is received by the element.
- 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 first display position and the second display position are the same, and the second display position is the display position of the element on the first screen before the element receives the first touch operation or when it is confirmed that the element transfer condition is satisfied.
- the method further includes:
- the element In response to the received second touch operation, the element is adjusted to an activated state, the element can be triggered to perform an element transfer event in the activated state, and the second touch operation acts on the first screen Said element in.
- the method further includes:
- the activation state of the element is cancelled, and the third touch operation acts on the first screen.
- the element does not meet the element transfer condition, and the element is restored to an original state, where the original state is the display state of the element on the first screen before the first touch operation is received.
- the adjusting the first display size of the element during the moving process further includes:
- this application also provides an element transfer method, including:
- the element transfer condition includes: a trigger condition and/or a reception condition, the trigger condition is applied to the first screen, and the reception condition is applied to the second screen.
- the element transfer conditions include: trigger conditions and receiving conditions;
- the confirming that the element meets the element transfer condition and controlling the element to continue to move includes:
- the trigger conditions include:
- the movement speed of the first touch operation reaches a first preset speed
- the movement distance of the first touch operation reaches a first preset distance
- the receiving condition is: the second screen activates an element transfer function.
- the method further includes:
- the determining whether the second screen satisfies the receiving condition includes:
- the element shaking parameter is the moving speed of the first touch operation, and the receiving condition is: the moving speed reaches a second preset speed; and/or,
- the element shaking parameter includes: 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, and the receiving condition is: the first unit The vector difference between the vector and the second unit vector is within the first set threshold; and/or,
- the element shaking parameter includes: the second unit vector and a third unit vector of the element at a set time before the trigger condition is met, and the receiving condition is: the third unit vector and the second unit The vector difference between the vectors is within the second set threshold; and/or,
- the element shaking parameter includes: the element type of the element, and the receiving condition is: the element type is a preset transfer element type.
- the creating a copy of the element in the second screen includes:
- the confirming the first display position of the element on the second screen includes:
- the boundary is a horizontal boundary or a vertical boundary.
- the confirming the end of the element movement includes:
- this application also provides an element transfer device, including:
- the first touch module is configured to receive a first touch operation on a first screen, and the first touch operation acts on an element displayed on the first screen;
- the first movement module is used to control the element to move synchronously following the first touch operation
- the first adjustment module is configured to confirm that the element meets the element transfer condition, control the element to continue to move, and adjust the first display size of the element during the movement;
- the first transfer module is configured to display the element in the second screen after the movement is completed, and delete the element in the first screen, so as to realize the transfer of the element to the second screen.
- this application also provides an element transfer device, including:
- the second touch module is configured to receive a first touch operation on the first screen, and the first touch operation acts on an element displayed on the first screen;
- An acquiring module configured to acquire the touch track of the first touch operation on the first screen
- the second movement module is used to control the elements to move synchronously following the touch track
- the second adjustment module is configured to confirm that the element meets the element transfer condition, control the element to continue to move, and adjust the first display size of the element during the movement;
- the second transfer module is used to create a copy of the element in the second screen after confirming the end of the element movement, and delete the element in the first screen, so as to realize the transfer to the second screen The element.
- this application also provides an element transfer device, including:
- One or more processors are One or more processors;
- Memory used to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the element transfer method according to the first aspect or the element transfer method according to the second aspect .
- the present application also provides a computer-readable storage medium on which a computer program is stored.
- the program is executed by a processor, the element transfer method as described in the first aspect or as described in the second aspect is implemented.
- the element delivery method is implemented.
- the above element transfer method, device, equipment and storage medium by receiving the first touch operation acting on the element in the first screen, the element is controlled to move synchronously according to the touch trajectory of the first touch operation. If it is confirmed that the element satisfies the element If the transfer condition is passed, the control element continues to move, and after the movement ends, the element is displayed on the second screen and the element in the first screen is deleted, so as to realize the transfer of the element from the first screen to the second screen for display.
- elements can be transferred between screens through the first touch operation according to the actual display needs of the user, so that the elements appearing on one screen can be displayed on another screen, which not only realizes the fast and accurate elements
- the display is transferred between the screens, and its implementation is simple, and there is no need to create corresponding elements on the screen, which reduces the workload of the element creation process.
- the element when the element is displayed on the second screen, the element can be displayed in the corresponding position according to the setting or actual operation, and the amount of calculation is small.
- the way of element transfer is flexible and convenient. The element transfer is triggered by touch operation, and when the element transfer condition is met, the element can be transferred between screens. Its simple operation can effectively improve the user experience. Description of the drawings
- FIG. 1 is a flowchart of an element transmission method provided in Embodiment 1 of this application;
- FIG. 2 is a first schematic diagram of a screen provided by an embodiment of this application.
- FIG. 3 is a second schematic diagram of a screen provided by an embodiment of this application.
- FIG. 4 is a third schematic diagram of a screen provided by an embodiment of this application.
- FIG. 5 is a fourth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 6 is a flowchart of an element transmission method provided in Embodiment 2 of this application.
- FIG. 7 is a fifth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 8 is a sixth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 9 is a seventh schematic diagram of a screen provided by an embodiment of this application.
- FIG. 10 is an eighth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 11 is a ninth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 12 is a tenth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 13 is an eleventh schematic diagram of a screen provided by an embodiment of this application.
- FIG. 14 is a twelfth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 15 is a thirteenth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 16 is a flowchart of an element transmission method provided in Embodiment 3 of this application.
- FIG. 17 is a flowchart of an element transmission method provided in Embodiment 4 of this application.
- FIG. 18 is a fourteenth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 19 is a fifteenth schematic diagram of a screen provided by an embodiment of this application.
- FIG. 21 is a schematic structural diagram of another element transfer device provided in Embodiment 5 of this application.
- FIG. 22 is a schematic structural diagram of an element transfer device provided in Embodiment 6 of this application.
- first and second are only used to distinguish one entity or operation or object from another entity or operation or object, and do not necessarily require or imply these entities Or any such actual relationship or sequence exists before the operation or object.
- first and second of the first touch operation and the second touch operation are used to distinguish two different touch operations.
- the element transfer method provided in the embodiments of this application can be executed by an element transfer device, which can be implemented by software and/or hardware.
- the element transfer device can be composed of two or more physical entities, or it can be A physical entity constitutes.
- the element delivery device can be a smart device such as a computer, a mobile phone, a tablet, or a smart interactive tablet.
- a smart interactive tablet is used as an element transfer device for exemplary description.
- the smart interactive tablet can be an integrated device that controls the content displayed on the display tablet through touch technology and realizes human-computer interaction. It integrates a projector, an electronic whiteboard, a screen, a sound, a TV, and a video conference. One or more functions such as a terminal.
- the smart interactive tablet includes at least one display screen.
- the smart interactive tablet is configured with two display screens as an example for description.
- the two display screens may be the same type of display screens or different types of display screens.
- the two display screens are of the same type as an example, and the two display screens have the same pixel coordinate system.
- the two display screens can communicate directly or indirectly through the processor (such as the central processing unit) of the smart interactive tablet.
- the processor can individually control each display screen.
- Both display screens have a touch function.
- the display screen can be a capacitive screen, a resistive screen or an electromagnetic screen.
- the touch operation response of the two display screens is the same. Take the user's touch operation in one display screen as an example.
- the user can touch the display screen with a finger or a stylus to achieve a touch operation.
- the smart interactive tablet detects the touch position of the touch operation on the display screen, and determines a response plan according to the display content corresponding to the touch position, and then responds to realize the touch function. For example, it is determined that the corresponding display content is a control of a certain function according to the touch position.
- the response scheme is to execute the function.
- the user can perform touch operations on one display screen, or simultaneously perform touch operations on two display screens.
- the specific method for determining the touch position of the touch operation on the display screen can be set in accordance with the actual situation.
- the smart interactive tablet can determine the touch position according to the parameter change. It is understandable that in practical applications, users can also implement control operations through keyboards, mice, physical keys, and other methods.
- At least one type of operating system is installed on the smart interactive tablet, where the operating system includes but is not limited to the Android system, the Linux system, and the Windows system. Each display screen can be individually controlled through the operating system.
- the smart interactive tablet can install at least one application program based on the operating system.
- an application program with an electronic whiteboard function is used as an example for description.
- an electronic whiteboard application is installed in a smart interactive tablet.
- the application program may be an application program that comes with the operating system, or may be an application program downloaded from a third-party device or server.
- the element delivery device can also be an electronic whiteboard application.
- functions such as writing, inserting tables, inserting pictures, inserting multimedia, inserting files (such as PPT, etc.), playing multimedia, inserting graphics, and drawing tables can be realized.
- the same application program can be opened at the same time, or different application programs can be opened at the same time.
- the same interface or different interfaces can be displayed on the two display screens after it is started.
- the application program may have different versions, and at this time, each display screen may display the interface under the corresponding version.
- the two displays show different functions of the same application.
- elements can be user-drawn elements, such as drawn graphics, text boxes, tables, handwriting, etc., can also be user-inserted elements, such as inserted graphics, pictures, documents, PPT, etc. .
- the user can perform control operations on the element, such as adjusting the element position, element size, element color, etc.
- the element can be a courseware, or an element can be an independent object in the courseware.
- the user can turn the page, close, delete, etc. of the element.
- the user can control the pictures individually, or control the pictures to respond synchronously when controlling the courseware.
- two display screens respectively start different application programs as an example to describe a method for transferring elements under the two display screens.
- the smart interactive tablet can control the two application programs to run cooperatively, so as to implement the element transfer method provided in the embodiment of the present application.
- the two applications can also directly communicate with each other, and the specific communication means embodiment is not limited.
- FIG. 1 is a flowchart of an element transmission method provided in Embodiment 1 of this application.
- the element delivery method specifically includes:
- Step 110 Receive a first touch operation on a first screen, where the first touch operation acts on an element displayed on the first screen.
- elements in any display screen can be transferred and displayed between two display screens, that is, elements in one display screen can be transferred to another display screen for display.
- the display screen that displays the element before the transfer can be understood as the display screen that initiates the element transfer, which is recorded as the first screen in the embodiment
- the display screen that displays the element after the transfer can be understood as the display screen that receives the element.
- different applications are opened on the first screen and the second screen respectively, that is, the user can perform different functions through the first screen and the second screen respectively.
- the application program corresponding to the first screen has a document display function. At this time, the first screen displays a document display interface for displaying documents.
- the application corresponding to the second screen has a writing function. At this time, a writing interface is displayed on the second screen for responding to the writing operation.
- the related operations on the first screen mentioned in the embodiments are all realized by controlling the execution of the application corresponding to the first screen by the smart interactive tablet, and the related operations on the second screen mentioned in the embodiments are all through The smart interactive tablet controls the execution of the application program corresponding to the second screen.
- At least one element is displayed on the first screen, and the type of the element is not limited in the embodiment.
- the user can set the touch operation mode by inputting on the first screen to control the elements on the first screen accordingly.
- the currently received touch operation is recorded as the first touch operation, where the first touch operation is a touch operation for transferring elements between two display screens.
- the first touch operation can act on at least one element on the first screen.
- the first touch operation acts on one element as an example.
- the trigger mode of the first touch operation can be set according to actual conditions. For example, when a touch trajectory meeting a setting requirement is detected on the first screen, it is determined that the first touch operation is received.
- the setting requirements can be set according to actual conditions, for example, the initial touch position of the touch track is the display position of the element, and the flip direction of the touch track is in the set direction.
- set the element transfer mode When in the element transfer mode, it is detected that an element on the first screen has received a set operation (such as drag operation, multi-touch operation, single-click operation or long-press operation, etc.) ), it is determined that the first touch operation is received.
- the example of the trigger mode of the element transfer mode is not limited. For example, if a virtual button for mode switching is set, the display position and display style of the virtual button are not limited in the embodiment. When the virtual button receives a click operation, it switches to the element transfer mode.
- the element transfer mode is exited.
- setting the element in the active state when it is detected that the element in the active state receives the setting operation or the touch track meeting the setting requirement, it is determined that the first touch operation is received.
- the element in the active state means that the element can be transferred and displayed between the display screens.
- the trigger mode of the activation state can be set according to actual conditions. Generally speaking, the trigger mode of the activation state is different from the trigger mode of the first touch operation.
- the element acting on the first touch operation is synchronously determined.
- the presentation state of the element on the first screen can be modified, for example, the element is changed to a floating display, or the element’s status is modified. transparency. At this point, from the user's perspective, this element can be distinguished from other unacted elements.
- the first screen and the second screen can display multiple types of elements, not all types of elements are suitable for transmission between the first screen and the second screen.
- the writing track written by the user is not suitable for Transfer between the first screen and the second screen. Therefore, the element type that can be transferred is preset and recorded as the default transfer element type.
- only elements that meet the preset transfer element type can be transferred between the first screen and the second screen.
- Step 120 Control the element to move synchronously following the first touch operation.
- the selected element is controlled to move synchronously following the first touch operation.
- the current real-time touch position of the first touch operation obtained is used as the latest display position of the selected element on the first screen, and the display position of the element is updated to realize the synchronous movement of the element following the first touch operation .
- the synchronous movement of the element following the first touch operation can also be understood as the synchronous movement of the element following the touch trajectory of the first touch operation.
- the touch position of the first touch operation on the first screen is determined in real time, and then the first touch is obtained according to the touch position and the receiving time of the touch position The touch trajectory of the operation.
- the shaking direction can be understood as the moving direction.
- the touch track may or may not be displayed on the first screen.
- 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.
- the touch operation for writing can also be recorded as a writing operation.
- the application corresponding to the first screen has a writing function, if the writing operation is received, the corresponding writing track can be displayed so that the user can clearly write content. It should be noted that due to hardware and/or software limitations, a delay is allowed when the element moves synchronously following the first touch operation.
- Step 130 Confirm that the element meets the element transfer condition, control the element to continue to move, and adjust the first display size of the element during the moving process.
- the element transfer condition refers to the restriction condition that can realize the element transfer between the two display screens.
- the specific content of the element transfer condition can be set according to the actual situation.
- the setting element transfer condition includes a trigger condition and/or a receiving condition.
- the trigger condition is applied to the first screen, that is, the trigger condition is a restriction condition set for initiating element transfer.
- the trigger condition can be set according to the application corresponding to the first screen and/or the first touch operation.
- the trigger condition is that the application corresponding to the first screen activates the element transfer function
- the element type of the first touch operation is the preset transfer element type
- the movement speed of the first touch operation reaches the first preset speed
- the first The movement distance of the touch operation reaches the first preset distance
- the swing direction of the first touch operation meets the set direction
- the movement duration of the first touch operation is greater than the set duration
- the end of the first touch operation is confirmed, etc.
- the receiving condition is applied to the second screen, that is, the receiving condition is a restriction condition set for the delivery of the received element.
- the receiving condition may be set according to the application program corresponding to the second screen and/or the first touch operation.
- the application corresponding to the second screen can monitor the parameters related to the first touch operation on the first screen, for example, the parameter is the moving speed of the first touch operation, Movement distance, movement duration, element type of the first touch operation, the first unit vector of the element when the first touch operation starts, the second unit vector of the element when the trigger condition is reached, and/or the set time before the trigger condition is reached.
- the parameter is the moving speed of the first touch operation, Movement distance, movement duration, element type of the first touch operation, the first unit vector of the element when the first touch operation starts, the second unit vector of the element when the trigger condition is reached, and/or the set time before the trigger condition is reached.
- the receiving condition set according to the first touch operation may be that the element type is the preset transfer element type, the vector difference between the first unit vector and the second unit vector is within the first set threshold, and/or the first The vector difference between the three unit vector and the second unit vector is within the second set threshold and so on.
- the control element moves synchronously with the first touch operation, it is determined in real time whether the current element transfer condition is met. When it is confirmed that the element transfer condition is satisfied, it means that the element can be transferred and displayed between the two display screens. At this time, the control element continues to move in the first screen. It can be understood that the continued movement of the control element is automatically executed by the application corresponding to the first screen, and has nothing to do with the first touch operation.
- the control element may move to the set display position.
- the set display position in the first screen can be set according to actual conditions. For example, the set display position is a position close to the boundary of the second screen in the first screen.
- the set display position is located at The boundary of the first screen in the moving direction of the first touch operation and pointing to the moving direction is a fixed distance.
- the set display position is located in the moving direction of the first touch operation, and is a fixed distance from the touch position of the first touch operation when the element transfer condition is satisfied.
- control element when continuing to move, may continue to move for a set time in the moving direction of the first touch operation when the element transfer condition is met, or the first screen boundary pointed by the control element along the first touch operation Continue to move the set duration, and when the set duration is reached, the element transfer display will be performed. That is, by setting the duration, the trigger moment of element delivery can be determined.
- the display size of the element on the first screen is adjusted in real time.
- the display size can be understood as the size of the element in the display screen, which can be determined according to the number of pixels occupied by the element in the display screen. It is understandable that if the display interface where the element is located has its own coordinate system, and the coordinate system and the pixel coordinate system in the display screen are mutually independent coordinate systems, the display size can also be understood as the size of the element in the display interface. It 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 canvas, document interface, courseware interface, web page, etc.
- the display interface can be displayed on the display screen and the touch operation received in the display screen can be associated with the display interface.
- the current only includes the pixel coordinate system as an example.
- the display size of the element on the first screen of the first touch operation is recorded as the first display size.
- the adjustment of the first display size occurs synchronously while the control element continues to move. From the user's point of view, you can see that the size of the element changes simultaneously as the element moves.
- adjusting the first display size may include enlarging the first display size and/or reducing the first display size.
- the adjustment method of the first display size can be set according to the actual situation. For example, as the moving duration increases, the first display size is reduced or enlarged proportionally. For another example, as the moving distance increases, the first display size is reduced or enlarged in proportion. For another example, as the moving speed increases, the first display size is reduced or enlarged proportionally.
- a size threshold can be set.
- the set size threshold can be set according to actual conditions.
- the set size threshold may be the minimum size threshold.
- set The size threshold may be the maximum size threshold.
- adjusting the first display size is only an optional way for the element transfer display process to be presented on the first screen.
- the first display size of the element can also be adjusted synchronously.
- the adjustment method of the first display size may be the same as the adjustment method mentioned above. It can be understood that if the first one-way touch operation controls the element to adjust the first display size to gradually decrease, for example, when the first touch operation moves in the direction of the set display position, the first display size of the element gradually decreases, then When the drag element of the first touch operation moves in a direction opposite to the current direction, the first display size is controlled to gradually increase.
- the first display size of the adjustable element is gradually reduced to make the element appear on the first screen during the element transfer process The effect of fading away.
- adjust the first display size to gradually increase, when the element returns to the initial display position, the first display size of the element Adjust to the display size of the element before receiving the first touch operation.
- the element can be controlled to continue to move synchronously with the first touch operation, and then the element can be controlled to continue until the end of the first touch operation is confirmed mobile. Or, regardless of whether the first touch operation continues to be performed, as long as it is detected that the element transfer condition is met, the element is controlled to continue to move. At this time, the application program corresponding to the first screen stops responding to the first touch operation.
- Step 140 After the movement is completed, display the element on the second screen, and delete the element in the first screen, so as to realize the transfer of the element to the second screen.
- the transfer display refers to displaying the element on the second screen and deleting the element on the first screen at the same time, that is, canceling the display of the element on the first screen. At this point, from the perspective of the user, it can be considered that the element is transferred from the first screen to the second screen.
- the display size of the element is the same as the first display size of the element on the first screen before receiving the first touch operation. At this time, the element displayed in the second screen can be considered as copying the element in the first screen to the second screen.
- the display size of the element is the default display size of the element, where the default display size refers to the display size of the element when the element is first displayed on the display screen after power on this time.
- 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 on the first screen before receiving the first touch operation is acquired, and then the element is displayed on the same display position on the second screen. For another example, the display position of the element on the second screen is preset. For another example, the display position of the element on the second screen is calculated according to the touch trajectory of the first touch operation.
- the display element in the second screen and the deletion element in the first screen can be executed simultaneously or sequentially. Regardless of simultaneous execution or sequential execution, from the user's point of view, it can almost be considered that the elements displayed in the second screen and the elements deleted in the first screen are executed simultaneously. It is understandable that in practical applications, the element may not be deleted on the first screen, that is, when the element is displayed on the second screen, the element on the first screen can be restored to the initial display position. At this time, the two display screens also display this element.
- the user can continue to control the element through the first touch operation in the second screen, so as to realize the transfer of the element from the second screen to the first screen.
- the execution process is the same as the process of transferring the display from the first screen to the second screen, and will not be repeated here.
- first screen and the second screen may also be two windows located in one display screen.
- Fig. 2 is a first schematic diagram of a screen provided by an embodiment of the application. Referring to FIG. 2, it is the 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.
- FIG. 3 is a second schematic diagram of a screen provided by an embodiment of this application. It is used to show the first touch operation, referring to FIG. 3, the swing direction of the first touch operation is shown by the arrow in FIG. 3.
- the control element 13 moves in synchronization with the first touch operation (which can also be understood as following the teacher's finger) along the arrow direction. And when the element transfer condition is satisfied, the control element continues to move, and the first display size is simultaneously reduced during the movement.
- FIG. 4 is a third schematic diagram of a screen provided by an embodiment of the application.
- FIG. 4 which is the display interface of the first screen 11 and the second screen 12 at a certain moment when the control element continues to move.
- the first display size of the element is significantly smaller.
- FIG. 5 is a fourth schematic diagram of a screen provided by an embodiment of the application, which is a display interface of the first screen 11 and the second screen 12 after the transfer display is performed. Referring to FIG.
- the element 13 is no longer displayed on the first screen 11, and the element 13 is displayed on the second screen 12, so that the element 13 is transferred from the first screen 11 to the second screen 12.
- the teacher can explain the element 13 in the second screen 12 by writing, moving, zooming, and marking.
- the above element transfer method by receiving the first touch operation acting on the element in the first screen, the element is controlled to move synchronously according to the first touch operation. If it is confirmed that the element meets the element transfer condition, the control element continues to move and is moving After the end, the element is displayed on the second screen, and the element in the first screen is deleted, so as to realize the transfer of the element from the first screen to the second screen for display.
- the elements can be transferred between the display screens through the first touch operation according to the actual display needs of the user, that is, the elements appearing in one display screen can be displayed on the other display screen, and it is guaranteed The similarity between the elements after the transfer and the elements before the transfer. It not only realizes the rapid and accurate transfer and display of elements between screens, but also the realization method is simple, without the need to create corresponding elements on the display screen, which reduces the workload of the element creation process and enriches the functionality of the electronic whiteboard.
- FIG. 6 is a flowchart of an element transmission method provided in Embodiment 2 of this application. This embodiment is embodied on the basis of the above-mentioned embodiment. Referring to FIG. 6, the element transfer method provided in this embodiment specifically includes:
- Step 210 In response to the received second touch operation, adjust the element to an activated state.
- the element In the activated state, the element can be triggered to perform an element transfer event, and the second touch operation acts on the The element in the first screen.
- the activated state is a state in which the element is ready for delivery and display.
- the element can execute an element delivery event according to the user's first touch operation.
- the basic state of the element In the basic state, users can perform normal operations on elements. Common operations include but are not limited to zoom, drag, rotate, etc. By setting the activation state, the user can make it clear whether the element can be passed and displayed.
- the activation state can be achieved through the set touch operation.
- the touch operation that realizes the active state is recorded as the second touch operation.
- the second touch operation acts on the element that is expected to be transmitted and displayed.
- the trigger mode of the second touch operation can be set according to actual conditions, and is different from the trigger mode of the first touch operation and the normal operation.
- the second touch operation is a long-press operation, a double-click operation, a multi-finger click operation, etc. for the element.
- a long press operation is taken as an example for description.
- Set a time length In the basic state, when a touch operation for an element is received, and the touch operation for the element is pressed for longer than the set time length, it is determined that the second touch is received operating.
- the element is switched from the basic state to the active state.
- touch operations such as dragging, multi-finger zooming, rotating, etc. occur, it is determined to receive other touch operations and proceed according to other touch operations response. At this time, the element will not enter the active state.
- the type of the element is obtained, and whether the type is a preset transfer element type is confirmed, and if it is the preset transfer element type, the element is switched from the basic state to the activated state. Otherwise, continue to maintain the element in the basic state.
- it may further include: in response to the received third touch operation, canceling the activation state of the element, the third touch operation acting on the first screen.
- the deactivation state can be realized by another set touch operation acting on the first screen.
- this touch operation is recorded as the third touch operation.
- the trigger mode of the third touch operation can be set according to actual conditions. For example, after the element is in the activated state, if the long press operation for the element is received again, it is determined that the third touch operation is received. At this time, the duration of the third touch operation and the duration of the second touch operation may be equal or different. For another example, when it is detected that the click operation is received in the screen range outside the activated element in the first screen, it is confirmed that the third touch operation is received.
- a multi-touch operation such as a multi-point tap operation
- the third touch operation is received.
- the element is restored from the activated state to the basic state.
- the means of distinguishing display can be set according to the actual situation.
- the activated element is controlled to be displayed in a floating state.
- the element is displayed in the normal state on the first screen, and the normal state is different from the floating state.
- the transparency of the element is changed, and the element is displayed in a semi-transparent state, wherein the specific parameters of the transparency can be set according to the actual situation.
- the border of the element when the element is switched to the active state, the border of the element is thickened to highlight the element. Among them, the thickness of the border line can be set according to the actual situation.
- the differentiated display of the element when the element is switched from the active state back to the basic state, the differentiated display of the element is cancelled to prompt the element to switch back to the basic state.
- the element state can also be prompted by means of a prompt box. For example, when the element is switched to the active state, a prompt box will pop up to prompt the user to switch the current element from the basic state to the active state with a text message.
- the display duration, display position, and display style of the prompt box and text information can be set according to actual conditions.
- the prompt box is used to prompt the status of the element, the user can also be prompted to trigger the element transfer event through the first touch operation, thereby realizing the transfer display of the element between the display screens.
- a prompt box will also pop up to prompt the user to switch the current element from the activated state to the basic state with a text message.
- FIG. 7 is a fifth schematic diagram of a screen provided by an embodiment of this application, which is the current display interface of the first screen 21 and the second screen 22.
- the element 23 in the first screen 21 is in a basic state. In the basic state, the drag operation on the element 23 will not trigger the element 23 to transfer and display from the first screen 21 to the second screen 22.
- the second touch operation on the element 23 is detected, it is determined that the element 23 enters the activated state.
- FIG. 8 is a sixth schematic diagram of a screen provided by an embodiment of this application. It is the display interface of the first screen 21 and the second screen 22 after the element 23 enters the active state. Referring to FIG. 8, the element 23 is displayed in a floating state.
- the element transfer event can be triggered according to the user's first touch operation, and when the element transfer condition is met, the element is transferred from the first screen 21 to the second screen 22 for display.
- the display state of the element 23 in FIG. 8 has changed, which in turn enables the user to determine that the element 23 enters the active state, which is convenient for the user to perform subsequent operations.
- 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.
- FIG. 9 is a seventh schematic diagram of the screen provided by the embodiment of the application, which is the display interface of the first screen and the second screen after the element 23 is switched from the active state to the basic state.
- the display state of the element 23 in FIG. 9 has changed again, switching from the floating state to the normal state for display, so as to prompt the user to switch the current element 23 back to the basic state.
- the fingers appearing in the above figures are only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- the display interface of FIG. 9 is the same as that of FIG. 7.
- the elements in the first screen are used for description.
- the elements displayed on the second screen may also include at least a basic state and an activation state.
- Step 220 Receive a first touch operation on the first screen, where the first touch operation acts on an element displayed on the first screen.
- Step 230 Control the element to move synchronously following the first touch operation.
- Step 240 Confirm whether the element meets the element transfer condition. If it is confirmed that the element meets the element transfer condition, step 250 is executed. Otherwise, go to step 270.
- step 250 the element transfer condition is confirmed to be satisfied
- step 270 the test is continued to confirm Whether the element transfer condition is reached, until the end of the first touch operation, when it is confirmed that the first touch operation ends, the element transfer condition is still not met, then it is confirmed that the element transfer condition is not satisfied, at this time, step 270 is executed.
- the technical means for detecting the end of the first touch operation may be detecting that the first touch operation leaves the first screen.
- Step 250 The control element continues to move, and during the movement, the first display size of the element is adjusted and the display transparency of the element is adjusted.
- the element When the element is moving, adjust the first display size of the element. And at the same time adjust the display transparency of the element.
- Display transparency can be understood as the transparency of elements on the screen. The lower the transparency, the lower the possibility of seeing the background pattern through the element, and the higher the transparency, the higher the possibility of seeing the background pattern through the element.
- the transparency of the control element is gradually increased as an example for description. At this time, as the element moves, its transparency gradually increases, so that the element appears gradually disappearing.
- the transparency increase rules can be set according to actual conditions. For example, as the moving time, moving distance, and/or moving speed increase, the transparency of the element is gradually increased.
- 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.
- a transparency threshold can be set, and when the transparency of the element reaches the threshold, the adjustment of the transparency is stopped. For example, when the element moves to the set display position, the transparency of the element is adjusted to the threshold.
- FIG. 10 is an eighth schematic diagram of a screen provided by an embodiment of this application, which is a display interface of the first screen 21 and the second screen 22 at a certain time during the process of the element 23 continuing to move. Compared with the element 23 shown in FIG. 8, the first display size of the element 23 in FIG. 10 becomes smaller and its transparency is enhanced. It is understandable that the fingers and arrows appearing in the above figures are only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- the modification method of transparency can be the same as the above-mentioned method, or it can be different.
- the transparency modification method may be: gradually increasing the transparency of the element as the distance between the element and the boundary of the first screen decreases. When the element is close to the initial display position, gradually reduce the transparency of the element.
- Step 260 After the movement is completed, display the element in the first display position of the second screen, and the second display size of the element is equal to the element in the first screen before receiving the first touch operation The first display size of, and delete the element in the first screen, so as to realize the transfer of the element to the second screen.
- the first display position includes a horizontal position and a vertical position.
- the horizontal position can be regarded as the coordinate position of the Y axis in the pixel coordinate system of the second screen
- the vertical position can be regarded as the coordinate position of the X axis in the pixel coordinate system of the second screen. It can be understood that the display position of the element on the first screen also includes a horizontal position and a vertical position.
- the first display position can be set according to actual conditions.
- 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.
- the first touch operation is an operation pointing to the second screen.
- the first screen and the second screen are arranged horizontally.
- the vertical boundary to which the first touch operation points refers to the vertical boundary of the second screen that is close to the first screen.
- the horizontal borders of the first screen and the second screen are located on the same horizontal plane, the distance between the element and the two horizontal borders in the first screen before receiving the first touch operation can be calculated, or the element and the first screen when the element trigger condition is satisfied. The distance between two horizontal borders on a screen.
- the swing direction of the first touch operation can also be referred to.
- the swing direction is upper left, and at this time, the horizontal boundary pointed by the first touch operation is the horizontal boundary located above the second screen.
- the determination method for determining the horizontal boundary and the vertical boundary to which the first touch operation is directed is the same as when the first screen and the second screen are arranged horizontally. I won't repeat them here.
- the first display position is a fixed distance from the horizontal boundary and/or the vertical boundary pointed by the first touch operation.
- the boundary to which the first touch operation is directed may be set according to actual conditions to include a horizontal boundary and/or a vertical boundary.
- the first display position can be regarded as a fixed position, which has nothing to do with the display position of the element on the first screen or the touch position of the first touch operation.
- the border includes only the horizontal border, it means that the vertical position of the first display position in the second screen is fixed.
- the horizontal position of the first display position may be determined according to the display position of the element on the first screen or the touch position of the first touch operation.
- the method for determining the longitudinal position of the element is the same as the method for determining the horizontal position when the longitudinal position is fixed, and will not be repeated here.
- FIG. 11 is a ninth schematic diagram of a screen provided in an embodiment of this application.
- the element 23 is at the first display position of the second screen 22, and a fixed distance between the first display position and the vertical boundary of the second screen 22 is preset.
- the dotted line set with reference to the second screen 22 is a reference line for the distance between the element 23 and the left vertical border of the second screen 22. At this time, the left border of the element 23 can only be set on the dotted line.
- the horizontal position of the element 23 is the same as the horizontal position displayed on the first screen 21 before the element 23 receives the first touch operation. It can be understood that the dotted lines, arrows, and elements in the first screen appearing in the above figures are only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- FIG. 12 is a tenth schematic diagram of a screen provided by an embodiment of this application.
- the element 23 is at the first display position of the second screen 22, and a fixed distance between the element and the horizontal boundary of the second screen 22 is preset.
- the upper border of the element 23 can only be set on the dotted line, that is, the horizontal border of the element 23 and the second screen 22 is at a fixed distance.
- the longitudinal position of the element 23 is the same as the longitudinal position displayed on the first screen 21 before the element 23 receives the first touch operation. It can be understood that the dotted lines, arrows, and elements in the first screen appearing in the above figures are only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- the first display position is the same as the second display position
- the second display position is the display position of the element on the first screen before receiving the first touch operation or when it is confirmed that the element transfer condition is satisfied.
- the first display position may also be determined according to the display position of the element on the first screen. 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 horizontal position and a vertical position, and respectively corresponds to the Y-axis coordinate position and the X-axis coordinate position in the pixel coordinate system of the first screen.
- the second display position may be the display position of the element on the first screen before receiving the first touch operation. At this time, the same coordinate position in the pixel coordinate system of the second screen is taken as the second display position.
- the second display position may also be the display position of the element on the first screen when the element transfer condition is satisfied. 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 obtained. After that, the same coordinate position in the pixel coordinate system of the second screen is taken as the second display position.
- FIG. 8 shows the display interfaces of the first screen 21 and the second screen 22 before receiving the first touch operation.
- the control element 23 can be transferred from the first screen 21 to the second screen 22.
- FIG. 13 is an eleventh schematic diagram of a screen provided by an embodiment of the application, which is a display interface of the first screen 21 and the second screen 22 after the element 23 is transferred.
- the first display position of the element 23 on the second screen 22 corresponds to the second display position of the element on the first screen 21 before receiving the first touch operation, that is, the first display position and the second display position are at two positions.
- the corresponding positions in the display are the same. It is understandable that the arrows appearing in Fig. 13 and the elements in the first screen are only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- FIG. 14 is a twelfth schematic diagram of a screen provided by an embodiment of this application.
- the first screen 21 it is the display interface of the first screen when the element transfer condition is satisfied.
- the second screen 22 it is the display interface of the second screen 22 after the element 23 is transferred and displayed.
- This figure is for explaining the first display position.
- the two display screens will not display the display interfaces at different times at the same time.
- the first display position of the element 23 on the second screen 22 corresponds to the second display position of the element 23 on the first screen 21 when the element transfer condition is satisfied.
- the arrow appearing in the above FIG. 14 is only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- the display size of the element can be set.
- the display size of the element on the second screen is recorded as the second display size.
- the second display size can be set according to actual conditions.
- the second display size is a fixed size set by the smart interactive tablet and the fixed size can be modified by the user.
- the second display size is the default display size when the element is opened.
- the second display size is related to the first display size of the element.
- the second display size is related to the first display size of the element as an example. At this time, the second display size is set equal to the first display size of the element before receiving the first touch operation.
- the application corresponding to the first screen When receiving the first touch operation, the application corresponding to the first screen first records the first display size of the element, and then, before displaying the element on the second screen, the application corresponding to the second screen obtains the application corresponding to the first screen The first display size recorded by the program, so that the application program corresponding to the second screen obtains the second display size based on the first display size, and displays it according to the second display size.
- the element is displayed in the basic state at the first display position. At this point, the user can perform regular operations on the element through the second screen.
- the element can be directly displayed on the first display position, or the element can be displayed on the boundary of the second screen, and the element can be controlled to move from the boundary of the second screen to the first display position, where the boundary can be Set to be close to the border of the first screen.
- the second display size can be adjusted synchronously.
- the second display size is controlled to zoom in synchronously, and when the element is displayed in the first display position, the second display size is equal to the first display size of the element before receiving the first touch operation. Controlling the second display size to zoom in simultaneously can make the element present a display effect from scratch.
- the transparency of the element can be adjusted in real time, for example, the transparency of the control element is gradually reduced, so as to achieve a display effect that makes the element appear from scratch.
- FIG. 15 is a thirteenth schematic diagram of a screen provided by an embodiment of this application, which shows the first display 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.
- the display interface of the screen and the second screen When the element 23 moves to the first display position, the display interfaces of the first screen and the second screen change to FIG. 13.
- the second display size of the element 23 is the same as the second display size of the element 23 before the first touch operation
- One display size is equal.
- the second display size of the element 23 in FIG. 15 is significantly smaller and the transparency is higher. It is understandable that the arrows appearing in the above figures are only used to explain the technical solution, and will not be displayed on the screen in actual applications.
- the display conflict needs to be resolved to avoid overlapping of the display positions of the two elements.
- the display position of another element can be modified, and the other element can be switched to another position for display, so as to move out of the first display position.
- the first display position of the element can also be modified.
- Step 270 Confirm that the element does not meet the element transfer condition, and restore the element to its original state, where the original state is the display state of the element on the first screen before the first touch operation is received .
- the execution of the element transfer event can be stopped.
- the element can be restored to the state before receiving the first touch operation.
- first record the display state of the corresponding element before receiving the first touch operation and record the display state as the original state, where the display state includes the first display size, display position, transparency, and/ Or the color, thickness, and line shape of the border.
- the element is restored to the original state.
- the element is in an active state before receiving the first touch operation.
- cancel the first touch operation to restore the element to its original state.
- a prompt box will pop up to prompt the user that the element transfer has failed.
- the element transfer method by receiving the first touch operation acting on the element in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation. If it is confirmed that the element meets the element transfer condition, the control element continues After the movement is completed, the element is displayed on the second screen, and the element in the first screen is deleted, so as to realize the transfer of the element from the first screen to the second screen for display.
- the display size of the element is adjusted, and when the element is displayed on the second screen, the display position of the element on the second screen is set.
- elements can be transferred between screens through the first touch operation, so that elements appearing on one screen can be displayed on another screen, which not only realizes the rapid and accurate transfer and display of elements between screens, but also And its implementation method is simple, no need to create corresponding elements on the screen, which reduces the workload of the element creation process.
- the element when the element is displayed on the second screen, the element can be displayed in the corresponding position according to the setting or actual operation, and the display size of the element in the second screen is the same as the display size of the element in the first screen before the transfer to ensure the element transfer Time accuracy.
- the elements that can be transferred can be distinguished from other elements.
- the way of element transfer is flexible and convenient. The element transfer is triggered by touch operation, and when the element transfer condition is met, the element can be transferred between screens. Its simple operation can effectively improve the user experience.
- FIG. 16 is a flowchart of an element transmission method provided in Embodiment 3 of this application.
- the element transfer method provided in this embodiment and the element transfer method provided in the foregoing embodiment are applied in the same scenario, that is, different applications are opened on the first screen and the second screen, respectively.
- the application program corresponding to the first screen has a document display function.
- the first screen displays a document display interface for displaying documents.
- the application corresponding to the second screen has a writing function.
- a writing interface is displayed on the second screen for responding to the writing operation.
- the related operations on the first screen mentioned in the embodiments are all realized by controlling the execution of the application corresponding to the first screen by the smart interactive tablet, and the related operations on the second screen mentioned in the embodiments are all through
- the smart interactive tablet controls the execution of the application program corresponding to the second screen.
- the element transfer method specifically includes:
- Step 310 Receive a first touch operation on a first screen, where the first touch operation acts on an element displayed on the first screen.
- Step 320 Obtain a touch track of the first touch operation on the first screen.
- the touch event is monitored, and the coordinates of the first touch operation in the pixel coordinate system are determined through the parameters of the touch event, so as to obtain the touch position.
- the touch position is obtained, the time relationship between the touch positions can be obtained synchronously, and then the touch track can be obtained according to the time relationship.
- the initial touch position of the first touch operation is set to be on the element.
- the first touch operation received by an element is detected, it is confirmed that the element is selected.
- Step 330 Control the element to move synchronously following the touch track.
- the latest touch position of the first touch operation is determined in real time or at intervals, and then the latest touch position is taken as the latest display position of the selected element on the first screen, and thereafter, based on the latest touch position obtained each time
- the display position updates the display of the element to realize the synchronous movement of the element following the touch track.
- the latest touch position can be used as the display of the element Position center, and then get the latest display position.
- the relative position relationship between the touch position and the display position of the element is determined, and then the latest display position is obtained according to the relative position relationship and the latest touch position.
- calculate the positional relationship between the latest touch position and the touch position obtained when the first touch operation is received and then obtain the displacement coordinates, and then adjust the element according to the displacement coordinates
- the display position of the element is transformed to get the latest display position of the element.
- the position relationship between the latest touch position and the second new touch position acquired last time is calculated, and then the displacement coordinates are obtained, so as to obtain the latest display position of the element through the displacement coordinates.
- Step 340 Confirm that the element meets the element transfer condition, control the element to continue to move, and adjust the first display size of the element during the moving process.
- control element moves following the touch trajectory of the first touch operation, it is also determined in real time whether the element meets the element transfer condition, and when the element transfer condition is satisfied, the element is controlled to continue to move. At this time, no user operation is required.
- the first display size of the element is adjusted during the movement of the element.
- the first display size is enlarged or reduced in an equal proportion.
- the embodiment of the specific adjustment method of the first display size is not limited.
- Step 350 After confirming the completion of the element movement, create a copy of the element in the second screen, and delete the element in the first screen, so as to realize the transfer of the element to the second screen.
- confirming the end of the element movement 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 it moves to the set display position, confirm the end of the movement. If the movement duration of the element is preset and recorded as the set duration, confirming the end of the movement of the element includes: confirming that the movement duration of the element reaches the set duration. That is, when the element transfer condition is met, the control element continues to move in the current direction in the first screen, and when the moving duration reaches the set duration, the end of the movement is confirmed.
- the element After the element is moved, the element is triggered to pass and display. Among them, when the element is triggered to pass and display, a copy of the selected element is created in the second screen, that is, the selected element is displayed in the second screen.
- creating a copy of an element can be understood as the application program corresponding to the second screen obtains the storage address of the element through the application program corresponding to the first screen, and then obtains the element according to the storage address and displays it on the second screen. It is understandable that when the element is displayed on the first screen, the element is also acquired based on the storage address for display. Therefore, the application corresponding to the first screen can be instructed to send the storage address to the application corresponding to the second screen.
- the storage address can be understood as the location of the element in the memory.
- the element is displayed in the first display position of the second screen.
- the application corresponding to the second screen notifies the application corresponding to the first screen, so that the application corresponding to the first screen deletes the element in the first screen.
- the element transfer method by receiving the first touch operation acting on the element in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation. If it is confirmed that the element meets the element transfer condition, the control element continues Move, and after the move, create a copy of the element in the second screen, and delete the element in the first screen, so as to realize the transfer of the element from the first screen to the second screen for display.
- elements can be transferred between screens through the first touch operation according to the actual display needs of the user, so that the elements appearing on one screen can be displayed on another screen, which not only realizes the fast and accurate elements
- the display is transferred between the screens, and its implementation is simple, and there is no need to create corresponding elements on the screen, which reduces the workload of the element creation process.
- FIG. 17 is a flowchart of the element transmission method provided in the fourth embodiment of this application.
- the element transfer method provided in this embodiment and the element transfer method provided in the foregoing embodiment are applied in the same scenario.
- the element delivery condition includes: a trigger condition and/or a reception condition, the trigger condition is applied to the first screen, and the reception condition is applied to the second screen.
- the element transfer condition includes a trigger condition and/or a receiving condition, where the trigger condition is a restriction condition set for initiating element transfer, that is, the trigger condition is a restriction condition for the first screen.
- the receiving condition is a restriction condition set for the transmission of the received element, that is, the receiving condition is a display condition for the second screen.
- the content of the trigger condition and the receiving condition can be set according to actual conditions. In practical applications, you can set the element transfer display only after the trigger condition and the receiving condition are met at the same time, or you can perform the element transfer display when any one of the trigger condition or the receiving condition is met.
- the element transfer method provided in this embodiment includes:
- Step 410 Receive a first touch operation on a first screen, where the first touch operation acts on an element displayed on the first screen.
- Step 420 Obtain a touch track of the first touch operation on the first screen.
- Step 430 Control the element to move synchronously following the touch track.
- Step 440 When it is confirmed that the first screen meets the trigger condition, send an element delivery notification to the second screen.
- the trigger condition includes at least one of the following: the moving speed of the first touch operation reaches a first preset speed; the moving distance of the first touch operation reaches the first preset distance; 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.
- the average speed may be obtained based on the current time period of the first touch operation, or it may be based on the current time and the set time before the current time (for example, the time 2S before the current time). The average speed is obtained during the time period.
- the movement speed corresponding to the touch position can be calculated synchronously.
- the moving speed is compared with the first preset speed to determine whether the moving speed reaches the first preset speed, where the moving speed reaches the first preset speed can be that the moving speed is equal to the first preset speed or the moving speed is greater than The first preset speed.
- the moving speed does not reach the first preset speed, continue to detect whether the moving speed reaches the first preset speed.
- the moving speed reaches the first preset speed, confirm whether the trigger condition also contains other content, if it does not contain other content, determine that the trigger condition is satisfied, if it contains other content, confirm whether other content is also satisfied at the current moment, if not satisfied , Continue to detect whether the moving speed reaches the first preset speed and whether other content meets the condition, and if so, it is determined that the trigger condition is satisfied.
- the specific value of the first preset speed can be set according to actual conditions, which is not limited in the embodiment.
- the moving distance of the first touch operation may refer to the linear length between the latest touch position of the first touch operation and the touch position when the first touch operation is received, or may refer to the length of the touch track.
- the moving distance is updated in real time.
- the movement distance is compared with the first preset distance to determine whether the movement distance reaches the first preset distance, where the movement distance reaches the first preset distance may be the movement distance equal to The first preset distance or the moving distance is greater than the first preset distance.
- the operation performed after the moving distance reaches the first preset distance or does not reach the first preset distance is similar to the operation performed after the first speed reaches the first preset speed or does not reach the first preset speed, and will not be repeated here.
- the end of the first touch operation can be understood as the user leaves the first screen and no longer performs the touch operation.
- the first touch operation is not detected, it is determined that the first touch operation ends.
- the operation performed when the first touch operation ends or does not end is similar to the operation performed after the first speed reaches the first preset speed or does not reach the first preset speed, and will not be repeated here.
- the first screen sends an element delivery notification to the second screen, which can also be understood as an application corresponding to the first screen can send an element delivery notification to an application corresponding to the second screen.
- the element delivery notification is used to notify the application corresponding to the second screen that the element delivery display is currently to be performed.
- the specific content of the element delivery notification can be set according to the actual situation.
- the application corresponding to the first screen can send all the applications corresponding to the multiple second screens that can currently perform data communication.
- the element delivery notification allows the application corresponding to the second screen to determine whether it meets the receiving condition according to the element delivery notification, and then determine whether the element delivery display can be performed. Generally speaking, only one second screen among the plurality of second screens can satisfy the receiving condition.
- the application program corresponding to the second screen can also monitor the first touch operation on the first screen in real time, and when it is confirmed that the first screen meets the trigger condition, it is determined that the element delivery notification is received, and subsequent operations are performed.
- the method when setting the element delivery notification to be sent to the second screen, the method further includes: sending element shaking parameters to the second screen.
- the element flipping parameter is a parameter obtained during the execution of the first touch operation and used for the application program corresponding to the second screen to determine whether the receiving condition is satisfied.
- the element shaking parameter and the element shaking notification are sent at the same time.
- the element shaking parameters can be determined in conjunction with the receiving conditions.
- the element shaking parameter is the moving speed of the first touch operation, the first unit vector of the element when the first touch operation starts, and the second unit vector and the second unit vector of the element when the trigger condition is satisfied. Take the third unit vector of the element at the set time before the trigger condition is met, or the element type of the element as an example.
- the first unit vector may be determined according to the shaking direction at the beginning of the first touch operation.
- the second unit vector may be determined according to the shaking direction of the first touch operation when the trigger condition is met.
- the third unit vector is determined according to the swing direction of the first touch operation at the set time before the trigger condition is met.
- the set time can be set according to actual conditions, for example, the set time is a time 2 seconds before the time when the touch condition is satisfied.
- Step 450 When the second screen receives the element delivery notification, it is determined whether the second screen satisfies the receiving condition. If the second screen meets the receiving conditions, step 460 is executed. Otherwise, step 480 is executed.
- step 460 When the second screen receives the element transfer notification, it determines whether it meets the receiving condition, and when the receiving condition is satisfied, step 460 is executed, that is, the element transfer display is realized. Otherwise, step 480 is executed.
- the element delivery notification received by the second screen means that the application program corresponding to the second screen receives the element delivery notification.
- the receiving condition may be the activation of the element transfer function on the second screen.
- the element transfer function is the function of receiving the transferred element.
- the second screen launch element transfer function can also be understood as the application launch element transfer function corresponding to the second screen.
- the activation mode of the element transfer function can be set according to the actual situation. For example, on the second screen, virtual keys for controlling element transfer functions are displayed. When it is detected that the virtual button receives a click, double-click, or long-press operation, it is determined to start the element transfer function.
- the element transfer function After the element transfer function is activated, when it is detected that the virtual button receives a click, double-click, or long press operation again, it is determined to close the element transfer function.
- the display position and display mode of the virtual key are not limited in the embodiment.
- a single-finger or multi-finger touch operation of a specific touch track is detected on the second screen, it is determined to start the element transfer function.
- the element transfer function is activated, when the single-finger or multi-finger touch operation of a specific touch track is detected on the second screen again, or other specific touch trajectory single-finger or multi-finger touch operations are detected, be sure to close Element transfer function.
- a prompt box is used to prompt the user that the second screen can receive the elements transferred by the first screen.
- determining whether the second screen meets the receiving condition may specifically include: determining whether the second screen meets the element shaking parameter Conditions of acceptance.
- the content of the receiving condition is related to the element shaking parameter, that is, the application corresponding to the second screen determines whether the second screen satisfies the receiving condition according to the element shaking parameter.
- the receiving conditions in this step may also include at least one of the following solutions:
- Solution 1 The element shaking parameter is the moving speed of the first touch operation, and the receiving condition is: the moving speed reaches the second preset speed.
- the second preset speed can be set according to actual conditions, and it can be the same as or different from the first preset speed.
- the calculation method of the movement speed is the same as the calculation method of the aforementioned movement speed, and will not be repeated here.
- the application corresponding to the first screen may send all the obtained moving speeds to the application corresponding to the second screen, or the application corresponding to the second screen may monitor the first touch operation in real time to obtain the moving speed in real time. When the moving speed reaches the second preset speed, it is determined that the receiving condition is satisfied. Otherwise, the comparison can be continued until the moving speed cannot be obtained (for example, the first touch operation is stopped) and the moving speed still does not reach the second preset speed, at this time, it can be considered that the receiving condition is not met.
- 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 the second preset speed, it is determined that the receiving condition is satisfied. Otherwise, it is determined that the reception conditions are not met.
- the element shaking parameters include: the first unit vector of the element at the beginning of the first touch operation and the second unit vector of the element when the trigger condition is met.
- the receiving condition is: the difference between the first unit vector and the second unit vector The vector difference is within the first set threshold.
- the swing direction of the first touch operation from the moment when the current trigger condition is met can be determined, and the swing direction can also be understood as the movement direction of the element.
- the first preset threshold is a numerical range, which can be set according to the relative direction between the first screen and the second screen. The relative direction can be determined by the relative positional relationship between the first screen and the second screen.
- Solution 3 The element shaking parameters include: the second unit vector and the third unit vector of the element at the set time before the trigger condition is met.
- the receiving condition is: the vector difference between the third unit vector and the second unit vector is in the second Within the set threshold.
- the second preset threshold is a numerical range, 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 or different from the first preset threshold.
- the element shaking parameters include: the element type of the element, and the receiving condition is: the element type is the preset transfer element type.
- the application program corresponding to the second screen may store preset transfer element types that can be transferred and displayed. After receiving the element type of the element that the first touch operation acts on, it is determined whether the element type is within the preset transfer element type, and if it is within the preset transfer element type, it is determined that the receiving condition is satisfied. Otherwise, it is determined that the reception conditions are not met.
- Step 460 When the second screen satisfies the receiving condition, control the element to continue to move, and adjust the first display size of the element during the moving process.
- the application corresponding to the first screen When the second screen satisfies the receiving condition, the application corresponding to the first screen is notified, so that the application corresponding to the first screen confirms that the second screen meets the receiving condition. After that, the application control element corresponding to the first screen continues to move in the first screen. And adjust the first display size of the element during the movement. Optionally, while moving, adjust the display transparency of the element at the same time.
- Step 470 After confirming the completion of the element movement, create a copy of the element in the second screen, and delete the element in the first screen.
- creating a copy of the element in the second screen specifically includes step 471 to step 473:
- Step 471 Copy the element on the first screen before receiving the first touch operation.
- Copying can be understood as generating a new instance (new element in this step), and then assigning its members to the original instance (the new element in this step is the same as the element before receiving the first touch operation).
- Copying the element on the first screen before the first touch operation by the application corresponding to the first screen can be understood as obtaining the storage address of the element.
- the first display size of the element can also be obtained.
- Step 472 Confirm the first display position of the element in the second screen.
- the method for determining the first display position can be set according to actual conditions.
- setting this step includes any of the following schemes:
- Solution 1 Obtain the second display position of the element in the first screen before receiving the first touch operation; use the corresponding position of the second display position in the second screen as the first display position of the element in the second screen.
- the application program corresponding to the first screen records the display position of the element on the first screen when the first touch operation is received, and this is recorded as the second display position.
- the application corresponding to the second screen obtains the second display position from the application corresponding to the first screen.
- the embodiment of the method for acquiring the second display position is not limited.
- the application program corresponding to the first screen adds the second display position to the element shaking parameter and sends it to the application program corresponding to the second screen. Since the second screen and the first screen have the same pixel coordinate system, in this step, the second display position can be directly used as the first display position and applied to the pixel coordinate system of the second screen.
- Solution 2 Obtain the preset display position of the element, and use the element display position as the first display position of the element on the second screen.
- the display position of the element can be directly acquired as the first display position.
- the element display position can be selected according to actual conditions. It is understandable that since different elements may have different display sizes, the set element display position can be considered as the center position of the element, that is, the position where the center point is when the element is displayed.
- Solution 3 Obtain the swing direction and trigger position of the first touch operation when the trigger condition is met; in the second screen, determine the closest boundary in the swing direction; determine the vertical distance to the boundary that meets the second preset distance The position set; the first display position of the element in the second screen is determined according to the trigger position, the position set, and the flip direction; wherein the boundary is a horizontal boundary or a vertical boundary.
- the first display position may be the center position or the boundary position of the element when it is displayed.
- the application corresponding to the second screen obtains from the application corresponding to the first screen the shaking direction and the trigger position of the first touch operation when the trigger condition is satisfied. Or, the application corresponding to the first screen adds the shaking direction and the trigger position to the element shaking parameters and transmits them.
- the trigger position can be understood as the touch position of the first touch operation when the trigger condition is met.
- the boundary is a horizontal boundary or a vertical boundary, which can be preset.
- the boundary is a vertical boundary
- the closest vertical boundary is determined according to the swing direction.
- the closest vertical boundary is the vertical boundary close to the first screen.
- the vertical boundary to which the first touch operation is directed can be determined according to the flipping direction, and then the vertical boundary is determined as the closest vertical boundary.
- 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 may be specified.
- 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 on the vertical distance of the vertical boundary are obtained, and then the position set is obtained. It is understandable that the set of positions can be regarded as a line segment parallel to the vertical boundary.
- FIG. 18 is a fourteenth schematic diagram of a screen provided by an embodiment of this application. Referring to FIG. 18, the vertical boundary 44 is the closest boundary in the second screen 42. The line segment 45 is a line segment corresponding to the 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.
- the first display position of the element on the second screen is determined according to the trigger position, the position set, and the flip direction. For example, when the trigger condition is met, the display position of the element 43 on 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 met can be determined according to the trigger position and the position set. The distance L is marked by a line 46 in FIG. 18. The swing direction is shown by the arrow in Figure 18. The swing direction vector when the trigger condition is met can be obtained by the swing direction.
- the distance from point B to point C can be obtained, and then, According to the distance from point B to point C and the distance from point A to the upper horizontal boundary, the distance from point C to the upper horizontal boundary can be obtained, and then the first display position is obtained according to the distance and the fixed distance.
- the dotted lines, intersections, and arrows appearing in the above drawings are only used to explain the technical solutions, and will not be displayed on the screen in actual applications.
- the boundary is a horizontal boundary
- the closest horizontal boundary is determined according to the swing direction.
- the closest horizontal border is the horizontal border close to the first screen.
- the horizontal boundary to which the first touch operation is directed can be determined according to the flipping direction, and then the horizontal boundary is determined as the closest horizontal boundary.
- a horizontal boundary can be specified by the smart interactive tablet, for example, a horizontal boundary close to the element can be specified.
- the distance between the first display position and the horizontal boundary is fixed. That is, a vertical distance is preset, and then, the coordinates of each pixel on the vertical distance of the horizontal boundary are obtained, and then the position set is obtained. It is understandable that the set of positions can be regarded as a line segment parallel to the horizontal boundary.
- FIG. 19 is a fifteenth schematic diagram of a screen provided in an embodiment of this application.
- the horizontal boundary 47 is a boundary line in the first screen 41 that is located on the same horizontal plane as the closest horizontal boundary in the second screen 42.
- the line segment 48 is an extension line corresponding to the coordinate set obtained based on the closest horizontal boundary. It can be seen from FIG. 19 that the line segment 48 is parallel to the nearest horizontal boundary, and the line segment can extend into the first screen 41 and be parallel to the horizontal boundary 47.
- the first display position of the element on the second screen is determined according to the trigger position, the position set, and the flip direction. For example, when the trigger condition is met, the display position of the element 43 on the first screen 42 is as shown in FIG. 19, and the trigger position of the first touch operation is D point.
- the position set is obtained, the distance P from the point D to the extension line can be obtained according to the trigger position and the extension line of the position set in the first screen.
- the distance P is marked by the line 49 in FIG. 18.
- the end point of the line segment 49 on the extension line is marked as E point.
- the swing direction is shown by the arrow in Figure 19, and the swing direction vector when the trigger condition is met can be obtained through the swing direction.
- the distance from point E to point F can be obtained, and then, According to the distance from point E to point F and the distance from point D to the right vertical border of the first screen, the distance from point F to the left vertical border of the second screen can be obtained, and then the first display position can be obtained according to the distance and the fixed distance .
- the dotted lines, intersections, and arrows appearing in the above drawings are only used to explain the technical solutions, and will not be displayed on the screen in actual applications.
- Step 473 Paste the element at the first display position.
- the element can be pasted in the first display position.
- Step 480 Send a delivery failure notification to the first screen, so that the first screen restores the element to the original state.
- the application corresponding to the second screen may send a delivery failure notification to the application corresponding to the first screen.
- the content of the delivery failure notification and the communication method can be set according to the actual situation.
- the application corresponding to the first screen determines that the element delivery display cannot be performed. At this time, the element can be restored to the original state.
- the element by receiving the first touch operation acting on the element in the first screen, the element is controlled to move synchronously according to the touch track of the first touch operation. If it is confirmed that the element meets the element transfer condition, the control element continues Move, and after the move, create a copy of the element in the second screen, and delete the element in the first screen, so as to realize the transfer of the element from the first screen to the second screen for display.
- the display size of the element is adjusted, and when the element is displayed on the second screen, the display position of the element on the second screen is set.
- the elements can be transferred between screens through the first touch operation according to the actual display requirements of the elements, so that the elements appearing on one screen can be displayed on the other screen, which not only realizes the rapid and accurate display of the elements
- the display is transferred between the screens, and its implementation is simple, and there is no need to create corresponding elements on the screen, which reduces the workload of the element creation process.
- the trigger condition corresponding to the first screen and the receiving condition of the second screen the accuracy of the element delivery scene can be guaranteed.
- the way of element transfer is flexible and convenient. The element transfer is triggered by touch operation, and when the element transfer condition is met, the element can be transferred between screens. Its simple operation can effectively improve the user experience.
- FIG. 20 is a schematic structural diagram of an element transfer device provided in Embodiment 5 of this application.
- the element transfer device includes: a first touch module 501, a first movement module 502, a first adjustment module 503, and a first transfer module 504.
- the first touch module 501 is used to receive a first touch operation on the first screen, and the first touch operation acts on the elements displayed in the first screen;
- the first mobile module 502 is used to control all The element moves synchronously following the first touch operation;
- the first adjustment module 503 is used to confirm that the element meets the element transfer condition, control the element to continue to move, and adjust the first display size of the element during the movement.
- the first transfer module 504 is used to display the element in the second screen after the movement is completed, and delete the element in the first screen, so as to realize the transfer of the element to the second screen.
- the first transfer module is specifically configured to: after the movement is completed, display the element at the first display position of the second screen, and the second display size of the element is equal to the element received by the element.
- the first display size in the first screen before the first touch operation, and the element in the first screen is deleted, so as to realize the transfer of the element to the second screen.
- the boundary between the first display position and the second screen is a fixed distance, and the boundary is the horizontal boundary to which the first touch operation is directed and/or the first touch
- the vertical boundary to which the operation points; or, the first display position is the same as the second display position, and the second display position is at the location before the element receives the first touch operation or when it is confirmed that the element transfer condition is satisfied. Describe the display position in the first screen.
- an activation module configured to receive a first touch operation on the first screen, and before the first touch operation acts on the elements displayed on the first screen, responding to The second touch operation is received, the element is adjusted to an activated state, the element can be triggered to perform an element transfer event in the activated state, and the second touch operation acts on the element in the first screen The element.
- a canceling module configured to, after adjusting the element to an activated state in response to the received second touch operation, cancel in response to the received third touch operation In the activation state of the element, the third touch operation acts on the first screen.
- a restoration module configured to confirm that the element does not meet the element transfer condition, and restore the element to its original state, where the original state is before the first touch operation is received The display state of the element in the first screen.
- the first adjustment module is also used to adjust the display transparency of the element.
- the element transfer device provided above can be used to execute the element transfer method provided in the first embodiment to the second embodiment above, and has corresponding functions and beneficial effects.
- Embodiment 5 of the present application also provides another element transfer device.
- FIG. 21 is a schematic structural diagram of another element transfer device provided in Embodiment 5 of this application.
- the element transfer device includes: a second touch module 505, an acquisition module 506, a second movement module 507, a second adjustment module 508, and a second transfer module 509.
- the second touch module 505 is configured to receive a first touch operation on the first screen, and the first touch operation acts on an element displayed on the first screen; and the acquisition module 506 is configured to acquire the first touch operation.
- the second movement module 507 is used to control the element to move synchronously following the touch track;
- the second adjustment module 508 is used to confirm that the element meets the element transfer Condition, control the element to continue to move, and adjust the first display size of the element during the movement;
- the second transfer module 509 is used to confirm the end of the element movement and create a copy of the element in the second screen , And delete the element in the first screen, so as to realize the transfer of the element to the second screen.
- the element transfer condition includes: a trigger condition and/or a receiving condition, the trigger condition is applied to the first screen, and the receiving condition is applied to the second screen.
- the element transfer conditions include: trigger conditions and receiving conditions;
- the second adjustment module 508 includes: a notification unit, configured to confirm that the first screen satisfies the trigger conditions The second screen sends an element delivery notification;
- the determining unit is configured to determine whether the second screen satisfies the receiving condition when the second screen receives the element delivery notification;
- the control unit is configured to When the screen meets the receiving condition, control the element to continue to move.
- the trigger condition includes: the movement speed of the first touch operation reaches a first preset speed; and/or the movement distance of the first touch operation reaches a first preset speed Distance; and/or, confirming that the first touch operation ends.
- the receiving condition is: the second screen activates the element transfer function.
- the notification unit is further configured to send element shaking parameters to the second screen
- the determining unit is further configured to determine whether the second screen satisfies the receiving condition according to the element shaking parameter.
- the element shaking parameter is the moving speed of the first touch operation, and the receiving condition is: the moving speed reaches a second preset speed; and/or, the element
- the shaking parameter includes: 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 satisfied, and the receiving condition is: the first unit vector and the The vector difference between the second unit vectors is within a first set threshold; and/or, the element shaking parameter includes: the second unit vector and the element at the set time before the trigger condition is satisfied
- the receiving condition is that the vector difference between the third unit vector and the second unit vector is within a second set threshold; and/or, the element shaking parameter includes:
- For the element type of the element the receiving condition is: the element type is a preset transfer element type.
- the second transfer module 509 includes: a copying unit, configured to confirm that the element in the first screen before receiving the first touch operation is completed after the element is moved. Copying; a position determining unit for confirming the first display position of the element in the second screen; a paste unit for pasting the element at the first display position; an element deletion unit for deleting The element in the first screen to realize the transfer of the element to the second screen.
- the position determining unit is specifically configured to: obtain a second display position of the element on the first screen before receiving the first touch operation; and set the second display position
- the corresponding position in the second screen is taken as the first display position of the element in the second screen; or, a preset element display position is acquired, and the element display position is taken as the element’s display position
- the first display position in the second screen or, obtain the flip direction and the trigger position of the first touch operation when the trigger condition is met; in the second screen, determine the closest boundary in the flip direction Determine the set of positions whose vertical distance from the boundary meets the second preset distance; determine the first display of the element in the second screen according to the trigger position, the set of positions and the direction of swing Position; wherein the boundary is a horizontal boundary or a vertical boundary.
- the second transfer module 509 is specifically configured to: after confirming that the element moves to the set display position, create a copy of the element in the second screen, and delete the element in the first screen.
- the element transfer device provided above can be used to implement the element transfer method provided in the third or fourth embodiment above, and has corresponding functions and beneficial effects.
- FIG. 22 is a schematic structural diagram of an element transfer device provided in Embodiment 5 of this application.
- a smart interactive tablet is used as an element transfer device as an example for description.
- the smart interactive 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.
- the communication bus 65 is used to realize the connection and 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. There may be at least one display screen, and two are taken as an example in the embodiment.
- the network interface 62 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface).
- the processor 61 may include one or more processing cores.
- the processor 61 uses various interfaces and lines to connect the various parts of the entire intelligent interactive tablet 60, by running or executing instructions, programs, code sets, or instruction sets stored in the processor 61, and calling data stored in the memory 64 , Perform various functions of the smart interactive tablet 60 and process data.
- the processor 61 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Arrays, PLA). A kind of hardware form to realize.
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA Programmable Logic Array
- the processor 61 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
- the CPU mainly processes the operating system, user interface, and application programs;
- the GPU is responsible for the rendering and drawing of the content that the display needs to display, the two display screens can share the same GPU, or each display screen corresponds to a GPU; modem Used to handle wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 61, but may be implemented by a chip alone.
- the memory 64 may include random access memory (RAM) or read-only memory (Read-Only Memory).
- the memory 64 includes a non-transitory computer-readable storage medium.
- the memory 64 may be used to store instructions, programs, codes, code sets or instruction sets.
- the memory 64 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store data and the like involved in the foregoing method embodiments.
- the memory 64 may also be at least one storage device located far away from the aforementioned processor 61.
- the memory 64 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program of a smart interactive tablet.
- the user interface 63 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 61 can be used to call the operation application of the smart interactive tablet stored in the memory 64 Program, and specifically execute the relevant operations in the element transfer method in the above embodiment.
- the above-mentioned smart interactive tablet can be used to execute the element transfer method provided in any embodiment, and has corresponding functions and beneficial effects.
- embodiments of the present application also provide a storage medium containing computer-executable instructions, which are used to perform related operations in the element transfer method provided by any embodiment of the present application when the computer-executable instructions are executed by a computer processor. , And have corresponding functions and beneficial effects.
- this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware.
- this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
- This application is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions.
- These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
- the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
- the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- the memory may include non-permanent 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).
- RAM random access memory
- ROM read-only memory
- flash RAM flash memory
- Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
- the information can be computer-readable instructions, data structures, program modules, 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, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
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
Description
Claims (21)
- 一种元素传递方法,包括:在第一屏幕中接收第一触控操作,所述第一触控操作作用于所述第一屏幕中显示的元素;控制所述元素跟随所述第一触控操作同步移动;确认所述元素满足元素传递条件,控制所述元素继续移动,且在移动过程中调整所述元素的第一显示尺寸;移动结束后,在第二屏幕中显示所述元素,并删除所述第一屏幕中的所述元素,以实现向所述第二屏幕传递所述元素。
- 根据权利要求1所述的元素传递方法,其中,所述在第二屏幕中显示所述元素包括:在第二屏幕的第一显示位置显示所述元素,且所述元素的第二显示尺寸等于所述元素接收所述第一触控操作之前在所述第一屏幕中的第一显示尺寸。
- 根据权利要求2所述的元素传递方法,其中,所述第一显示位置与所述第二屏幕的边界为固定距离,所述边界为所述第一触控操作指向的水平边界和/或所述第一触控操作指向的竖直边界;或,所述第一显示位置与第二显示位置相同,所述第二显示位置为所述元素接收所述第一触控操作之前或确认满足元素传递条件时在所述第一屏幕中的显示位置。
- 根据权利要求1所述的元素传递方法,其中,在所述在第一屏幕中接收第一触控操作,所述第一触控操作作用于所述第一屏幕中显示的元素之前,还包括:响应于接收到的第二触控操作,将所述元素调整为激活状态,在所述激活状态下可触发所述元素执行元素传递事件,所述第二触控操作作用于所述第一屏幕中的所述元素。
- 根据权利要求4所述的元素传递方法,其中,在响应于接收到的第二触控操作,将所述元素调整为激活状态之后,还包括:响应于接收到的第三触控操作,取消所述元素的激活状态,所述第三触控操作作用于所述第一屏幕。
- 根据权利要求1所述的元素传递方法,,还包括:确认所述元素不满足元素传递条件,将所述元素恢复至原始状态,所述原始状态为接收到所述第一触控操作之前所述元素在所述第一屏幕中的显示状态。
- 根据权利要求1所述的元素传递方法,其中,所述在移动过程中调整所述元素的第一显示尺寸时,还包括:调整所述元素的显示透明度。
- 一种元素传递方法,包括:在第一屏幕中接收第一触控操作,所述第一触控操作作用于所述第一屏幕中显示的元素;获取所述第一触控操作在所述第一屏幕中的触控轨迹;控制所述元素跟随所述触控轨迹同步移动;确认所述元素满足元素传递条件,控制所述元素继续移动,且在移动过程中调整所述元素的第一显示尺寸;确认所述元素移动结束后,在第二屏幕中创建所述元素的副本,并删除所述第一屏幕中的所述元素,以实现向所述第二屏幕传递所述元素。
- 根据权利要求8所述的元素传递方法,其中,所述元素传递条件包括:触发条件和/或接收条件,所述触发条件应用于所述第一屏幕,所述接收条件应用于所述第二屏幕。
- 根据权利要求9所述的元素传递方法,其中,所述元素传递条件包括:触发条件和接收条件;所述确认所述元素满足元素传递条件,控制所述元素继续移动,包括:确认所述第一屏幕满足所述触发条件时,向所述第二屏幕发送元素传递通知;所述第二屏幕接收到元素传递通知时,确定所述第二屏幕是否满足所述接收条件;所述第二屏幕满足所述接收条件时,控制所述元素继续移动。
- 根据权利要求9或10所述的元素传递方法,其中,所述触发条件包括:所述第一触控操作的移动速度达到第一预设速度;和/或,所述第一触控操作的移动距离达到第一预设距离;和/或,确认所述第一触控操作结束。
- 根据权利要求9或10所述的元素传递方法,其中,所述接收条件为:所述第二屏幕启动元素传递功能。
- 根据权利要求10所述的元素传递方法,其中,所述向所述第二屏幕发送元素传递通知时,还包括:向所述第二屏幕发送元素甩动参数;所述确定所述第二屏幕是否满足所述接收条件包括:根据所述元素甩动参数确定所述第二屏幕是否满足接收条件。
- 根据权利要求13所述的元素传递方法,其中,所述元素甩动参数为所述第一触控操作的移动速度,所述接收条件为:所述移动速度达到第二预设速度;和/或,所述元素甩动参数包括:所述第一触控操作开始时所述元素的第一单位向量和满足触发条件时所述元素的第二单位向量,所述接收条件为:所述第一单位向量和所述第二单位向量之间的向量差在第一设定阈值内;和/或,所述元素甩动参数包括:所述第二单位向量和满足触发条件前设定时刻上所述元素的第三单位向量,所述接收条件为:所述第三单位向量和所述第二单位向量之间的向量差在第二设定阈值内;和/或,所述元素甩动参数包括:所述元素的元素类型,所述接收条件为:所述元素类型为预设传递元素类型。
- 根据权利要求8所述的元素传递方法,其中,所述在第二屏幕中创建所述元素的副本包括:对接收所述第一触控操作前所述第一屏幕中的所述元素进行复制;确认所述元素在所述第二屏幕中的第一显示位置;在所述第一显示位置粘贴所述元素。
- 根据权利要求15所述的元素传递方法,其中,所述确认所述元素在所述第二屏幕中的第一显示位置包括:获取所述元素接收所述第一触控操作之前在所述第一屏幕中的第二显示位置;将所述第二显示位置作为所述元素在所述第二屏幕中的第一显示位置;或,获取预先设定的元素显示位置,将所述元素显示位置作为所述元素在所述第二屏幕中的第一显示位置;或,获取满足触发条件时所述第一触控操作的甩动方向以及触发位置;在所述第二屏幕中,确定甩动方向上距离最近的边界;确定与所述边界的垂直距离满足第二预设距离的位置集合;根据所述触发位置、所述位置集合以及所述甩动方向确定所述元素在所述第二屏幕中的第一显示位置;其中,所述边界为水平边界或竖直边界。
- 根据权利要求8所述的元素传递方法,其中,所述确认所述元素移动结束包括:确认所述元素移动至设定显示位置;或,确认所述元素的移动时长达到设定时长。
- 一种元素传递装置,包括:第一触控模块,用于在第一屏幕中接收第一触控操作,所述第一触控操作作用于所述第一屏幕中显示的元素;第一移动模块,用于控制所述元素跟随所述第一触控操作同步移动;第一调整模块,用于确认所述元素满足元素传递条件,控制所述元素继续移动,且在移动过程中调整所述元素的第一显示尺寸;第一传递模块,用于移动结束后,在第二屏幕中显示所述元素,并删除所述第一屏幕中的所述元素,以实现向所述第二屏幕传递所述元素。
- 一种元素传递装置,包括:第二触控模块,用于在第一屏幕中接收第一触控操作,所述第一触控操作作用于所述第一屏幕中显示的元素;获取模块,用于获取所述第一触控操作在所述第一屏幕中的触控轨迹;第二移动模块,用于控制所述元素跟随所述触控轨迹同步移动;第二调整模块,用于确认所述元素满足元素传递条件,控制所述元素继续移动,且在移动过程中调整所述元素的第一显示尺寸;第二传递模块,用于在确认所述元素移动结束后,在第二屏幕中创建所述元素的副本,并删除所述第一屏幕中的所述元素,以实现向所述第二屏幕传递所述元素。
- 一种元素传递设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7或权利要求8-17中任一所述的元素传递方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-7或权利要求8-17中任一所述的元素传递方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910964777.2 | 2019-10-11 | ||
CN201910964777.2A CN110888581A (zh) | 2019-10-11 | 2019-10-11 | 元素传递方法、装置、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021068405A1 true WO2021068405A1 (zh) | 2021-04-15 |
Family
ID=69746104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/125533 WO2021068405A1 (zh) | 2019-10-11 | 2019-12-16 | 元素传递方法、装置、设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110888581A (zh) |
WO (1) | WO2021068405A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113663323A (zh) * | 2021-09-08 | 2021-11-19 | 网易(杭州)网络有限公司 | 终端操作方法、装置、电子设备和存储介质 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676745B (zh) * | 2021-08-17 | 2022-05-17 | 腾讯科技(深圳)有限公司 | 虚拟道具的互动处理方法、装置、电子设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020089546A1 (en) * | 1999-07-15 | 2002-07-11 | International Business Machines Corporation | Dynamically adjusted window shape |
CN103955339A (zh) * | 2014-04-25 | 2014-07-30 | 华为技术有限公司 | 一种终端操作方法及终端设备 |
CN104035706A (zh) * | 2013-03-08 | 2014-09-10 | 宏达国际电子股份有限公司 | 显示方法以及电子装置 |
CN109710130A (zh) * | 2018-12-27 | 2019-05-03 | 维沃移动通信有限公司 | 一种显示方法和终端 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9092115B2 (en) * | 2009-09-23 | 2015-07-28 | Microsoft Technology Licensing, Llc | Computing system with visual clipboard |
US9405444B2 (en) * | 2010-10-01 | 2016-08-02 | Z124 | User interface with independent drawer control |
KR102063766B1 (ko) * | 2013-09-17 | 2020-01-08 | 엘지전자 주식회사 | 이동 단말기 및 그것의 제어방법 |
CN106648433A (zh) * | 2016-12-27 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | 双屏交互操作的控制方法及装置和终端 |
CN110221759A (zh) * | 2019-05-31 | 2019-09-10 | 广州视源电子科技股份有限公司 | 一种元素拖拽方法、装置、存储介质及交互智能平板 |
-
2019
- 2019-10-11 CN CN201910964777.2A patent/CN110888581A/zh active Pending
- 2019-12-16 WO PCT/CN2019/125533 patent/WO2021068405A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020089546A1 (en) * | 1999-07-15 | 2002-07-11 | International Business Machines Corporation | Dynamically adjusted window shape |
CN104035706A (zh) * | 2013-03-08 | 2014-09-10 | 宏达国际电子股份有限公司 | 显示方法以及电子装置 |
CN103955339A (zh) * | 2014-04-25 | 2014-07-30 | 华为技术有限公司 | 一种终端操作方法及终端设备 |
CN109710130A (zh) * | 2018-12-27 | 2019-05-03 | 维沃移动通信有限公司 | 一种显示方法和终端 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113663323A (zh) * | 2021-09-08 | 2021-11-19 | 网易(杭州)网络有限公司 | 终端操作方法、装置、电子设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110888581A (zh) | 2020-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11727650B2 (en) | Systems, methods, and graphical user interfaces for displaying and manipulating virtual objects in augmented reality environments | |
RU2534486C2 (ru) | Моделирование инерции объектов при вводе множественным касанием | |
JP6215534B2 (ja) | 情報処理装置及び情報処理方法、並びにコンピューター・プログラム | |
US11443453B2 (en) | Method and device for detecting planes and/or quadtrees for use as a virtual substrate | |
WO2021068366A1 (zh) | 智能交互平板的书写操作方法、装置、设备和存储介质 | |
US20120092381A1 (en) | Snapping User Interface Elements Based On Touch Input | |
KR102190904B1 (ko) | 윈도우 제어 방법 및 이를 지원하는 전자장치 | |
US11112959B2 (en) | Linking multiple windows in a user interface display | |
WO2021068365A1 (zh) | 智能交互平板的页面交互方法、装置、设备和存储介质 | |
AU2014312481A1 (en) | Display apparatus, portable device and screen display methods thereof | |
US10855481B2 (en) | Live ink presence for real-time collaboration | |
US9547370B2 (en) | Systems and methods for enabling fine-grained user interactions for projector-camera or display-camera systems | |
WO2021068412A1 (zh) | 智能交互平板的交互方法、装置、终端设备和存储介质 | |
CN110941382B (zh) | 智能交互平板的显示操作方法、装置、设备和存储介质 | |
EP2965181B1 (en) | Enhanced canvas environments | |
WO2021068405A1 (zh) | 元素传递方法、装置、设备及存储介质 | |
TW201432556A (zh) | 記錄軌跡的方法及電子裝置 | |
CN108885556B (zh) | 控制数字输入 | |
WO2021068382A1 (zh) | 多窗口操作控制方法、装置、设备及存储介质 | |
CN109144397B (zh) | 擦除方法、装置以及智能交互平板 | |
US9483171B1 (en) | Low latency touch input rendering | |
US11592963B2 (en) | Terminal, control method therefor, and recording medium in which program for implementing method is recorded | |
WO2014031449A1 (en) | Visual object manipulation | |
WO2023065939A1 (zh) | 一种触控响应方法、装置、交互平板及存储介质 | |
US20230409145A1 (en) | Touch response method, device, interactive white board, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19948466 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19948466 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19948466 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.10.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19948466 Country of ref document: EP Kind code of ref document: A1 |