CN107844226B - Method and device for switching text contents between different interfaces - Google Patents

Method and device for switching text contents between different interfaces Download PDF

Info

Publication number
CN107844226B
CN107844226B CN201610834963.0A CN201610834963A CN107844226B CN 107844226 B CN107844226 B CN 107844226B CN 201610834963 A CN201610834963 A CN 201610834963A CN 107844226 B CN107844226 B CN 107844226B
Authority
CN
China
Prior art keywords
interface
note
text content
target
user
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.)
Active
Application number
CN201610834963.0A
Other languages
Chinese (zh)
Other versions
CN107844226A (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.)
Wuhan Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201610834963.0A priority Critical patent/CN107844226B/en
Publication of CN107844226A publication Critical patent/CN107844226A/en
Application granted granted Critical
Publication of CN107844226B publication Critical patent/CN107844226B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for switching text contents among different interfaces, wherein the method comprises the following steps: on a first editing interface, obtaining the text content selected by a user; responding to a first preset operation of the user on the selected text content, and switching to a second editing interface; and on a second editing interface, responding to a second preset operation of the user on the selected text content, and moving the selected text content to an editable area in the second editing interface and storing the selected text content. The embodiment can quickly realize the text content switching between two different interfaces, and improves the user experience.

Description

Method and device for switching text contents between different interfaces
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a device for switching text contents between different interfaces.
Background
In real life, most mobile terminals have a calendar APP (Application) and a note APP.
A calendar interface in the calendar APP typically has a date area for displaying date points (defining the date points as operation keys indicating dates) and a schedule entry area located below the date area and associated with the corresponding date points, and includes a plurality of editable schedule entries in which a user can input schedule information (the schedule information is associated with the date points), such as a return to home in mid-autumn festival, a wedding, and the like.
A note area is arranged on a note interface in the note APP, a plurality of editable notes are arranged in the note area, and a user can input schedule information in the notes so as to be convenient for the user to record and view, such as travel accompanying children and the like.
In the prior art, an APP integrating two functions of a note APP and a calendar APP exists, but the APP divides the note APP and the calendar APP into two different functional modules. For example, if a user wants to switch the text content in the note, such as the schedule information, to a schedule entry at a certain date point in the calendar, the user first opens the note interface, copies or cuts the schedule information in the corresponding note, then opens the calendar interface, creates a new schedule entry at the corresponding date point, and then pastes the schedule information in the schedule entry. Therefore, when the user switches the text content between the note interface and the calendar interface, the process is too complicated, and the user experience is reduced.
Disclosure of Invention
The invention aims to provide a method and a device for switching text contents between different interfaces, which can quickly realize the conversion of the text contents between different interfaces.
In order to achieve the above object, an embodiment of the present invention provides a method for switching text contents between different interfaces, where the method includes:
on a first editing interface, obtaining the text content selected by a user;
responding to a first preset operation of the user on the selected text content, and switching to a second editing interface;
and on a second editing interface, responding to a second preset operation of the user on the selected text content, and moving the selected text content to an editable area in the second editing interface and storing the selected text content.
Preferably, the first editing interface is a note interface; the second editing interface is a calendar interface;
the step of obtaining the text content selected by the user on the first editing interface comprises the following steps: obtaining a target note selected by a user on a note interface;
the step of switching to a second editing interface in response to a first preset operation of the user on the selected text content includes:
on the note interface, responding to a first preset operation of a user on the target note, and switching to a calendar interface;
the step of moving the selected text content to an editable area in the second editing interface and storing the selected text content on the second editing interface in response to a second preset operation of the user on the selected text content comprises the following steps:
and on the calendar interface, responding to a second preset operation of the user on the target note, and moving the text content in the target note to an editable area in the calendar interface and storing the text content.
Preferably, the step of switching to the calendar interface in response to a first preset operation of the user on the target note on the note interface includes:
on a note interface, responding to the dragging operation of a user on a target note, displaying the target note in a first floating window mode, and moving the target note along with a dragging point; the dragging point is a touch point operated by the user;
and switching to a calendar interface after detecting that the dragging point moves to a first preset area on the note interface.
Preferably, the step of moving and saving the text content in the target note to an editable area in the calendar interface in response to a second preset operation of the user on the target note on the calendar interface includes:
when the dragging point is detected to move to a second preset area on the calendar interface, in response to the dragging operation of releasing the target note, cutting the text content in the target note to a cutting plate, and pasting the text content to a schedule item area associated with the target date point; wherein the second predetermined area is a threshold range area from the target date point or a schedule item area associated with the target date point; the target date point is any date point in the date area.
Preferably, after the step of switching to a calendar interface after detecting that the drag point moves to the first predetermined area on the note interface, the method further comprises:
when the dragging point is detected to move to the date area, executing preset processing on the target note; the preset treatment comprises the following steps: increasing the transparency of the target note and/or decreasing the size of the target note.
Preferably, the method further comprises:
responding to a first gesture operation of a user on the target date point, and displaying a second floating window at a preset position;
and displaying the text content in the second floating window.
Preferably, the first editing interface is a calendar interface; the second editing interface is a note interface;
the step of obtaining the text content selected by the user on the first editing interface comprises the following steps: obtaining a target schedule item selected by a user on a calendar interface;
the step of switching to a second editing interface in response to a first preset operation of the user on the selected text content includes:
on the calendar interface, responding to a first preset operation of a user on a target schedule item, and switching to a note interface;
the step of moving the selected text content to an editable area in the second editing interface and storing the selected text content on the second editing interface in response to a second preset operation of the user on the selected text content comprises the following steps:
and on the note interface, responding to a second preset operation of the user on the target schedule item, and moving the text content in the target schedule item to an editable area in the note interface and storing the text content.
Preferably, the step of switching to the note interface in response to the first preset operation of the user on the target schedule entry on the calendar interface includes:
on a calendar interface, responding to the dragging operation of a user on the target schedule item, displaying the target schedule item in a third floating window mode, and moving the target schedule item along with a dragging point; the dragging point is a touch point operated by the user;
and switching to a note interface after the dragging point is detected to move to a third preset area on the calendar interface.
Preferably, the step of moving and saving the text content in the target schedule item to an editable area in the note interface in response to a second preset operation of the user on the target schedule item on the note interface includes:
and when the dragging point is detected to move to the note area on the note interface, responding to the releasing dragging operation of the target schedule item, cutting the text content to a cutting plate, and pasting the text content to the note area.
The embodiment of the invention also provides a device for switching the text content among different interfaces, which comprises:
the text content acquisition module is used for acquiring text contents selected by a user on the first editing interface;
the editing interface switching module is used for responding to a first preset operation of a user on the selected text content and switching to a second editing interface;
and the text content switching module is used for responding to a second preset operation of the user on the selected text content on a second editing interface, and moving the selected text content to an editable area in the second editing interface and storing the selected text content.
Preferably, the first editing interface is a note interface; the second editing interface is a calendar interface;
the text content acquisition module is specifically used for acquiring a target note selected by a user on a note interface;
the editing interface switching module is specifically used for responding to a first preset operation of a user on a target note and switching to a calendar interface on the note interface;
the text content switching module is specifically configured to, on the calendar interface, respond to a second preset operation of the user on the target note, move and store text content in the target note to an editable area in the calendar interface.
Preferably, the editing interface switching module includes:
the target note moving unit is used for responding to the dragging operation of a user on the target note on the note interface, displaying the target note in a first floating window mode and moving the target note along with a dragging point; the dragging point is a touch point operated by the user;
and the calendar interface switching unit is used for switching to the calendar interface after detecting that the dragging point moves to the first preset area on the note interface.
Preferably, the text content switching module is specifically configured to, after detecting that the drag point moves to a second predetermined area on the calendar interface, respond to a drag operation of releasing the target note, cut text content in the target note to a clipboard, and paste the text content to a schedule entry area associated with the target date point; wherein the second predetermined area is a threshold range area from the target date point or a schedule item area associated with the target date point; the target date point is any date point in the date area.
Preferably, the apparatus further comprises:
the processing module is used for executing preset processing on the target note after the dragging point is detected to move to the date area; the preset treatment comprises the following steps: increasing the transparency of the target note and/or decreasing the size of the target note.
Preferably, the apparatus further comprises:
the second floating window display module is used for responding to the first gesture operation of the user on the target date point and displaying a second floating window at a preset position;
and the text content display module is used for displaying the text content in the second floating window.
Preferably, the first editing interface is a calendar interface; the second editing interface is a note interface;
the text content acquisition module is specifically used for acquiring a target schedule item selected by a user on a calendar interface;
the editing interface switching module is specifically used for responding to a first preset operation of a user on a target schedule item on a calendar interface and switching to a note interface;
the text content switching module is specifically configured to, on the note interface, respond to a second preset operation of the user on the target schedule entry, move and store text content in the target schedule entry to an editable area in the note interface.
Preferably, the editing interface switching module includes:
the target schedule item display unit is used for responding to the dragging operation of a user on the target schedule item on a calendar interface, displaying the target schedule item in a third floating window mode and moving the target schedule item along with a dragging point; the dragging point is a touch point operated by the user;
and the note interface switching unit is used for switching to a note interface after the fact that the dragging point moves to a third preset area on the calendar interface is detected.
Preferably, the text content switching module is specifically configured to, after detecting that the drag point moves to the note area on the note interface, respond to a release drag operation on the target schedule item, cut the text content to a clipboard, and paste the text content to the note area.
According to the method and the device for switching the text contents between different interfaces, provided by the embodiment of the invention, in the prior art, after the text contents on one editing interface need to be cut by a user, the other editing interface is opened, and then the text contents are pasted, so that the operation is relatively complicated; in the embodiment, the text content on the first editing interface is moved to the second editing interface by the interface switching method, so that the text content switching between two different interfaces can be quickly realized, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a first flowchart of a method for switching text content between different interfaces according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for switching text content between different interfaces according to an embodiment of the present invention;
fig. 3 is a third flowchart of a method for switching text content between different interfaces according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for switching text content between different interfaces according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
As shown in fig. 1, a first flowchart of a method for switching text content between different interfaces according to an embodiment of the present invention is applicable to a mobile phone, a tablet computer, and other terminal devices. The method comprises the following steps:
and S110, acquiring the text content selected by the user on the first editing interface.
Specifically, the first editing interface includes, but is not limited to, a calendar interface or a note interface, and the text content includes, but is not limited to, schedule information in a schedule entry of the calendar interface and schedule information in a note on the note interface. The user can select the text content by clicking, double clicking or long pressing, and when the terminal device senses the pressing mode of the user, the corresponding text content is obtained, and the specific obtaining mode is the prior art and is not described herein any more.
And S120, responding to the first preset operation of the user on the selected text content, and switching to a second editing interface.
In this embodiment, the second editing interface and the first editing interface are different editing interfaces. For example, when the first editing interface is a calendar interface, the second editing interface may be a notes interface; when the first editing interface is a notes interface, the second editing interface may be a calendar interface.
The first preset operation may be an operation of a user dragging text content to a certain specific area, for example: dragging to the edge of the interface can also be an operation of clicking, double-clicking, right sliding or left sliding and the like on the text content for the user. And when the mobile terminal detects a first preset operation of a user, switching the current first editing interface to a second editing interface.
In this embodiment, a specific method for implementing the handover may be: the second editing interface and the first editing interface are in the same application software, after the application software is started, one interface of the second editing interface and the first editing interface is on the upper layer, the other interface is on the lower layer, and after a user performs a first preset operation on the selected text content, the two interfaces are exchanged with the upper layer and the lower layer to realize interface switching.
And S130, on a second editing interface, responding to a second preset operation of the user on the selected text content, moving the selected text content to an editable area in the second editing interface and storing the selected text content.
Specifically, the second preset operation may be a release drag operation after dragging the selected text to an editable area in the second editing interface, or may be a click or double-click on the editable area in the second editing interface. The specific method of moving the selected text content to the editable area in the second editing interface and saving the selected text content can be realized by cutting and pasting the text content.
For example, on the first editing interface, after the user drags the selected text content to the interface edge, the terminal automatically switches to the second editing interface, the user drags the selected text content to the editable area in the second editing interface and releases the dragging, the selected text content is automatically cut to the clipboard by the terminal, and the text content is automatically pasted to the editable area.
On the first editing interface, after the user double-clicks the text content, the selected text content is automatically cut to a cutting board by the terminal and is switched to a second editing interface; and the user double-clicks the editable area in the second editing interface, and the text content is automatically pasted to the editable area by the terminal.
According to the method for switching the text contents between different interfaces, provided by the embodiment of the invention, in the prior art, after the text contents on one editing interface need to be cut by a user, the other editing interface is opened, and then the text contents are pasted, so that the operation is complicated; in the embodiment, the text content on the first editing interface is moved to the second editing interface by the interface switching method, so that the text content switching between two different interfaces can be quickly realized, and the user experience is improved.
In order to facilitate understanding of a specific switching method of text contents between different interfaces, in this embodiment, the first editing interface is defined as a note interface, and the second editing interface is defined as a calendar interface.
As shown in fig. 2, a second flowchart of a method for switching text content between different interfaces according to an embodiment of the present invention is provided, where the method includes:
s210, obtaining the target note selected by the user on the note interface.
In this embodiment, step S210 is a specific implementation manner of step S110.
Specifically, the target note is defined as any one note in a note area on the note interface, the text content in the target note is schedule information, and the schedule information is also selected when the user selects the target note.
S220, on the note interface, responding to a first preset operation of the user on the target note, and switching to the calendar interface.
In this embodiment, step S220 is a specific implementation manner of step S120, and step S220 includes:
a1, responding to the drag operation of a user on a target note on a note interface, displaying the target note in the form of a first floating window, and moving the target note along with a drag point; the dragging point is a touch point operated by the user.
Specifically, after the user selects the target note, the target note is dragged, and the dragging point is a touch point of the user dragging operation, namely a contact point between a finger of the user and the mobile terminal.
And when the mobile terminal detects the dragging operation of the user, displaying the target note in a floating window (defined as a first floating window) mode, and following the moving target note of the dragging point. In this embodiment, the specific moving method of the target note is the prior art, and is not described herein again.
And A2, switching to a calendar interface after detecting that the dragging point moves to the first preset area on the note interface.
Specifically, the first predetermined area may be a boundary area of the note interface or a function area preset on the note interface, where the function area is used to switch to the calendar interface. For example, when the mobile terminal detects that the drag point moves to the boundary area of the note interface, the note interface is switched to the calendar interface. Specifically, the switching manner is as described in the content of step S120.
And S230, responding to a second preset operation of the user on the target note on the calendar interface, moving the text content in the target note to an editable area in the calendar interface and storing the text content.
In this embodiment, step S230 is a specific implementation manner of step S130, and step S230 includes:
and after the dragging point is detected to move to a second preset area on the calendar interface, responding to the releasing dragging operation of the target note, cutting the text content in the target note to a cutting plate, and pasting the text content to a schedule item area associated with the target date point.
Specifically, the target date point is any one of date points in a date area on the calendar interface, and the second predetermined area may be a threshold range area from the target date point or a schedule entry area associated with the target date point. For example, a region inside a circle having a radius of 1mm with the target date point as the center may be set as the threshold range region from the target date point.
When the dragging point moves to a threshold range area away from the target date point or a schedule item area associated with the target date point, the user releases the dragging operation, the terminal device cuts schedule information in the target note to the cutting board and pastes the schedule information to the schedule item area associated with the target date point, and at the moment, when the user clicks the date point, the schedule item area can display the schedule information.
Since the target note has a certain size and is non-transparent, in the dragging process, the target note may block the date point in the date area, and the user cannot conveniently and quickly find the date point to be dragged, in order to solve the problem, after step S220, the method further includes:
when the dragging point is detected to move to the date area, executing preset processing on the target note; the preset treatment comprises the following steps: increasing the transparency of the target note and/or decreasing the size of the target note.
Specifically, after the drag point is moved to the date area, the mobile terminal may reduce the shielding effect of the target note by increasing the transparency of the target note and/or reducing the size of the target note. For example, the target note may be set to be completely transparent and/or the size of the target schedule entry may be set to be very small (e.g., smaller than the size of the finger tip of the user), so that the target note cannot obstruct the view of the user, and the user can conveniently and quickly find the date point to be dragged, thereby increasing the user experience.
In practical operation, in order to conveniently remind the user of the schedule, the method further comprises:
b1, responding to the first gesture operation of the user on the target date point, and displaying a second floating window at a preset position;
and B2, displaying the text content in the second floating window.
Specifically, the first gesture operation may be a long press, a click, a heavy press, or the like. The second preset position may be a position directly above the target date point or a position such as an upper right corner or an upper left corner of the screen of the mobile terminal. For example, after the schedule information in the target note moves to the associated schedule entry area of the target date, the user presses the target date point, a floating window (defined as a second floating window) can be displayed right above the target date point, and the schedule information is displayed in the second floating window, so as to conveniently remind the user of the schedule.
According to the method for switching the text contents between different interfaces, the text contents in the note can be quickly switched from the note interface to the calendar interface, and the user experience is improved.
Preferably, in this embodiment, the first editing interface is defined as a calendar interface, and the second editing interface is defined as a note interface. As shown in fig. 3, a third flowchart of a method for switching text content between different interfaces according to an embodiment of the present invention is shown, where the method includes:
s310, obtaining the target schedule item selected by the user on the calendar interface.
In this embodiment, step S310 is a specific implementation manner of step S110.
Specifically, a target schedule entry is defined as any one of schedule entries in a schedule entry area on a calendar interface, text content in the target schedule entry is schedule information, and the schedule information is also selected when a user selects the target schedule entry.
And S320, responding to the first preset operation of the user on the target schedule item on the calendar interface, and switching to a note interface.
In this embodiment, step S320 is a specific implementation manner of step S120, and step S320 includes:
c1, responding to the dragging operation of the target schedule item by the user on the calendar interface, displaying the target schedule item in a third floating window mode, and moving the target schedule item along with a dragging point; the dragging point is a touch point operated by the user.
Specifically, after the user selects a target schedule item, the target schedule item is dragged, and after the mobile terminal detects the dragging operation of the user, the target note is displayed in the form of a floating window (defined as a third floating window), and the target schedule item is moved along with a dragging point.
C2, when the drag point is detected to move to a third preset area on the calendar interface, switching to a note interface.
Specifically, the third predetermined area may be a boundary area of the calendar interface or a function area preset on the calendar interface, and the function area is used for switching to the note interface. For example, when the mobile terminal detects that the drag point moves to the boundary area of the calendar interface, the calendar interface is switched to the note interface. Specifically, the switching manner is as described in the content of step S120.
S330, responding to a second preset operation of the user on the target schedule item on the note interface, moving the text content in the target schedule item to an editable area in the note interface and storing the text content.
In this embodiment, step S330 is a specific implementation manner of step S130, and step S330 includes:
and when the dragging point is detected to move to the note area on the note interface, responding to the releasing dragging operation of the target schedule item, cutting the text content to a cutting plate, and pasting the text content to the note area.
In this embodiment, the text content in the target schedule entry is schedule information in the target schedule entry, and the editable area in the note interface is a note area.
Specifically, after the drag point moves to the note area on the note interface, the user releases the drag, the terminal device detects the operation of releasing the drag, cuts the schedule information in the target schedule entry to the cutting board, and pastes the schedule information to the note area, and at this time, the schedule information is displayed in the note area in the form of a note.
According to the method for switching the text contents between different interfaces, the text contents in the schedule items are quickly switched from the calendar interface to the note interface, and the user experience is improved.
Example two
As shown in fig. 4, which is a schematic structural diagram of a device for switching text content between different interfaces according to an embodiment of the present invention, the device may be used to execute the method shown in fig. 1, and the device includes:
a text content obtaining module 410, configured to obtain text content selected by a user on a first editing interface;
the editing interface switching module 420 is configured to switch to a second editing interface in response to a first preset operation of the user on the selected text content;
and the text content switching module 430 is configured to, on a second editing interface, respond to a second preset operation performed by the user on the selected text content, move the selected text content to an editable area in the second editing interface, and store the selected text content.
According to the device for switching the text contents between different interfaces, provided by the embodiment of the invention, in the prior art, after the text contents on one editing interface need to be cut by a user, the other editing interface is opened, and then the text contents are pasted, so that the operation is complicated; in the embodiment, the text content on the first editing interface is moved to the second editing interface by the interface switching method, so that the text content switching between two different interfaces can be quickly realized, and the user experience is improved.
Preferably, when the first editing interface is a note interface and the second editing interface is a calendar interface, the apparatus shown in fig. 4 may further perform the method shown in fig. 2.
The text content obtaining module 410 is specifically configured to obtain a target note selected by a user on a note interface;
the editing interface switching module 420 is specifically configured to, on the note interface, respond to a first preset operation of the user on the target note, switch to the calendar interface;
the text content switching module 430 is specifically configured to, on the calendar interface, respond to a second preset operation of the user on the target note, move and store text content in the target note to an editable area in the calendar interface.
Preferably, the editing interface switching module 430 includes:
the target note moving unit is used for responding to the dragging operation of a user on the target note on the note interface, displaying the target note in a first floating window mode and moving the target note along with a dragging point; the dragging point is a touch point operated by the user;
and the calendar interface switching unit is used for switching to the calendar interface after detecting that the dragging point moves to the first preset area on the note interface.
Preferably, the text switching module 430 is specifically configured to, after detecting that the drag point moves to a second predetermined area on the calendar interface, in response to a drag operation of releasing the target note, cut text in the target note to a clipboard, and paste the text to a schedule entry area associated with a target date point; wherein the second predetermined area is a threshold range area from the target date point or a schedule item area associated with the target date point; the target date point is any date point in the date area.
Preferably, the apparatus further comprises:
the processing module is used for executing preset processing on the target note after the dragging point is detected to move to the date area; the preset treatment comprises the following steps: increasing the transparency of the target note and/or decreasing the size of the target note.
Preferably, the apparatus further comprises:
the second floating window display module is used for responding to the first gesture operation of the user on the target date point and displaying a second floating window at a preset position;
and the text content display module is used for displaying the text content in the second floating window.
The implementation provides a switching device of literal content between different interfaces, has realized the quick conversion of the literal content in the note from the note interface to the calendar interface, has improved user's experience.
Preferably, when the first editing interface is a calendar interface and the second editing interface is a note interface, the apparatus shown in fig. 4 may further perform the method shown in fig. 3.
The text content obtaining module 410 is specifically configured to obtain a target schedule entry selected by a user on a calendar interface;
the editing interface switching module 420 is specifically configured to, on the calendar interface, respond to a first preset operation of a user on a target schedule entry, and switch to a note interface;
the text content switching module 430 is specifically configured to, on the note interface, respond to a second preset operation of the user on the target schedule entry, move the text content in the target schedule entry to an editable area in the note interface and store the text content.
Preferably, the editing interface switching module 420 includes:
the target schedule item display unit is used for responding to the dragging operation of a user on the target schedule item on a calendar interface, displaying the target schedule item in a third floating window mode and moving the target schedule item along with a dragging point; the dragging point is a touch point operated by the user;
and the note interface switching unit is used for switching to a note interface after the fact that the dragging point moves to a third preset area on the calendar interface is detected.
Preferably, the text switching module 430 is specifically configured to, after detecting that the drag point moves to the note area on the note interface, respond to a release drag operation on the target schedule entry, cut the text to a clipboard, and paste the text to the note area.
The implementation provides a switching device of literal content between different interfaces, has realized the quick conversion of the literal content in the schedule entry from the calendar interface to the memo interface, has improved user's experience.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (18)

1. A method for switching text contents between different interfaces is characterized by comprising the following steps:
on a first editing interface, obtaining the text content selected by a user;
responding to a first preset operation of the user on the selected text content, and switching to a second editing interface; the second editing interface and the first editing interface are in the same application software; one interface of the second editing interface and the first editing interface is positioned at an upper layer, and the other interface is positioned at a lower layer; after the first preset operation is executed on the selected text content, the two interfaces exchange an upper layer and a lower layer to realize interface switching;
on a second editing interface, responding to a second preset operation of a user on selected text content, moving the selected text content to an editable area in the second editing interface and storing the selected text content;
on a second editing interface, in response to a second preset operation of a user on selected text content, moving the selected text content to an editable area in the second editing interface and storing the selected text content, including:
and after the dragging point is detected to move to the editable area on the second editing interface, responding to the release dragging operation of the user on the selected text content, cutting the selected text content to a cutting plate, pasting the selected text content to the editable area in the second editing interface, and storing the selected text content.
2. The method of claim 1, wherein the first editing interface is a notes interface; the second editing interface is a calendar interface;
the step of obtaining the text content selected by the user on the first editing interface comprises the following steps: obtaining a target note selected by a user on a note interface;
the step of switching to a second editing interface in response to a first preset operation of the user on the selected text content includes:
on the note interface, responding to a first preset operation of a user on the target note, and switching to a calendar interface;
the step of moving the selected text content to an editable area in the second editing interface and storing the selected text content on the second editing interface in response to a second preset operation of the user on the selected text content comprises the following steps:
and on the calendar interface, responding to a second preset operation of the user on the target note, and moving the text content in the target note to an editable area in the calendar interface and storing the text content.
3. The method according to claim 2, wherein the step of switching to the calendar interface in response to a first preset operation of the user on the target note on the note interface comprises:
on a note interface, responding to the dragging operation of a user on a target note, displaying the target note in a first floating window mode, and moving the target note along with a dragging point; the dragging point is a touch point operated by the user;
and switching to a calendar interface after detecting that the dragging point moves to a first preset area on the note interface.
4. The method according to claim 3, wherein the step of moving and saving the text content in the target note to an editable area in the calendar interface in response to the second preset operation of the user on the target note on the calendar interface comprises:
when the dragging point is detected to move to a second preset area on the calendar interface, in response to the dragging operation of releasing the target note, cutting the text content in the target note to a cutting plate, and pasting the text content to a schedule item area associated with the target date point; wherein the second predetermined area is a threshold range area from the target date point or a schedule item area associated with the target date point; the target date point is any date point in the date area.
5. The method of claim 3, wherein after the step of switching to a calendar interface upon detecting the drag point moving to the first predetermined area on the note interface, the method further comprises:
when the dragging point is detected to move to the date area, executing preset processing on the target note; the preset treatment comprises the following steps: increasing the transparency of the target note and/or decreasing the size of the target note.
6. The method of claim 4, further comprising:
responding to a first gesture operation of a user on the target date point, and displaying a second floating window at a preset position;
and displaying the text content in the second floating window.
7. The method of claim 1, wherein the first editing interface is a calendar interface; the second editing interface is a note interface;
the step of obtaining the text content selected by the user on the first editing interface comprises the following steps: obtaining a target schedule item selected by a user on a calendar interface;
the step of switching to a second editing interface in response to a first preset operation of the user on the selected text content includes:
on the calendar interface, responding to a first preset operation of a user on a target schedule item, and switching to a note interface;
the step of moving the selected text content to an editable area in the second editing interface and storing the selected text content on the second editing interface in response to a second preset operation of the user on the selected text content comprises the following steps:
and on the note interface, responding to a second preset operation of the user on the target schedule item, and moving the text content in the target schedule item to an editable area in the note interface and storing the text content.
8. The method according to claim 7, wherein the step of switching to the note interface in response to the first preset operation of the user on the target schedule item on the calendar interface comprises:
on a calendar interface, responding to the dragging operation of a user on the target schedule item, displaying the target schedule item in a third floating window mode, and moving the target schedule item along with a dragging point; the dragging point is a touch point operated by the user;
and switching to a note interface after the dragging point is detected to move to a third preset area on the calendar interface.
9. The method according to claim 8, wherein the step of moving and saving the text content in the target schedule item to an editable area in the note interface in response to the second preset operation of the user on the target schedule item on the note interface comprises:
and when the dragging point is detected to move to the note area on the note interface, responding to the releasing dragging operation of the target schedule item, cutting the text content to a cutting plate, and pasting the text content to the note area.
10. A device for switching text contents between different interfaces is characterized in that the device comprises:
the text content acquisition module is used for acquiring text contents selected by a user on the first editing interface;
the editing interface switching module is used for responding to a first preset operation of a user on the selected text content and switching to a second editing interface; the second editing interface and the first editing interface are in the same application software; one interface of the second editing interface and the first editing interface is positioned at an upper layer, and the other interface is positioned at a lower layer; after the first preset operation is executed on the selected text content, the two interfaces exchange an upper layer and a lower layer to realize interface switching;
the text content switching module is used for responding to a second preset operation of a user on the selected text content on a second editing interface, moving the selected text content to an editable area in the second editing interface and storing the selected text content;
the text content switching module is specifically configured to:
and after the dragging point is detected to move to the editable area on the second editing interface, responding to the release dragging operation of the user on the selected text content, cutting the selected text content to a cutting plate, pasting the selected text content to the editable area in the second editing interface, and storing the selected text content.
11. The apparatus of claim 10, wherein the first editing interface is a notes interface; the second editing interface is a calendar interface;
the text content acquisition module is specifically used for acquiring a target note selected by a user on a note interface;
the editing interface switching module is specifically used for responding to a first preset operation of a user on a target note and switching to a calendar interface on the note interface;
the text content switching module is specifically configured to, on the calendar interface, respond to a second preset operation of the user on the target note, move and store text content in the target note to an editable area in the calendar interface.
12. The apparatus of claim 11, wherein the editing interface switching module comprises:
the target note moving unit is used for responding to the dragging operation of a user on the target note on the note interface, displaying the target note in a first floating window mode and moving the target note along with a dragging point; the dragging point is a touch point operated by the user;
and the calendar interface switching unit is used for switching to the calendar interface after detecting that the dragging point moves to the first preset area on the note interface.
13. The apparatus of claim 12,
the text content switching module is specifically configured to, after it is detected that the drag point moves to a second predetermined area on the calendar interface, respond to a drag release operation on the target note, cut text content in the target note to a clipboard, and paste the text content to a schedule entry area associated with a target date point; wherein the second predetermined area is a threshold range area from the target date point or a schedule item area associated with the target date point; the target date point is any date point in the date area.
14. The apparatus of claim 12, further comprising:
the processing module is used for executing preset processing on the target note after the dragging point is detected to move to the date area; the preset treatment comprises the following steps: increasing the transparency of the target note and/or decreasing the size of the target note.
15. The apparatus of claim 13, further comprising:
the second floating window display module is used for responding to the first gesture operation of the user on the target date point and displaying a second floating window at a preset position;
and the text content display module is used for displaying the text content in the second floating window.
16. The apparatus of claim 10, wherein the first editing interface is a calendar interface; the second editing interface is a note interface;
the text content acquisition module is specifically used for acquiring a target schedule item selected by a user on a calendar interface;
the editing interface switching module is specifically used for responding to a first preset operation of a user on a target schedule item on a calendar interface and switching to a note interface;
the text content switching module is specifically configured to, on the note interface, respond to a second preset operation of the user on the target schedule entry, move and store text content in the target schedule entry to an editable area in the note interface.
17. The apparatus of claim 16, wherein the editing interface switching module comprises:
the target schedule item display unit is used for responding to the dragging operation of a user on the target schedule item on a calendar interface, displaying the target schedule item in a third floating window mode and moving the target schedule item along with a dragging point; the dragging point is a touch point operated by the user;
and the note interface switching unit is used for switching to a note interface after the fact that the dragging point moves to a third preset area on the calendar interface is detected.
18. The apparatus of claim 17,
the text content switching module is specifically configured to, after detecting that the dragging point moves to a note area on the note interface, respond to a release dragging operation on the target schedule item, cut the text content to a cutting board, and paste the text content to the note area.
CN201610834963.0A 2016-09-19 2016-09-19 Method and device for switching text contents between different interfaces Active CN107844226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610834963.0A CN107844226B (en) 2016-09-19 2016-09-19 Method and device for switching text contents between different interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610834963.0A CN107844226B (en) 2016-09-19 2016-09-19 Method and device for switching text contents between different interfaces

Publications (2)

Publication Number Publication Date
CN107844226A CN107844226A (en) 2018-03-27
CN107844226B true CN107844226B (en) 2021-06-04

Family

ID=61656672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610834963.0A Active CN107844226B (en) 2016-09-19 2016-09-19 Method and device for switching text contents between different interfaces

Country Status (1)

Country Link
CN (1) CN107844226B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023246046A1 (en) * 2022-06-20 2023-12-28 聚好看科技股份有限公司 Display device, and control method for display device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289280A (en) * 2010-06-21 2011-12-21 腾讯科技(深圳)有限公司 Information input method, information input device and information input tool
CN103309850A (en) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 Content editing method, content editing device and terminal
WO2014084588A1 (en) * 2012-11-28 2014-06-05 주식회사 영림원소프트랩 User interface of mobile device for providing quick schedule registration having human factor
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
WO2015072622A1 (en) * 2013-11-15 2015-05-21 주식회사 데이투라이프 Device and method for controlling displaying of user plan for inputting schedule in calendar
CN105100372A (en) * 2014-04-29 2015-11-25 北京壹人壹本信息科技有限公司 Conference recording method and mobile terminal
CN105607807A (en) * 2015-12-22 2016-05-25 惠州Tcl移动通信有限公司 Mobile terminal based text processing method and system
WO2016085139A1 (en) * 2014-11-25 2016-06-02 엘지전자(주) Mobile terminal and method for controlling same

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120062297A (en) * 2010-12-06 2012-06-14 삼성전자주식회사 Display apparatus and user interface providing method thereof
US20120210201A1 (en) * 2011-02-11 2012-08-16 Samsung Electronics Co., Ltd. Operation method for memo function and portable terminal supporting the same
JP5308509B2 (en) * 2011-04-15 2013-10-09 シャープ株式会社 Menu screen display control method
CN103246973B (en) * 2012-02-13 2017-05-03 宏达国际电子股份有限公司 Method and electronic apparatus for associating note and calendar event
JP2015014960A (en) * 2013-07-05 2015-01-22 ソニー株式会社 Information processor and storage medium
CN103442146B (en) * 2013-08-30 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of method and system at the session interface of mobile terminal and display and contact person
CN103473027B (en) * 2013-09-16 2017-01-04 张智锋 A kind of communicating terminal split screen multi-task interaction method and communicating terminal
CN103914441A (en) * 2014-03-13 2014-07-09 何峰 Method for editing files on touch screens through gestures
CN104537051B (en) * 2014-12-26 2017-04-12 北京奇虎科技有限公司 Terminal and searching method based on touch operation
CN105242838A (en) * 2015-10-30 2016-01-13 宁波萨瑞通讯有限公司 Method and system for quickly copying text content and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289280A (en) * 2010-06-21 2011-12-21 腾讯科技(深圳)有限公司 Information input method, information input device and information input tool
WO2014084588A1 (en) * 2012-11-28 2014-06-05 주식회사 영림원소프트랩 User interface of mobile device for providing quick schedule registration having human factor
CN103309850A (en) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 Content editing method, content editing device and terminal
WO2015072622A1 (en) * 2013-11-15 2015-05-21 주식회사 데이투라이프 Device and method for controlling displaying of user plan for inputting schedule in calendar
CN105100372A (en) * 2014-04-29 2015-11-25 北京壹人壹本信息科技有限公司 Conference recording method and mobile terminal
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
WO2016085139A1 (en) * 2014-11-25 2016-06-02 엘지전자(주) Mobile terminal and method for controlling same
CN105607807A (en) * 2015-12-22 2016-05-25 惠州Tcl移动通信有限公司 Mobile terminal based text processing method and system

Also Published As

Publication number Publication date
CN107844226A (en) 2018-03-27

Similar Documents

Publication Publication Date Title
US10990268B2 (en) Operation method and terminal device
US8386950B2 (en) Methods, systems and computer program products for arranging a plurality of icons on a touch sensitive display
CN105373326B (en) Data processing system and method
TWI626591B (en) System and method for switching applications
CN104238927B (en) The control method and device of intelligent terminal application program
JP2015153420A (en) Multitask switching method and system and electronic equipment having the same system
CN103377026B (en) Shortcut panel display method and device
CN103164115A (en) Method and terminal for moving application icon to document folder
JP2012089123A (en) Screen data operation method
US20120054657A1 (en) Methods, apparatuses and computer program products for enabling efficent copying and pasting of data via a user interface
CN106445972B (en) Page display method and device
KR20140078629A (en) User interface for editing a value in place
CN104793884A (en) Touch screenshot method and device
CN102799368A (en) Method for opening links on touch control type browser and touch control type browser system
CN103246383A (en) Touch display device and touch method
WO2014082303A1 (en) Terminal and control method for screen backlight
CN106210259A (en) A kind of multi-screen display method and terminal
CN103268198A (en) Gesture input method and device
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN105630369B (en) Method for realizing one-hand operation of mobile terminal and mobile terminal
CN101883179A (en) System and method for realizing arbitrary positioning of functional desktop window on mobile phone
CN107844226B (en) Method and device for switching text contents between different interfaces
CN107844249B (en) Schedule item moving method and device
CN106201270A (en) A kind of processing method and processing device of destination object
US9189149B2 (en) Equivalent gesture and soft button configuration for touch screen enabled device

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
TR01 Transfer of patent right

Effective date of registration: 20220413

Address after: Room 204, 2 / F, building B24, Guanggu financial port, 77 Guanggu Avenue, Donghu New Technology Development Zone, Wuhan, Hubei 430200

Patentee after: WUHAN KINGSOFT OFFICE Co.,Ltd.

Address before: 519015 Jinshan software building, 8 Lanshan lane, Jida Jingshan Hill Road, Zhuhai, Guangdong

Patentee before: ZHUHAI KINGSOFT OFFICE SOFTWARE Co.,Ltd.

Patentee before: BEIJING KINGSOFT OFFICE SOFTWARE, Inc.

Patentee before: GUANGZHOU KINGSOFT MOBILE TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right