CN114895815A - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN114895815A
CN114895815A CN202210692371.5A CN202210692371A CN114895815A CN 114895815 A CN114895815 A CN 114895815A CN 202210692371 A CN202210692371 A CN 202210692371A CN 114895815 A CN114895815 A CN 114895815A
Authority
CN
China
Prior art keywords
window
display
input
information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210692371.5A
Other languages
Chinese (zh)
Inventor
薛星龙
席孝倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210692371.5A priority Critical patent/CN114895815A/en
Publication of CN114895815A publication Critical patent/CN114895815A/en
Priority to PCT/CN2023/099888 priority patent/WO2023241563A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The application discloses a data processing method and electronic equipment, and belongs to the technical field of electronics. The specific scheme comprises the following steps: receiving a first input while a first window is displayed, the first window including first information; in response to the first input, displaying a target window on the first window in an overlay manner, the target window including the first information; receiving a second input; and responding to the second input, canceling the display of the first window, and displaying a second window on which the target window is superposed and displayed.

Description

Data processing method and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a data processing method and electronic equipment.
Background
With the development and popularization of electronic devices, more and more operations can be performed on the electronic devices by users.
In the related art, when a user wants to view or use data on another interface, the user usually needs to switch the display interface and then perform corresponding operations. For example, when a user wants to send the content of the screenshot to other users in a text manner, it is usually necessary to memorize part of the content of the screenshot, then switch to a data sending interface for text input, and so on until all the content in the screenshot is input.
However, the mode operation that the user needs to frequently switch the interface when viewing or using data on other interfaces is cumbersome, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a data processing method and electronic equipment, and the problem that when a user wants to check or use data on other interfaces, the operation is complex can be solved.
In a first aspect, an embodiment of the present application provides a data processing method, where the method includes: receiving a first input while a first window is displayed, the first window including first information; in response to the first input, displaying a target window on the first window in an overlay manner, the target window including the first information; receiving a second input; and responding to the second input, canceling the display of the first window, and displaying a second window on which the target window is superposed and displayed.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including: the device comprises a receiving module and a display module; the receiving module is used for receiving a first input under the condition that a first window is displayed, wherein the first window comprises first information; the display module is used for responding to the first input and displaying a target window on the first window in an overlapping mode, and the target window comprises the first information; the receiving module is further used for receiving a second input; the display module is further configured to cancel displaying the first window and display a second window in response to the second input, where the target window is displayed in an overlapping manner on the second window.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In an embodiment of the present application, a first input is received in a case where a first window is displayed, the first window including first information; in response to the first input, displaying a target window on the first window in an overlay manner, the target window including the first information; receiving a second input; and responding to the second input, canceling the display of the first window, and displaying a second window on which the target window is superposed and displayed. By the scheme, when a user wants to check the information on the first window, the information in the first window can be temporarily stored in the target window through the triggering of the first input, and the display of the target window is not influenced by interface switching, so that the user can directly check the first information in the target window under the condition of displaying the second window, the defect of repeatedly switching the interface is avoided, the user operation is simplified, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a data processing method provided in an embodiment of the present application;
FIG. 2 is a schematic interface diagram of a data processing method according to an embodiment of the present disclosure;
FIG. 3 is a second schematic interface diagram of a data processing method according to an embodiment of the present application;
FIG. 4 is a third schematic interface diagram of a data processing method according to an embodiment of the present application;
FIG. 5 is a fourth schematic interface diagram of a data processing method according to an embodiment of the present application;
FIG. 6 is a fifth schematic interface diagram of a data processing method according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 9 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The data processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the data processing method provided in the embodiment of the present application, an execution subject of the data processing method may be an electronic device or a functional module or a functional entity capable of implementing the data processing method in the electronic device, the electronic device mentioned in the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device, and the like, and the data processing method provided in the embodiment of the present application is described below with the electronic device as the execution subject.
As shown in fig. 1, an embodiment of the present application provides a data processing method, which may include steps 101 to 104:
step 101, the electronic device receives a first input under the condition that a first window is displayed.
The first window may include first information.
Optionally, the first window may be an application interface, and the first information may be application data in the application interface, for example, when the first window is a notepad interface, the first information may be text input in the notepad by the user; when the first window is a gallery interface, the first information may be a picture or a video stored in a gallery; when the first window is an interface of the file management application, the first information may be an application installation package, a document, and the like; when the first window is a browser interface, the first information may be a web page link.
Alternatively, the first input may be a touch input of the first information by the user, for example, the touch input may be a long-press input or a drag input of the first information by the user, and the like.
Optionally, the first input may be performed on the first information when the user wants to apply the first information of the first window in the other interface, for example, the first input may be performed on the first information first when the user wants to copy the first information to the second window.
And 102, responding to the first input by the electronic equipment, and overlaying and displaying a target window on the first window.
The target window may include first information. The target window may display the entire content of the first information or may display a part of the content of the first information. For example, in a case where the data amount of the first information is greater than a preset threshold, the electronic device may display a partial content of the first information in the target window.
It should be noted that, displaying the target window on the first window in an overlapping manner means that the display priority of the target window is greater than the display priority of the first window, and the target window can be completely displayed on a part of the display area of the first window.
Optionally, the electronic device may determine, in response to the first input, a first manner according to a data type of the first information, and display the first information in the target window in the first manner.
Specifically, since the first input may be a touch input of the first information by the user, after receiving the first input, the electronic device may determine the first information in response to the first input, and determine a first mode according to a data type of the first information, where the first mode may be used to indicate the data type of the first information, and then, the electronic device may display the first information in the target window in the first mode.
Optionally, the first mode may include at least one of: displaying the data type identification of the first information in the target window, and displaying the target window according to a preset display effect, wherein the preset display effect can comprise at least one of characteristics of color, size, shape, transparency, brightness and the like.
Optionally, the first mode includes displaying a data type identifier of the first information in the target window. Under the condition that the first information is text information, the target window can display a text identifier; under the condition that the first information is picture information, the target window can display a picture identifier; in the case where the first information is link information, the target window may display a link identifier.
Illustratively, the first input includes a long press input and a drag input, the first mode is a data type identifier for displaying the first information in the target window, and the first information is text information. As shown in fig. 2, in the case of displaying the notepad interface, the user may make a long press input of "walk against light, rain, and the like" in the interface, and the electronic device may determine that the data type of "walk against light, rain, and the like" is text information in response to the long press input, and display the text identification "text" in the target window 21. As shown in fig. 3, the user may drag the text information "walk against light, rain, and wind" into the destination window 21 by the drag input, and the electronic device may display the text information "walk against light, rain, and wind in the destination window 21 in response to the drag input.
Optionally, the first method includes displaying the target window according to a preset display effect. Take the example that the preset display effect includes color and shape. Under the condition that the first information is text information, the electronic equipment can display a frame of the target window according to a first color, wherein the frame of the target window is in a first shape; under the condition that the first information is picture information, the electronic equipment can display a frame of the target window according to a second color, wherein the frame of the target window is in a second shape; in a case where the first information is the link information, the electronic device may display a border of the target window in a third color, the border of the target window having a third shape. Wherein the first color, the second color and the third color may be different colors, and the first shape, the second shape and the third shape may be different shapes.
Illustratively, the first input includes a long press input and a drag input, the first information is picture information, the second color is red, and the second shape is a rectangle having the same aspect ratio as the picture. In the case of displaying the gallery interface, the user may perform a long press input on the target image displayed in the interface, and the electronic device may determine, in response to the long press input, that the data type of the target image is the picture information, update the border color of the target window to red, and update the border shape of the target window to a rectangle having the same aspect ratio as that of the target image. Thereafter, the user may drag the target image into the target window through a drag input, and the electronic device may display the target image in the target window of the red bezel in response to the drag input.
Based on the scheme, the first mode can be determined according to the data type of the first information, and the first information is displayed in the target window according to the first mode, so that on one hand, a user can determine the data type of the first information through the display mode of the first information, and on the other hand, the data selected by the user can be displayed in the floating window, and therefore convenience of the user in viewing or using the data is improved.
The shape of the target window may be a rectangle, a rounded rectangle, a circle, an ellipse, etc., the position of the target window may be an upper region of the screen interface, or a lower region of the screen interface, the size of the target window may be a fixed preset size, or may be determined according to the data amount of the first information, for example, the larger the data amount of the first information, the larger the size of the target window.
For example, in the case where the target window is rectangular, the target window may have a length of 150dp, a width of 50dp, and a distance from the top side of the target window to the top of the screen of 30 dp.
Step 103, the electronic device receives a second input.
Optionally, the second input is an input for triggering the electronic device to switch the display interface.
And 104, the electronic equipment responds to the second input, cancels the display of the first window and displays a second window.
And the target window is displayed on the second window in an overlapping manner.
Optionally, the first window and the second window may be display windows of interfaces of different applications, may also be display windows of different interfaces of the same application, and may also be display windows of different system interfaces. For example, the first window may be a display window of a notepad interface and the second window may be a display window of a chat interface of an instant messaging application.
Optionally, the second window may be a display window of an interface that does not include an input area, for example, the interface that does not include an input area may be a system interface, or may be a display window of an interface that includes an input area, for example, the interface that includes an input area may be a chat interface of an instant messaging application. Under the condition that the second window is a display window of the interface without the input area, the user can view the first information in the target window under the condition that the second window is displayed; in the case that the second window is a display window of the interface including the input area, the user may trigger the electronic device to display the first information in the input area of the second window.
Optionally, the electronic device may display the target window according to the first display mode when the data type supported by the second window to be displayed includes the data type of the first information; under the condition that the data type of the first information is not included in the data types which are supported and displayed by the second window, displaying the target window according to a second display mode; wherein the first display mode is used for indicating that the second window supports displaying the first information, and the second display mode is used for indicating that the second window does not support displaying the first information.
Optionally, the data type of the first information may include at least one of: characters, pictures, video, audio, links, documents, packets, etc.
Optionally, the type of data supported and displayed by the second window may be determined according to the application type of the application interface corresponding to the second window. For example, when the second window is a display window of the system interface, the second window does not support displaying any data type; when the second window is a display window of the browser interface, the data types supported to be displayed by the second window may include texts, links and the like, and the data types not supported to be displayed may include pictures, videos and the like; when the second window is a display window of the chat interface, the data types supported for display by the second window may include text, pictures, video, audio, links, documents, data packets, and the like.
Optionally, the first display mode and the second display mode may include at least one of the following different display characteristics: display mode identification, display color, display brightness, display transparency, display position, display size and the like.
For example, the first display mode and the second display mode include different display mode identifiers. As shown in fig. 4, in the case that the second window is a display window of the chat interface, since the chat interface can support the user to input information, the electronic device can display the first identifier 41 in the target window 21, that is, the first display mode is to display the first identifier 41 in the target window 21. When the user sees that the first identifier 41 is included in the target window 21, the first information in the target window 21 can be input into the second window; as shown in fig. 5, when the second window is a display window of the system interface, since the system interface does not support the user to input any information, the electronic device may display the second identifier 51 in the target window 21, and when the user sees that the second identifier 51 is included in the target window 21, it may be determined that the first information in the target window 21 cannot be input into the second window.
Based on the scheme, the electronic equipment can display the target window according to different display modes according to whether the second window supports displaying the first information, so that a user can determine whether the first information can be input into the second window according to the display mode of the target window, and convenience in operation of the user is improved.
Alternatively, the electronic device may receive a third input in a case where the target window is displayed in the first display mode; in response to the third input, displaying the first information in the second window.
Alternatively, the third input may be a touch input, for example, the third input may be an input of dragging the first information from the target window to the input area of the second window.
Illustratively, the second window is taken as a display window of the chat interface. As shown in fig. 6, in the case where the target window 21 includes the first mark 41, the user may drag the text information "walk against light, rain, and wind" in the target window 21 into the input area 61 of the second window by a drag input, and the electronic device may display the text information "walk against light, rain, and wind" in the input area 61 in response to the drag input.
Based on the scheme, on one hand, the user can trigger the electronic equipment to display the first information in the second window through the third input, so that when the user wants to copy the information in the interface of other windows, the user can directly acquire the information from the target window which is always overlapped and displayed on the upper layer of the other windows, and the complicated operation of switching the display windows is avoided; on the other hand, the first information can be seen in the target window all the time in the process of copying the data by the user, so that the defect that the data is invisible in the process of moving the data is avoided, the continuity of operation is enhanced, and the accuracy of operating the data is improved.
Optionally, after displaying the target window, the electronic device may cancel displaying the target window if the first rule is satisfied; under the condition that a second rule is met, the target window is cancelled to be displayed, and a first control corresponding to the target window is displayed; wherein an interface area occupied by displaying the first control is smaller than an interface area occupied by displaying the target window, and the first rule includes at least one of: receiving a fourth input of the user, wherein the display time of the target window exceeds the first time; the second rule comprises at least one of: receiving a fifth input of a user, wherein the display time of the target window exceeds a second time, and the target window at least partially occupies a display area of target content, and the target content comprises at least one of the following items: notification messages, prompt messages, target controls.
Alternatively, the fourth input may be an input that the user slides the target window in a first direction, for example, the first direction may be the left side or the right side of the screen.
Alternatively, the fifth input may be an input that the user slides the target window in the second direction, for example, the second direction may be an upper side or a lower side of the screen.
Optionally, the first time may be greater than the second time, for example, after the target window is displayed, if the user does not perform any input on the target window for more than 5 minutes, the electronic device may cancel displaying the target window and display the first control; if the user does not make any input to the currently displayed first control for more than 10 minutes, the electronic device may cancel displaying the first control.
Optionally, after the electronic device cancels display of the target window and displays the first control corresponding to the target window, the user may trigger the electronic device to cancel display of the first control and redisplay the target window in a sixth input mode for the first control.
Optionally, the notification information refers to information received by the electronic device from another communication device or a server, and the prompt message refers to prompt information that the user triggers the electronic device to display through some operation, for example, after the user downloads a large amount of data, the electronic device may display a "system memory is insufficient" toast prompt message. The target control refers to a control in the currently displayed interface, and may be a control of "returning to the previous interface", for example.
Illustratively, it is exemplified that the second rule includes that the target window at least partially occupies a display area of the target content, and the target content includes the notification message. Because the display position of the target window needs to be occupied when the notification information is displayed on the notification bar, when the electronic equipment receives the notification information, the electronic equipment can cancel the display of the target window and display the first control corresponding to the target window, namely, the thumbnail form of the target window is displayed, so that the interface area occupied by the display target window is reduced.
Based on the scheme, the display target window can be cancelled, so that the electronic equipment can cancel the display of the target window when the user does not use the data in the target window, and the influence on the visual experience of the user on the display interface is avoided; because the first control can be displayed, when the user does not use the data in the target window temporarily, the electronic equipment can be triggered to display the first control, so that the interface area occupied by the display target window is reduced.
In the embodiment of the application, when a user wants to check the information on the first window, the information in the first window can be temporarily stored in the target window through triggering of the first input, and the display of the target window is not influenced by interface switching, so that the user can directly check the first information in the target window under the condition of displaying the second window, the defect of repeatedly switching the interface is avoided, the user operation is simplified, and the user experience is improved.
In the data processing method provided by the embodiment of the application, the execution main body can be a data processing device. In the embodiment of the present application, a data processing apparatus executes a data processing method as an example, and the data processing apparatus provided in the embodiment of the present application is described.
As shown in fig. 7, an embodiment of the present application further provides a data processing apparatus 700, including: a receiving module 701 and a display module 702. A receiving module 701, configured to receive a first input when a first window is displayed, where the first window includes first information; the display module 702 is configured to, in response to the first input, display a target window on the first window in an overlapping manner, where the target window includes the first information; the receiving module 701 is further configured to receive a second input; the display module 702 is further configured to cancel displaying the first window and display a second window in response to the second input, where the target window is displayed in an overlapping manner on the second window.
Optionally, the display module 702 is specifically configured to, in response to the first input, determine a first mode according to a data type of the first information, and display the first information in the target window according to the first mode.
Optionally, the receiving module 701 is further configured to receive a third input when the target window is displayed in the first display mode; the display module 702 is further configured to display the first information on the second window in response to the third input; wherein the first display mode is used to indicate that the second window supports displaying the first information.
Optionally, the display module 702 is further configured to display the target window according to the first display mode when the data type that the second window supports to display includes the data type of the first information; under the condition that the data type of the first information is not included in the data types which are supported and displayed by the second window, displaying the target window according to a second display mode; wherein the second display mode is used to indicate that the second window does not support displaying the first information.
Optionally, the display module 702 is further configured to cancel displaying the target window if a first rule is satisfied; under the condition that a second rule is met, the target window is cancelled to be displayed, and a first control corresponding to the target window is displayed; wherein an interface area occupied by displaying the first control is smaller than an interface area occupied by displaying the target window, and the first rule includes at least one of: receiving a fourth input of the user, wherein the display time of the target window exceeds the first time; the second rule includes at least one of: receiving a fifth input of a user, wherein the display time of the target window exceeds a second time, and the target window at least partially occupies a display area of target content, and the target content comprises at least one of the following items: notification messages, prompt messages, target controls.
In the embodiment of the application, when a user wants to check the information on the first window, the information in the first window can be temporarily stored in the target window through triggering of the first input, and the display of the target window is not influenced by interface switching, so that the user can directly check the first information in the target window under the condition of displaying the second window, the defect of repeatedly switching the interface is avoided, the user operation is simplified, and the user experience is improved.
The data processing apparatus in the embodiments of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The data processing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801 and a memory 802, where the memory 802 stores a program or an instruction that can be executed on the processor 801, and when the program or the instruction is executed by the processor 801, the steps of the data processing method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1007 may be configured to receive a first input in a case where a first window is displayed, where the first window includes first information; a display unit 1006, configured to display a target window on the first window in an overlapping manner in response to the first input, where the target window includes the first information; a user input unit 1007 also used for receiving a second input; the display unit 1006 is further configured to cancel displaying the first window and display a second window in response to the second input, where the target window is displayed in an overlapping manner on the second window.
In the embodiment of the application, when a user wants to view information on the first window, the information in the first window can be temporarily stored in the target window through triggering of the first input, and the display of the target window is not influenced by interface switching, so that the user can directly view the first information in the target window under the condition of displaying the second window, the defect of repeated interface switching is avoided, the user operation is simplified, and the user experience is improved.
Optionally, the display unit 1006 is specifically configured to, in response to the first input, determine a first mode according to a data type of the first information, and display the first information in the target window according to the first mode.
In the embodiment of the application, the first mode can be determined according to the data type of the first information, and the first information is displayed in the target window according to the first mode, so that on one hand, a user can determine the data type of the first information through the display mode of the first information, and on the other hand, the data selected by the user can be displayed in the floating window, and therefore the convenience of the user in viewing or using the data is improved.
Optionally, the user input unit 1007 is further configured to receive a third input in a case where the target window is displayed in the first display mode; a display unit 1006, further configured to display the first information on the second window in response to the third input; wherein the first display mode is used to indicate that the second window supports displaying the first information.
In the embodiment of the application, on one hand, the user can trigger the electronic device to display the first information in the second window through the third input, so that when the user wants to copy information in interfaces of other windows, the user can directly acquire the information from a target window which is always overlapped and displayed on the upper layer of the other windows, and thus the complicated operation of switching the display windows is avoided; on the other hand, the first information can be seen in the target window all the time in the process of copying the data by the user, so that the defect that the data is invisible in the process of moving the data is avoided, the continuity of operation is enhanced, and the accuracy of operating the data is improved.
Optionally, the display unit 1006 is further configured to display the target window according to the first display mode when the data type that the second window supports to display includes the data type of the first information; under the condition that the data type of the first information is not included in the data types which are supported and displayed by the second window, displaying the target window according to a second display mode; wherein the second display mode is used to indicate that the second window does not support displaying the first information.
In the embodiment of the application, the electronic device can display the target window according to different display modes according to whether the second window supports displaying the first information, so that a user can determine whether the first information can be input into the second window according to the display mode of the target window, and convenience in operation of the user is improved.
Optionally, the display unit 1006 is further configured to cancel displaying the target window if the first rule is satisfied; under the condition that a second rule is met, the target window is cancelled to be displayed, and a first control corresponding to the target window is displayed; wherein an interface area occupied by displaying the first control is smaller than an interface area occupied by displaying the target window, and the first rule includes at least one of: receiving a fourth input of the user, wherein the display time of the target window exceeds the first time; the second rule includes at least one of: receiving a fifth input of a user, wherein the display time of the target window exceeds a second time, and the target window at least partially occupies a display area of target content, and the target content comprises at least one of the following items: notification messages, prompt messages, target controls.
In the embodiment of the application, the display of the target window can be cancelled, so that the electronic equipment can cancel the display of the target window when the user does not use the data in the target window, thereby avoiding influencing the visual experience of the user on the display interface; because the first control can be displayed, when the user does not use the data in the target window temporarily, the electronic equipment can be triggered to display the first control, so that the interface area occupied by the display target window is reduced.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the data processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing data processing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A data processing method, comprising:
receiving a first input while a first window is displayed, the first window including first information;
in response to the first input, displaying a target window on the first window in an overlay manner, the target window including the first information;
receiving a second input;
and responding to the second input, canceling the display of the first window, and displaying a second window on which the target window is superposed and displayed.
2. The data processing method of claim 1, wherein said displaying a target window on top of the first window in response to the first input comprises:
and responding to the first input, determining a first mode according to the data type of the first information, and displaying the first information in the target window according to the first mode.
3. The data processing method of claim 1, wherein after the displaying the second window, the method further comprises:
receiving a third input in a case where the target window is displayed in the first display mode;
displaying the first information on the second window in response to the third input;
wherein the first display mode is used to indicate that the second window supports displaying the first information.
4. The data processing method of claim 3, wherein prior to said receiving a third input, the method further comprises:
under the condition that the data type supported and displayed by the second window comprises the data type of the first information, displaying the target window according to the first display mode;
under the condition that the data type of the first information is not included in the data types which are supported and displayed by the second window, displaying the target window according to a second display mode;
wherein the second display mode is used to indicate that the second window does not support displaying the first information.
5. The data processing method of claim 1, wherein after the displaying the target window, the method further comprises:
canceling the display of the target window if a first rule is satisfied;
under the condition that a second rule is met, the target window is cancelled to be displayed, and a first control corresponding to the target window is displayed;
wherein an interface area occupied by displaying the first control is smaller than an interface area occupied by displaying the target window, and the first rule includes at least one of: receiving a fourth input of the user, wherein the display time of the target window exceeds the first time; the second rule includes at least one of: receiving a fifth input of a user, wherein the display time of the target window exceeds a second time, and the target window at least partially occupies a display area of target content, and the target content comprises at least one of the following items: notification messages, prompt messages, target controls.
6. A data processing apparatus, comprising: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input under the condition that a first window is displayed, wherein the first window comprises first information;
the display module is used for responding to the first input and displaying a target window on the first window in an overlapping mode, and the target window comprises the first information;
the receiving module is further used for receiving a second input;
the display module is further used for responding to the second input, canceling the display of the first window and displaying a second window;
wherein the target window is displayed in an overlapping manner on the second window.
7. The data processing apparatus of claim 6, wherein the display module is specifically configured to determine a first manner according to a data type of the first information in response to the first input, and to display the first information in the target window in the first manner.
8. The data processing apparatus according to claim 6, wherein the receiving module is further configured to receive a third input when the target window is displayed in the first display mode;
the display module is further configured to display the first information on the second window in response to the third input;
wherein the first display mode is used to indicate that the second window supports displaying the first information.
9. The data processing apparatus according to claim 8, wherein the display module is further configured to display the target window in the first display mode if the data type of the first information is included in the data types that the second window supports display; under the condition that the data type of the first information is not included in the data types which are supported and displayed by the second window, displaying the target window according to a second display mode; wherein the second display mode is used to indicate that the second window does not support displaying the first information.
10. The data processing apparatus according to claim 6, wherein the display module is further configured to cancel displaying the target window if a first rule is satisfied; under the condition that a second rule is met, the target window is cancelled to be displayed, and a first control corresponding to the target window is displayed;
wherein an interface area occupied by displaying the first control is smaller than an interface area occupied by displaying the target window, and the first rule includes at least one of: receiving a fourth input of the user, wherein the display time of the target window exceeds the first time; the second rule includes at least one of: receiving a fifth input of a user, wherein the display time of the target window exceeds a second time, and the target window at least partially occupies a display area of target content, and the target content comprises at least one of the following items: notification messages, prompt messages, target controls.
11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing a data processing method as claimed in any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the data processing method of any one of claims 1-5.
CN202210692371.5A 2022-06-17 2022-06-17 Data processing method and electronic equipment Pending CN114895815A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210692371.5A CN114895815A (en) 2022-06-17 2022-06-17 Data processing method and electronic equipment
PCT/CN2023/099888 WO2023241563A1 (en) 2022-06-17 2023-06-13 Data processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210692371.5A CN114895815A (en) 2022-06-17 2022-06-17 Data processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114895815A true CN114895815A (en) 2022-08-12

