CN110737383A - Element adding method and device and electronic equipment - Google Patents

Element adding method and device and electronic equipment Download PDF

Info

Publication number
CN110737383A
CN110737383A CN201910943327.5A CN201910943327A CN110737383A CN 110737383 A CN110737383 A CN 110737383A CN 201910943327 A CN201910943327 A CN 201910943327A CN 110737383 A CN110737383 A CN 110737383A
Authority
CN
China
Prior art keywords
window
target element
popup
area
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910943327.5A
Other languages
Chinese (zh)
Other versions
CN110737383B (en
Inventor
丁琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910943327.5A priority Critical patent/CN110737383B/en
Priority to PCT/CN2019/125534 priority patent/WO2021062948A1/en
Publication of CN110737383A publication Critical patent/CN110737383A/en
Application granted granted Critical
Publication of CN110737383B publication Critical patent/CN110737383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides element adding method and device and electronic equipment, wherein a popup is output in a th area of a th window in response to an adding instruction of a target element displayed in a second area of a second window, and the popup is used for displaying the target element.

Description

Element adding method and device and electronic equipment
Technical Field
The invention relates to the technical field of terminals, in particular to a method and a device for adding elements and electronic equipment.
Background
The multiple windows operating simultaneously may originate from different terminal devices and may originate from the same terminal devices, the multiple windows operating simultaneously may originate from the same screens and may originate from different screens, the multiple windows may exist on the same screens, the different screens or windows may correspond to different applications and display different contents, if the user wants to add the contents on screens or windows to another screens or windows, the user needs to operate the two screens or windows separately, which is inconvenient for the user to use.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide an element adding method, device and socket.
, embodiments of the present invention provide a element adding method, comprising the steps of:
outputting a popup at a th area of an th window in response to an add instruction for a target element displayed in a second area of a second window, the popup being for displaying the target element;
receiving an operation instruction aiming at the target element in the popup window;
adding elements in a second region of the second window to the th window based on the operation instruction.
Optionally, the receiving an operation instruction for a popup window includes:
receiving a copy instruction aiming at the target element in the popup window, and marking the target element by adopting an mode;
receiving a drag instruction for the marked target element;
the adding, based on the operation instruction, elements in a second area of the second window to the th window includes:
copying the target element into the th window based on the drag instruction.
Optionally, the copying the target element into the th window based on the drag instruction includes:
acquiring a dragging ending position of the dragging instruction;
if the drag end position is located outside the th area, copying the th element to the drag end position in the th window, and deleting the target element in the pop-up window.
Optionally, the receiving an operation instruction for a popup; the method comprises the following steps:
receiving a moving instruction aiming at the target element in the popup window, and marking the target element by adopting a second mode;
receiving a drag instruction for the marked target element;
the adding, based on the operation instruction, elements in a second area of the second window to the th window includes:
based on the drag instruction, moving the target element into the th window, and deleting the target element in the second window and the target element in the popup window.
Optionally, the moving the target element to the th window and deleting the target element in the second window and the target element in the popup window based on the drag instruction includes:
acquiring a dragging ending position of the dragging instruction;
if the drag ending position is located outside the th area, moving the target element to the th window, and deleting the target element in the second window and the target element in the pop-up window.
Optionally, the method further comprises:
and if the drag ending position is located in the th area, not responding to the drag instruction.
Optionally, the adding instruction of the target element is triggered by inputting a long-press operation in the th area.
Optionally, an area ratio of the th area to the second area is a preset area ratio, and the popup displays the target element in the preset area ratio.
Optionally, the th region and the second region are both rectangular, the ratio of the length of the th region to the length of the second region is a preset length ratio, the ratio of the width of the th region to the width of the second region is the preset length ratio, and the popup window displays elements on the second region in the preset length ratio.
Optionally, after the popup is output at the th region of the th window, the method further comprises:
and responding to a closing instruction aiming at the popup window, and closing the popup window.
In a second aspect, an embodiment of the present invention provides element adding apparatuses, including:
an output unit, configured to output a popup at a th area of an th window in response to an add instruction for a target element displayed in a second area of a second window, the popup being used to display the target element;
a receiving unit, configured to receive an operation instruction for the target element in the popup;
an adding unit, configured to add, based on the operation instruction, an element in the second area of the second window to the th window.
In a third aspect, embodiments of the present invention provide computer readable storage media having stored thereon a computer program that, when executed by a processor, performs the steps of any of the methods described above in .
In a fourth aspect, an embodiment of the present invention provides electronic devices, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods when executing the program.
According to the element adding method, the device and the electronic equipment provided by the invention, in response to an adding instruction of a target element displayed in a second area in a second window, a popup window is output in a th area of a th window and used for displaying the target element, an operation instruction of the target element in the popup window is received, and the element in the second area of the second window is added into a th window based on the operation instruction.
Drawings
Fig. 1 is a schematic view of an application scenario in which an element adding method or an element adding apparatus according to an embodiment of the present application may be applied;
FIG. 2 is a schematic flow chart of a method for adding elements according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another element adding method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a further element addition method according to an embodiment of the present invention;
fig. 5 is a schematic view of an application scenario of element addition methods according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating call element addition functions provided by an embodiment of the invention;
fig. 7 is a schematic view showing the contents of the popup in the right screen when the setting range area of the left screen is small;
fig. 8 is a schematic diagram of the content display of the popup in the right screen when the setting range area of the left screen is large;
fig. 9 is an initial state diagram of kinds of left and right screens provided by the embodiment of the present invention;
FIG. 10 is a diagram illustrating a dragging process of copy elements according to an embodiment of the present invention;
FIG. 11 is a diagram illustrating the results of copy elements provided by an embodiment of the present invention;
FIG. 12 is a diagram illustrating a dragging process of mobile elements according to an embodiment of the present invention;
FIG. 13 is a diagram illustrating the results of shift elements according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of kinds of image processing apparatuses provided in the embodiment of the present invention;
fig. 15 is a schematic structural diagram of electronic devices according to an embodiment of the present invention.
Detailed Description
The present application will now be described in further detail with reference to the following figures and examples .
Thus, if embodiments include feature A, B, C and include feature B, D, then this application should also be considered to include embodiments that include or all other possible combinations of A, B, C, D, although this embodiment may not be explicitly recited in the following.
Various examples may omit, substitute, or add various processes or components as appropriate, the described methods may be performed in a different order than the described order, and various steps may be added, omitted, or combined.
Fig. 1 is a schematic view of an application scenario to which an element adding method or an element adding apparatus according to an embodiment of the present application may be applied, and as shown in fig. 1, a user may need to operate an th window and a second window at the same time, where the th window and the second window may be screens or program windows, the th window and the second window may be different screens from the same terminal device or screens from different terminal devices, and the th window and the second window may be different program windows from the same screen or program windows from different screens.
When a user wants to add an element in the second area of the second window to the th area of the th window, a popup window is generated in the th area of the th window through a predetermined adding instruction, wherein elements corresponding to the second area, such as the target element 1, the target element 2 and the target element 3 in fig. 1, are displayed in the popup window.
It should be noted that the numbers of elements in the th area and the second area are illustrative, and the numbers of elements in the two areas may vary according to different application scenarios.
It is within the scope of the present invention to add elements in the second region of the second window to the th window by pop-up of the th region of the th window.
Referring to fig. 2, fig. 2 is a schematic flow chart of an element adding method provided in an embodiment of the present invention, where the method includes:
s201, responding to an adding instruction of a target element displayed in a second area in a second window, and outputting a popup window in a area of an th window, wherein the popup window is used for displaying the target element.
The aforementioned th window and the second window can be screens or program windows, the aforementioned th window and the second window can be screens derived from the same terminal device or screens derived from different terminal devices, and the aforementioned th window and the second window can be different program windows derived from the same screen or program windows derived from different screens.
The target element is a component of the screen or program window display content. The target elements may be: numbers, letters, Chinese characters, words, formulas, images, animations, any combination of the above, etc.
The area may be an area with a regular shape, such as a circle, rectangle, triangle, etc., or may be an area without a regular shape, such as a shape set by the user as desired.
The second area is an area to be copied. The second region may be a region having a regular shape, such as: circular, rectangular, triangular, etc., or may have an irregular shape, such as a shape set by the user as desired.
, the area and the second area are similar figures, such as circles with different radii, rectangles with the same length and width, etc. therefore, the user can more intuitively determine the corresponding relationship between the elements contained in the two areas, and determine the element to be copied in the area to copy.
The th and second regions described above correspond the specific location and shape of the th and second regions can be determined as follows.
The system acquires the coordinates of the long press position as a center point P (x, y). the system sets a th area by taking the coordinates P (x, y) as the center point, and displays popup windows in a th area.
And the second area of the second window is an area to be copied. The position of the second area may be obtained by:
the relationship between the region in the th window and the second region in the second window may be as follows:
1) the th region and the second region are the same in shape and size, and the starting point is the top left corner of the th window and the second window (0,0), respectively, and assuming that the copy point of the th region is P1(x1, y1), the copy center point of the second region is P2(x1, y 1).
2) If the size of the th region is the same as the shape of the second region but different from the shape of the second region, the th region and the second region are subjected to proportional conversion to obtain the relative position of the center point of the second region, the starting points (0,0) are the left upper corners of the th window and the second window respectively, and the copy center point of the th region is P2(x2, y2) if the copy point of the th region is P1(x1, y 1).
There may be x1, x2, the width of the th region, the width of the second region, y1, y2, the height of the th region, the height of the second region.
When the th region and the second region are similar, the position coordinates of the second region are determined from the position coordinates of the th region by the area ratio, the perimeter ratio, and the like of the th region and the second region.
Optionally, an area ratio of the th area to the second area is a preset area ratio, and the popup displays the target element in the preset area ratio.
Optionally, the th region and the second region are both rectangular, the ratio of the length of the th region to the length of the second region is a preset length ratio, the ratio of the width of the th region to the width of the second region is the preset length ratio, and the popup window displays elements on the second region in the preset length ratio.
Optionally, after step S201, the method further includes:
and responding to a closing instruction aiming at the popup window, and closing the popup window.
The user can set the closing instruction of the pop-up window according to the requirement, such as: clicking the outer part of the pop-up window to disappear, double clicking the outer part of the pop-up window to disappear, pressing the pop-up window for a long time to disappear, adding a closing button on the pop-up window, clicking the closing button to disappear, and the like.
S202, receiving an operation instruction aiming at the target element in the popup.
S203, adding the elements in the second area of the second window into the th window based on the operation instruction.
The system can set the operation instruction according to needs, for example, if a certain element appearing in the pop window is double-clicked or single-clicked, the element is added to a preset position of the window, or if a certain element in the pop window is double-clicked, the element is a selected element, and the element is dragged to a certain position of the window, and the element is added to the drag ending position.
Optionally, the method further comprises:
and if the drag ending position is located in the th area, not responding to the drag instruction.
According to the element adding method provided by the embodiment of the invention, the popup is output in the th area of the th window and is used for displaying the target element, and the operation on the target element in the popup can add the element in the second area of the second window into the th window without performing related operation on the second window.
Referring to fig. 3, fig. 3 is a schematic flow chart of another element adding method provided in an embodiment of the present invention, where the method includes:
s301, responding to an adding instruction of a target element displayed in a second area in a second window, and outputting a popup window in a area of an th window, wherein the popup window is used for displaying the target element.
S302, receiving a copy instruction aiming at the target element in the popup window, and marking the target element by adopting an th mode.
The mode indicates that the operation instruction for the target element is a copy instruction, the copy instruction is used for copying the target element in window into a second window, and the window still retains the target element.
The system can set copy instructions according to needs and actual conditions, such as: clicking, double clicking or long pressing the target element indicates that the target element is the element to be copied.
S303, receiving a dragging instruction aiming at the marked target element.
S304, copying the target element to the th window based on the dragging instruction.
Optionally, the step S304 includes:
s3041, obtaining a dragging ending position of the dragging instruction.
S3042, if the drag ending position is located outside the th area, copying the th element to the drag ending position in the th window, and deleting the target element in the pop-up window.
According to the element adding method, the copy operation is performed on the target element in the popup window of the th window, namely, the element in the second area of the second window can be copied to the th window without performing related operation on the second window.
Referring to fig. 4, fig. 4 is a schematic flow chart of a further element adding method provided in an embodiment of the present invention, where the method includes:
s401, responding to an adding instruction of a target element displayed in a second area in a second window, and outputting a popup window in a area of an th window, wherein the popup window is used for displaying the target element.
S402, receiving a moving instruction aiming at the target element in the popup window, and marking the target element by adopting a second mode.
The second mode indicates that the operation instruction for the target element is a move instruction, the move instruction is used to move the target element in window to the second window, and window requires the target element to be deleted.
The system can set the moving instruction according to the needs and the actual conditions, such as: clicking, double clicking or long pressing the target element indicates that the target element is the element to be moved.
S403, receiving a dragging instruction for the marked target element.
S404, moving the target element to the th window based on the dragging instruction, and deleting the target element in the second window and the target element in the popup window.
Optionally, the step S404 may include:
s4041, obtaining the drag ending position of the drag instruction.
S4042, if the drag ending position is located outside the th area, moving the target element to the th window, and deleting the target element in the second window and the target element in the pop-up window.
According to the element adding method provided by the invention, the element in the second area of the second window can be moved to the th window without performing related operation on the second window by performing moving operation on the target element in the popup window of the th window.
The process of the present invention for implementing the addition of the iso-screen element is specifically illustrated by specific embodiments.
In the case of double screens, when a user operates before the right screen and wants to copy/move the content of a certain part of the left screen to a certain area of the right screen, the user can invoke the function of copying/moving by long-pressing and equal gestures at the relative position of the right screen or invoke the function of copying/moving in a menu form, and the scheme does not limit how to invoke the function of copying/moving.
Fig. 6 is a schematic diagram of functions for evoking addition of different-screen elements, according to an embodiment of the present invention, when a user evokes a copy/move function at positions on the right screen, content boxes are generated at the positions, the content in the content boxes displays the content in the corresponding position on the left screen, and the user realizes the copy/move function by dragging and dropping the elements.
The popup window in the right screen provided by the embodiment of the invention is used for displaying elements in the corresponding area of the left screen, popup windows are displayed in the right screen by taking a red dot as a center, the size of the popup window can be defined by self according to a use scene, and at the moment, the content of the popup window in the right screen is the copy/moving element content in the corresponding area of the left screen.
If the position P (x, y) is pressed long at the th area, the copy range on the second area is a partial range with P as the center point, the range can be set arbitrarily, and the copy/move elements in the range can be displayed in the pop-up window of the th area in an equal ratio.
Fig. 7 is a schematic diagram illustrating the display of the content of the popup in the right screen when the display area of the left screen is small. Fig. 8 is a schematic diagram of the content display of the popup in the right screen when the display area of the left screen is large. As shown in fig. 7 and 8, when the display area of the left screen is small, the content of the pop-up window in the right screen is also small; when the display area of the left screen is larger, the content of the popup window in the right screen is more.
The copy/move popup on the right screen may be of a different size than the setting range on the left screen, but the aspect ratio satisfies the geometric relationship.
The user can close the pop-up window that the right screen appears as required, such as: clicking the outer part of the pop-up window to disappear, double clicking the outer part of the pop-up window to disappear, pressing the pop-up window for a long time to disappear, adding a closing button on the pop-up window, clicking the closing button to disappear, and the like. The scheme does not limit the scheme used when the pop-up window is closed.
At this time, the user can close the pop-up window appearing on the right screen as required, such as: clicking the outer part of the pop-up window to disappear, double clicking the outer part of the pop-up window to disappear, pressing the pop-up window for a long time to disappear, adding a closing button on the pop-up window, clicking the closing button to disappear, and the like. The scheme does not limit the scheme used when the pop-up window is closed.
When the user clicks on an elements displayed in the pop-up window, a selection prompt is displayed on the element, such as the circular element in FIG. 7, around which an aperture is displayed to indicate that it is selected.
In the copy mode, when a user drags an element out of a popup window, new elements are created (copied) to the position of the end of dragging, if the element is not dragged out of the popup window, the state before dragging is returned, and copy processing is not carried out.
When the user drags an element outside the popup in the mobile mode, new elements are created (copied) to the position where the dragging ends, while the elements of the area a are deleted, and the copy/mobile elements in the popup are deleted.
If the copying/moving operation is invalid, the element cannot be copied/moved, and the state of the element is th before the dragging is carried out.
Fig. 9 is an initial state diagram of types of left and right screens provided by the embodiment of the present invention, fig. 10 is a schematic diagram of a dragging process of types of copy elements provided by the embodiment of the present invention, fig. 11 is a schematic diagram of a result of types of copy elements provided by the embodiment of the present invention, and as shown in fig. 9-11, in a copy mode, a user drags a circular element to copy it into a right screen.
FIG. 12 is a diagram illustrating a dragging process of moving elements according to an embodiment of the present invention, FIG. 13 is a diagram illustrating results of moving elements according to an embodiment of the present invention, FIG. 9-FIG. 13 illustrate that a user drags a circle element and copies it into the right screen, and in a moving mode, the user drags the circle element and copies it into the right screen, it should be noted that in the moving mode, , once the element has moved and the movement is valid, the element on the left screen and the element in the pop-up window are cleared.
Fig. 2 to 13 describe the element adding method in detail according to the embodiment of the present application.
Referring to fig. 14, fig. 14 is a schematic structural diagram of kinds of element adding devices according to an embodiment of the present invention, and as shown in fig. 14, the element adding device includes:
an output unit 1401 for outputting a popup at a th area of an th window in response to an add instruction for a target element displayed in a second area of a second window;
a receiving unit 1402, configured to receive an operation instruction for the target element in the popup;
an adding unit 1403, configured to add, based on the operation instruction, an element in the second area of the second window to the th window.
Optionally, the receiving unit 1402 is specifically configured to:
receiving a copy instruction aiming at the target element in the popup window, and marking the target element by adopting an mode;
receiving a drag instruction for the marked target element;
the adding unit 1403 is specifically used for:
copying the target element into the th window based on the drag instruction.
Optionally, the adding unit 1403 is specifically configured to:
acquiring a dragging ending position of the dragging instruction;
if the drag end position is located outside the th area, copying the th element to the drag end position in the th window, and deleting the target element in the pop-up window.
Optionally, the receiving unit 1402 is specifically configured to:
receiving a moving instruction aiming at the target element in the popup window, and marking the target element by adopting a second mode;
receiving a drag instruction for the marked target element;
the adding unit 1403 is specifically used for:
based on the drag instruction, moving the target element into the th window, and deleting the target element in the second window and the target element in the popup window.
Optionally, the adding unit 1403 is specifically configured to:
acquiring a dragging ending position of the dragging instruction;
if the drag ending position is located outside the th area, moving the target element to the th window, and deleting the target element in the second window and the target element in the pop-up window.
Optionally, the adding unit 1403 is further configured to:
and if the drag ending position is located in the th area, not responding to the drag instruction.
Optionally, the adding instruction of the target element is triggered by inputting a long-press operation in the th area.
Optionally, an area ratio of the th area to the second area is a preset area ratio, and the popup displays the target element in the preset area ratio.
Optionally, the th region and the second region are both rectangular, the ratio of the length of the th region to the length of the second region is a preset length ratio, the ratio of the width of the th region to the width of the second region is the preset length ratio, and the popup window displays elements on the second region in the preset length ratio.
Optionally, the apparatus further comprises a closing unit. And the closing unit is used for responding to a closing instruction aiming at the pop-up window and closing the pop-up window.
"Unit" and "module" in this specification refer to software and/or hardware that can perform a particular function independently or in cooperation with other components, where the hardware may be, for example, an FPGA (Field Programmable Gate Array), an IC (Integrated Circuit), etc.
Each processing unit and/or module according to the embodiments of the present invention may be implemented by an analog circuit that implements the functions described in the embodiments of the present invention, or may be implemented by software that executes the functions described in the embodiments of the present invention.
Embodiments of the present invention also provide computer-readable storage media having stored thereon a computer program that, when executed by a processor, performs the steps of the above element adding method, wherein the computer-readable storage media may include, but is not limited to, any type of disk including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Referring to fig. 15, a schematic structural diagram of electronic devices according to an embodiment of the present invention is shown, where the electronic devices can be used to implement the element adding method provided in the above embodiment.
The memory 1520 may be used to store software programs and modules, and the processor 1580 performs various functional applications and data processing by executing the software programs and modules stored in the memory 1520, the memory 1520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required for at least functions, and the like, and the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like, and further, the memory 1520 may include a high-speed random access memory and may also include a nonvolatile memory, for example, at least disk storage devices, flash memory devices, or other volatile solid-state storage devices, and accordingly, the memory 1520 may also include a memory controller to provide the processor 1580 and the input unit 1530 with access to the memory 1520.
The input unit 1530 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 1530 may include a touch-sensitive surface 1531 (e.g., a touch screen, a touch pad, or a touch frame). The touch-sensitive surface 1531, also referred to as a touch display screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 1531 (e.g., operations by a user on or near the touch-sensitive surface 1531 using a finger, stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 1531 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1580, and can receive and execute commands sent by the processor 1580. In addition, the touch-sensitive surface 1531 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave.
The Display unit 1540 may be used to Display information input by or provided to a user, and various graphical user interfaces of a terminal device, which may be composed of graphics, text, icons, video, and any combination thereof, the Display unit 1540 may include a Display panel 1541, optionally, the Display panel 1541 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), and the like , the touch-sensitive surface 1531 may cover the Display panel 1541, and when the touch-sensitive surface 1531 detects a touch operation on or near the touch-sensitive surface 1531, the touch-sensitive surface 1531 may transmit the touch operation to the processor 1580 to determine the type of the touch event, and then the processor 1580 may provide a corresponding visual output on the Display panel 1541 according to the type of the touch event.
The processor 1580 is a control center of the terminal device, and connects various parts of the entire terminal device using various interfaces and lines, and performs overall monitoring of the terminal device by operating or executing software programs and/or modules stored in the memory 1520 and calling data stored in the memory 1520, thereby performing various functions of the terminal device and processing data, and optionally, the processor 1580 may include or more processing cores, wherein the processor 1580 may integrate an application processor, which mainly processes an operating system, a user interface, an application program, and the like, and a modem processor, which mainly processes wireless communication, it is understood that the modem processor may not be integrated into the processor 1580.
Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and or or more programs, where or or more programs are stored in the memory, and the or or more programs configured to be executed by or or more processors include steps for implementing the element adding method.
The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units into only logical functional divisions, and other divisions may be possible in actual practice, e.g., multiple units or components may be combined, or may be integrated into another systems, or features may be omitted or not executed.
All the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may be used as units individually, or two or more units may be integrated into units, where the integrated units may be implemented in the form of hardware, or in the form of hardware and software functional units.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1, element addition method, characterized in that the method comprises:
outputting a popup at a th area of an th window in response to an add instruction for a target element displayed in a second area of a second window, the popup being for displaying the target element;
receiving an operation instruction aiming at the target element in the popup window;
adding elements in a second region of the second window to the th window based on the operation instruction.
2. The method of claim 1, wherein receiving the operation instruction for popup comprises:
receiving a copy instruction aiming at the target element in the popup window, and marking the target element by adopting an mode;
receiving a drag instruction for the marked target element;
the adding, based on the operation instruction, elements in a second area of the second window to the th window includes:
copying the target element into the th window based on the drag instruction.
3. The method of claim 2, wherein the copying the target element into the th window based on the drag instruction comprises:
acquiring a dragging ending position of the dragging instruction;
if the drag end position is located outside the th area, copying the th element to the drag end position in the th window, and deleting the target element in the pop-up window.
4. The method of claim 1, wherein receiving an operation instruction for a popup; the method comprises the following steps:
receiving a moving instruction aiming at the target element in the popup window, and marking the target element by adopting a second mode;
receiving a drag instruction for the marked target element;
the adding, based on the operation instruction, elements in a second area of the second window to the th window includes:
based on the drag instruction, moving the target element into the th window, and deleting the target element in the second window and the target element in the popup window.
5. The method of claim 4, wherein the moving the target element into the th window and deleting the target element in the second window and the target element in the popup window based on the drag instruction comprises:
acquiring a dragging ending position of the dragging instruction;
if the drag ending position is located outside the th area, moving the target element to the th window, and deleting the target element in the second window and the target element in the pop-up window.
6. The method of claim 3 or 5, further comprising:
and if the drag ending position is located in the th area, not responding to the drag instruction.
7. The method according to claim 1, wherein the add instruction of the target element is triggered by inputting a long press operation in the th area.
8. The method of claim 1, wherein an area ratio of the th region to the second region is a preset area ratio, and the popup displays the target element at the preset area ratio.
9. The method of claim 1, wherein the th region and the second region are both rectangular in shape, the ratio of the length of the th region to the length of the second region is a preset length ratio, the ratio of the width of the th region to the width of the second region is the preset length ratio, and the popup window displays elements on the second region at the preset length ratio.
10. The method of claim 1, wherein after outputting the popup at a region of a th window, the method further comprises:
and responding to a closing instruction aiming at the popup window, and closing the popup window.
An element adding apparatus of kinds, characterized in that, said apparatus comprises:
an output unit, configured to output a popup at a th area of an th window in response to an add instruction for a target element displayed in a second area of a second window, the popup being used to display the target element;
a receiving unit, configured to receive an operation instruction for the target element in the popup;
an adding unit, configured to add, based on the operation instruction, an element in the second area of the second window to the th window.
12, computer storage medium, characterized in that the computer storage medium stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-10.
A terminal of comprising a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 10 to .
CN201910943327.5A 2019-09-30 2019-09-30 Element adding method and device and electronic equipment Active CN110737383B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910943327.5A CN110737383B (en) 2019-09-30 2019-09-30 Element adding method and device and electronic equipment
PCT/CN2019/125534 WO2021062948A1 (en) 2019-09-30 2019-12-16 Element adding method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943327.5A CN110737383B (en) 2019-09-30 2019-09-30 Element adding method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110737383A true CN110737383A (en) 2020-01-31
CN110737383B CN110737383B (en) 2021-06-18

