CN107526505B - Data processing method and electronic equipment - Google Patents
Data processing method and electronic equipment Download PDFInfo
- Publication number
- CN107526505B CN107526505B CN201710707721.XA CN201710707721A CN107526505B CN 107526505 B CN107526505 B CN 107526505B CN 201710707721 A CN201710707721 A CN 201710707721A CN 107526505 B CN107526505 B CN 107526505B
- Authority
- CN
- China
- Prior art keywords
- editing
- interface
- display
- control
- input operation
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a data processing method and electronic equipment, which are used for solving the technical problems that in the prior art, when a file to be edited is edited, the display effect of the file to be edited is determined according to an application interface of an editing application program and cannot be determined according to the preview effect of the file to be edited, so that the use of a user is inconvenient, and comprise the following steps: displaying the N objects on the display unit based on the display instruction when the display instruction for the N objects is obtained; simultaneously determining the display position and the display area of each object in the N objects on the display unit; obtaining a first input operation aiming at a first object in a first display area of a first preview interface displaying the first object in N objects; and responding to the first input operation, enabling an editing application of the electronic equipment to be in an open state, generating a first graphical interaction interface of the editing application, and displaying the first graphical interaction interface at a first display position of the first object.
Description
The application has application date of 12 months and 27 days in 2013, and has application numbers of: 201310741929.5, title of the invention: a data processing method and a divisional application of an electronic device are provided.
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a data processing method and an electronic device.
Background
At present, some electronic devices commonly used by people, such as notebook computers, tablet computers, smart phones and the like, have a file editing function, and files such as video screens, audios, pictures and the like can be edited by the computers, so that the use requirements of people are met, and meanwhile, much interest is added to the life of people.
However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the inventors of the present application find that the above-mentioned technology has at least the following technical problems:
taking the editing of a picture file as an example, in the prior art, when the picture file needs to be edited, the picture file to be edited needs to be opened in a picture editing application program of an electronic device, and often the display effect of the picture file on a picture editing interface needs to be determined according to attributes such as the area size, the region position and the like of the editing interface of the picture editing application program. When the editing interface is small and the picture is large, the content display area of the editing interface can only display part of the content of the picture to be edited, so that the picture to be edited or the interface of an editing application program needs to be adjusted in the editing process, that is, when the file to be edited is edited, the display effect of the file to be edited is determined according to the application interface of the editing application program and cannot be determined according to the preview effect of the file to be edited, and further, the use is inconvenient for a user.
Further, in the prior art, when the electronic device receives an instruction to close the editing interface, the editing panel and the editing object are closed together, so that both the editing panel and the editing object are closed when the editing interface is closed, and therefore when a user needs to perform other operations on the object, the user needs to search and open the object again, and user experience is reduced.
Disclosure of Invention
The embodiment of the application provides a data processing method and electronic equipment, so as to solve the technical problem that when a file to be edited is edited in the prior art, the display effect of the file to be edited is determined according to an application interface of an editing application program, and cannot be determined according to the preview effect of the file to be edited, so that the use of a user is inconvenient.
In one aspect, an embodiment of the present application provides a data processing method applied to an electronic device, where the electronic device includes a display unit, and the electronic device is capable of obtaining M objects, and the method includes:
when the electronic device obtains display instructions for N objects in the M objects, displaying the N objects on the display unit based on the display instructions;
obtaining a first input operation aiming at the first object, wherein the first object is one of the N objects, and the first object is displayed in a first display area;
and responding to the first input operation, enabling a first object of the electronic equipment to be in an edited state, generating a first graphical interactive interface, and displaying the first graphical interactive interface at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface comprises at least one first control, the at least one first control corresponds to at least one first editing function, and the at least one first editing function is used for changing the first display state of the first object.
Wherein, in response to the first input operation, a first object of the electronic device is in an edited state, a first graphical interactive interface is generated, and the first graphical interactive interface is displayed at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface comprises at least one first control, and specifically comprises:
generating a content area of a primary editing interface at the first display position, wherein the content area is overlapped with the first display area, so that the first object is attached to the content area for display;
controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
Optionally, after the responding to the first input operation, making the first object of the electronic device in an edited state, generating a first graphical interactive interface, and displaying the first graphical interactive interface at the first display position of the first object, the method further includes:
detecting and obtaining a third input operation aiming at the at least one primary editing control;
judging whether the third input operation is a first closing operation for closing the primary editing interface or not, and obtaining a first judgment result;
when the first judgment result is negative, responding to the third input operation, and controlling the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state;
simultaneously controlling the current state information displayed in the title area to be switched from primary editing state information to secondary editing state information in a first switching mode, controlling the at least one primary editing control in the title area and/or the control area to be switched into at least one secondary editing control in the first switching mode, further generating a secondary editing interface different from the primary editing interface, and displaying the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
Optionally, after determining whether the third input operation is a first closing operation for closing the primary editing interface and obtaining a first determination result, the method further includes:
and when the first judgment result is yes, responding to the third input operation, closing the primary editing interface, and displaying the first preview interface on the display unit.
Optionally, after the generating a secondary editing interface different from the primary editing interface and displaying the secondary editing interface on the display unit, the method further includes:
detecting and obtaining a fourth input operation aiming at the at least one secondary editing control;
when the fourth input operation is an editing operation for editing the first object, the first object is controlled to be edited to obtain a first edited object in response to the fourth input operation, and a first edited preview interface of the first edited object is displayed in a content area of the secondary editing interface.
Optionally, after the controlling the first object to be edited to obtain a first edited object in response to the fourth input operation and displaying a first edited preview interface of the first edited object in a content area of the secondary editing interface, the method further includes:
detecting and obtaining a fifth input operation aiming at the at least one secondary editing control;
and when the fifth input operation is a second closing operation for closing the secondary editing interface, responding to the fifth input operation, closing the secondary editing interface, and displaying the first edited preview interface on the display unit.
On the other hand, an embodiment of the present application further provides an electronic device for data processing, where M objects can be obtained, and the electronic device includes:
an electronic device capable of obtaining M objects, the electronic device comprising:
a first display unit configured to display, when the electronic device obtains a display instruction for N objects of the M objects, the N objects on the display unit based on the display instruction;
a first obtaining unit, configured to obtain a first input operation for a first object, where the first object is one of the N objects, and the first object is displayed in a first display area;
a first response unit, configured to, in response to the first input operation, enable a first object of the electronic device to be in an edited state, generate a first graphical interactive interface, and display the first graphical interactive interface at a first display position of the first object, where a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface includes at least one first control, the at least one first control corresponds to at least one first editing function, and the at least one first editing function is used to change the first display state of the first object.
The first response unit specifically includes:
a first generation subunit, configured to generate a content area of a primary editing interface, which overlaps the first display area, at the first display position, so that the first object is displayed attached to the content area;
the first control subunit is used for controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
Optionally, the electronic device further includes:
a first detection unit, configured to detect that a third input operation for the at least one primary editing control is obtained after the first response unit responds to the first input operation, enables a first object of the electronic device to be in an edited state, generates a first graphical interaction interface, and displays the first graphical interaction interface at a first display position of the first object;
the first judging unit is used for judging whether the third input operation is a first closing operation for closing the primary editing interface or not and obtaining a first judging result;
a third response unit, configured to respond to the third input operation when the first determination result is negative, and control the current state of the first object to be converted from the primary editing state to a secondary editing state different from the primary editing state;
a first control unit, configured to, while the third response unit responds to the third input operation and controls the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state, control the current state information displayed in the title region to be switched from the primary editing state information to the secondary editing state information in a first switching manner, and control the at least one primary editing control in the title region and/or the control region to be switched to at least one secondary editing control in the first switching manner, so as to generate a secondary editing interface different from the primary editing interface, and display the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
Optionally, the electronic device further includes:
and a fourth response unit, configured to, after the first determination unit determines whether the third input operation is a first closing operation for closing the primary editing interface and obtains a first determination result, when the first determination result is yes, respond to the third input operation to close the primary editing interface and display the first preview interface on the display unit.
Optionally, the electronic device further includes:
the second detection unit is used for detecting and obtaining a fourth input operation aiming at the at least one secondary editing control after the first control unit generates a secondary editing interface different from the primary editing interface and displays the secondary editing interface on the display unit;
a fifth responding unit, configured to, when the fourth input operation is an editing operation for editing the first object, respond to the fourth input operation, control the first object to be edited to obtain a first edited object, and display a first edited preview interface of the first edited object in a content area of the secondary editing interface.
Optionally, the electronic device further includes:
a third detecting unit, configured to, after the fifth responding unit responds to the fourth input operation, control the first object to be edited to obtain a first edited object, and display a first edited preview interface of the first edited object in a content area of the secondary editing interface, detect that a fifth input operation for the at least one secondary editing control is obtained;
a sixth response unit, configured to, when the fifth input operation is a second closing operation for closing the secondary editing interface, close the secondary editing interface in response to the fifth input operation, and display the first edited preview interface on the display unit.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
(1) in the embodiment of the application, when the display unit of the electronic device displays N objects of M objects acquired by the electronic device, the display position and the display area of each object are acquired, and when any one object (such as a first object) of the N objects is edited, the graphical interactive interface of the object can be generated based on the display position and the display area of the object, so that the technical problem that when a file to be edited is edited, the display effect of the file to be edited depends on the application interface of an editing application program, and cannot depend on the preview effect of the file to be edited, which causes inconvenience for a user, is solved, the graphical interactive interface of the file object is generated based on the preview effect of the file object when the file object to be edited is edited, and the display effect of the file object to be edited is consistent with the preview effect of the file object, the user does not need to adjust the file to be edited or the interface of the editing application program during editing.
(2) Since, in the embodiment of the present application, after the graphical interactive interface of the first object is obtained, the graphical interactive interface of the second object can be obtained, and when the second display area of the second display region of the second object is different from the first display area of the first display region of the first object, the third display area of the at least one second control on the second display region is also different from the fourth display area of the at least one first control on the first display region, for example, when the second display area is K times the first display area, the third display area is also K times the fourth display area, wherein K is a positive number, so that the editing interface of the object to be edited is determined according to the area of the display area of the object to be edited, and the display area of the control on the display area can be correspondingly changed in size, so that the visual effect of the editing interface is more coordinated.
(3) In the embodiment of the application, when the primary editing interface is generated, the content area of the primary editing interface is overlapped with the display area of the object to be edited, the object to be edited is displayed by being attached to the content area, in addition, the title area and the control area of the primary editing interface are respectively formed by outwards extending the content area, and the title area and the control area are not overlapped with the content area, so that the technical effect that the object to be edited in the content area is not shielded when the current state information and the display control of the object to be edited are displayed on the primary editing interface is realized.
(4) In the embodiment of the application, when the input operation for at least one primary editing control is detected and obtained, and when the input operation is the editing operation of an object to be edited (namely, a first object), the current state of the first object is controlled to be converted from a primary editing state to a secondary editing state different from the primary editing state; meanwhile, the current state information displayed in the title area is controlled to be switched from the first-level editing state information to the second-level editing state information in a gradually changing mode from top to bottom, and controlling the at least one primary editing control of the title area and/or the control area to be switched into at least one secondary editing control in the mode of gradually changing from top to bottom, thereby generating a secondary editing interface different from the primary editing interface and displaying the secondary editing interface on the display unit, realizing the arrangement of the editing interface of the editing application program with hierarchy, and when the editing interface is switched, the display contents of the title area and the control area are switched in a mode of gradually changing from top to bottom, so that the title area and the control area are closely associated, and a user can more clearly know the technical effect of switching the current interface.
(5) In the embodiment of the application, when the obtained input operation is the editing operation for closing the current editing interface, the input operation is responded, the editing panel is closed, and the editing panel is directly returned to the object reading interface, so that the technical problem that the editing panel and the editing object are closed together when the editing interface is closed, and the object needs to be searched and opened again when a user needs to perform other operations on the object in the prior art is solved, the user experience is further reduced, the objects cannot be closed together when the editing interface is closed, the setting process is more humanized, and the technical effects that the user can directly read the edited object and operate the object are facilitated.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1A is a flowchart of a data processing method according to an embodiment of the present application;
fig. 1B is a schematic diagram illustrating a display of M objects on a display unit according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating an editing application for opening an electronic device according to an embodiment of the present application;
3A-3C are schematic diagrams illustrating the switching between editing interfaces provided by the present application;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The embodiment of the application provides a data processing method and electronic equipment, and solves the technical problems that when a file to be edited is edited, the display effect of the file to be edited is determined according to an application interface of an editing application program and cannot be determined according to the preview effect of the file to be edited, so that the use of a user is inconvenient, and the technical effect that when the file object to be edited is edited, a graphical interaction interface of the file object is generated based on the preview effect of the file object, the display effect of the file object to be edited is consistent with the preview effect of the file object to be edited, and the user does not need to adjust the file to be edited or the interface of the editing application program.
In order to solve the above problems, the technical solution in the embodiment of the present application has the following general idea:
the embodiment of the application provides a data processing method, which is applied to an electronic device, wherein the electronic device comprises a display unit, and the electronic device can obtain M objects, and the method comprises the following steps:
when the electronic device obtains display instructions for N objects in the M objects, displaying the N objects on the display unit based on the display instructions; sequentially taking i as an integer from 1 to N, determining an ith display position of an ith object in the N objects on the display unit and an ith display area of an ith preview interface of the ith object on the display unit, and obtaining N display positions of the N objects when i is equal to N, wherein the N display positions are different from each other; obtaining a first input operation aiming at a first object in a first display area of a first preview interface on which the first object in the N objects is displayed; in response to the first input operation, an editing application of the electronic device is enabled to be in an open state, a first graphical interactive interface of the editing application is generated, and the first graphical interactive interface is displayed at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface comprises at least one first control, the at least one first control corresponds to at least one first editing function of the editing application, and the at least one first editing function is used for changing the first display state of the first object.
It can be seen that, in the embodiment of the present application, when the display unit of the electronic device displays N objects of M objects acquired by the electronic device, the display position and the display area of each object are acquired, and when any object (e.g. the first object) of the N objects is edited, the graphical interactive interface of the object can be generated based on the display position and the display area of the object, which solves the technical problem that when a file to be edited is edited in the prior art, the display effect of the file to be edited depends on the application interface of the editing application program, and cannot depend on the preview effect of the file to be edited, thereby causing inconvenience for a user, and it is implemented that when the file object to be edited is edited, the graphical interactive interface of the file object is generated based on the preview effect of the file object, and the display effect of the file object to be edited is consistent with the preview effect of the file object itself, the user does not need to adjust the file to be edited or the interface of the editing application program during editing.
In order to better understand the technical solutions, the technical solutions will be described in detail below with reference to the drawings and the specific embodiments of the specification, and it should be understood that the specific features in the examples and the examples of the present application are detailed descriptions of the technical solutions of the present application, but not limitations of the technical solutions of the present application, and the technical features in the examples and the examples of the present application may be combined with each other without conflict.
Example one
As shown in fig. 1A, a method for processing data provided in an embodiment of the present application is applied to an electronic device, where the electronic device may be a desktop computer, a notebook computer, an intelligent desktop, a smart phone, and the like, the electronic device includes a display unit, and the electronic device can obtain M objects, specifically, the M objects may be pictures, photos, icons, and the like, the electronic device may not have the objects when being sold, and after a user purchases the electronic device, the user may generate an icon on a display interface of the electronic device by installing application software, or import a file object such as a picture, a photo, and the like from other devices or the internet, and the method includes the following steps:
s101: when the electronic device obtains display instructions for N objects in the M objects, displaying the N objects on the display unit based on the display instructions; at the same time
S102: sequentially taking i as an integer from 1 to N, determining an ith display position of an ith object in the N objects on the display unit and an ith display area of an ith preview interface of the ith object on the display unit, and obtaining N display positions of the N objects when i is equal to N, wherein the N display positions are different from each other;
s103: obtaining a first input operation aiming at a first object in a first display area of a first preview interface on which the first object in the N objects is displayed;
s104: in response to the first input operation, an editing application of the electronic device is enabled to be in an open state, a first graphical interactive interface of the editing application is generated, and the first graphical interactive interface is displayed at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface comprises at least one first control, the at least one first control corresponds to at least one first editing function of the editing application, and the at least one first editing function is used for changing the first display state of the first object.
Specifically, referring to fig. 1B, taking an object as an example, the electronic device has five object pictures (201-. Assuming that the picture 1 (201) is a first object, specifically, as shown in fig. 2, when a user needs to edit the picture 1 (201), as long as the user touches a preview interface of the picture 1 (201), a toolbar 202 appears on the preview interface of the first object 201, and at least one control 203 is provided in the toolbar 202, where the control includes an edit function start control 203-1 for starting a picture editing application of the electronic device, and when the user performs a first input operation on the edit function start control 203-1, the electronic device starts the edit application and generates a first graphical interaction interface (shown as 206-1 in fig. 1B) of the edit application for the first object 201, please refer to fig. 1B continuously, and the first graphical interaction interface 206-1 includes at least one first control 207-1, which respectively includes a cut, a brightness adjustment, and a brightness adjustment, An editing function such as zoom, for editing the first object 201.
In a specific implementation process, in order to make an editing interface of an object to be edited depend on an area of a display area of the object to be edited, and the display area of a control on the display area is also changed in size, so that a visual effect of the editing interface is more coordinated, in step S104: after generating the first graphical interaction interface of the editing application, the method further comprises:
obtaining a second input operation aiming at a second object in a second display area of a second preview interface on which the second object in the N objects is displayed;
generating a second graphical interactive interface of the editing application in response to the second input operation, and displaying the second graphical interactive interface at a second display position of the second object, wherein a second display state of the second object in the second display area can be presented on the second graphical interactive interface, and the second graphical interactive interface comprises at least one second control corresponding to at least one second editing function of the editing application, and the at least one second editing function is used for changing the second display state of the second object;
wherein the at least one first editing function is the same as the at least one second editing function, and when a first display area of the first display region is different from a second display area of the second display region, a third display area of the at least one second control is different from a fourth display area of the at least one first control.
Specifically, with continued reference to fig. 1B, an editing interface (i.e. the second graphical interaction interface 206-2) of the picture 2 (i.e. the second object) 202 is displayed on the display unit of the electronic device, the second display area of the second display region of pictures 2 (202) is smaller than the first display area of the first display region of pictures 1 (201), however, the at least one second control 207-2 of the second graphical interaction interface 206-2 corresponding to the picture 2 (202) is functionally identical to the at least one first control 207-1 of the first graphical interaction interface 206-1 corresponding to the picture 1, except that the third display area of the at least one second control 207-2 is smaller than the fourth display area of the at least one first control 207-1, and the display proportion of the third display area relative to the second display area is equal to the display proportion of the fourth display area relative to the first display area.
Because the editing application interface mainly includes a title region for displaying the name of the object to be edited, a control region for displaying the editing control, and a content region for displaying the object to be edited, in the prior art, due to reasons of interface display size or interface design, when the picture is edited, the control region and the title region of some editing application interfaces can shield the object to be edited in the content region, so that the user is inconvenient to use, for this reason, in order to make the editing interface of the object to be edited depend on the area of the display region of the object to be edited, and the control display area on the display region can also change the size correspondingly, so that the visual effect of the editing interface is more coordinated, step S104: in response to the first input operation, an editing application of the electronic device is in an open state, a first graphical interaction interface of the editing application is generated, and the first graphical interaction interface is displayed at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interaction interface, and the first graphical interaction interface comprises at least one first control, and the method specifically comprises the following steps:
generating a content area of a primary editing interface at the first display position, wherein the content area is overlapped with the first display area, so that the first object is attached to the content area for display;
controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
Specifically, referring to fig. 3A, when the first object enters the editing state, a content area 301 of a primary editing interface is generated on a first display area of a first preview interface on which the first object is displayed, the first preview interface of the first object is attached to the content area 301 for display, and on the premise that a display position and a display area of the first preview interface on the content area are not changed, the content area 301 is controlled to extend in a first direction to generate a title area 302 of the primary editing interface, and the content area 301 is controlled to extend in a second direction to generate a control area 303 of the primary editing interface, where the content area 301, the title area 302, and the control area 303 together form a complete primary editing interface. Wherein, the title area 302 at least includes "return", "save", "close" controls, and the middle part of the title area 302 displays status information of the current status of the first object, such as "picture edit", indicating that the first object is in an edit status; the control area 303 includes at least one level of editing controls for "brightness adjustment", "picture size adjustment", "color adjustment", and "delete". When a "delete" operation is input on the primary editing interface, the first object currently in the editing state can be deleted.
In a specific implementation process, in order to generate a first-level editing interface with a moderate display size when the display area of the first object is too small, and to facilitate the user to perform input operation, when the first input operation is obtained, the first preview interface may be first enlarged according to a certain proportion to obtain a first enlarged preview interface, and then a content area of the first-level editing interface is generated based on the first enlarged preview interface, and the content area is controlled to extend in the first direction and the second direction, respectively, so as to generate a title area and a control area of the first-level editing interface.
Further, in order to make the setting of the editing interface of the editing application have a hierarchical sense, and when the editing interface is switched, the display contents of the title area and the control area are simultaneously switched in a switching manner of gradually changing from top to bottom, so that the title area and the control area are closely associated, and the user can more clearly recognize the switching of the current interface, step S104: responding to the first input operation, enabling an editing application of the electronic equipment to be in an open state, generating a first graphical interactive interface of the editing application, and after the first graphical interactive interface is displayed at a first display position of the first object, the method further comprises the following steps:
detecting and obtaining a third input operation aiming at the at least one primary editing control;
judging whether the third input operation is a first closing operation for closing the primary editing interface or not, and obtaining a first judgment result;
when the first judgment result is negative, responding to the third input operation, and controlling the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state;
simultaneously controlling the current state information displayed in the title area to be switched from primary editing state information to secondary editing state information in a first switching mode, controlling the at least one primary editing control in the title area and/or the control area to be switched into at least one secondary editing control in the first switching mode, further generating a secondary editing interface different from the primary editing interface, and displaying the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
Further, after the determining whether the third input operation is a first closing operation for closing the primary editing interface and obtaining a first determination result, the method further includes:
and when the first judgment result is yes, responding to the third input operation, closing the primary editing interface, and displaying the first preview interface on the display unit.
Specifically, referring to fig. 3A and 3B, when the third input operation is an editing operation (such as brightness adjustment) for editing the first object, the display state information of the header area 302 of the primary editing interface is switched to "brightness adjustment", and at the same time, at least one primary editing control of the control area 303 of the primary editing interface is switched to at least one secondary editing control corresponding to "brightness adjustment". When the third input operation is a closing operation for closing the primary editing interface, closing the primary editing interface to obtain a first preview interface 201 shown in fig. 2; when the third input operation is "return", the display information "brightness adjustment" of the title region of the secondary editing interface is switched back to "picture editing" in the first switching manner, and simultaneously the secondary editing control of the control region of the secondary editing interface is switched back to the primary editing control in the first switching manner, thereby returning to and editing the interface.
Further, referring to fig. 3B, after the generating a secondary editing interface different from the primary editing interface and displaying the secondary editing interface on the display unit, the method further includes:
detecting and obtaining a fourth input operation aiming at the at least one secondary editing control;
when the fourth input operation is an editing operation for editing the first object, the first object is controlled to be edited to obtain a first edited object in response to the fourth input operation, and a first edited preview interface 304 of the first edited object is displayed in a content area of the secondary editing interface. After the first edited interface 304 is obtained, if a cancel operation for canceling the fourth input operation is obtained, the display state of the object displayed in the content area of the secondary edited interface returns to the display state before the fourth input operation is performed; if the closing operation for closing the current editing interface is obtained, the secondary editing interface is closed, and a first preview interface 201 shown in fig. 2 is obtained.
Further, in order to not close the objects together when the editing interface is closed, and to make the setting process more humanized, which is beneficial for the user to directly view the edited object and operate the object, referring to fig. 3B, after the responding to the fourth input operation, controlling the first object to be edited to obtain a first edited object, and displaying a first edited preview interface of the first edited object in the content area of the secondary editing interface, the method further includes:
detecting and obtaining a fifth input operation aiming at the at least one secondary editing control;
when the fifth input operation is a second closing operation for closing the secondary editing interface, the secondary editing interface is closed in response to the fifth input operation, and the first edited preview interface 304 is displayed on the display unit.
Specifically, referring to fig. 3C, the title area 302 of the secondary editing interface is retracted from the content area of the secondary editing interface in the second direction, and the control area 303 of the secondary editing interface is retracted from the content area of the secondary editing interface in the first direction, so as to finally obtain the first edited preview interface 304.
And when the fifth input operation is an editing operation for continuously editing the first object, executing the editing operation and continuously editing the first object.
Example two
Based on the same inventive concept, an embodiment of the present application further provides an electronic device for data processing, as shown in fig. 4, specifically including:
a first display unit 401 configured to display, when the electronic device obtains a display instruction for N objects of the M objects, the N objects on the display unit based on the display instruction;
a first determining unit 402, configured to, while the first display unit 401 displays the N objects on the display unit based on the display instruction, sequentially take i as an integer from 1 to N, determine an ith display position of an ith object in the N objects on the display unit and an ith display area of an ith preview interface of the ith object on the display unit, where when i is equal to N, the N display positions of the N objects are obtained, where the N display positions are different from each other;
a first obtaining unit 403, configured to obtain, in a first display area of a first preview interface where a first object of the N objects is displayed, a first input operation for the first object;
a first responding unit 404, configured to, in response to the first input operation, enable an editing application of the electronic device to be in an open state, generate a first graphical interaction interface of the editing application, and display the first graphical interaction interface at a first display position of the first object, where a first display state of the first object in the first display area can be presented on the first graphical interaction interface, and the first graphical interaction interface includes at least one first control, the at least one first control corresponds to at least one first editing function of the editing application, and the at least one first editing function is used to change the first display state of the first object.
Further, in order to make the editing interface of the object to be edited depend on the area of the display area of the object to be edited, and the display area of the control on the display area may also change in size correspondingly, so that the visual effect of the editing interface is more coordinated, the electronic device further includes:
a second obtaining unit, configured to, after the first responding unit 404 generates the first graphical interaction interface of the editing application, obtain, in a second display area of a second preview interface on which a second object of the N objects is displayed, a second input operation for the second object;
a second response unit, configured to generate a second graphical interaction interface of the editing application in response to the second input operation, and display the second graphical interaction interface at a second display position of the second object, where a second display state of the second object in the second display area can be presented on the second graphical interaction interface, and the second graphical interaction interface includes at least one second control corresponding to at least one second editing function of the editing application, where the at least one second editing function is used to change the second display state of the second object;
wherein the at least one first editing function is the same as the at least one second editing function, and when a first display area of the first display region is different from a second display area of the second display region, a third display area of the at least one second control is different from a fourth display area of the at least one first control.
In a specific implementation process, in order to prevent the object to be edited in the content area from being blocked when the current state information of the object to be edited and the display control are displayed on the primary editing interface, the first response unit 404 specifically includes:
a first generation subunit, configured to generate a content area of a primary editing interface, which overlaps the first display area, at the first display position, so that the first object is displayed attached to the content area;
the first control subunit is used for controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
Further, in order to make the setting of the editing interface of the editing application have a hierarchical sense, and when the editing interface is switched, the display contents of the title area and the control area are simultaneously switched in a switching manner gradually changing from top to bottom, so that the title area and the control area are closely associated, and the user can more clearly recognize the switching of the current interface, the electronic device further includes:
a first detecting unit, configured to, after the first responding unit 404 responds to the first input operation, enable an editing application of the electronic device to be in an open state, generate a first graphical interactive interface of the editing application, and display the first graphical interactive interface at a first display position of the first object, detect that a third input operation for the at least one primary editing control is obtained;
the first judging unit is used for judging whether the third input operation is a first closing operation for closing the primary editing interface or not and obtaining a first judging result;
a third response unit, configured to respond to the third input operation when the first determination result is negative, and control the current state of the first object to be converted from the primary editing state to a secondary editing state different from the primary editing state;
a first control unit, configured to, while the third response unit responds to the third input operation and controls the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state, control the current state information displayed in the title region to be switched from the primary editing state information to the secondary editing state information in a first switching manner, and control the at least one primary editing control in the title region and/or the control region to be switched to at least one secondary editing control in the first switching manner, so as to generate a secondary editing interface different from the primary editing interface, and display the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
Further, the electronic device further includes:
and a fourth response unit, configured to, after the first determination unit determines whether the third input operation is a first closing operation for closing the primary editing interface and obtains a first determination result, when the first determination result is yes, respond to the third input operation to close the primary editing interface and display the first preview interface on the display unit.
Further, the electronic device further includes:
the second detection unit is used for detecting and obtaining a fourth input operation aiming at the at least one secondary editing control after the first control unit generates a secondary editing interface different from the primary editing interface and displays the secondary editing interface on the display unit;
a fifth responding unit, configured to, when the fourth input operation is an editing operation for editing the first object, respond to the fourth input operation, control the first object to be edited to obtain a first edited object, and display a first edited preview interface of the first edited object in a content area of the secondary editing interface.
In a specific implementation process, in order to prevent the objects from being closed together when the editing interface is closed, the setting process is more humanized, and the user can directly read the edited objects and operate the objects, the electronic device further includes:
a third detecting unit, configured to, after the fifth responding unit responds to the fourth input operation, control the first object to be edited to obtain a first edited object, and display a first edited preview interface of the first edited object in a content area of the secondary editing interface, detect that a fifth input operation for the at least one secondary editing control is obtained;
a sixth response unit, configured to, when the fifth input operation is a second closing operation for closing the secondary editing interface, close the secondary editing interface in response to the fifth input operation, and display the first edited preview interface on the display unit.
According to the above description, the electronic device is configured to implement the data processing method, so that the working process of the electronic device is consistent with one or more embodiments of the method, and is not repeated here.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
(1) in the embodiment of the application, when the display unit of the electronic device displays N objects of M objects acquired by the electronic device, the display position and the display area of each object are acquired, and when any one object (such as a first object) of the N objects is edited, the graphical interactive interface of the object can be generated based on the display position and the display area of the object, so that the technical problem that when a file to be edited is edited, the display effect of the file to be edited depends on the application interface of an editing application program, and cannot depend on the preview effect of the file to be edited, which causes inconvenience for a user, is solved, the graphical interactive interface of the file object is generated based on the preview effect of the file object when the file object to be edited is edited, and the display effect of the file object to be edited is consistent with the preview effect of the file object, the user does not need to adjust the file to be edited or the interface of the editing application program during editing.
(2) Since, in the embodiment of the present application, after the graphical interactive interface of the first object is obtained, the graphical interactive interface of the second object can be obtained, and when the second display area of the second display region of the second object is different from the first display area of the first display region of the first object, the third display area of the at least one second control on the second display region is also different from the fourth display area of the at least one first control on the first display region, for example, when the second display area is K times the first display area, the third display area is also K times the fourth display area, wherein K is a positive number, so that the editing interface of the object to be edited is determined according to the area of the display area of the object to be edited, and the display area of the control on the display area can be correspondingly changed in size, so that the visual effect of the editing interface is more coordinated.
(3) In the embodiment of the application, when the primary editing interface is generated, the content area of the primary editing interface is overlapped with the display area of the object to be edited, the object to be edited is displayed by being attached to the content area, in addition, the title area and the control area of the primary editing interface are respectively formed by outwards extending the content area, and the title area and the control area are not overlapped with the content area, so that the technical effect that the object to be edited in the content area is not shielded when the current state information and the display control of the object to be edited are displayed on the primary editing interface is realized.
(4) In the embodiment of the application, when the input operation for at least one primary editing control is detected and obtained, and when the input operation is the editing operation of an object to be edited (namely, a first object), the current state of the first object is controlled to be converted from a primary editing state to a secondary editing state different from the primary editing state; meanwhile, the current state information displayed in the title area is controlled to be switched from the first-level editing state information to the second-level editing state information in a gradually changing mode from top to bottom, and controlling the at least one primary editing control of the title area and/or the control area to be switched into at least one secondary editing control in the mode of gradually changing from top to bottom, thereby generating a secondary editing interface different from the primary editing interface and displaying the secondary editing interface on the display unit, realizing the arrangement of the editing interface of the editing application program with hierarchy, and when the editing interface is switched, the display contents of the title area and the control area are switched in a mode of gradually changing from top to bottom, so that the title area and the control area are closely associated, and a user can more clearly know the technical effect of switching the current interface.
(5) In the embodiment of the application, when the obtained input operation is the editing operation for closing the current editing interface, the input operation is responded, the editing panel is closed, and the editing panel is directly returned to the object reading interface, so that the technical problem that the editing panel and the editing object are closed together when the editing interface is closed, and the object needs to be searched and opened again when a user needs to perform other operations on the object in the prior art is solved, the user experience is further reduced, the objects cannot be closed together when the editing interface is closed, the setting process is more humanized, and the technical effects that the user can directly read the edited object and operate the object are facilitated.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the data processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disk, a usb disk, and the like, wherein the electronic device includes a display unit, and the electronic device is capable of obtaining M objects, and when the computer program instructions corresponding to the data processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
when the electronic device obtains display instructions for N objects in the M objects, displaying the N objects on the display unit based on the display instructions; at the same time
Sequentially taking i as an integer from 1 to N, determining an ith display position of an ith object in the N objects on the display unit and an ith display area of an ith preview interface of the ith object on the display unit, and obtaining N display positions of the N objects when i is equal to N, wherein the N display positions are different from each other;
obtaining a first input operation aiming at a first object in a first display area of a first preview interface on which the first object in the N objects is displayed;
in response to the first input operation, an editing application of the electronic device is enabled to be in an open state, a first graphical interactive interface of the editing application is generated, and the first graphical interactive interface is displayed at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface comprises at least one first control, the at least one first control corresponds to at least one first editing function of the editing application, and the at least one first editing function is used for changing the first display state of the first object.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: the computer instructions corresponding to the first graphical interaction interface for generating the editing application are executed, and when executed, the computer instructions comprise the following steps:
obtaining a second input operation aiming at a second object in a second display area of a second preview interface on which the second object in the N objects is displayed;
generating a second graphical interactive interface of the editing application in response to the second input operation, and displaying the second graphical interactive interface at a second display position of the second object, wherein a second display state of the second object in the second display area can be presented on the second graphical interactive interface, and the second graphical interactive interface comprises at least one second control corresponding to at least one second editing function of the editing application, and the at least one second editing function is used for changing the second display state of the second object;
wherein the at least one first editing function is the same as the at least one second editing function, and when a first display area of the first display region is different from a second display area of the second display region, a third display area of the at least one second control is different from a fourth display area of the at least one first control.
Optionally, the associating step stored in the storage medium responds to the first input operation, so that an editing application of the electronic device is in an open state, a first graphical interaction interface of the editing application is generated, and the first graphical interaction interface is displayed at a first display position of the first object, where a first display state of the first object in the first display area can be presented on the first graphical interaction interface, and the first graphical interaction interface includes at least one first control, and during being executed, the method specifically includes:
generating a content area of a primary editing interface at the first display position, wherein the content area is overlapped with the first display area, so that the first object is attached to the content area for display;
controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: when the computer instructions corresponding to the first graphical interactive interface are executed after the computer instructions corresponding to the editing application are executed, the computer instructions are executed, wherein the computer instructions are used for making the editing application of the electronic equipment in an open state and generating the first graphical interactive interface of the editing application, and the computer instructions are displayed at the first display position of the first object, and the computer instructions comprise the following steps:
detecting and obtaining a third input operation aiming at the at least one primary editing control;
judging whether the third input operation is a first closing operation for closing the primary editing interface or not, and obtaining a first judgment result;
when the first judgment result is negative, responding to the third input operation, and controlling the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state;
simultaneously controlling the current state information displayed in the title area to be switched from primary editing state information to secondary editing state information in a first switching mode, controlling the at least one primary editing control in the title area and/or the control area to be switched into at least one secondary editing control in the first switching mode, further generating a secondary editing interface different from the primary editing interface, and displaying the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: after the step of judging whether the third input operation is a first closing operation for closing the primary editing interface and obtaining a computer instruction corresponding to a first judgment result is executed, the step of executing includes:
and when the first judgment result is yes, responding to the third input operation, closing the primary editing interface, and displaying the first preview interface on the display unit.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: the computer instructions that generate a secondary editing interface different from the primary editing interface and display the secondary editing interface on the display unit are executed and then executed, the computer instructions comprising the following steps:
detecting and obtaining a fourth input operation aiming at the at least one secondary editing control;
when the fourth input operation is an editing operation for editing the first object, the first object is controlled to be edited to obtain a first edited object in response to the fourth input operation, and a first edited preview interface of the first edited object is displayed in a content area of the secondary editing interface.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: after the computer instructions corresponding to the first edited preview interface for controlling the first object to be edited to obtain a first edited object and displaying the first edited object in the content area of the secondary editing interface are executed, the computer instructions further include the following steps:
detecting and obtaining a fifth input operation aiming at the at least one secondary editing control;
and when the fifth input operation is a second closing operation for closing the secondary editing interface, responding to the fifth input operation, closing the secondary editing interface, and displaying the first edited preview interface on the display unit.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
Claims (12)
1. A data processing method is applied to an electronic device, the electronic device comprises a display unit, and M objects can be obtained by the electronic device, and the method comprises the following steps:
when the electronic device obtains display instructions for N objects in the M objects, displaying the N objects on the display unit based on the display instructions;
obtaining a first input operation aiming at a first object, wherein the first object is one of the N objects, and the first object is displayed in a first display area;
and responding to the first input operation, enabling a first object of the electronic equipment to be in an edited state, generating a first graphical interactive interface, and displaying the first graphical interactive interface at a first display position of the first object, wherein a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface comprises at least one first control, the at least one first control corresponds to at least one first editing function, and the at least one first editing function is used for changing the first display state of the first object.
2. The method of claim 1, wherein the causing of the first object of the electronic device to be in the edited state in response to the first input operation and generating and displaying a first graphical interaction interface at a first display position of the first object, wherein a first display state of the first object within the first display area is presentable on the first graphical interaction interface, and the first graphical interaction interface comprises at least one first control, in particular comprising:
generating a content area of a primary editing interface at the first display position, wherein the content area is overlapped with the first display area, so that the first object is attached to the content area for display;
controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
3. The method of claim 2, wherein after the causing of the first object of the electronic device to be in the edited state and generating a first graphical interaction interface in response to the first input operation and displaying the first graphical interaction interface at the first display position of the first object, the method further comprises:
detecting and obtaining a third input operation aiming at the at least one primary editing control;
judging whether the third input operation is a first closing operation for closing the primary editing interface or not, and obtaining a first judgment result;
when the first judgment result is negative, responding to the third input operation, and controlling the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state;
simultaneously controlling the current state information displayed in the title area to be switched from primary editing state information to secondary editing state information in a first switching mode, controlling the at least one primary editing control in the title area and/or the control area to be switched into at least one secondary editing control in the first switching mode, further generating a secondary editing interface different from the primary editing interface, and displaying the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
4. The method according to claim 3, wherein after the determining whether the third input operation is a first closing operation for closing the primary editing interface and obtaining a first determination result, the method further comprises:
and when the first judgment result is yes, responding to the third input operation, closing the primary editing interface, and displaying a first preview interface on the display unit.
5. The method of claim 3, wherein after the generating a secondary editing interface different from the primary editing interface and displaying the secondary editing interface on the display unit, the method further comprises:
detecting and obtaining a fourth input operation aiming at the at least one secondary editing control;
when the fourth input operation is an editing operation for editing the first object, the first object is controlled to be edited to obtain a first edited object in response to the fourth input operation, and a first edited preview interface of the first edited object is displayed in a content area of the secondary editing interface.
6. The method of claim 5, wherein after said controlling the first object to be edited to obtain a first edited object in response to the fourth input operation and displaying a first edited preview interface for the first edited object in a content area of the secondary editing interface, the method further comprises:
detecting and obtaining a fifth input operation aiming at the at least one secondary editing control;
and when the fifth input operation is a second closing operation for closing the secondary editing interface, responding to the fifth input operation, closing the secondary editing interface, and displaying the first edited preview interface on the display unit.
7. An electronic device capable of obtaining M objects, the electronic device comprising:
a first display unit configured to display, when the electronic device obtains a display instruction for N objects of the M objects, the N objects on the display unit based on the display instruction;
a first acquisition unit configured to acquire a first input operation for a first object, wherein the first object is one of the N objects, and the first object is displayed in a first display area;
a first response unit, configured to, in response to the first input operation, enable a first object of the electronic device to be in an edited state, generate a first graphical interactive interface, and display the first graphical interactive interface at a first display position of the first object, where a first display state of the first object in the first display area can be presented on the first graphical interactive interface, and the first graphical interactive interface includes at least one first control, the at least one first control corresponds to at least one first editing function, and the at least one first editing function is used to change the first display state of the first object.
8. The electronic device according to claim 7, wherein the first response unit specifically includes:
a first generation subunit, configured to generate a content area of a primary editing interface, which overlaps the first display area, at the first display position, so that the first object is displayed attached to the content area;
the first control subunit is used for controlling the content area to extend to a first direction to generate a title area of the primary editing interface, and controlling the content area to extend to a second direction opposite to the first direction to generate a control area of the primary editing interface, so as to generate the primary editing interface;
the first-level editing interface is the first graphical interaction interface, the title area is used for displaying current state information of the first object, the at least one first control is specifically at least one first-level editing control, and the at least one first-level editing control is located in the title area and/or the control area.
9. The electronic device of claim 8, wherein the electronic device further comprises:
a first detection unit, configured to detect that a third input operation for the at least one primary editing control is obtained after the first response unit responds to the first input operation, enables a first object of the electronic device to be in an edited state, generates a first graphical interaction interface, and displays the first graphical interaction interface at a first display position of the first object;
the first judging unit is used for judging whether the third input operation is a first closing operation for closing the primary editing interface or not and obtaining a first judging result;
a third response unit, configured to respond to the third input operation when the first determination result is negative, and control the current state of the first object to be converted from the primary editing state to a secondary editing state different from the primary editing state;
a first control unit, configured to, while the third response unit responds to the third input operation and controls the current state of the first object to be converted from a primary editing state to a secondary editing state different from the primary editing state, control the current state information displayed in the title region to be switched from the primary editing state information to the secondary editing state information in a first switching manner, and control the at least one primary editing control in the title region and/or the control region to be switched to at least one secondary editing control in the first switching manner, so as to generate a secondary editing interface different from the primary editing interface, and display the secondary editing interface on the display unit;
the second-level editing interface is the first graphical interaction interface, the first-level editing state information is state information of the first object in the first-level editing state, the second-level editing state information is state information of the first object in the second-level editing state, and the first switching mode is specifically a switching mode gradually changing from top to bottom.
10. The electronic device of claim 9, wherein the electronic device further comprises:
and a fourth response unit, configured to, after the first determination unit determines whether the third input operation is a first closing operation for closing the primary editing interface and obtains a first determination result, when the first determination result is yes, respond to the third input operation to close the primary editing interface and display a first preview interface on the display unit.
11. The electronic device of claim 9, wherein the electronic device further comprises:
the second detection unit is used for detecting and obtaining a fourth input operation aiming at the at least one secondary editing control after the first control unit generates a secondary editing interface different from the primary editing interface and displays the secondary editing interface on the display unit;
a fifth responding unit, configured to, when the fourth input operation is an editing operation for editing the first object, respond to the fourth input operation, control the first object to be edited to obtain a first edited object, and display a first edited preview interface of the first edited object in a content area of the secondary editing interface.
12. The electronic device of claim 11, wherein the electronic device further comprises:
a third detecting unit, configured to, after the fifth responding unit responds to the fourth input operation, control the first object to be edited to obtain a first edited object, and display a first edited preview interface of the first edited object in a content area of the secondary editing interface, detect that a fifth input operation for the at least one secondary editing control is obtained;
a sixth response unit, configured to, when the fifth input operation is a second closing operation for closing the secondary editing interface, close the secondary editing interface in response to the fifth input operation, and display the first edited preview interface on the display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710707721.XA CN107526505B (en) | 2013-12-27 | 2013-12-27 | Data processing method and electronic equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710707721.XA CN107526505B (en) | 2013-12-27 | 2013-12-27 | Data processing method and electronic equipment |
CN201310741929.5A CN103645937B (en) | 2013-12-27 | 2013-12-27 | The method and electronic equipment of a kind of data processing |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310741929.5A Division CN103645937B (en) | 2013-12-27 | 2013-12-27 | The method and electronic equipment of a kind of data processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107526505A CN107526505A (en) | 2017-12-29 |
CN107526505B true CN107526505B (en) | 2021-07-16 |
Family
ID=50251160
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310741929.5A Active CN103645937B (en) | 2013-12-27 | 2013-12-27 | The method and electronic equipment of a kind of data processing |
CN201710707721.XA Active CN107526505B (en) | 2013-12-27 | 2013-12-27 | Data processing method and electronic equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310741929.5A Active CN103645937B (en) | 2013-12-27 | 2013-12-27 | The method and electronic equipment of a kind of data processing |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN103645937B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160046099A (en) * | 2014-10-20 | 2016-04-28 | 삼성전자주식회사 | Displaying of method and apparatus in a electronic device |
CN106484371A (en) * | 2015-08-25 | 2017-03-08 | 阿里巴巴集团控股有限公司 | A kind of object editing method and apparatus |
JP7040251B2 (en) * | 2018-04-17 | 2022-03-23 | 富士フイルムビジネスイノベーション株式会社 | Image formation system and program |
CN112346795B (en) * | 2019-08-09 | 2024-10-25 | 北京小米移动软件有限公司 | Picture processing method, device and storage medium |
CN111352557B (en) * | 2020-02-24 | 2021-09-14 | 北京字节跳动网络技术有限公司 | Image processing method, assembly, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101063924A (en) * | 2006-04-30 | 2007-10-31 | 国际商业机器公司 | Method and device for enabling user to select multiple objects in one document |
CN102043618A (en) * | 2009-10-22 | 2011-05-04 | 北大方正集团有限公司 | Method and device for controlling display style of window object |
EP1059581B1 (en) * | 1999-06-10 | 2012-02-08 | Dassault Systèmes | Knowledge-based polymorph undockable toolbar |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2290208B (en) * | 1993-01-27 | 1997-07-02 | Apple Computer | Graphical user interface for a help system |
CN101453511B (en) * | 2007-12-07 | 2012-08-01 | 北京闻言科技有限公司 | Method for mobile phone platform UI interface adaptation |
CN101944027A (en) * | 2010-09-26 | 2011-01-12 | 北京神州泰岳软件股份有限公司 | User interface generation method |
CN102541426B (en) * | 2010-12-31 | 2014-11-05 | 联想(北京)有限公司 | Electronic equipment and object processing method thereof |
KR101864618B1 (en) * | 2011-09-06 | 2018-06-07 | 엘지전자 주식회사 | Mobile terminal and method for providing user interface thereof |
-
2013
- 2013-12-27 CN CN201310741929.5A patent/CN103645937B/en active Active
- 2013-12-27 CN CN201710707721.XA patent/CN107526505B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1059581B1 (en) * | 1999-06-10 | 2012-02-08 | Dassault Systèmes | Knowledge-based polymorph undockable toolbar |
CN101063924A (en) * | 2006-04-30 | 2007-10-31 | 国际商业机器公司 | Method and device for enabling user to select multiple objects in one document |
CN102043618A (en) * | 2009-10-22 | 2011-05-04 | 北大方正集团有限公司 | Method and device for controlling display style of window object |
Also Published As
Publication number | Publication date |
---|---|
CN103645937A (en) | 2014-03-19 |
CN107526505A (en) | 2017-12-29 |
CN103645937B (en) | 2017-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DK180452B1 (en) | USER INTERFACES FOR RECEIVING AND HANDLING VISUAL MEDIA | |
US11706521B2 (en) | User interfaces for capturing and managing visual media | |
EP3956758B1 (en) | Systems and methods for interacting with a companion-display mode for an electronic device with a touch-sensitive display | |
US11770601B2 (en) | User interfaces for capturing and managing visual media | |
US10628032B2 (en) | Apparatus and method for application peel | |
US10452333B2 (en) | User terminal device providing user interaction and method therefor | |
CN110716680B (en) | Control method and device of intelligent interactive panel | |
US10705682B2 (en) | Sectional user interface for controlling a mobile terminal | |
KR102203885B1 (en) | User terminal device and control method thereof | |
US9639238B2 (en) | Modification of a characteristic of a user interface object | |
EP3454196B1 (en) | Method and apparatus for editing object | |
US9965039B2 (en) | Device and method for displaying user interface of virtual input device based on motion recognition | |
US9335899B2 (en) | Method and apparatus for executing function executing command through gesture input | |
CN107526505B (en) | Data processing method and electronic equipment | |
CN102622223A (en) | Directly assigning desktop backgrounds | |
WO2015183533A1 (en) | Device, method, and graphical user interface for navigating a content hierarchy | |
WO2022126664A1 (en) | Video editing method, terminal device, and computer-readable storage medium | |
AU2014200272B2 (en) | Method and electronic device for displaying application | |
US10120551B2 (en) | Method and device for displaying separated content on a single screen | |
CN114518822A (en) | Application icon management method and device and electronic equipment | |
CN110688190A (en) | Control method and device of intelligent interactive panel | |
WO2023155874A1 (en) | Application icon management method and apparatus, and electronic device | |
CN112765500A (en) | Information searching method and device | |
CN115421631A (en) | Interface display method and device | |
CN115904147A (en) | Generation method and device and electronic equipment |
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 |