Family

ID=82729145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210692371.5A Pending CN114895815A (en) 2022-06-17 2022-06-17 Data processing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN114895815A (en)
WO (1) WO2023241563A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023241563A1 (en) * 2022-06-17 2023-12-21 维沃移动通信有限公司 Data processing method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870121A (en) * 2014-02-24 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104123078A (en) * 2014-08-12 2014-10-29 广州三星通信技术研究有限公司 Method and device for inputting information
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal
CN111726456A (en) * 2019-03-22 2020-09-29 腾讯科技(深圳)有限公司 Data processing method and related device
CN111949350A (en) * 2020-05-15 2020-11-17 华为技术有限公司 Interface display method and equipment
CN112162870A (en) * 2020-09-25 2021-01-01 深圳传音控股股份有限公司 File processing operation method, mobile terminal and storage medium
CN114442886A (en) * 2022-01-27 2022-05-06 深圳传音控股股份有限公司 Data processing method, intelligent terminal and storage medium
CN114527901A (en) * 2020-10-31 2022-05-24 华为技术有限公司 File dragging method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895815A (en) * 2022-06-17 2022-08-12 维沃移动通信有限公司 Data processing method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870121A (en) * 2014-02-24 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104123078A (en) * 2014-08-12 2014-10-29 广州三星通信技术研究有限公司 Method and device for inputting information
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal
CN111726456A (en) * 2019-03-22 2020-09-29 腾讯科技(深圳)有限公司 Data processing method and related device
CN111949350A (en) * 2020-05-15 2020-11-17 华为技术有限公司 Interface display method and equipment
CN112162870A (en) * 2020-09-25 2021-01-01 深圳传音控股股份有限公司 File processing operation method, mobile terminal and storage medium
CN114527901A (en) * 2020-10-31 2022-05-24 华为技术有限公司 File dragging method and electronic equipment
CN114442886A (en) * 2022-01-27 2022-05-06 深圳传音控股股份有限公司 Data processing method, intelligent terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023241563A1 (en) * 2022-06-17 2023-12-21 维沃移动通信有限公司 Data processing method and electronic device

Also Published As

Publication number Publication date
WO2023241563A1 (en) 2023-12-21

Similar Documents

Publication Publication Date Title
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN112988006A (en) Display method, display device, electronic equipment and storage medium
CN114385049A (en) Message processing method, device, equipment and storage medium
CN112148167A (en) Control setting method and device and electronic equipment
WO2023241563A1 (en) Data processing method and electronic device
CN113282262B (en) Control method and device for projection display picture, mobile terminal and storage medium
CN114443203A (en) Information display method and device, electronic equipment and readable storage medium
CN112399010B (en) Page display method and device and electronic equipment
CN112181252B (en) Screen capturing method and device and electronic equipment
CN113783995A (en) Display control method, display control device, electronic apparatus, and medium
CN113282213A (en) Interface display method and device
CN111638828A (en) Interface display method and device
CN111010528A (en) Video call method, mobile terminal and computer readable storage medium
CN116107531A (en) Interface display method and device
EP4351117A1 (en) Information display method and apparatus, and electronic device
CN115202524A (en) Display method and device
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN115291778A (en) Display control method and device, electronic equipment and readable storage medium
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN114416269A (en) Interface display method and display device
CN114416264A (en) Message display method and device
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN113835577A (en) Display method, display device, electronic equipment and storage medium
CN112182673A (en) Information sharing method, device and 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