patents.google.com

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

  • ️Tue Jan 14 2020
应用之间文件处理方法、电子装置及计算机可读存储介质File processing method between applications, electronic device and computer-readable storage medium

技术领域technical field

本发明属于通信技术领域,尤其涉及一种应用之间文件处理方法、电子装置及计算机可读存储介质。The present invention belongs to the field of communication technologies, and in particular, relates to a file processing method between applications, an electronic device and a computer-readable storage medium.

背景技术Background technique

折叠手机是最近移动终端的热门研发方向,折叠手机具有可折叠显示屏,市场上已经公开的折叠手机形态包括单次折叠、双次折叠、向内折叠、向外折叠等。折叠屏手机的屏幕从折叠到打开,屏幕由单片小屏切换为多片小屏拼接成的大屏,可将原本在小屏幕的交互操作拓展到大屏上。大屏的右半侧显示A应用,左半侧显示B应用,当需要在A应用和B应用之间传输文件时,手机为用户提供了操作的选择对话框,需要点击选择操作对象、操作目的、操作目标等,来完成文件的传输。Folding mobile phones are a popular research and development direction for mobile terminals recently. Folding mobile phones have foldable display screens. The forms of folding mobile phones that have been disclosed in the market include single folding, double folding, inward folding, and outward folding. From folding to opening, the screen of a folding screen mobile phone is switched from a single small screen to a large screen formed by splicing multiple small screens, which can expand the original interactive operation on the small screen to the large screen. The right half of the large screen displays the A application, and the left half displays the B application. When the file needs to be transferred between the A application and the B application, the mobile phone provides the user with an operation selection dialog box, and the user needs to click to select the operation object and operation purpose. , operation target, etc., to complete the file transfer.

在上述现有技术中,往往需要用户经过多个步骤的操作后才能实现文件的传输,操作繁琐,不便捷。In the above-mentioned prior art, it is often necessary for the user to perform multiple steps of operations before the file transmission can be realized, which is cumbersome and inconvenient.

发明内容SUMMARY OF THE INVENTION

本发明提供一种应用之间文件处理方法、电子装置及计算机可读存储介质,旨在解决用户经过多个步骤的操作后才能实现文件的传输,操作繁琐,不便捷的问题。The present invention provides a file processing method between applications, an electronic device and a computer-readable storage medium, aiming at solving the problems of complicated and inconvenient operations that users can only realize file transmission after multiple steps of operations.

本发明实施例第一方面提供了一种应用之间文件处理方法,包括:A first aspect of the embodiments of the present invention provides a method for processing files between applications, including:

在具有折叠屏的电子装置的第一屏幕上显示运行第一应用的第一界面,以及在第二屏幕上显示运行第二应用的第二界面;displaying a first interface for running the first application on a first screen of the electronic device with a folding screen, and displaying a second interface for running the second application on the second screen;

若确定在所述第一界面和所述第二界面上发生预设的点操作,则确认当前选择的所述第一应用的文件,并根据所述第一界面上发生的预设的点操作确认操作内容,以及根据在所述第二界面上发生的预设的点操作确认指向的第二应用;If it is determined that a preset point operation occurs on the first interface and the second interface, the currently selected file of the first application is confirmed, and the preset point operation occurs on the first interface. Confirm the operation content, and confirm the pointed second application according to the preset point operation that occurs on the second interface;

在所述第二应用中按照所述操作内容处理所述文件。The file is processed in the second application according to the operation content.

本发明实施例第二方面提供了一种电子装置,包括:A second aspect of the embodiments of the present invention provides an electronic device, including:

显示模块,用于在具有折叠屏的电子装置的第一屏幕上显示运行第一应用的第一界面,以及在第二屏幕上显示运行第二应用的第二界面;a display module, configured to display a first interface for running the first application on a first screen of the electronic device with a folding screen, and display a second interface for running the second application on the second screen;

确认模块,用于若确定在所述第一界面和所述第二界面上发生预设的点操作,则确认当前选择的所述第一应用的文件,并根据所述第一界面上发生的预设的点操作确认操作内容,以及根据在所述第二界面上发生的预设的点操作确认指向的第二应用;The confirmation module is used for confirming the currently selected file of the first application if it is determined that a preset point operation occurs on the first interface and the second interface, and The preset point operation confirms the operation content, and confirms the pointed second application according to the preset point operation that occurs on the second interface;

处理模块,用于在所述第二应用中按照所述操作内容处理所述文件。A processing module, configured to process the file in the second application according to the operation content.

本发明实施例第三方面提供了一种电子装置,包括:A third aspect of the embodiments of the present invention provides an electronic device, including:

存储器和处理器;memory and processor;

所述存储器存储有可执行程序代码;The memory stores executable program codes;

与所述存储器耦合的所述处理器,调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第二方面提供的应用之间文件处理方法。The processor coupled with the memory invokes the executable program code stored in the memory to execute the method for processing files between applications provided in 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, and when the computer program is run by a processor, executes the file between applications provided in the first aspect of the embodiments of the present invention The processing method or the inter-application file processing method provided by the second aspect of the embodiment of the present invention.

从上述本发明实施例可知,在具有折叠屏的第一屏幕上显示运行第一应用的第一界面,在第二屏幕上显示运行第二应用的第二界面,若确定在第一界面和第二界面上发生预设的点操作,则确认当前选择的第一应用的文件,并根据第一界面上的预设的点操作确认操作内容,根据在第二界面上的预设的点操作确认指向的第二应用,在第二应用中按照操作内容处理选择的该第一应用的文件,通过简单的点操作完成第一应用和第二应用的数据交互处理,提高处理的便捷性,方便用户的操作,提高用户体验。It can be known from the above embodiments of the present invention that the first interface for running the first application is displayed on the first screen with the folding screen, and the second interface for running the second application is displayed on the second screen. When a preset point operation occurs on 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, and the operation content is confirmed according to the preset point operation on the second interface. The pointed second application, in the second application, processes the selected file of the first application according to the operation content, and completes the data interaction processing between the first application and the second application through a simple point operation, which improves the convenience of processing and is convenient for users operation to improve user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only are some embodiments of the present invention.

图1是本发明实施例提供的应用之间文件处理方法之两块屏幕的折叠屏展开时的示意图;FIG. 1 is a schematic diagram when the folding screens of two screens of the method for processing files between applications provided by an embodiment of the present invention are unfolded;

图2是本发明实施例提供的应用之间文件处理方法之两块屏幕的折叠屏外折型折叠时的示意图;2 is a schematic diagram of a folded screen outside folding type of two screens of a method for processing files between applications provided by an embodiment of the present invention;

图3是本发明实施例提供的应用之间文件处理方法之三块屏幕的折叠屏展开时的示意图;FIG. 3 is a schematic diagram when the folding screens of three screens of the method for processing files between applications provided by an embodiment of the present invention are unfolded;

图4是本发明一实施例提供的应用之间文件处理方法的实现流程示意图;4 is a schematic flowchart of an implementation of a method for processing files between applications provided by an embodiment of the present invention;

图5是本发明实施例提供的应用之间文件处理方法之在第一界面和第二界面分别显示不同应用运行界面的示意图;5 is a schematic diagram of respectively displaying different application running interfaces on a first interface and a second interface according to a method for processing files between applications provided by an embodiment of the present invention;

图6是本发明另一实施例提供的应用之间文件处理方法的实现流程示意图;6 is a schematic diagram of an implementation flowchart of a method for processing files between applications provided by another embodiment of the present invention;

图7是本发明实施例提供的应用之间文件处理方法之在两块处于同一平面的不同屏幕上的两个界面之间应用的文件交互的示意图;FIG. 7 is a schematic diagram of the file interaction of applications between two interfaces on two different screens on the same plane according to the method for processing files between applications provided by an embodiment of the present invention;

图8是本发明实施例提供的应用之间文件处理方法之三块屏幕的折叠屏折叠时的示意图;8 is a schematic diagram of a folding screen of three screens of a method for processing files between applications provided by an embodiment of the present invention when the folding screens are folded;

图9是本发明又一实施例提供的应用之间文件处理方法的实现流程示意图;FIG. 9 is a schematic flowchart of an implementation of a method for processing files between applications provided by another embodiment of the present invention;

图10是本发明实施例提供的电子装置的结构示意图;10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

图11示出了一种电子装置硬件结构图。FIG. 11 shows a hardware structure diagram of an electronic device.

具体实施方式Detailed ways

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, 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. The embodiments described above are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

电子装置具有折叠屏,该折叠屏至少包括第一屏幕和第二屏幕。The electronic device has a folding screen, and the folding screen includes at least a first screen and a second screen.

具体地,当折叠屏由第一屏幕和第二屏幕构成时,第一屏幕和第二屏幕之间可以折叠,在折叠的过程中,第一屏幕和第二屏幕之间的夹角发生变化。在折叠屏为展开状态时,第一屏幕与第二屏幕之间的夹角为180度,向内折叠时,第一屏幕与第二屏幕之间的夹角逐渐减小,向外折叠时,第一屏幕与第二屏幕之间的夹角逐渐加大。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 during the folding process, the angle between the first screen and the second screen changes. When the folding screen is in the unfolded state, the angle between the first screen and the second screen is 180 degrees. When folding inward, the angle between the first screen and the second screen gradually decreases. When folding outward, the angle between the first screen and the second screen gradually decreases. The angle between the first screen and the second screen gradually increases.

参见图1和图2,图1为本发明实施例提供的应用之间文件处理方法的实施例中外折型的折叠屏电子装置的屏幕展开状态示意图;图2为本发明实施例提供的应用之间文件处理方法的实施例中外折型的折叠屏电子装置的屏幕折叠状态示意图。折叠屏电子装置的屏幕为折叠屏,如图1、图2所示,折叠屏包括第一屏幕10和第二屏幕20,第一屏幕10和第二屏幕20的中间部分是铰链30,第一屏幕10和第二屏幕20以铰链30为中心可折叠,折叠前,第一屏幕10和第二屏幕20拼接成一个平面,为一个包括第一屏幕10和第二屏幕20的全屏幕;折叠时,第一屏幕10和第二屏幕20的夹角发生变化,直到折叠后,第一屏幕10和第二屏幕20分别在上下相反的方向,图2中位于上面的屏幕为第一屏幕10,第二屏幕20位于向下折叠在第一屏幕10背面的屏幕。进一步地,在折叠屏的侧面设置有霍尔传感器40和磁铁50。折叠屏的折叠或展开状态,可以通过霍尔传感器40来判断。霍尔传感器40是根据霍尔效应制作的一种磁场传感器。电流流过磁场中的导体,磁场对移动的载流子产生洛伦兹力,载流子积累在导体的一端,产生电势,其电场力平衡磁场力对载流子的作用,在导体两端形成电压差,根据电压差可以反应出磁场50的强度。磁场50的强度又可以由磁铁50接近霍尔传感器40的距离来决定。通过磁铁50与霍尔传感器40之间距离的远近可以判断折叠屏的折叠或展开状态。进一步地,通过多个方向的霍尔传感器40可以实现折叠角度的检测。Referring to FIG. 1 and FIG. 2 , FIG. 1 is a schematic diagram of a screen unfolding state of a folding screen electronic device of an outward folding type in an embodiment of a file processing method between applications provided by an embodiment of the present invention; FIG. 2 is a schematic diagram of an application provided by an embodiment of the present invention. A schematic diagram of a screen folded state of an externally folded foldable screen electronic device in an embodiment of an inter-file processing method. The screen of the folding screen electronic device is a folding screen. As shown in FIG. 1 and FIG. 2 , the folding screen includes a first screen 10 and a second screen 20 . The middle part of the first screen 10 and the second screen 20 is the hinge 30 . The screen 10 and the second screen 20 are foldable with the hinge 30 as the center. 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 folded , the angle between the first screen 10 and the second screen 20 changes, until after folding, the first screen 10 and the second screen 20 are in opposite directions up and down, respectively. The upper screen in FIG. 2 is the first screen 10. The second screen 20 is located on the screen folded down on the back of the first screen 10 . Further, a hall sensor 40 and a magnet 50 are arranged on 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. A current flows through a conductor in a magnetic field, the magnetic field produces a Lorentz force on the moving carriers, and the carriers accumulate at one end of the conductor, generating an electric potential, whose electric field force balances the effect of the magnetic field force on the carriers, at both ends of the conductor A voltage difference is formed, 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 proximity of the magnet 50 to the Hall sensor 40 . The folded or unfolded state of the folding screen can be determined by the distance between the magnet 50 and the Hall sensor 40 . Further, the detection of the folding angle can be realized by the Hall sensors 40 in multiple directions.

进一步地,折叠屏电子装置中设置有旋转检测传感器,例如,陀螺仪传感器,用于检测折叠屏电子装置的偏转角度和方向,可以用于判断折叠屏电子装置的旋转状态,例如折叠时翻转折叠屏电子装置,从第一屏幕转为第二屏幕。折叠屏电子装置中设置有折叠检测传感器,例如上述的霍尔传感器40和磁铁50等,通过检测磁场强度的大小,可以用于判断折叠屏的展开状态、折叠状态及展开角度。基于旋转检测传感器和折叠检测传感器,可以判断出折叠屏电子装置全屏幕显示的状态,折叠屏电子装置折叠后第一屏幕朝向用户的状态,折叠后第二屏幕朝向用户的状态等。Further, the folding screen electronic device is provided with a rotation detection sensor, such as a gyroscope sensor, which is used to detect the deflection angle and direction of the folding screen electronic device, and can be used to judge the rotation state of the folding screen electronic device, such as flipping and folding when folding. screen electronic device, from the first screen to the second screen. The folding screen electronic device is provided with folding detection sensors, such as the above-mentioned Hall sensor 40 and magnet 50. By detecting the magnitude of the magnetic field, it can be used to determine the unfolding state, folding state and unfolding angle of the folding screen. Based on the rotation detection sensor and the folding detection sensor, it is possible to determine the full-screen display state of the folding screen electronic device, the state of the first screen facing the user after the folding screen electronic device is folded, the state of the second screen facing the user after folding, etc.

当折叠屏由第一屏幕、第二屏幕和第三屏幕构成时,折叠手机的形态是双折叠形式。如图3所示,在折叠状态下第一屏幕10和第三屏幕11是两块独立的屏幕,位于同一面,第二屏幕20单独位于另一面。展开时,第一屏幕10以第一铰链31为轴逆时针转到和第二屏幕20在同一面,第三屏幕11以第二铰链32为轴顺时针转到和第二屏幕20在同一面,第一屏幕10、第二屏幕20和第三屏幕11组成一个全屏幕。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 , in the folded state, the first screen 10 and the third screen 11 are two independent screens located on the same side, and the second screen 20 is located on the other side alone. When unfolded, the first screen 10 rotates counterclockwise around the first hinge 31 to be on the same side as the second screen 20 , and the third screen 11 rotates clockwise around the second hinge 32 to be on the same side as the second screen 20 , the first screen 10, the second screen 20 and the third screen 11 form a full screen.

参见图4,图4为本发明实施例提供的应用之间文件处理方法的实现流程示意图,该方法可应用于具有折叠屏的电子装置中。该方法包括:Referring to FIG. 4 , FIG. 4 is a schematic flowchart of an implementation of a method for processing files between applications according to an embodiment of the present invention, and the method can be applied to an electronic device with a folding screen. The method includes:

101、在具有折叠屏的电子装置的第一屏幕上显示运行第一应用的第一界面,以及在第二屏幕上显示运行第二应用的第二界面;101. Display a first interface for running a first application on a first screen of an electronic device having a folding screen, and display a second interface for running a second application on a second screen;

在第一屏幕上显示运行第一应用的第一界面,在第二屏幕上显示运行第二应用的第二界面,例如,第一应用为相册,第二应用为即时通信应用。如图5所示。The first interface for running the first application is displayed on the first screen, and the second interface for running the second application is displayed on the second screen. For example, the first application is a photo album, and the second application is an instant messaging application. As shown in Figure 5.

第一屏幕和第二屏幕是折叠屏其中的两块屏幕,第一屏幕和第二屏幕之间可折叠从而在它们之间形成不同的夹角。The first screen and the second screen are two screens in the folding screen, and the first screen and the second screen can be folded to form different angles therebetween.

102、若确定在第一界面和第二界面上发生预设的点操作,则确认当前选择的第一应用的文件,并根据第一界面上发生的预设的点操作确认操作内容,以及根据在第二界面上发生的预设的点操作确认指向的第二应用;102. If it is determined that a preset point operation occurs on the first interface and the second interface, confirm the currently selected file of the first application, and confirm the operation content according to the preset point operation that occurs on the first interface, and according to A preset point operation on the second interface confirms the pointed second application;

操作内容包括:传输、打开、执行等;The operation content includes: transmission, opening, execution, etc.;

选择的第一应用的文件可以是一个,也可以是多个。用户在进行预设的点操作之前,选择所操作的文件。The selected file of the first application may be one or multiple. The user selects the operated file before performing the preset point operation.

根据第一界面上发生的预设的点操作确认操作内容,以及根据在第二界面上发生的预设的点操作确认指向的第二应用。该第二应用可以是一个,也可以是多个,若第二应用是多个,则在确定在第一界面和第二界面上发生预设的点操作之后,弹出提示框,提示用户在多个第二应用中选择一个或多个第二应用确认为该预设的点操作指向的第二应用。The operation content is confirmed according to the preset point operation that occurs on the first interface, and the pointed second application is confirmed according to the preset point operation that occurs on the second interface. The second application may be one or multiple. If there are multiple second applications, after it is determined that a preset point operation occurs on the first interface and the second interface, a prompt box will pop up, prompting the user to select multiple Selecting one or more second applications from the second applications is confirmed as the second applications pointed to by the preset point operation.

103、在该第二应用中按照该操作内容处理该文件。103. Process the file in the second application according to the operation content.

在该第二界面上发生的预设的点操作指向的第二应用中,按照该操作内容对应地进行传输、打开、运行该文件。在处理的同时显示相应的动画传输效果。In the second application pointed to by the preset point operation occurring on the second interface, the file is correspondingly transmitted, opened and executed according to the operation content. Display the corresponding animation transfer effect while processing.

本发明实施例中,在具有折叠屏的第一屏幕上显示运行第一应用的第一界面,在第二屏幕上显示运行第二应用的第二界面,若确定在第一界面和第二界面上发生预设的点操作,则确认当前选择的第一应用的文件,并根据第一界面上的预设的点操作确认操作内容,根据在第二界面上的预设的点操作确认指向的第二应用,在第二应用中按照操作内容处理选择的该第一应用的文件,通过简单的点操作完成第一应用和第二应用的数据交互处理,提高处理的便捷性,方便用户的操作,提高用户体验。In this embodiment of the present invention, the first interface for running the first application is displayed on the first screen with the folding screen, and the second interface for running the second application is displayed on the second screen. When a preset point operation occurs on the first interface, confirm the currently selected file of the first application, confirm the operation content according to the preset point operation on the first interface, and confirm the pointed The second application, in the second application, processes the selected file of the first application according to the operation content, and completes the data interaction processing between the first application and the second application through a simple point operation, which improves the convenience of processing and facilitates the user's operation. , to improve the user experience.

参见图6,图6为本发明实施例提供的应用之间文件处理方法的实现流程示意图,该方法可应用于具有折叠屏的电子装置中,该方法主要包括以下步骤:Referring to FIG. 6, FIG. 6 is a schematic diagram of an implementation flowchart of a method for processing files between applications provided by an embodiment of the present invention. The method can be applied to an electronic device with a folding screen, and the method mainly includes the following steps:

201、在具有折叠屏的电子装置的第一屏幕上显示运行第一应用的第一界面,以及在第二屏幕上显示运行第二应用的第二界面;201. Display a first interface for running a first application on a first screen of an electronic device having a folding screen, and display a second interface for running a second application on a second screen;

202、若确定在第一界面和第二界面上发生触摸操作或按压操作,则确认当前选择的第一应用的文件,并根据第一界面上发生的触摸操作或按压操作确认操作内容,以及根据在第二界面上发生的触摸操作或按压操作确认指向的第二应用;202. If it is determined that a touch operation or a pressing operation occurs on the first interface and the second interface, confirm the currently selected file of the first application, and confirm the operation content according to the touch operation or pressing operation that occurs on the first interface, and according to A touch operation or pressing operation on the second interface confirms the pointed second application;

具体地,该预设的点操作为触摸操作,即在第一界面和第二界面上均检测到触摸操作,则触发根据用户选择的第一应用的文件,第一界面上触摸操作对应的操作内容,第二界面上触摸操作指向的第二应用。或者,该预设的点操作为按压操作,即在第一界面和第二界面上均检测到按压操作,则触发根据用户选择的第一应用的文件,第一界面上触摸操作对应的操作内容,第二界面上触摸操作指向的第二应用。用户可通过在第一界面和第二界面上的触摸操作或按压操作,将选择的第一应用的文件传输给跨平面、跨屏幕、跨应用的第二应用,或者由该第二应用打开或运行。Specifically, the preset point operation is a touch operation, that is, if a touch operation is detected on both the first interface and the second interface, the operation corresponding to the touch operation on the first interface is triggered according to the file of the first application selected by the user. content, the second application pointed to by the touch operation on the second interface. Alternatively, the preset point operation is a pressing operation, that is, if a pressing operation is detected on both the first interface and the second interface, the operation content corresponding to the touch operation on the first interface is triggered according to the file of the first application selected by the user. , the second application pointed to by the touch operation on the second interface. The user can transfer the selected file of the first application to the second application that spans planes, screens, and applications through a touch operation or a pressing operation on the first interface and the second interface, or is opened or opened by the second application. run.

在第一屏幕和第二屏幕下均设置指纹感应器等能够感应到用户手指触到这两块屏幕的感应器,通过该指纹感应器确认第一界面和第二界面上是否有均手指触摸,若第一界面和第二界面上均有手指触摸,则确认第一界面和第二界面上均有触摸操作。A fingerprint sensor is installed under both the first screen and the second screen, which can sense that the user's finger touches the two screens, and the fingerprint sensor is used to confirm whether there is a finger touch on the first interface and the second interface, If both the first interface and the second interface are touched by fingers, it is confirmed that both the first interface and the second interface are touched.

进一步地,在第一屏幕和第二屏幕下均设置压力感应器,在确认第一界面和第二界面上有手指触摸后,通过压力感应器确认用户手指对第一界面和第二界面的压力值是否大于预设阈值,若手指的压力值均大于该预设阈值,则确认第一界面和第二界面上均有按压操作。Further, a pressure sensor is set under both the first screen and the second screen. After confirming that there is a finger touch on the first interface and the second interface, the pressure of the user's finger on the first interface and the second interface is confirmed by the pressure sensor. Whether the value is greater than the preset threshold, if the pressure values of the fingers are all greater than the preset threshold, it is confirmed that both the first interface and the second interface have pressing operations.

当折叠屏处于图2所示的折叠状态时,用户通过在第一屏幕10上运行的第一应用的第一界面上对选择的文件执行触摸操作或按压操作,以及,在第二屏幕20上运行的第二应用的第二界面上对第二应用的触摸操作或按压操作,可将该文件传输给第二应用,或者在第二应用中打开、运行等。由于第一屏幕10和第二屏幕20是反向折叠的,通过简洁的触摸操作或按压操作,即通过“摸一摸”或“捏一捏”即可以完成分别在两个折叠向不同方向的屏幕上的应用之间的数据交换处理,可提高操作的便捷性。When the folding screen is in the folded state shown in FIG. 2 , the user performs a touch operation or a pressing operation on the selected file on the first interface of the first application running on the first screen 10 , and on the second screen 20 A touch operation or a pressing operation on the second application on the second interface of the running second application can transfer the file to the second application, or open or run the file in the second application. Since the first screen 10 and the second screen 20 are folded in reverse, through a simple touch operation or pressing operation, that is, through "touch" or "pinch", the two folds in different directions can be completed respectively. Data exchange processing between applications on the screen can improve the convenience of operation.

进一步地,当第二应用为即时通信应用时,识别第二界面的对话内容中与操作内容和第一应用的文件关联的关键字,该关键字预先存储在数据库中,该数据库可以在云端,也可以在本地。例如,该关键字包括:传、传输、打开、运行等;若第一应用是相册,则与第一应用的文件关联的关键字包括:照片、视频、拍照、照等。Further, when the second application is an instant messaging application, identify the keyword associated with the operation content and the file of the first application in the dialogue content of the second interface, the keyword is pre-stored in a database, and the database may be in the cloud, Also available locally. For example, the keywords include: upload, transmit, open, run, etc.; if the first application is a photo album, the keywords associated with the files of the first application include: photo, video, photograph, photograph, and the like.

判断第一屏幕与第二屏幕之间的夹角是否符合预设角度,例如,该预设角度为180°,在此夹角时第一屏幕和第二屏幕为展开状态,或者,该预设夹角是其他第一屏幕与第二屏幕形成特定位置关系的角度。若第一屏幕与第二屏幕之间的夹角符合该预设角度,则提示用户使用快捷操作的方式触发在第二应用中按照与关键字对应的操作内容处理第一应用的文件,用户使用该快捷操作后,触发对操作内容、指向的第二应用的确认。Determine whether the included angle between the first screen and the second screen conforms to a preset angle, for example, the preset angle is 180°, and the first screen and the second screen are in the unfolded state at this included angle, or the preset angle The included angle is the angle at which the other first screen forms a specific positional relationship with the second screen. If the angle between the first screen and the second screen conforms to the preset angle, the user is prompted to use a shortcut operation to trigger the second application to process the file of the first application according to the operation content corresponding to the keyword. After the shortcut operation, the confirmation of the operation content and the pointed second application is triggered.

具体地,若该夹角为180°时,即第一屏幕和第二屏幕为展开状态时,则提示用户使用拖拽的方式触发在第二应用中按照该操作内容处理第一应用的文件;若该夹角为360°时,即第一屏幕和第二屏幕为反向折叠状态时,则提示用户在第一界面使用双击,在第一界面和第二界面使用触摸,在第一界面和第二界面使用按压的方式触发在第二应用中按照该操作内容处理第一应用的文件。Specifically, if the included angle is 180°, that is, when the first screen and the second screen are in an expanded state, the user is prompted to use a dragging method to trigger the second application to process the file of the first application according to the operation content; If the included angle is 360°, that is, when the first screen and the second screen are in a reversely folded state, the user is prompted to double-click on the first interface, touch on the first interface and the second interface, and use touch on the first interface and the second interface. The second interface uses a pressing method to trigger the second application to process the file of the first application according to the operation content.

进一步地,若检测到用户使用快捷操作,则判断第一屏幕与第二屏幕之间的当前夹角是否符合与该快捷操作对应的预设角度,例如检测到拖拽操作,判断第一屏幕和第二屏幕当前夹角是否为180°,若不符合,则不响应该快捷操作,并提示在当前夹角适用的触摸操作或按压操作或双击操作。Further, if it is detected that the user uses a shortcut operation, then it is determined whether the current angle between the first screen and the second screen conforms to the preset angle corresponding to the shortcut operation, for example, a drag operation is detected, and the first screen and the second screen are determined. Whether the current angle of the second screen is 180°, if not, it will not respond to the shortcut operation, and prompt the touch operation, pressing operation or double-click operation applicable to the current angle.

进一步地,当折叠屏还包括第三屏幕时,即折叠屏为双叠状态时,在该第三屏幕上显示运行的第三应用的第三界面。如图3所示,第一屏幕10与第二屏幕20通过第一铰链12连接,第二屏幕20与第三屏幕11通过第二铰链13连接。通过设置在第一屏幕与第三屏幕之间的触碰检测装置,判断第一屏幕和第三屏幕之间的夹角是否符合预设角度,具体是通过霍尔感应器,或者安装在第一屏幕和第三屏幕相对一侧的触碰按钮来进行判断,若符合该预设角度,则在第一界面上检测到该快捷操作时,获取该快捷操作的操作内容和指向的第一应用的文件,并连续检测该快捷操作的目标应用是否为第三应,若为第三应用,则在第三应用中按照该快捷操作的操作内容处理该第一应用的文件。具体地,参见图7,用户可以将文件从第一界面拖拽到第二界面,首先在第一界面从文件的图标处滑动到第一屏幕的边缘,再从第二屏幕的边缘开始滑动到第二界面的第二应用处,完成拖拽操作。Further, when the folding screen further includes a third screen, that is, when the folding screen is in a double-stacked state, the 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 . Determine whether the included angle between the first screen and the third screen conforms to the preset angle through the touch detection device disposed between the first screen and the third screen, specifically through a Hall sensor, or installed on the first screen. The touch button on the opposite side of the screen and the third screen is used to judge. If the preset angle is met, when the shortcut operation is detected on the first interface, the operation content of the shortcut operation and the pointing of the first application are obtained. file, and continuously detects whether the target application of the shortcut operation is the third application. If it is the third application, the third application processes the file of the first application according to the operation content of the shortcut operation. Specifically, referring to FIG. 7, the user can drag the file from the first interface to the second interface, first slide from the icon of the file to the edge of the first screen on the first interface, and then slide from the edge of the second screen to the edge of the first screen. At the second application of the second interface, the dragging operation is completed.

进一步地,参见图8,在折叠状态下,第一屏幕10,第二屏幕20,第三屏幕30都不在同一面,第一屏幕10在最顶上,屏幕朝上,第二屏幕20和第三屏幕30面对面朝内;在展开状态下,第一屏幕10,第二屏幕20,第三屏幕30组成一个全屏幕。通过多个霍尔传感器和磁铁可判断屏幕的不同折叠状态。在上述折叠状态下,用户只能看到第一屏幕10,看不到第二屏幕20和第三屏幕11。也可以进行跨平面在每个屏幕中运行的应用之间完成文件的传输、打开、运行等,使得用户在看不到屏幕的情况下进行夸应用的文件处理。可根据用户的选择操作,确定要选择的文件;并进一步根据触摸操作、按压操作或该多击操作,选择处理该文件的屏幕和应用。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 is facing up, the second screen 20 and the third screen are on the same side. The three screens 30 face inward; in the unfolded state, the first screen 10 , the second screen 20 and the third screen 30 form a full screen. Different folding states of the screen can be judged through multiple Hall sensors and magnets. In the above-mentioned folded state, the user can only see the first screen 10 , but cannot see the second screen 20 and the third screen 11 . It is also possible to transfer, open, and run files between applications running on each screen across planes, so that the user can perform file processing of the application without seeing the screen. The file to be selected can be determined according to the user's selection operation; and further, the screen and application for processing the file can be selected according to the touch operation, the pressing operation or the multi-click operation.

203、在第二应用中按照该操作内容处理该文件。203. Process the file in the second application according to the operation content.

本实施例未尽细节,参见前述图4所示实施例的描述。This embodiment does not provide details, please refer to the description of the embodiment shown in FIG. 4 above.

本发明实施例中,在具有折叠屏的第一屏幕上显示运行第一应用的第一界面,在第二屏幕上显示运行第二应用的第二界面,若确定在第一界面和第二界面上发生触摸操作或按压操作,则确认当前选择的第一应用的文件,并根据第一界面上的触摸操作或按压操作确认操作内容,根据在第二界面上的触摸操作或按压操作确认指向的第二应用,在第二应用中按照该操作内容处理选择的该第一应用的文件,通过简单的触摸操作或按压操作完成第一应用和第二应用的数据交互处理,提高处理的便捷性,方便用户的操作,提高用户体验。In this embodiment of the present invention, the first interface for running the first application is displayed on the first screen with the folding screen, and the second interface for running the second application is displayed on the second screen. If a touch operation or pressing operation occurs on the first interface, the currently selected file of the first application is confirmed, and the operation content is confirmed according to the touch operation or pressing operation on the first interface, and the pointed object is confirmed according to the touch operation or pressing operation on the second interface. The second application, in the second application, processes the selected file of the first application according to the operation content, completes the data interaction processing between the first application and the second application through a simple touch operation or pressing operation, and improves the convenience of processing, It is convenient for users to operate and improve user experience.

参见图9,图9为本发明实施例提供的应用之间文件处理方法的实现流程示意图,该方法可应用于具有折叠屏的电子装置中,该方法主要包括以下步骤:Referring to FIG. 9, FIG. 9 is a schematic diagram of an implementation flowchart of a method for processing files between applications provided by an embodiment of the present invention. The method can be applied to an electronic device with a folding screen, and the method mainly includes the following steps:

301、在具有折叠屏的电子装置的第一屏幕上显示运行第一应用的第一界面,以及在第二屏幕上显示运行第二应用的第二界面;301. Display a first interface for running a first application on a first screen of an electronic device having a folding screen, and display a second interface for running a second application on a second screen;

302、若确定在第一界面上发生在预设时长内的连续多次点击操作,则确认当前选择的第一应用的文件,并根据该连续多次点击操作确认操作内容以及指向的第二应用;302. If it is determined that a continuous multiple click operation occurs within a preset duration on the first interface, confirm the file of the currently selected first application, and confirm the operation content and the pointed second application according to the continuous multiple click operation. ;

与上述图6所示实施例中同时在第一界面和第二界面检测到触摸操作或按压操作不同,在第一界面上检测到预设时长内连续多次点击操作,例如双击操作、三击操作等,即可触发确认用户当前选择的第一应用的文件、操作内容以及操作指向的第二引用。而无需检测第二界面中是否有用户的操作。进一步提高了操作的便捷性。Different from the above-mentioned embodiment shown in FIG. 6 where a touch operation or a pressing operation is detected on the first interface and the second interface at the same time, multiple consecutive click operations, such as double-click operation, triple-click operation, are detected on the first interface within a preset time period. The operation, etc., can trigger confirmation of the file of the first application currently selected by the user, the operation content, and the second reference pointed to by the operation. There is no need to detect whether there is a user's operation in the second interface. The convenience of operation is further improved.

303、在第二应用中按照该操作内容处理该文件。303. Process the file in the second application according to the operation content.

本实施例未尽细节,参见前述图4和图6所示实施例的描述。This embodiment does not provide details, please refer to the description of the embodiments shown in FIG. 4 and FIG. 6 above.

本发明实施例中,在具有折叠屏的第一屏幕上显示运行第一应用的第一界面,在第二屏幕上显示运行第二应用的第二界面,若确定在第一界面上发生双击操作,则确认当前选择的第一应用的文件,并根据该双击操作确认操作内容和指向的第二应用,在第二应用中按照该操作内容处理选择的该第一应用的文件,通过选择要处理的文件,并通过在第一界面的双击操作完成第一应用和第二应用的数据交互处理,提高处理的便捷性,方便用户的操作,提高用户体验In this embodiment of the present invention, a first interface for running a first application is displayed on a first screen with a folding screen, and a second interface for running a second application is displayed on the second screen. If it is determined that a double-click operation occurs on the first interface , then confirm the currently selected file of the first application, and confirm the operation content and the pointed second application according to the double-click operation, and process the selected file of the first application in the second application according to the operation content. and complete the data interactive processing between the first application and the second application through a double-click operation on the first interface, which improves the convenience of processing, facilitates user operations, and improves user experience.

请参见图10,图10为本发明实施例提供的电子装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图10示例的电子装置可以是前述图4、6、9所示实施例提供的应用之间文件处理方法的执行主体。该电子装置包括:Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown. The electronic device exemplified in FIG. 10 may be the execution body of the method for processing files between applications provided in the embodiments shown in FIGS. 4 , 6 , and 9 . The electronic device includes:

显示模块401,用于在具有折叠屏的电子装置的第一屏幕上显示运行第一应用的第一界面,以及在第二屏幕上显示运行第二应用的第二界面;a display module 401, 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;

确认模块402,用于若确定在所述第一界面和所述第二界面上发生预设的点操作,则确认当前选择的所述第一应用的文件,并根据所述第一界面上发生的预设的点操作确认操作内容,以及根据在所述第二界面上发生的预设的点操作确认指向的第二应用;Confirmation module 402, configured to confirm the currently selected file of the first application if it is determined that a preset point operation occurs on the first interface and the second interface, and according to what happens on the first interface The preset point operation confirms the operation content, and confirms the pointed second application according to the preset point operation that occurs on the second interface;

处理模块403,用于在该第二应用中按照该操作内容处理该文件。The processing module 403 is configured to process the file in the second application according to the operation content.

进一步地,预设的点操作为触摸操作;预设的点操作为按压操作。Further, the preset point operation is a touch operation; the preset point operation is a pressing operation.

确认模块402,还用于当该第二应用为即时通信应用时,识别该第二界面的对话内容中与该操作内容和该第一应用的文件关联的关键字;The confirmation module 402 is further configured to identify the keyword associated with the operation content and the file of the first application in the dialogue content of the second interface when the second application is an instant messaging application;

判断该第一屏幕与该第二屏幕之间的夹角是否符合预设角度;judging whether the included angle between the first screen and the second screen conforms to a preset angle;

若符合,则提示用户使用快捷操作的方式触发在该第二应用中按照该关键字对应的该操作内容处理该第一应用的文件。If so, the user is prompted to use a shortcut operation to trigger processing of the file of the first application in the second application according to the operation content corresponding to the keyword.

确认模块402,还用于若检测到该快捷操作,则判断该第一屏幕与该第二屏幕之间的当前夹角是否符合与该快捷操作对应的该预设角度;The confirmation module 402 is further configured to determine whether the current angle between the first screen and the second screen conforms to the preset angle corresponding to the shortcut operation if the shortcut operation is detected;

若不符合,则不响应该快捷操作,并提示在该当前夹角适用的该触摸操作或该按压操作。If not, it will not respond to the shortcut operation, and prompt the touch operation or the pressing operation applicable to the current angle.

进一步地,该折叠屏还包括第三屏幕,在该第三屏幕上显示运行的第三应用的第三界面,该第一屏幕与该第二屏幕通过第一铰链连接,该第二屏幕与该第三屏幕通过第二铰链连接;Further, the folding screen further includes a third screen, on which a third interface of a running third application is displayed, the first screen and the second screen are connected by a first hinge, and the second screen and the third screen are connected by a first hinge. The third screen is connected by a second hinge;

确认模块402,还用于通过设置在该第一屏幕与该第三屏幕之间的触碰检测装置,判断该第一屏幕和该第三屏幕之间的夹角是否符合该预设角度;The confirmation module 402 is further configured to determine whether the included angle between the first screen and the third screen conforms to the preset angle through the 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, the operation content of the shortcut operation and the pointed file of the first application are obtained, and it is continuously detected whether the target application of the shortcut operation is the shortcut operation. third application;

若为该第三应用,则在该第三应用中按照该快捷操作的操作内容处理该第一应用的文件。If it is the third application, the file of the first application is processed in the third application according to the operation content of the shortcut operation.

确认模块402,还用于当该预设的点操作为在该第一界面上预设时长内的连续多次点击操作时,根据该连续多次点击操作,确认操作内容以及指向的第二应用。The confirmation module 402 is further configured to confirm the operation content and the pointed second application according to the continuous multiple click operation when the preset point operation is a continuous multiple click operation within a preset duration on the first interface .

本实施例未尽细节,参见前述各实施例中的描述。This embodiment does not provide details, please refer to the descriptions in the foregoing embodiments.

本实施例中,在具有折叠屏的第一屏幕上显示运行第一应用的第一界面,在第二屏幕上显示运行第二应用的第二界面,若确定在第一界面和第二界面上发生预设的点操作,则确认当前选择的第一应用的文件,并根据第一界面上的预设的点操作确认操作内容,根据在第二界面上的预设的点操作确认指向的第二应用,在第二应用中按照操作内容处理选择的该第一应用的文件,通过简单的点操作完成第一应用和第二应用的数据交互处理,提高处理的便捷性,方便用户的操作,提高用户体验。In this embodiment, the first interface for running the first application is displayed on the first screen with the folding screen, and the second interface for running the second application is displayed on the second screen. When a preset point operation occurs, the currently selected file of the first application is confirmed, and the operation content is confirmed according to the preset point operation on the first interface, and the pointed first application is confirmed according to the preset point operation on the second interface. Second application, in the second application, the selected file of the first application is processed according to the operation content, and the data interaction processing between the first application and the second application is completed through a simple point operation, which improves the convenience of processing and facilitates the user's operation. Improve user experience.

本发明实施例还提供了一种电子装置,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如前述图4、5、9所示实施例中的应用之间文件处理方法。An embodiment of the present invention further provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and running on the processor, when the processor executes the computer program, the The file processing method between applications in the embodiments shown in the foregoing FIGS. 4 , 5 and 9 is shown.

请参阅图11,图11为本发明实施例中的电子装置的硬件结构图。Please refer to FIG. 11 . FIG. 11 is a hardware structure diagram of an electronic device according to an embodiment of the present invention.

示例性的,电子装置可以为移动或便携式并执行无线通信的各种类型的计算机系统设备中的任何一种。具体的,电子装置可以为移动电话或智能电话(例如,基于iPhoneTM,基于Android TM的电话),便携式游戏设备(例如Nintendo DS TM,PlayStationPortable TM,Gameboy Advance TM,iPhone TM)、膝上型电脑、PDA、便携式互联网设备、音乐播放器以及数据存储设备,其他手持设备以及诸如手表、耳机、吊坠、耳机等,电子装置还可以为其他的可穿戴设备(例如,诸如电子眼镜、电子衣服、电子手镯、电子项链、电子纹身、电子设备或智能手表的头戴式设备(HMD))。Illustratively, the electronic device may be any of various types of computer system devices that are mobile or portable and perform wireless communications. Specifically, the electronic device can be a mobile phone or a smart phone (eg, iPhoneTM-based, AndroidTM-based phones), portable gaming devices (eg, Nintendo DSTM, PlayStationPortableTM, Gameboy AdvanceTM, iPhoneTM), laptop computers, PDAs, portable Internet devices, music players, and data storage devices, other handheld devices and such as watches, earphones, pendants, earphones, etc., electronic devices can also be other wearable devices (eg, such as electronic glasses, electronic clothing, electronic bracelets) , electronic necklaces, electronic tattoos, head-mounted devices (HMDs) for electronic devices or smart watches).

电子装置还可以是多个电子设备中的任何一个,多个电子设备包括但不限于蜂窝电话、智能电话、其他无线通信设备、个人数字助理、音频播放器、其他媒体播放器、音乐记录器、录像机、照相机、其他媒体记录器、收音机、医疗设备、车辆运输仪器、计算器、可编程遥控器、寻呼机、膝上型计算机、台式计算机、打印机、上网本电脑、个人数字助理(PDA)、便携式多媒体播放器(PMP)、运动图像专家组(MPEG-1或MPEG-2)音频层3(MP3)播放器,便携式医疗设备以及数码相机及其组合。The electronic device 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 equipment, vehicle transportation equipment, calculators, programmable remote controls, pagers, laptops, desktop computers, printers, netbooks, personal digital assistants (PDAs), portable multimedia Players (PMP), 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, electronic devices may perform multiple functions (eg, play music, display videos, store pictures, and receive and send phone calls). If desired, the electronic device may be a portable device such as a cell phone, media player, other handheld device, wristwatch device, pendant device, handset device, or other compact portable device.

如图11所示,电子设备10可以包括控制电路,该控制电路可以包括存储和处理电路30。该存储和处理电路30可以包括存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程限制删除的存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路30中的处理电路可以用于控制电子设备10的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。As shown in FIG. 11 , 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 (such as flash memory or other electronically programmable limit erasure memory used to form solid state drives, etc.), volatile memory (such as static or dynamic memory, etc.) random access memory, etc.), etc., which are not limited in the embodiments of the present application. Processing circuitry in storage and processing circuitry 30 may be used to control the operation of electronic device 10 . The processing circuit 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.

存储和处理电路30可用于运行电子设备10中的软件,例如互联网浏览应用程序,互联网协议语音(Voice over Internet Protocol,VOIP)电话呼叫应用程序,电子邮件应用程序,媒体播放应用程序,操作系统功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与在多个(例如分层的)显示器上显示信息相关联的功能,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及电子设备10中的其它功能等,本申请实施例不作限制。Storage and processing circuitry 30 may be used to run software in electronic device 10, such as Internet browsing applications, Voice over Internet Protocol (VOIP) phone calling applications, email applications, media playback applications, operating system functions Wait. These software can be used to perform some control operations, for example, camera-based image acquisition, ambient light measurement based on ambient light sensor, proximity sensor measurement based on proximity sensor, information based on status indicator implementation such as status indicators of light emitting diodes Display functions, touch sensor-based detection of touch events, functions associated with displaying information on multiple (eg, 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, etc., are not limited in the embodiments of the present application.

电子设备10还可以包括输入-输出电路42。输入-输出电路42可用于使电子设备10实现数据的输入和输出,即允许电子设备10从外部设备接收数据和也允许电子设备10将数据从电子设备10输出至外部设备。输入-输出电路42可以进一步包括传感器32。传感器32可以包括环境光传感器,基于光和电容的接近传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,和其它传感器等。Electronic device 10 may also include input-output circuitry 42 . The input-output circuit 42 may be used to enable the electronic device 10 to input and output data, ie, allowing the electronic device 10 to receive data from external devices and also allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuit 42 may further include the sensor 32 . Sensors 32 may include ambient light sensors, light and capacitance-based proximity sensors, touch sensors (eg, light-based touch sensors and/or capacitive touch sensors, where the touch sensor may be part of a touch-sensitive display, or may be a The touch sensor structure is used independently), acceleration sensor, and other sensors.

输入-输出电路42还可以包括一个或多个显示器,例如显示器14。显示器14可以包括液晶显示器,有机发光二极管显示器,电子墨水显示器,等离子显示器,使用其它显示技术的显示器中一种或者几种的组合。显示器14可以包括触摸传感器阵列(即,显示器14可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Input-output circuitry 42 may also include one or more displays, such as display 14 . Display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, and displays using other display technologies. Display 14 may include an array of touch sensors (ie, display 14 may be a touch-sensitive display). The touch sensor can be a capacitive touch sensor formed from an array of transparent touch sensor electrodes, such as indium tin oxide (ITO) electrodes, or can be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistive touch Touch, optical touch, etc., are not limited in the embodiments of the present application.

电子设备10还可以包括音频组件36。音频组件36可以用于为电子设备10提供音频输入和输出功能。电子设备10中的音频组件36可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。The electronic device 10 may also include an audio component 36 . Audio component 36 may be used to provide audio input and output functionality for 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.

通信电路38可以用于为电子设备10提供与外部设备通信的能力。通信电路38可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路38中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路38中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(Near Field Communication,NFC)的电路。例如,通信电路38可以包括近场通信天线和近场通信收发器。通信电路38还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。Communication circuitry 38 may be used to provide electronic device 10 with the ability to communicate with external devices. Communication circuitry 38 may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. 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, wireless communication circuitry in communication circuitry 38 may include circuitry for supporting Near Field Communication (NFC) by transmitting and receiving near-field coupled electromagnetic signals. For example, communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. Communication circuitry 38 may also include cellular telephone transceivers and antennas, wireless local area network transceiver circuits and antennas, and the like.

电子设备10还可以进一步包括电池,电力管理电路和其它输入-输出单元40。输入-输出单元40可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The electronic device 10 may further include batteries, power management circuits and other input-output units 40 . Input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.

用户可以通过输入-输出电路42输入命令来控制电子设备10的操作,并且可以使用输入-输出电路42的输出数据以实现接收来自电子设备10的状态信息和其它输出。A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10 , and output data from input-output circuitry 42 may be used to effect receiving status information and other outputs from electronic device 10 .

进一步的,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是设置于上述各实施例中的电子装置中,该计算机可读存储介质可以是前述图11所示实施例中的存储和处理电路30中的存储器。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现前述图4、图6、图9所示实施例中描述的应用之间文件处理方法。进一步的,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Further, an embodiment of the present invention further provides a computer-readable storage medium, and the computer-readable storage medium may be provided in the electronic device in the foregoing embodiments, and the computer-readable storage medium may be the one shown in FIG. 11 above. memory in the storage and processing circuit 30 in the illustrated embodiment. A computer program is stored on the computer-readable storage medium, and when the program is executed by the processor, the method for processing files between applications described in the embodiments shown in FIG. 4 , FIG. 6 , and FIG. 9 is implemented. Further, the computer-storable medium may also be a USB flash drive, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a RAM, a magnetic disk, or an optical disk and other media that can store program codes.

需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily all necessary to the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

以上为对本发明所提供的应用之间文件处理方法、电子装置及计算机可读存储介质的描述,对于本领域的技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。The above is a description of the file processing method between applications, the electronic device, and the computer-readable storage medium provided by the present invention. For those skilled in the art, according to the idea of the embodiment of the present invention, the specific implementation and application scope will be There are changes, in conclusion, the content of this specification should not be construed as a limitation to the present invention.