CN110688045A - Method for processing files between applications, electronic device and computer readable storage medium - Google Patents

Method for processing files between applications, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN110688045A
CN110688045A CN201910939742.3A CN201910939742A CN110688045A CN 110688045 A CN110688045 A CN 110688045A CN 201910939742 A CN201910939742 A CN 201910939742A CN 110688045 A CN110688045 A CN 110688045A
Authority
CN
China
Prior art keywords
screen
application
interface
file
electronic device
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
CN201910939742.3A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910939742.3A priority Critical patent/CN110688045A/en
Publication of CN110688045A publication Critical patent/CN110688045A/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method for processing files between applications, which is applied to the technical field of communication and comprises the following steps: the method comprises the steps of displaying a first interface for running a first application on a first screen of an electronic device with a folding screen, displaying a second interface for running a second application on a second screen, confirming a currently selected file of the first application if the fact that preset point operation occurs on the first interface and the second interface is determined, confirming operation content according to the preset point operation occurring on the first interface, confirming a pointed second application according to the preset point operation occurring on the second interface, and processing the file in the second application according to the operation content. The embodiment of the invention also discloses an electronic device and a computer readable storage medium, which can improve the convenience of processing files among different applications respectively displayed on different screens.

Description

Method for processing files between applications, electronic device and computer readable storage medium
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method for processing files between applications, an electronic device and a computer-readable storage medium.
Background
The foldable mobile phone is a popular research and development direction of a recent mobile terminal, the foldable mobile phone has a foldable display screen, and the foldable mobile phone forms disclosed in the market include single folding, double folding, inward folding, outward folding, and the like. The screen of the folding screen mobile phone is switched from folding to opening, the single small screen is switched into the large screen formed by splicing the multiple small screens, and the interactive operation originally on the small screen can be expanded to the large screen. The right half side of the large screen displays an application A, the left half side of the large screen displays an application B, and when a file needs to be transmitted between the application A and the application B, the mobile phone provides a selection dialog box for operation for a user, and the user needs to click and select an operation object, an operation purpose, an operation target and the like to complete the file transmission.
In the prior art, a user often needs to perform operations in multiple steps to transmit files, and the operation is complex and inconvenient.
Disclosure of Invention
The invention provides a method for processing files among applications, an electronic device and a computer readable storage medium, and aims to solve the problems that a user can only realize file transmission after operation of multiple steps, and the operation is complicated and inconvenient.
A first aspect of an embodiment of the present invention provides a method for processing a file between applications, including:
displaying a first interface for running a first application on a first screen of an electronic device with a folding screen, and displaying a second interface for running a second application on a second screen;
if the preset point operation is determined to occur on the first interface and the second interface, confirming the currently selected file of the first application, confirming the operation content according to the preset point operation occurring on the first interface, and confirming the pointed second application according to the preset point operation occurring on the second interface;
and processing the file according to the operation content in the second application.
A second aspect of an embodiment of the present invention provides an electronic apparatus, including:
the display module is used for displaying a first interface for running a first application on a first screen of the electronic device with the folding screen and displaying a second interface for running a second application on a second screen;
the confirming module is used for confirming the currently selected file of the first application if the preset point operation is determined to occur on the first interface and the second interface, confirming the operation content according to the preset point operation occurring on the first interface, and confirming the pointed second application according to the preset point operation occurring on the second interface;
and the processing module is used for processing the file in the second application according to the operation content.
A third aspect of embodiments of the present invention provides an electronic apparatus, including:
a memory and a processor;
the memory stores executable program code;
the processor coupled to the memory calls the executable program code stored in the memory to execute the inter-application file processing method according to the second aspect of the embodiment of the present invention.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, executes the inter-application file processing method according to the first aspect of the embodiments of the present invention or the inter-application file processing method according to the second aspect of the embodiments of the present invention.
It can be known from the foregoing embodiments of the present invention that a first interface for running a first application is displayed on a first screen having a folding screen, a second interface for running a second application is displayed on a second screen, if it is determined that a preset point operation occurs on the first interface and the second interface, a file of the currently selected first application is confirmed, operation content is confirmed according to the preset point operation on the first interface, a pointed second application is confirmed according to the preset point operation on the second interface, the file of the selected first application is processed in the second application according to the operation content, and data interaction processing of the first application and the second application is completed through a simple point operation, so that convenience in processing is improved, operation of a user is facilitated, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
FIG. 1 is a diagram illustrating a folded screen of two screens in a document processing method between applications according to an embodiment of the present invention when the folded screen is unfolded;
FIG. 2 is a diagram illustrating a folding-out folding of two screens in a document processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a three-screen foldable screen of the inter-application document processing method according to the embodiment of the present invention when the foldable screen is unfolded;
fig. 4 is a schematic flow chart illustrating an implementation of a method for processing a file between applications according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a first interface and a second interface of a file processing method between applications respectively displaying different application running interfaces according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating an implementation of a method for processing files between applications according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of a file interaction between two interfaces on two different screens in the same plane according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a folding screen of three screens in a document processing method between applications according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating an implementation of a method for processing files between applications according to another embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 11 shows a hardware configuration diagram of an electronic apparatus.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The electronic device has a folding screen that includes at least a first screen and a second screen.
Specifically, when the folding screen is composed of a first screen and a second screen, the first screen and the second screen can be folded, and an included angle between the first screen and the second screen changes in the folding process. When the folding screen is in an unfolding state, the included angle between the first screen and the second screen is 180 degrees, when the folding screen is folded inwards, the included angle between the first screen and the second screen is gradually reduced, and when the folding screen is folded outwards, the included angle between the first screen and the second screen is gradually increased.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic diagram of a screen unfolding state of an electronic device with a folding screen in an embodiment of a method for processing a file between applications according to the embodiment of the present invention; fig. 2 is a schematic diagram of a screen folding state of a folding-screen electronic device of an external folding type in an embodiment of a file processing method between applications according to an embodiment of the present invention. As shown in fig. 1 and 2, the screen of the folding screen electronic device is a folding screen, and the folding screen includes a first screen 10 and a second screen 20, a hinge 30 is arranged in the middle of the first screen 10 and the second screen 20, the first screen 10 and the second screen 20 are foldable with the hinge 30 as a center, and before folding, the first screen 10 and the second screen 20 are spliced into a plane, which is a full screen including the first screen 10 and the second screen 20; when the foldable screen is folded, the included angle between the first screen 10 and the second screen 20 changes, until the first screen 10 and the second screen 20 are folded, the first screen 10 and the second screen 20 are respectively in the opposite directions, the screen located above in fig. 2 is the first screen 10, and the second screen 20 is located on the screen folded downwards at the back of the first screen 10. Further, a hall sensor 40 and a magnet 50 are provided at the side of the folding screen. The folded or unfolded state of the folding screen can be judged by the hall sensor 40. The hall sensor 40 is a magnetic field sensor made according to the hall effect. The current flows through the conductor in the magnetic field, the magnetic field generates Lorentz force to the moving carriers, the carriers are accumulated at one end of the conductor to generate electric potential, the electric field force balances the action of the magnetic field force to the carriers, a voltage difference is formed at two ends of the conductor, and the strength of the magnetic field 50 can be reflected according to the voltage difference. The strength of the magnetic field 50 may in turn be determined by the distance the magnet 50 is in proximity to the hall sensor 40. The folding or unfolding state of the folding screen can be judged by the distance between the magnet 50 and the hall sensor 40. Further, the detection of the folding angle can be achieved by hall sensors 40 in multiple directions.
Further, a rotation detection sensor, for example, a gyroscope sensor, is disposed in the folding screen electronic device, and is used for detecting a deflection angle and a deflection direction of the folding screen electronic device, and may be used for determining a rotation state of the folding screen electronic device, for example, turning over the folding screen electronic device during folding to change from the first screen to the second screen. The folding screen electronic device is provided with a folding detection sensor, such as the hall sensor 40 and the magnet 50, and can be used for determining the unfolding state, the folding state, and the unfolding angle of the folding screen by detecting the intensity of the magnetic field. Based on the rotation detection sensor and the folding detection sensor, the state of the full screen display of the folding screen electronic device can be judged, the state of the folding screen electronic device that the first screen faces the user after folding, the state of the folding screen that the second screen faces the user after folding, and the like.
When the folding screen is composed of a first screen, a second screen and a third screen, the form of the folding mobile phone is a double folding form. As shown in fig. 3, the first screen 10 and the third screen 11 are two separate screens in the folded state, and are located on the same side, and the second screen 20 is separately located on the other side. When the screen is unfolded, the first screen 10 rotates counterclockwise around the first hinge 31 as an axis to be on the same plane as the second screen 20, the third screen 11 rotates clockwise around the second hinge 32 as an axis to be on the same plane as the second screen 20, and the first screen 10, the second screen 20 and the third screen 11 form a full screen.
Referring to fig. 4, fig. 4 is a schematic view illustrating an implementation flow of a file processing method between applications according to an embodiment of the present invention, where the method is applicable to an electronic device with a foldable screen. The method comprises the following steps:
101. displaying a first interface for running a first application on a first screen of an electronic device with a folding screen, and displaying a second interface for running a second application on a second screen;
the method comprises the steps of displaying a first interface for running a first application on a first screen, and displaying a second interface for running a second application on a second screen, wherein the first application is an album and the second application is an instant messaging application. As shown in fig. 5.
The first screen and the second screen are two screens of a folding screen, and the first screen and the second screen can be folded to form different included angles between the first screen and the second screen.
102. If the preset point operation is determined to occur on the first interface and the second interface, confirming the file of the currently selected first application, confirming the operation content according to the preset point operation occurring on the first interface, and confirming the pointed second application according to the preset point operation occurring on the second interface;
the operation content comprises the following steps: transfer, open, execute, etc.;
the number of files of the selected first application may be one or more. The user selects the operated file before performing the preset point operation.
And confirming the operation content according to the preset point operation occurring on the first interface, and confirming the pointed second application according to the preset point operation occurring on the second interface. If the number of the second applications is multiple, after the preset point operation is determined to occur on the first interface and the second interface, a prompt box pops up to prompt a user to select one or more second applications from the multiple second applications, and the second applications are determined to be the second applications pointed by the preset point operation.
103. And processing the file according to the operation content in the second application.
And correspondingly transmitting, opening and operating the file according to the operation content in a second application pointed by the preset point operation on the second interface. And displaying the corresponding animation transmission effect while processing.
In the embodiment of the invention, a first interface for running a first application is displayed on a first screen with a folding screen, a second interface for running a second application is displayed on a second screen, if the preset point operation is determined to occur on the first interface and the second interface, the currently selected file of the first application is confirmed, the operation content is confirmed according to the preset point operation on the first interface, the pointed second application is confirmed according to the preset point operation on the second interface, the selected file of the first application is processed in the second application according to the operation content, and the data interaction processing of the first application and the second application is completed through simple point operation, so that the processing convenience is improved, the operation of a user is facilitated, and the user experience is improved.
Referring to fig. 6, fig. 6 is a schematic view of an implementation flow of a file processing method between applications, where the method may be applied to an electronic device with a foldable screen, and the method mainly includes the following steps:
201. displaying a first interface for running a first application on a first screen of an electronic device with a folding screen, and displaying a second interface for running a second application on a second screen;
202. if the touch operation or the press operation is determined to occur on the first interface and the second interface, confirming the file of the currently selected first application, confirming the operation content according to the touch operation or the press operation occurring on the first interface, and confirming the pointed second application according to the touch operation or the press operation occurring on the second interface;
specifically, the preset point operation is a touch operation, that is, a touch operation is detected on both the first interface and the second interface, and according to a file of the first application selected by the user, an operation content corresponding to the touch operation on the first interface and a second application pointed by the touch operation on the second interface are triggered. Or the preset point operation is a pressing operation, that is, the pressing operation is detected on both the first interface and the second interface, and the file of the first application selected by the user, the operation content corresponding to the touch operation on the first interface, and the second application pointed by the touch operation on the second interface are triggered. The user can transfer the selected file of the first application to a second application across planes, screens and applications or be opened or run by the second application through touch operation or press operation on the first interface and the second interface.
All set up fingerprint inductor etc. under first screen and second screen and can sense the inductor that user's finger touched these two screens, confirm whether all indicate the touch on first interface and the second interface through this fingerprint inductor, if all indicate the touch on first interface and the second interface, then confirm all to have the touch operation on first interface and the second interface.
Further, pressure sensors are arranged below the first screen and the second screen, after the first interface and the second interface are confirmed to be touched by fingers, whether the pressure values of the fingers of the user on the first interface and the second interface are larger than a preset threshold value or not is confirmed through the pressure sensors, and if the pressure values of the fingers are larger than the preset threshold value, pressing operation is confirmed on the first interface and the second interface.
When the folding screen is in the folded state shown in fig. 2, the user may transfer a selected file to a second application by performing a touch operation or a press operation on the selected file on a first interface of the first application running on the first screen 10 and a touch operation or a press operation on the second application on a second interface of the second application running on the second screen 20, or open, run, etc. in the second application. Since the first screen 10 and the second screen 20 are folded in opposite directions, the data exchange processing between the applications respectively folded in the screens in different directions can be completed by simple touch operation or pressing operation, i.e. by "touching" or "pinching" so as to improve the convenience of operation.
Further, when the second application is an instant messaging application, keywords associated with the operation content and the file of the first application in the conversation content of the second interface are identified, and the keywords are stored in a database in advance, wherein the database can be in a cloud or a local area. For example, the keywords include: transmission, opening, running, etc.; if the first application is an album, the keywords associated with the file of the first application include: photos, videos, photographs, photos, and the like.
Whether an included angle between the first screen and the second screen accords with a preset angle is judged, for example, the preset angle is 180 degrees, the first screen and the second screen are in an unfolded state at the included angle, or the preset included angle is an angle of a specific position relation formed by other first screens and the second screen. And if the included angle between the first screen and the second screen is in accordance with the preset angle, prompting the user to use a shortcut operation mode to trigger the file of the first application to be processed in the second application according to the operation content corresponding to the keyword, and after the user uses the shortcut operation, triggering the confirmation of the operation content and the pointed second application.
Specifically, if the included angle is 180 degrees, namely the first screen and the second screen are in an expanded state, prompting a user to use a dragging mode to trigger the file of the first application to be processed in the second application according to the operation content; and if the included angle is 360 degrees, namely the first screen and the second screen are in a reverse folding state, prompting a user to use double-click on the first interface, touch on the first interface and the second interface, and triggering to process the file of the first application in the second application according to the operation content in the first interface and the second interface in a pressing mode.
Further, if it is detected that the user uses the shortcut operation, whether a current included angle between the first screen and the second screen meets a preset angle corresponding to the shortcut operation is judged, for example, a dragging operation is detected, whether the current included angle between the first screen and the second screen is 180 degrees is judged, if not, the shortcut operation is not responded, and a touch operation or a pressing operation or a double-click operation applicable to the current included angle is prompted.
Further, when the folding screen further includes a third screen, that is, when the folding screen is in the double-folding state, a third interface of the running third application is displayed on the third screen. As shown in fig. 3, the first screen 10 and the second screen 20 are connected by a first hinge 12, and the second screen 20 and the third screen 11 are connected by a second hinge 13. Through the touch detection device arranged between the first screen and the third screen, whether an included angle between the first screen and the third screen accords with a preset angle or not is judged, specifically, the included angle is judged through a Hall sensor or a touch button arranged on one side opposite to the first screen and the third screen, if the included angle accords with the preset angle, when the shortcut operation is detected on a first interface, the operation content of the shortcut operation and a file of a first application which points to the shortcut operation are obtained, whether the target application of the shortcut operation is a third application or not is continuously detected, and if the target application is the third application, the file of the first application is processed according to the operation content of the shortcut operation in the third application. Specifically, referring to fig. 7, a user may drag a file from a first interface to a second interface, first slide the file from an icon of the file to an edge of a first screen on the first interface, and then slide the file from the edge of the second screen to a second application on the second interface, thereby completing a drag operation.
Further, referring to fig. 8, in the folded state, the first screen 10, the second screen 20, and the third screen 30 are not on the same side, the first screen 10 is at the top, the screen faces upward, and the second screen 20 and the third screen 30 face inward; in the unfolded state, the first screen 10, the second screen 20, and the third screen 30 constitute a full screen. Different folding states of the screen can be judged through the plurality of Hall sensors and the magnet. In the folded state, the user can see only the first screen 10 and cannot see the second screen 20 and the third screen 11. It is also possible to perform file transfer, opening, running, and the like that are completed between applications running in each screen across planes, so that the user performs file processing that exaggerates the applications without seeing the screen. The file to be selected can be determined according to the selection operation of the user; and further selecting a screen and an application for processing the file according to the touch operation, the press operation or the multi-click operation.
203. And processing the file according to the operation content in the second application.
This embodiment is not described in detail, but reference is made to the description of the embodiment shown in fig. 4.
In the embodiment of the invention, a first interface for running a first application is displayed on a first screen with a folding screen, a second interface for running a second application is displayed on a second screen, if touch operation or press operation is determined to occur on the first interface and the second interface, a file of the currently selected first application is confirmed, operation content is confirmed according to the touch operation or the press operation on the first interface, a pointed second application is confirmed according to the touch operation or the press operation on the second interface, the selected file of the first application is processed in the second application according to the operation content, and data interaction processing of the first application and the second application is completed through simple touch operation or press operation, so that convenience in processing is improved, operation of a user is facilitated, and user experience is improved.
Referring to fig. 9, fig. 9 is a schematic view of an implementation flow of a file processing method between applications, where the method may be applied to an electronic device with a foldable screen, and the method mainly includes the following steps:
301. displaying a first interface for running a first application on a first screen of an electronic device with a folding screen, and displaying a second interface for running a second application on a second screen;
302. if continuous multi-click operation within a preset time length on the first interface is determined, confirming a currently selected file of the first application, and confirming operation content and a pointed second application according to the continuous multi-click operation;
unlike the embodiment shown in fig. 6, in which a touch operation or a press operation is detected on the first interface and the second interface at the same time, detecting multiple continuous click operations, such as a double-click operation or a triple-click operation, on the first interface within a preset time duration may trigger and confirm the file, the operation content, and the second reference pointed by the operation of the first application currently selected by the user. Without detecting whether there is an operation of the user in the second interface. The convenience of operation is further improved.
303. And processing the file according to the operation content in the second application.
This embodiment is not described in detail, and reference is made to the description of the embodiment shown in fig. 4 and 6.
In the embodiment of the invention, a first interface for running a first application is displayed on a first screen with a folding screen, a second interface for running a second application is displayed on a second screen, if a double-click operation is determined to occur on the first interface, a currently selected file of the first application is confirmed, operation content and a pointed second application are confirmed according to the double-click operation, the selected file of the first application is processed in the second application according to the operation content, the file to be processed is selected, and data interaction processing of the first application and the second application is completed through the double-click operation on the first interface, so that the convenience of processing is improved, the operation of a user is facilitated, and the user experience is improved
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and for convenience of description, only a portion related to the embodiment of the present invention is shown. The electronic device illustrated in fig. 10 may be an execution subject of the inter-application file processing method provided in the embodiments illustrated in fig. 4, 6, and 9. The electronic device includes:
the display module 401 is configured to display a first interface for running a first application on a first screen of an electronic device with a folding screen, and display a second interface for running a second application on a second screen;
a confirming module 402, configured to confirm the currently selected file of the first application if it is determined that preset point operations occur on the first interface and the second interface, confirm operation contents according to the preset point operations occurring on the first interface, and confirm the pointed second application according to the preset point operations occurring on the second interface;
a processing module 403, configured to process the file according to the operation content in the second application.
Further, the preset point operation is a touch operation; the preset dot operation is a pressing operation.
The confirming module 402 is further configured to, when the second application is an instant messaging application, identify keywords associated with the operation content and the file of the first application in the dialog content of the second interface;
judging whether an included angle between the first screen and the second screen accords with a preset angle or not;
and if so, prompting the user to use a shortcut operation mode to trigger the second application to process the file of the first application according to the operation content corresponding to the keyword.
The determining module 402 is further configured to determine whether a current included angle between the first screen and the second screen matches the preset angle corresponding to the shortcut operation if the shortcut operation is detected;
and if not, not responding to the shortcut operation and prompting the touch operation or the press operation applicable to the current included angle.
Further, the folding screen further comprises a third screen, a third interface of a third running application is displayed on the third screen, the first screen is connected with the second screen through a first hinge, and the second screen is connected with the third screen through a second hinge;
the determining module 402 is further configured to determine whether an included angle between the first screen and the third screen matches the preset angle through a touch detection device disposed between the first screen and the third screen;
if the preset angle is met, when the shortcut operation is detected on the first interface, acquiring the operation content of the shortcut operation and a pointed file of the first application, and continuously detecting whether a target application of the shortcut operation is the third application;
and if the file is the third application, processing the file of the first application in the third application according to the operation content of the shortcut operation.
The confirming module 402 is further configured to, when the preset point operation is a continuous multi-click operation within a preset time duration on the first interface, confirm the operation content and the pointed second application according to the continuous multi-click operation.
The present embodiment is not described in detail, and reference is made to the description of the foregoing embodiments.
In this embodiment, a first interface for running a first application is displayed on a first screen with a folding screen, a second interface for running a second application is displayed on a second screen, if it is determined that a preset point operation occurs on the first interface and the second interface, a file of the currently selected first application is confirmed, operation content is confirmed according to the preset point operation on the first interface, a pointed second application is confirmed according to the preset point operation on the second interface, the selected file of the first application is processed in the second application according to the operation content, and data interaction processing of the first application and the second application is completed through simple point operation, so that convenience in processing is improved, operation of a user is facilitated, and user experience is improved.
An embodiment of the present invention further provides an electronic device, including: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the file processing method among the applications in the embodiments shown in the previous figures 4, 5 and 9.
Referring to fig. 11, fig. 11 is a hardware structure diagram of an electronic device according to an embodiment of the invention.
For example, the electronic device may be any of various types of computer system apparatuses that are mobile or portable and perform wireless communication. In particular, the electronic apparatus may be a mobile phone or a smart phone (e.g., iPhone-based, Android-based phone), a portable game device (e.g., Nintendo DS, playstatio portable, Gameboy Advance, iPhone), a laptop, a PDA, a portable internet appliance, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., and other wearable devices (e.g., electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the electronic device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus may be a portable device such as a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device.
As shown in fig. 11, the electronic device 10 may include control circuitry, which may include storage and processing circuitry 30. The storage and processing circuitry 30 may include memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable erase limit memory used to form solid state drives, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), and so forth, although the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 30 may be used to control the operation of the electronic device 10. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 30 may be used to run software within the electronic device 10 such as, for example, an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The electronic device 10 may also include input-output circuitry 42. The input-output circuitry 42 may be used to enable the electronic device 10 to enable input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuitry 42 may further include the sensor 32. The sensors 32 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 42 may also include one or more displays, such as display 14. The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display 14 may include an array of touch sensors (i.e., the display 14 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functionality for the electronic device 10. Audio components 36 in electronic device 10 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 38 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 38 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 38 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 38 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 10 may further include a battery, power management circuitry, and other input-output units 40. The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10, and may use output data of input-output circuitry 42 to enable receipt of status information and other outputs from electronic device 10.
Further, an embodiment of the present invention further provides a computer-readable storage medium, which may be disposed in the electronic device in the foregoing embodiments, and the computer-readable storage medium may be a memory in the storage and processing circuit 30 in the foregoing embodiment shown in fig. 11. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the inter-application file processing method described in the embodiments shown in fig. 4, 6, and 9. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the above description, for the document processing method between applications, the electronic device and the computer readable storage medium provided by the present invention, for those skilled in the art, there may be variations in the specific implementation and application scope according to the idea of the embodiment of the present invention, and in summary, the content of the present specification should not be construed as limiting the present invention.

Claims (10)

1. A method for processing files between applications, the method comprising:
displaying a first interface for running a first application on a first screen of an electronic device with a folding screen, and displaying a second interface for running a second application on a second screen;
if the preset point operation is determined to occur on the first interface and the second interface, confirming the currently selected file of the first application, confirming the operation content according to the preset point operation occurring on the first interface, and confirming the pointed second application according to the preset point operation occurring on the second interface;
and processing the file according to the operation content in the second application.
2. The method according to claim 1, wherein the preset point operation is a touch operation.
3. The method according to claim 1, wherein the preset point operation is a pressing operation.
4. The method according to any one of claims 1 to 3, further comprising:
when the second application is an instant messaging application, identifying keywords associated with the operation content and the file of the first application in the conversation content of the second interface;
judging whether an included angle between the first screen and the second screen accords with a preset angle or not;
and if so, prompting a user to use a shortcut operation mode to trigger the second application to process the file of the first application according to the operation content corresponding to the keyword.
5. The method of claim 4, further comprising:
if the shortcut operation is detected, judging whether a current included angle between the first screen and the second screen accords with the preset angle corresponding to the shortcut operation;
and if not, not responding to the shortcut operation, and prompting the touch operation or the press operation applicable to the current included angle.
6. The method of claim 5, further comprising:
the folding screen further comprises a third screen, a third interface of a running third application is displayed on the third screen, the first screen is connected with the second screen through a first hinge, and the second screen is connected with the third screen through a second hinge;
judging whether an included angle between the first screen and the third screen accords with the preset angle or not through a touch detection device arranged between the first screen and the third screen;
if the preset angle is met, when the shortcut operation is detected on the first interface, acquiring the operation content of the shortcut operation and a pointed file of the first application, and continuously detecting whether a target application of the shortcut operation is the third application;
and if the file is the third application, processing the file of the first application in the third application according to the operation content of the shortcut operation.
7. The method according to claim 1, wherein when the preset point operation is a continuous multi-click operation within a preset time duration on the first interface, the operation content and the pointed second application are confirmed according to the continuous multi-click operation.
8. An electronic device, comprising:
the display module is used for displaying a first interface for running a first application on a first screen of the electronic device with the folding screen and displaying a second interface for running a second application on a second screen;
the confirming module is used for confirming the currently selected file of the first application if the preset point operation is determined to occur on the first interface and the second interface, confirming the operation content according to the preset point operation occurring on the first interface, and confirming the pointed second application according to the preset point operation occurring on the second interface;
and the processing module is used for processing the file in the second application according to the operation content.
9. An electronic device, comprising:
a memory and a processor;
the memory stores executable program code;
the processor coupled with the memory, calling the executable program code stored in the memory, executing the inter-application file processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the inter-application file processing method according to any one of claims 1 to 7.
CN201910939742.3A 2019-09-30 2019-09-30 Method for processing files between applications, electronic device and computer readable storage medium Pending CN110688045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910939742.3A CN110688045A (en) 2019-09-30 2019-09-30 Method for processing files between applications, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910939742.3A CN110688045A (en) 2019-09-30 2019-09-30 Method for processing files between applications, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110688045A true CN110688045A (en) 2020-01-14

Family

ID=69111142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910939742.3A Pending CN110688045A (en) 2019-09-30 2019-09-30 Method for processing files between applications, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110688045A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050104866A1 (en) * 2003-11-19 2005-05-19 Fuji Photo Film Co., Ltd. Electronic apparatus
CN103023753A (en) * 2012-12-05 2013-04-03 上海量明科技发展有限公司 Method, client-side and system for interactive content correlation output in instant messaging interaction
US20150346991A1 (en) * 2013-07-11 2015-12-03 Samsung Electronics Co., Ltd. User terminal device for displaying application and methods thereof
CN105430168A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Mobile terminal and file sharing method
KR20160092877A (en) * 2015-01-28 2016-08-05 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN106570102A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Intelligent chat method, apparatus and terminal
CN106603823A (en) * 2016-11-28 2017-04-26 努比亚技术有限公司 Content sharing method and device and terminal
CN107562302A (en) * 2016-07-01 2018-01-09 百度在线网络技术(北京)有限公司 Method and apparatus for operating the file on mobile terminal
CN109582477A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Document transmission method, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050104866A1 (en) * 2003-11-19 2005-05-19 Fuji Photo Film Co., Ltd. Electronic apparatus
CN103023753A (en) * 2012-12-05 2013-04-03 上海量明科技发展有限公司 Method, client-side and system for interactive content correlation output in instant messaging interaction
US20150346991A1 (en) * 2013-07-11 2015-12-03 Samsung Electronics Co., Ltd. User terminal device for displaying application and methods thereof
KR20160092877A (en) * 2015-01-28 2016-08-05 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN105430168A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Mobile terminal and file sharing method
CN107562302A (en) * 2016-07-01 2018-01-09 百度在线网络技术(北京)有限公司 Method and apparatus for operating the file on mobile terminal
CN106570102A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Intelligent chat method, apparatus and terminal
CN106603823A (en) * 2016-11-28 2017-04-26 努比亚技术有限公司 Content sharing method and device and terminal
CN109582477A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Document transmission method, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN109313519B (en) Electronic device comprising a force sensor
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
US8893054B2 (en) Devices, systems, and methods for conveying gesture commands
CN114930289A (en) Widget processing method and related device
WO2020007147A1 (en) Application switching method and apparatus for split screen, storage medium, and electronic device
US11762621B2 (en) Object management method and mobile terminal
CN109283996B (en) Display control method and related product
CN108833779B (en) Shooting control method and related product
CN109067984B (en) Data transmission method, electronic device and computer readable storage medium
CN109032732B (en) Notification display method and device, storage medium and electronic equipment
US11567725B2 (en) Data processing method and mobile device
CN109165075A (en) Application display method, device, electronic equipment and storage medium
CN106156664A (en) User interface anti-peeping method, system, application program and the terminal of application program
CN109885201B (en) Touch area detection method for touch screen, electronic device and computer readable storage medium
CN108920052B (en) Page display control method and related product
US20150042589A1 (en) Method and electronic device for wireless connection
CN109194810A (en) display control method and related product
CN109410846B (en) Screen backlight setting method, electronic device and computer readable storage medium
CN109359453B (en) Unlocking method and related product
WO2020007115A1 (en) Split-screen exiting method and apparatus, storage medium, and electronic device
JP6213467B2 (en) Terminal device, display control method, and program
CN110688045A (en) Method for processing files between applications, electronic device and computer readable storage medium
CN109782960B (en) Touch screen point reporting area switching method, electronic device and computer readable storage medium
CN111226190A (en) List switching method and terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200114