CN111124202A - File opening method and electronic equipment - Google Patents

File opening method and electronic equipment Download PDF

Info

Publication number
CN111124202A
CN111124202A CN201911244117.3A CN201911244117A CN111124202A CN 111124202 A CN111124202 A CN 111124202A CN 201911244117 A CN201911244117 A CN 201911244117A CN 111124202 A CN111124202 A CN 111124202A
Authority
CN
China
Prior art keywords
application program
opening
target file
application
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911244117.3A
Other languages
Chinese (zh)
Other versions
CN111124202B (en
Inventor
何志创
李小冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911244117.3A priority Critical patent/CN111124202B/en
Publication of CN111124202A publication Critical patent/CN111124202A/en
Application granted granted Critical
Publication of CN111124202B publication Critical patent/CN111124202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a file opening method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that operation of a user is complicated due to the fact that a default program is frequently reset in a window. The file opening method comprises the following steps: receiving a first opening operation of a user on a target file; opening the target file in a first application program in response to the first opening operation; receiving a second opening operation of the user on the target file; responding to the second opening operation, and opening the target file in a second application program under the condition that the time interval between the first opening operation and the second opening operation is smaller than a preset time interval; the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.

Description

File opening method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a file opening method and electronic equipment.
Background
At present, the use of intelligent electronic devices is not limited to communication, but gradually expands to various uses such as entertainment, work, life, and the like. The common purpose is that files in various formats can be opened, so that a user can open office files, novel files and the like on any electronic equipment, and the user can conveniently work, entertain and the like.
Generally, the steps of opening a file by an electronic device are as follows: after the user selects the file, an opening mode setting window pops up, and the user can select a default program for opening the file in the window, so that the electronic equipment can always open the file through the default program.
If a user wants to change the opening mode of the file, the user needs to set a window mode by popping up the opening mode, and selects the default program in the window again. Further, if the user wants to find the best default program among multiple programs, the user needs to frequently reset the default program in the window, which results in a complicated operation.
Disclosure of Invention
The embodiment of the invention provides a file opening method and electronic equipment, and aims to solve the problem that operation of a user is complicated due to frequent resetting of a default program in a window.
In order to solve the technical problem, the invention is realized as follows:
the embodiment of the invention provides a file opening method, which is applied to electronic equipment and comprises the following steps: receiving a first opening operation of a user on a target file; opening the target file in a first application program in response to the first opening operation; receiving a second opening operation of the user on the target file; responding to the second opening operation, and opening the target file in a second application program under the condition that the time interval between the first opening operation and the second opening operation is smaller than a preset time interval; the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
An embodiment of the present invention further provides an electronic device, including: the first opening operation receiving module is used for receiving a first opening operation of a user on a target file; a first opening operation response module, configured to open the target file in a first application in response to the first opening operation; the second opening operation receiving module is used for receiving a second opening operation of the user on the target file; a second opening operation response module, configured to, in response to the second opening operation, open the target file in a second application program when a time interval between the first opening operation and the second opening operation is smaller than a preset time interval; the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program implements the steps of the file opening method when executed by the processor.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the file opening method when being executed by a processor.
In this way, in the embodiment of the present invention, when the first application and the second application are both default open applications of the target file, and the priority of the first application is higher than that of the second application, based on the first open operation of the target file by the user, the electronic device responds to the first open operation to open the target file in the first application with higher priority. And the electronic equipment responds to the second opening operation and can open the target file in the second application program with lower priority based on the second opening operation of the target file after the time interval of the first opening operation of the user is smaller than the preset time interval. Therefore, in response to that the user opens the target file twice within the interval time less than the preset time interval, the electronic device can open the target file in different default open applications respectively, so that the user can view the display effect of the target file in different applications. Compared with the prior art, the method and the device for opening the target file do not need a user to repeatedly pop up the setting window and reset the default opening application program of the target file in the setting window, but open the opening target file twice or even for multiple times within a preset time interval so as to change the default program of the opening target file, so that the opening effect of the target file in different application programs can be browsed, the user operation is simplified, the user can switch the opening mode of the target file according to personal requirements, or select an optimal opening mode from multiple opening modes, and the like.
Drawings
FIG. 1 is one of the flow charts of a file opening method of an embodiment of the present invention;
FIG. 2 is a second flowchart of a file opening method according to an embodiment of the present invention;
FIG. 3 is one of the operation diagrams of the file opening method according to the embodiment of the present invention;
FIG. 4 is a third flowchart of a file opening method according to an embodiment of the present invention;
FIG. 5 is a fourth flowchart of a file opening method according to an embodiment of the present invention;
FIG. 6 is a fifth flowchart of a file opening method according to an embodiment of the present invention;
FIG. 7 is a second schematic diagram illustrating the operation of the file opening method according to the embodiment of the invention;
FIG. 8 is one of the block diagrams of an electronic device of an embodiment of the invention;
fig. 9 is a second block diagram of the electronic device according to the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
Referring to fig. 1, a flowchart of a file opening method according to an embodiment of the present invention is shown, and is applied to an electronic device.
In this embodiment, both the first application program and the second application program can be used as default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
Correspondingly, the file opening method in the embodiment includes:
step S1: receiving a first opening operation of a user on a target file.
Preferably, the target file may be a document, a picture or a video. Based on the foregoing, it can be seen that the multiple default open applications for which the user has successfully set the target file at least include the first application and the second application mentioned in this embodiment, and further, may further include more other applications, which are not described herein again. Thus, in this step, the user can input an instruction to open the target file in the electronic device through the first opening operation.
Wherein the first opening operation comprises at least one of a touch gesture action and an air gesture action performed by a user based on the electronic device. Further, the first opening operation may include one gesture motion; the first opening operation may also include a series of intermittent or continuous gesture actions.
In this case, the user may perform a first opening operation with respect to the icon of the target file to input an instruction to open the target file, so that the electronic device opens the target file in one of the default open applications in response to the instruction.
In this way, the electronic device can open the target file in one of the default open applications in response to the instruction.
Thus, the first opening operation illustratively includes a gesture action of clicking, pressing, etc. on an icon, logo, of the target file.
In particular, in the present embodiment, multiple opening operations of the target file by the user are received, including the first opening operation and the second opening operation mentioned in the present embodiment, and each multiple opening operation of the target file by the user is performed independently.
Step S2: in response to the first opening operation, the target file is opened in the first application.
In this step, in response to the first opening operation, the electronic device opens the target file in one of the default open applications.
Based on the foregoing, the priority of the first application is higher than the priority of the second application. Therefore, in the present embodiment, the first application program with a higher priority is preferentially selected to open the target file.
Step S3: and receiving a second opening operation of the target file by the user.
Step S4: and responding to the second opening operation, and opening the target file in the second application program under the condition that the time interval between the first opening operation and the second opening operation is smaller than the preset time interval.
In this embodiment, based on the condition that the target file corresponds to a plurality of default open applications, the rule for opening the target file may be set.
Preferably, the rule of opening the target file may be set by a preset time interval. That is, if the time interval between two adjacent opening operations of the target file by the user satisfies the preset time interval, the target file is opened in different application programs in response to the two opening operations.
In this embodiment, when the time interval between the first opening operation and the second opening operation is smaller than the preset time interval, in combination with the aforementioned limitation condition that the priority of the first application is higher than the priority of the second application, the time of the second opening operation on the target file by the user may be defaulted to be later than the time of the first opening operation, so that the target file may be opened in the second application with a lower priority.
Further, it is conceivable that, in a case where the default open application based on the target file includes a plurality of applications, it is set that: and opening the target file in different default opening applications respectively in response to each opening operation of the target file by the user. The specific opening rule may be determined according to actual situations. For example, the target file may be opened in different default open applications in sequence in response to different opening operations according to priorities of the plurality of applications.
In this case, the default open application of the target file includes a first application, a second application, and a third application, and the target file is opened in the first application, the second application, and the third application in sequence in response to three consecutive open operations of the target file by the user. Further, continuously responding to the continuous three times of opening operation of the user on the target file, and opening the target file in the first application program, the second application program and the third application program in sequence; and the process is circulated.
In a case where the default open application based on the target file includes a plurality of applications, the default open application may be set to: and if the time interval between adjacent opening operations meets the preset time interval, respectively responding to the continuous multiple opening operations and sequentially opening the application program of the target file according to a preset rule. Preferably, the predetermined rules may be ordered according to priorities of a plurality of default open applications.
For example, for received multiple operations of opening the target file, the time intervals of the multiple opening operations are dense, and the default opening application program corresponding to each opening operation is sequentially switched according to a preset rule if the preset time intervals are met.
On the contrary, if the time interval spanned between any two opening operations in the received multiple operations of opening the target file is greater than the preset time interval, the multiple opening operations to the former are ended, and the default opening application program corresponding to each opening operation can be switched in sequence according to the preset rule. And starting from the opening operation of the latter, the received opening operation is counted into the next circulation process, namely, the default opening application program corresponding to each opening operation is switched again according to the preset rule.
In reference, assuming that the preset time interval is one day, and the default open application of the target file includes a first application, a second application, and a third application, for all operations of opening the target file received on the same day, the time interval is within one day, and the application for opening the target file each time is sequentially changed according to the sequence of the first application, the second application, and the third application; and for all the operations of opening the target file received every other day (every other day), sequentially changing the application program for opening the target file each time according to the sequence of the first application program, the second application program and the third application program.
It is assumed that the preset time interval is 10 minutes and the default open application of the target file includes a first application, a second application and a third application. For the received multiple operations for opening the target file, the time interval between each operation is within 10 minutes, and the application programs for opening the target file at each time are sequentially changed according to the sequence of the first application program, the second application program and the third application program. And for the opening operation with the interval of last time of opening the target file being more than 10 minutes, sequentially changing the application program for opening the target file each time according to the sequence of the first application program, the second application program and the third application program.
Preferably, the specific value of the preset time interval in the embodiment can be customized by the user.
Illustratively, based on user customization of the preset time interval, it may be achieved: if the user opens the target file for the first time, opening the target file in the first application program; if the user opens the target file for the second time after a short time interval, opening the target file in the second application program; further, if the user opens the target file for the third time after a long time interval, the target file is opened again in the first application program.
Preferably, in the application scenario, if the user clicks and opens the same file within a short time interval, the default user is unsatisfied with the opening effect of the last default open application, and the next default open application may be automatically switched to open the file.
It should be noted that, in the present embodiment, the preset time interval may reflect a temporal correlation between the user and the adjacent opening operations of the target file, so as to limit the sequence of opening the target file by different applications. The concept that embodies the preset time interval may also be the total time length spanned by multiple opening operations of the target file by the user, and the like, and the embodiment is not limited.
Further, in this embodiment, for multiple opening operations that meet a preset time interval, the default opening application program corresponding to each opening operation is sequentially switched according to a preset rule. The preset rule may be ordered according to priorities of a plurality of default open applications, may be a rule defined by a user, and may also be a rule defined by an electronic device, such as a rule defined by a user's use habit.
In the embodiment of the invention, under the condition that a plurality of default open applications correspond to the target file, the default open applications corresponding to each open operation are regularly changed by limiting the time interval of the open operation of the target file. A common usage scenario is that a user wants to view the presentation effect of each default open application or is not satisfied with the presentation effect of the current default open application, and the target file can be opened multiple times within a few minutes. Therefore, in the embodiment, the target file is regularly opened by the multiple default opening applications through a certain limiting condition, and the phenomenon that the user repeatedly operates due to the fact that the target file is opened too many default opening applications and the target file is irregularly opened by the multiple default opening applications is avoided.
In this way, in the embodiment of the present invention, when the first application and the second application are both default open applications of the target file, and the priority of the first application is higher than that of the second application, based on the first open operation of the target file by the user, the electronic device responds to the first open operation to open the target file in the first application with higher priority. And the electronic equipment responds to the second opening operation and can open the target file in the second application program with lower priority based on the second opening operation of the target file after the time interval of the first opening operation of the user is smaller than the preset time interval. Therefore, in response to that the user opens the target file twice within the interval time less than the preset time interval, the electronic device can open the target file in different default open applications respectively, so that the user can view the display effect of the target file in different applications. Compared with the prior art, the method and the device for opening the target file do not need a user to repeatedly pop up the setting window and reset the default opening application program of the target file in the setting window, but open the opening target file twice or even for multiple times within a preset time interval so as to change the default program of the opening target file, so that the opening effect of the target file in different application programs can be browsed, the user operation is simplified, the user can switch the opening mode of the target file according to personal requirements, or select an optimal opening mode from multiple opening modes, and the like.
On the basis of the embodiment shown in fig. 1, fig. 2 shows a flowchart of a file opening method according to another embodiment of the present invention, which further includes the following steps S5 to S8. Referring, steps S5 to S8 may be performed before step S1. Wherein, specifically include:
step S5: receiving a first setting operation of a user on a target file.
Step S6: in response to the first setting operation, an identification of the first application program and an identification of the second application program are displayed.
In the present embodiment, the first setting operation is for the user to trigger the default open application of the setting target file.
Preferably, the first setting operation includes at least one of a touch gesture action and an air gesture action by the user based on the electronic device. Further, the first setting operation may include a gesture action; the first setting operation may also include a series of intermittent or continuous gesture actions.
In this way, the electronic device can respond to the instruction by popping up a setting window, and the setting window displays identifiers of a plurality of applications, wherein the identifiers at least comprise the identifier of the first application and the identifier of the second application.
The electronic device can also be used for setting the target file, and the electronic device can be used for responding to the instruction and popping up a setting window which displays the identifications of the plurality of application programs, wherein the identifications of the first application program and the second application program are at least included.
For example, referring to fig. 3, in a file management interface of a "novel", a user operates a "zhu xian" mark of a target file by a first gesture action, pops up an option of "multiple default open applications", and the user operates the option of "multiple default open applications" by a second gesture action, thereby completing a first setting operation on the target file to input an instruction for triggering setting of default open applications, so that the electronic device responds to the instruction, pops up a setting window, and the setting window displays marks of multiple applications such as "Application (APP for short) 1" and "APP 2".
In conjunction with the present embodiment, the "APP 1" may be used to indicate an identifier of a first application program, and the "APP 2" may be used to indicate an identifier of a second application program.
It can be seen that, in the above example, the first setting operation includes the above-described user's operation of "zhu xian", "open application by multi-default".
Preferably, the identifier of the application program displayed in step S6 may be at least one of an icon, a name identifier, and the like.
Step S7: and receiving a selection operation of the user on the identification of the first application program and the identification of the second application program.
Step S8: and responding to the selection operation, and setting the first application program and the second application program as default open application programs of the target files.
In this embodiment, the selection operation of the user for the identifier of the first application program and the identifier of the second application program is used to input an instruction to set a default open application program of the target file.
Preferably, the selection operation for the identification of the first application and the identification of the second application includes at least one of a touch gesture action and a clear gesture action by the user based on the electronic device. Further, the selection operation may include a gesture action; a series of intermittent or continuous gesture actions may also be included.
For example, referring to fig. 3, in a case where "APP 1" and "APP 2" are displayed in a window, the user may operate "APP 1" and "APP 2" through a third gesture action, thereby completing a selection operation for the identification of the first application and the identification of the second application to input an instruction to set a default open application, so that the electronic device sets the first application and the second application as the default open application of the destination file in response to the instruction.
It can be seen that, in the above example, the selection operations for the identifier of the first application and the identifier of the second application include the above-described operations of "APP 1" and "APP 2" by the user.
It is conceivable that the user may input an instruction to set a plurality of default open applications of the target file by a selection operation of the identifications of the plurality of applications, and the electronic device may set each of the plurality of applications as a default open application of the target file in response to the instruction.
In a case where the user sets the default open application of the target file provided in this embodiment, the user may, through a first setting operation, cause the electronic device to display identifiers of a plurality of applications that can be used to open the target file based on the current target file, where the identifiers include at least the identifier of the first application and the identifier of the second application mentioned in this embodiment. Further, the user may perform a selection operation on at least the identifier of the first application and the identifier of the second application, so as to use both the identifier of the first application and the second application as default open applications of the target file, and use even a greater number of applications as default open applications of the target file. After that, the user can perform multiple opening operations on the target file, and the electronic device can open the target file in different default open applications respectively in response to the multiple opening operations. Based on the setting method of the multi-default open application program of the target file in the embodiment, when the user opens the target file, the user does not need to repeatedly reset the default open application program of the target file in the setting window, but sets the multiple default open application programs of the target file at one time, and changes the default open application program of the target file based on the operation of opening the target file for multiple times, so that the opening effect of the target file in different application programs can be browsed, and the user operation is simplified. Further, on the premise of simple and quick operation, the user can switch the default open application program of the target file according to personal requirements, or select an optimal default open application program from a plurality of default open application programs, and the like.
On the basis of the embodiment shown in fig. 2, fig. 4 shows a flowchart of a file opening method according to another embodiment of the present invention, and preferably after step S8, the method further includes:
step S9: the priorities of the first application and the second application are determined based on a selection order of the identity of the first application and the identity of the second application.
And under the condition that the selection order of the first application program is first to the selection order of the second application program, the priority level of the first application program is higher than that of the second application program.
In this embodiment, in the selection operation of the user for the identifier of the first application and the identifier of the second application, the selection order of the identifier of the first application and the identifier of the second application may be automatically acquired, so as to prioritize the first application and the second application according to the acquired selection order.
For example, in one ordering method, if the selection order of a first application is first compared to the selection order of a second application, the priority of the first application is default to be higher than the priority of the second application.
It is conceivable that, in the selection operation of the user for the identifications of the plurality of applications, the identification selection order for the plurality of applications may be automatically acquired to sequentially prioritize the plurality of applications according to the acquired selection order.
The priority in this embodiment is used to indicate the priority of the default application program for opening the target file, that is, in response to an opening operation of the target file by a user, an application program with a higher priority may be selected to open the target file, and so on, and in subsequent response to an opening operation of the target file by a user, an application program with a lower priority may be sequentially selected to open the target file.
For example, in the operation of selecting the identifiers of the application programs, the identifier of the first selected application program corresponds to the default open application program with the first priority of the target file; an identifier of a second selected application corresponding to a second priority default open application of the target file; and so on.
Preferably, when the user opens the target file for the first time, the target file is opened in the default open application of the first priority by default. When a user does not open the target file for the first time, opening the target file at the default open application programs with different priorities in sequence according to the sequence of priorities of the default open application programs from high to low.
In this embodiment, when the user sets multiple default open applications of the target file, the electronic device may automatically obtain an order in which the user selects the multiple default open applications, and sequentially prioritize the multiple default open applications based on this phenomenon. And under the condition that the user opens the target file, opening the target file at different default opening applications regularly according to the priorities of the default opening applications based on multiple opening operations of the user. It can be seen that, in the embodiment, by arranging the priorities of the multiple default open applications, an opening rule of one preferred target file is provided, so that the target files are opened sequentially through different default open applications according to preferences of a user, and a phenomenon that the user repeats operations due to too many default open applications of the target files and irregular opening of the target files by the multiple default open applications is avoided.
On the basis of the embodiment shown in fig. 1, fig. 5 is a flowchart showing a file opening method according to another embodiment of the present invention, further including:
step S10: and acquiring the opening times and the historical stay time of the target file in the first application program and the second application program.
Step S11: and determining the priority of the first application program and the second application program according to the opening times and the historical stay time.
It should be noted that, in the present embodiment, since it is necessary to acquire the number of times of opening and the historical stay time for the target file in the first application and the second application, it may be preferable to perform step S10 and step S11 after step S4.
In this embodiment, the default open application based on the target file includes the first application and the second application, or even more applications, on one hand, the user can open the default open application with better display effect for a longer time; on the other hand, the user can directly and manually switch to opening in the default open application program for the default open application program with better display effect when opening the target file each time. Therefore, based on the collection of the usage habits of the user, the opening times of the target file in the first application program and the second application program and the historical stay time of the target file in the first application program and the second application program can be respectively obtained in the embodiment.
Further, the first application, the second application, and even more applications are automatically prioritized for the number of times the target file is opened and historical dwell times in the first application, the second application, and even more applications.
For example, for any target file, when the user uses the target file, the user switches to one default open application program, and if the use time is long, the default open application program is automatically set as the default open application program with the first priority of the target file; further, the priorities of the default open applications are sequentially arranged according to the historical open times and the historical stay time of the target file in the default open applications.
It should be noted that, in this embodiment, the priorities of the first application program and the second application program may also be determined without acquiring the number of times of opening and the historical stay time for the target file in the first application program and the second application program, so that the execution order of step S10 and step S11 may not be limited.
For example, for any target file, when the user opens other files of the same format according to the collected user data, the user switches to the same application program for multiple times, such as a first application program, and the use time is long, and the first application program is also one of the default open application programs of the target file, and the first application program is automatically set as the default open application program of the first priority of the target file; further, according to the historical opening times and the historical stay time of other default open application programs of the target file for opening the files in the same format, the priorities of the other default open application programs are sequentially arranged.
Furthermore, the historical opening times and the historical stay time of the multiple default open applications for the target file and other files with the same format can be comprehensively considered, and the priorities of the multiple default open applications of the target file are sequentially arranged.
In this embodiment, after the user successfully sets the default open application of the target file, based on the user's opening operation on the target file, the electronic device may automatically record the default open application used by the user to open the target file, the number of times of opening the target file, and the length of time spent on the target file; meanwhile, the electronic equipment can also automatically record the opening times and the stay time of the application program used by the user for opening other files of the same type. Therefore, for the default open application programs of the target file, the historical open times and the historical stay time of the respective open files can be arranged in sequence, and the target file can be opened in sequence according to the priority of each default open application program by a user in the operation of opening the target file. Therefore, in the embodiment, the priorities of the multiple default open applications of the target file are arranged, so that an opening rule of one preferred target file is provided, and on the premise of realizing multiple default open applications, the target file is opened sequentially through different default open applications following personal habits and preferences of a user in different time periods, and the phenomenon that the user repeatedly operates due to the fact that the target file is opened too many by default and the multiple default open applications open the target file irregularly is avoided.
Preferably, based on the embodiment shown in fig. 4, a default prioritization method is provided, so that the user views the target file regularly in different default open applications. Furthermore, in the process that the user views the target file and other files, the priorities of a plurality of default open applications of the target file can be updated in real time according to the historical open times and the historical stay time of each file in different applications.
For example, for the target file, a default priority is automatically formed based on the selection order of a plurality of default open applications in the selection operation by the user, when the user uses the target file, the default open application with the second priority is switched to for a plurality of times, and the use time is longer, the default open application with the second priority is automatically updated to the default open application with the first priority based on the operation habit of the user.
For another example, for the target file, default priorities are automatically formed based on a user's selection order of the plurality of default open applications in the selection operation, such as a first priority for the first application and a second priority for the second application. When the user uses the system, the system is switched to the second application program for a plurality of times, and the use time is long, the second application program is automatically updated to the first priority level based on the operation habit of the user, and the first application program is automatically updated to the second priority level.
It will be seen that where the embodiment of figure 4 is combined with the embodiment of figure 5, a further embodiment of the invention may be provided. In this embodiment, the default priorities obtained based on the selection order can be updated in real time through the actual use conditions of the user, so that a target file opening rule which is more complete and better meets the requirements of the user is provided, on the premise that multiple default application programs are opened, the personal habits and preferences of the user are further fitted, the target file is opened through different default application programs in order, and the phenomenon that the user repeatedly operates due to the fact that the user opens too many default application programs of the target file and the multiple default application programs open the target file irregularly is avoided.
On the basis of the embodiment shown in fig. 1, fig. 6 is a flowchart showing a file opening method according to another embodiment of the present invention, further including:
step S12: and receiving a second setting operation of the folder by the user.
Step S13: in response to the second setting operation, an identification of the third application program is displayed.
The embodiment provides a method for uniformly setting the default open application program for all files in the folder.
In this embodiment, the second setting operation is for the user to trigger the default open application of the setting folder.
Preferably, the second setting operation includes at least one of a touch gesture action and an air gesture action by the user based on the electronic device. Further, the second setting operation may include a gesture action; the second setting operation may also include a series of intermittent or continuous gesture actions.
In this way, the user can perform a second setting operation on the icon of the folder through a specific gesture action to input an instruction for triggering default opening of the application program of the setting folder, so that the electronic device pops up a setting window in response to the instruction, and the setting window displays identifications of a plurality of application programs, wherein the identifications of at least a third application program are included in the setting window.
In this way, the user can perform a second setting operation on the identifier such as the icon of the folder through a specific gesture action to input an instruction for triggering the default application opening of the setting folder, so that the electronic device pops up a setting window in response to the instruction, and the setting window displays identifiers of a plurality of applications, wherein the identifiers of the plurality of applications at least include the identifier of the third application.
The electronic device may further include a second setting operation, where the second setting operation is performed on the folder through a specific gesture action to input an instruction for triggering default opening of the setting folder, and the electronic device may pop up a setting window in response to the instruction, where the setting window displays identifiers of the plurality of applications, where the identifiers of the plurality of applications at least include an identifier of a third application.
Preferably, for the case that the folder includes files in multiple formats, the user may operate the folder through a specific gesture action to input an instruction for triggering a default open application program for setting the folder, so that, in response to the instruction, the electronic device first displays identifiers in multiple file formats, and thus, the user needs to operate the identifier in one of the file formats through a specific gesture action to input an instruction for triggering a default open application program for setting such files in the folder, so that, in response to the instruction, the electronic device pops up a setting window, and the setting window displays identifiers of multiple application programs, where the identifiers of the multiple application programs at least include an identifier of a third application program.
For example, referring to fig. 7, in a file management interface where a user is located, a specific gesture action is performed to operate a folder "novel", a "multiple default open application" option is popped up, the user continues to operate the "multiple default open application" option through the specific gesture action, two file formats of "txt" and "chm" included in the folder are displayed, so that the user can operate the "txt" format through the specific gesture action to input an instruction for triggering the default open application for setting a file in the "txt" format in the folder, and further, in response to the instruction, a setting window is popped up, and the setting window displays identifications of multiple applications such as "APP 1" and "APP 2". In conjunction with the present embodiment, the setting window should also display "APP 3". "APP 3" may be used to represent an identification of a third application.
It can be seen that, in different application scenarios, the gesture included in the second setting operation is not fixed, and this embodiment is not specifically limited, so as to be subject to specific implementation.
Step S14: and receiving a selection operation of the user for the identification of the third application program.
Step S15: in response to the selection operation, the third application is set as a default open application of the folder.
The user can perform selection operation on the identifier of the third application program through a specific gesture action to input an instruction for setting the default open application program of the folder, so that the third application program is set as the default open application program of the folder in response to the instruction; alternatively, in response to the instruction, the third application is set as a default open application for a certain type of file of the folder.
Further, the electronic device is opened in the third application by default in case of opening a file in the folder.
Preferably, the identification of the third application comprises at least one of an icon, a shortcut, a name, etc.
Preferably, the application scenario of this embodiment is that, for example, a user desires to open a "txt" file in a "novel" folder by using a novel reader that is preferred by a third party, and desires to open a "txt" file in another folder by using a document reader that is provided by the system itself. Thus, in this embodiment, the novel reader can be set as the default open application for the txt file in the novel folder, and the document reader of the system can be set as the default open application for the txt files in other folders.
Step S16: and in the case that the folder comprises the target file, receiving a third opening operation of the target file by the user.
Step S17: and opening the target file in the third application program in response to the third opening operation.
In this embodiment, the user may input an instruction to open the target file in the electronic device through the third opening operation. The first opening operation can be used to explain the third opening operation, and is not described herein.
In this embodiment, the folder includes the target file.
Preferably, based on the unified setting of the default opening application program for the files of the same category in the folder, when a user opens any one of the files in the folder, the file is opened by default in the setting mode of the folder. Therefore, in the case where the third opening operation of the target file by the user is received, the target file is preferentially opened in the third application.
Further, in combination with the separate setting of the default open application for the target file in the foregoing embodiments, the present embodiment preferably prioritizes the default open application for the folder to be higher than the default open application for the target file.
For example, when a user opens a target file, the user may preferentially determine whether a default open application program is set in a folder where the target file is located, if so, preferentially open the target file with the default program set in the folder, and if not, open the target file with the default open application program.
For reference, steps S12-S17 may be performed before step S1 to highlight that the priority of the default open application of the folder is higher than the priority of the default open application of the target file.
Preferably, for the requirement that the user needs to open the application program by multiple defaults for the folder, a method for opening the application program by multiple defaults may be further uniformly set for the folder, and the specific implementation step may refer to a method for opening the application program by multiple defaults for the target file, which is not described herein again.
In this embodiment, a unified default open application is set for folders. On one hand, a unified default open application can be set separately for the same format files in the folder; on the other hand, unified default open applications can also be set for files in different formats in the folder, so that when each file is opened, available default open applications are matched in the unified default open applications. Further, the number of default open applications set uniformly is not limited. Therefore, the step that the user sets the default opening application program of each file independently is saved, the unified default opening application program can be set for different folders, and different requirements of the user for different folders are met.
In summary, in the prior art, a default open application of a file or an openable link (e.g., video link, web link) can be set, but in the current situation, only one default open application can be set, for example, when a user sets the default open application of the text "txt" as the application "txt" viewer, each time the "txt" file is opened later, the "txt" viewer is used to open the file. However, when a scene user opens a document by using the set txt reader, the expected effect cannot be achieved, and when the user wants to change the opening by using a reader of another third party, the user finds that the operation is not easy, and needs to select another txt reader program after selecting a file setting opening mode in document management. Or the user simply does not set any default open application for the "txt" document, but then every time the document is opened, the supported program is popped up for the user to select, and thus the steps are not flexible enough.
Based on this, the embodiment of the present invention provides a method for setting multiple default open applications of a file, and sets the priority order of the multiple default applications, thereby solving the limitation that the current device can only set a single default open application. Meanwhile, when the user opens the same file in a short time interval, the program can automatically judge the time interval to switch to the default program of the next priority. In addition, different default opening application programs can be set for different folders, such as a novel 'txt' file in a novel folder, a user can set the novel 'txt' file in other folders to be opened by a favorite third-party reader, and the user can set the default reader of the system.
FIG. 8 shows a block diagram of an electronic device of another embodiment of the invention, comprising:
a first opening operation receiving module 10, configured to receive a first opening operation on a target file by a user;
a first opening operation response module 20, configured to open a target file in a first application in response to a first opening operation;
a second opening operation receiving module 30, configured to receive a second opening operation of the target file by the user;
a second opening operation response module 40, configured to respond to the second opening operation, and open the target file in the second application program when a time interval between the first opening operation and the second opening operation is smaller than a preset time interval;
the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
In this way, in the embodiment of the present invention, when the first application and the second application are both default open applications of the target file, and the priority of the first application is higher than that of the second application, based on the first open operation of the target file by the user, the electronic device responds to the first open operation to open the target file in the first application with higher priority. And the electronic equipment responds to the second opening operation and can open the target file in the second application program with lower priority based on the second opening operation of the target file after the time interval of the first opening operation of the user is smaller than the preset time interval. Therefore, in response to that the user opens the target file twice within the interval time less than the preset time interval, the electronic device can open the target file in different default open applications respectively, so that the user can view the display effect of the target file in different applications. Compared with the prior art, the method and the device for opening the target file do not need a user to repeatedly pop up the setting window and reset the default opening application program of the target file in the setting window, but open the opening target file twice or even for multiple times within a preset time interval so as to change the default program of the opening target file, so that the opening effect of the target file in different application programs can be browsed, the user operation is simplified, the user can switch the opening mode of the target file according to personal requirements, or select an optimal opening mode from multiple opening modes, and the like.
Preferably, the method further comprises the following steps:
the first setting operation receiving module is used for receiving a first setting operation of a user on a target file;
the first setting operation response module is used for responding to the first setting operation and displaying the identifier of the first application program and the identifier of the second application program;
the first selection operation receiving module is used for receiving the selection operation of the user on the identification of the first application program and the identification of the second application program;
and the first selection operation response module is used for responding to the selection operation and setting the first application program and the second application program as default open application programs of the target files.
Preferably, the method further comprises the following steps:
the first priority determining module is used for determining the priority of the first application program and the second application program according to the selection sequence of the identifier of the first application program and the identifier of the second application program;
and under the condition that the selection order of the first application program is first to the selection order of the second application program, the priority level of the first application program is higher than that of the second application program.
Preferably, the method further comprises the following steps:
the acquisition module is used for acquiring the opening times and the historical stay time of the target file in the first application program and the second application program;
and the second priority determining module is used for determining the priority of the first application program and the second application program according to the opening times and the historical stay time.
Preferably, the method further comprises the following steps:
the second setting operation receiving module is used for receiving a second setting operation of the user on the folder;
the second setting operation response module is used for responding to the second setting operation and displaying the identifier of the third application program;
the second selection operation receiving module is used for receiving the selection operation of the user on the identifier of the third application program;
the second selection operation response module is used for responding to the selection operation and setting the third application program as a default open application program of the folder;
the third opening operation receiving module is used for receiving a third opening operation of the target file by the user under the condition that the folder comprises the target file;
and the third opening operation response module is used for responding to the third opening operation and opening the target file in the third application program.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 7, and is not described herein again to avoid repetition.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device 100 for implementing various embodiments of the present invention, where the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the user input unit 107 is used for receiving a first opening operation of a user on the target file; the second opening operation of the user on the target file is received;
a processor 110 for opening a target file in a first application in response to a first opening operation; responding to the second opening operation, and opening the target file in the second application program under the condition that the time interval between the first opening operation and the second opening operation is smaller than the preset time interval;
the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
In this way, in the embodiment of the present invention, when the first application and the second application are both default open applications of the target file, and the priority of the first application is higher than that of the second application, based on the first open operation of the target file by the user, the electronic device responds to the first open operation to open the target file in the first application with higher priority. And the electronic equipment responds to the second opening operation and can open the target file in the second application program with lower priority based on the second opening operation of the target file after the time interval of the first opening operation of the user is smaller than the preset time interval. Therefore, in response to that the user opens the target file twice within the interval time less than the preset time interval, the electronic device can open the target file in different default open applications respectively, so that the user can view the display effect of the target file in different applications. Compared with the prior art, the method and the device for opening the target file do not need a user to repeatedly pop up the setting window and reset the default opening application program of the target file in the setting window, but open the opening target file twice or even for multiple times within a preset time interval so as to change the default program of the opening target file, so that the opening effect of the target file in different application programs can be browsed, the user operation is simplified, the user can switch the opening mode of the target file according to personal requirements, or select an optimal opening mode from multiple opening modes, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power source 111 (such as a battery) for supplying power to each component, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above-mentioned file opening method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the file opening method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A file opening method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first opening operation of a user on a target file;
opening the target file in a first application program in response to the first opening operation;
receiving a second opening operation of the user on the target file;
responding to the second opening operation, and opening the target file in a second application program under the condition that the time interval between the first opening operation and the second opening operation is smaller than a preset time interval;
the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
2. The file opening method according to claim 1, further comprising:
receiving a first setting operation of a user on the target file;
displaying an identifier of the first application program and an identifier of the second application program in response to the first setting operation;
receiving selection operation of a user on the identification of the first application program and the identification of the second application program;
and responding to the selection operation, and setting the first application program and the second application program as default open application programs of the target files.
3. The file opening method according to claim 2, further comprising:
determining the priority of the first application program and the second application program according to the selection sequence of the identification of the first application program and the identification of the second application program;
wherein, in a case where the selection order of the first application is prior to the selection order of the second application, the priority of the first application is higher than the priority of the second application.
4. The file opening method according to claim 1, further comprising:
acquiring the opening times and the historical stay time of the target file in the first application program and the second application program;
and determining the priority of the first application program and the second application program according to the opening times and the historical stay time.
5. The file opening method according to claim 1, further comprising:
receiving a second setting operation of the user on the folder;
displaying an identifier of the third application program in response to the second setting operation;
receiving a selection operation of a user on the identification of the third application program;
setting the third application as a default open application of the folder in response to the selection operation;
receiving a third opening operation of the target file by the user under the condition that the folder comprises the target file;
and responding to the third opening operation, and opening the target file in the third application program.
6. An electronic device, comprising:
the first opening operation receiving module is used for receiving a first opening operation of a user on a target file;
a first opening operation response module, configured to open the target file in a first application in response to the first opening operation;
the second opening operation receiving module is used for receiving a second opening operation of the user on the target file;
a second opening operation response module, configured to, in response to the second opening operation, open the target file in a second application program when a time interval between the first opening operation and the second opening operation is smaller than a preset time interval;
the first application program and the second application program are both default open application programs of the target file, and the priority of the first application program is higher than that of the second application program.
7. The electronic device of claim 6, further comprising:
the first setting operation receiving module is used for receiving a first setting operation of a user on the target file;
a first setting operation response module, configured to display, in response to the first setting operation, an identifier of the first application program and an identifier of the second application program;
a first selection operation receiving module, configured to receive a selection operation of a user on an identifier of the first application program and an identifier of the second application program;
and the first selection operation response module is used for responding to the selection operation and setting the first application program and the second application program as default open application programs of the target file.
8. The electronic device of claim 7, further comprising:
a first priority determination module, configured to determine priorities of the first application program and the second application program according to a selection order of the identifier of the first application program and the identifier of the second application program;
wherein, in a case where the selection order of the first application is prior to the selection order of the second application, the priority of the first application is higher than the priority of the second application.
9. The electronic device of claim 6, further comprising:
the acquisition module is used for acquiring the opening times and the historical stay time of the target file in the first application program and the second application program;
and the second priority determining module is used for determining the priority of the first application program and the second application program according to the opening times and the historical stay time.
10. The electronic device of claim 6, further comprising:
the second setting operation receiving module is used for receiving a second setting operation of the user on the folder;
a second setting operation response module, configured to display an identifier of the third application program in response to the second setting operation;
a second selection operation receiving module, configured to receive a selection operation of a user on an identifier of the third application program;
a second selection operation response module, configured to set the third application as a default open application of the folder in response to the selection operation;
a third opening operation receiving module, configured to receive a third opening operation on the target file by a user when the folder includes the target file;
and the third opening operation response module is used for responding to the third opening operation and opening the target file in the third application program.
11. An electronic device, comprising a processor, a memory, a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the file opening method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the file opening method according to any one of claims 1 to 5.
CN201911244117.3A 2019-12-06 2019-12-06 File opening method and electronic equipment Active CN111124202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911244117.3A CN111124202B (en) 2019-12-06 2019-12-06 File opening method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911244117.3A CN111124202B (en) 2019-12-06 2019-12-06 File opening method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111124202A true CN111124202A (en) 2020-05-08
CN111124202B CN111124202B (en) 2021-04-23

Family

ID=70497788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911244117.3A Active CN111124202B (en) 2019-12-06 2019-12-06 File opening method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111124202B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114595007A (en) * 2022-05-10 2022-06-07 深圳传音控股股份有限公司 Operation method, intelligent terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255374A (en) * 2018-01-26 2018-07-06 维沃移动通信有限公司 The deployment method and terminal device of a kind of file
CN108763409A (en) * 2018-05-23 2018-11-06 北京小米移动软件有限公司 The deployment method and device of electronic document
CN109189734A (en) * 2018-09-30 2019-01-11 维沃移动通信有限公司 A kind of file open method and mobile terminal
US20190114330A1 (en) * 2017-10-16 2019-04-18 Dropbox, Inc. Workflow functions of content management system enforced by client device
CN110175052A (en) * 2019-04-16 2019-08-27 努比亚技术有限公司 A kind of method, apparatus and computer readable storage medium of file opening

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190114330A1 (en) * 2017-10-16 2019-04-18 Dropbox, Inc. Workflow functions of content management system enforced by client device
CN108255374A (en) * 2018-01-26 2018-07-06 维沃移动通信有限公司 The deployment method and terminal device of a kind of file
CN108763409A (en) * 2018-05-23 2018-11-06 北京小米移动软件有限公司 The deployment method and device of electronic document
CN109189734A (en) * 2018-09-30 2019-01-11 维沃移动通信有限公司 A kind of file open method and mobile terminal
CN110175052A (en) * 2019-04-16 2019-08-27 努比亚技术有限公司 A kind of method, apparatus and computer readable storage medium of file opening

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小慕哥: ""如何更改文件的默认打开方式"", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1650645763628356561&WFR=SPIDER&FOR=PC》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114595007A (en) * 2022-05-10 2022-06-07 深圳传音控股股份有限公司 Operation method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN111124202B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN108845853B (en) Application program starting method and mobile terminal
CN107943374B (en) Method for starting application program in foldable terminal and foldable terminal
CN109407921B (en) Application processing method and terminal device
CN110837327B (en) Message viewing method and terminal
CN108174037B (en) Notification message prompting method and mobile terminal
EP4072074A1 (en) Configuration information sharing method, terminal device and computer-readable storage medium
CN109814786B (en) Image storage method and terminal equipment
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN109471690B (en) Message display method and terminal equipment
CN109508136B (en) Display method of application program and mobile terminal
CN110442281B (en) Application icon display method and terminal
CN109522278B (en) File storage method and terminal equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN108762613B (en) State icon display method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN108718389B (en) Shooting mode selection method and mobile terminal
CN111124345A (en) Audio source processing method and mobile terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN110865764A (en) Interface application display method and device
CN108009031B (en) Application program control method and mobile terminal
CN107800869B (en) Split screen display method, mobile terminal and storage medium
CN110971507B (en) Information display method and electronic equipment
CN109284146B (en) Light application starting method and mobile terminal
CN107885423B (en) Picture processing method and mobile 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
GR01 Patent grant
GR01 Patent grant