Family

ID=69269879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943327.5A Active CN110737383B (en) 2019-09-30 2019-09-30 Element adding method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN110737383B (en)
WO (1) WO2021062948A1 (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754353A (en) * 2010-02-10 2012-10-24 三星电子株式会社 Mobile device with dual display units and method for providing a clipboard function using the dual display units
CN104423922A (en) * 2013-08-26 2015-03-18 夏普株式会社 Image display apparatus and data transfer method
CN104462033A (en) * 2013-09-16 2015-03-25 北京三星通信技术研究有限公司 Method and device for realizing editing operation among devices
CN104866182A (en) * 2015-02-16 2015-08-26 锤子软件(北京)有限公司 Movement method of picture data and mobile terminal
CN104932814A (en) * 2015-04-29 2015-09-23 萌宝信息技术(上海)有限公司 Data transmission method and system and electronic terminal
EP2527968B1 (en) * 2011-05-24 2017-07-05 LG Electronics Inc. Mobile terminal
CN106951220A (en) * 2016-01-06 2017-07-14 腾讯科技(深圳)有限公司 The method and apparatus of data processing
US20180348990A1 (en) * 2017-06-02 2018-12-06 Apple Inc. Providing a graphical canvas for handwritten input
CN109375890A (en) * 2018-09-17 2019-02-22 维沃移动通信有限公司 A kind of screen display method and Multi-screen electronic equipment
CN110007835A (en) * 2019-03-27 2019-07-12 维沃移动通信有限公司 A kind of method for managing object and mobile terminal
CN110134306A (en) * 2019-04-08 2019-08-16 努比亚技术有限公司 A kind of data sharing method, device and computer readable storage medium
CN110286991A (en) * 2019-06-30 2019-09-27 联想(北京)有限公司 A kind of information processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123078B (en) * 2014-08-12 2017-05-31 广州三星通信技术研究有限公司 The method and apparatus of input information
KR102427833B1 (en) * 2015-11-30 2022-08-02 삼성전자주식회사 User terminal device and method for display thereof
CN109857289B (en) * 2018-12-24 2021-01-08 维沃移动通信有限公司 Display control method and terminal equipment
CN109857291A (en) * 2018-12-26 2019-06-07 维沃移动通信有限公司 A kind of icon display method and terminal device
CN110221799A (en) * 2019-05-30 2019-09-10 维沃移动通信有限公司 A kind of control method, terminal and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754353A (en) * 2010-02-10 2012-10-24 三星电子株式会社 Mobile device with dual display units and method for providing a clipboard function using the dual display units
EP2527968B1 (en) * 2011-05-24 2017-07-05 LG Electronics Inc. Mobile terminal
CN104423922A (en) * 2013-08-26 2015-03-18 夏普株式会社 Image display apparatus and data transfer method
CN104462033A (en) * 2013-09-16 2015-03-25 北京三星通信技术研究有限公司 Method and device for realizing editing operation among devices
CN104866182A (en) * 2015-02-16 2015-08-26 锤子软件(北京)有限公司 Movement method of picture data and mobile terminal
CN104932814A (en) * 2015-04-29 2015-09-23 萌宝信息技术(上海)有限公司 Data transmission method and system and electronic terminal
CN106951220A (en) * 2016-01-06 2017-07-14 腾讯科技(深圳)有限公司 The method and apparatus of data processing
US20180348990A1 (en) * 2017-06-02 2018-12-06 Apple Inc. Providing a graphical canvas for handwritten input
CN109375890A (en) * 2018-09-17 2019-02-22 维沃移动通信有限公司 A kind of screen display method and Multi-screen electronic equipment
CN110007835A (en) * 2019-03-27 2019-07-12 维沃移动通信有限公司 A kind of method for managing object and mobile terminal
CN110134306A (en) * 2019-04-08 2019-08-16 努比亚技术有限公司 A kind of data sharing method, device and computer readable storage medium
CN110286991A (en) * 2019-06-30 2019-09-27 联想(北京)有限公司 A kind of information processing method and device

Also Published As

Publication number Publication date
WO2021062948A1 (en) 2021-04-08
CN110737383B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
JP6264293B2 (en) Display control apparatus, display control method, and program
CN109074276B (en) Tab in system task switcher
KR102052771B1 (en) Cross-slide gesture to select and rearrange
US9405463B2 (en) Device and method for gesturally changing object attributes
US9292161B2 (en) Pointer tool with touch-enabled precise placement
KR101701492B1 (en) Terminal and method for displaying data thereof
EP2701054A2 (en) Method and apparatus for constructing a home screen in a terminal having a touch screen
US20120266079A1 (en) Usability of cross-device user interfaces
US9665177B2 (en) User interfaces and associated methods
JP2015519671A (en) Touch screen misoperation prevention method, touch screen, mobile terminal, program, and recording medium
US11435870B2 (en) Input/output controller and input/output control program
KR20140031254A (en) Method for selecting an element of a user interface and device implementing such a method
WO2021203724A1 (en) Handwriting selection method and apparatus, and computer device and storage medium
US20130169570A1 (en) Electronic equipment, storage medium and deletion controlling method
CN108694012B (en) Method and system for displaying objects on screen
EP3896558A1 (en) Method and apparatus for displaying content, and terminal and storage medium
KR102205283B1 (en) Electro device executing at least one application and method for controlling thereof
EP2770419A2 (en) Method and electronic device for displaying virtual keypad
US20140101587A1 (en) Information processing apparatus and method
JP2014071724A (en) Electronic apparatus, control method, and control program
KR101421369B1 (en) Terminal setting touch lock layer and method thereof
JP5995206B2 (en) Information processing device
US20130167054A1 (en) Display apparatus for releasing locked state and method thereof
US20140380188A1 (en) Information processing apparatus
US20150062038A1 (en) Electronic device, control method, and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant